Kludge fix for Versions.def regression
[glibc.git] / ChangeLog
blobc4ba460b3977e4833ee9b8fa631725fd715656af
1 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3         * scripts/versionlist.awk: Partition the version sets and emit all
4         GLIBC_* (sorted) before all others (sorted).
6 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9         GLIBC_2.2.5 version.
11 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14         calls.
16 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19         previous change.
21 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25 2014-03-25  Andreas Schwab  <schwab@suse.de>
27         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
28         label to be used after in6ailist is initialized.
30 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37         [BZ #16357]
38         [BZ #16599]
39         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40         min_plus_half.
41         (fp_formats): Update initializers.
42         (init_fp_formats): Initialize new field.
43         (output_for_one_input_case): Allow underflow for results up to
44         min_plus_half.
45         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46         * math/auto-libm-test-in: Don't mark some underflows from asin and
47         atanh as spurious.
48         * math/auto-libm-test-out: Regenerated.
49         * sysdeps/i386/fpu/libm-test-ulps: Update.
50         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52 2014-03-25  Andreas Schwab  <schwab@suse.de>
54         * libio/Makefile (tst-ftell-partial-wide-ENV)
55         (tst-ftell-active-handler-ENV): Define.
57 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
59         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
61 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
63         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
65 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
67         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
68         * sysdeps/x86_64/fpu/multiarch/e_exp.c
69         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
71 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
73         [BZ #16634]
74         * elf/dl-load.c (open_verify): Add mode parameter.
75         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
76         (open_path): Change from boolean 'secure' to complete flag 'mode'
77         (_dl_map_object): Adjust.
78         * elf/Makefile (tests): Add tst-dlopen-aout.
79         * elf/tst-dlopen-aout.c: New test.
81 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
83         [BZ #16714]
84         * sysdeps/unix/sysv/linux/s390/bits/stat.h
85         (struct stat): Rename member pad0 to __glibc_reserved0.
87 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
89         [BZ #16712]
90         * sysdeps/s390/s390-32/bits/wordsize.h
91         (__WORDSIZE32_SIZE_ULONG): New define.
92         * sysdeps/s390/s390-64/bits/wordsize.h
93         (__WORDSIZE32_SIZE_ULONG): Likewise.
94         * sysdeps/generic/stdint.h (SIZE_MAX):
95         Define as UL if __WORDSIZE32_SIZE_ULONG.
97 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
99         [BZ #16713]
100         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
101         (__glibc_reserved0): New variable.
102         (sa_flags): Change type to int.
104 2014-03-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
106         * posix/Makefile (before-compile): Use += before-compile instead
107         of a :=.
109 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
111         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
112         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
114 2014-03-20  Andreas Schwab  <schwab@suse.de>
116         [BZ #16743]
117         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
118         non-matching result from nscd.
120 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
122         * scripts/bench.py: Moved to ...
123         * benchtests/scripts/bench.py: ... here.
124         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
126 2014-03-24  Andreas Schwab  <schwab@suse.de>
128         [BZ #16002]
129         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
130         alloca_account and account alloca use for struct in6ailist.
132 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
134         [BZ #16284]
135         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
136         rounding mode to recompute results that overflow to infinity or
137         underflow to zero.
138         * math/auto-libm-test-in: Don't mark tests as expected to fail for
139         bug 16284.
140         * math/auto-libm-test-out: Regenerated.
141         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
142         (ccosh_test): Likewise.
143         (csin_test_data): Use plus_oflow.
144         (csin_test): Use ALL_RM_TEST.
145         (csinh_test_data): Use plus_oflow.
146         (csinh_test): Use ALL_RM_TEST.
147         * sysdeps/i386/fpu/libm-test-ulps: Update.
148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
150 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
152         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
153         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
154         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
156         [BZ #16731]
157         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
158         when x - 1 is zero.
159         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
160         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
161         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
162         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
163         argument is 1.
164         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
165         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
166         zero.
167         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
168         * sysdeps/i386/fpu/libm-test-ulps: Update.
169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
171 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
173         * scripts/bench.pl: Remove file.
174         * scripts/bench.py: New benchmark script.
175         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
176         * benchtests/README: Mention python dependency.
177         * scripts/pylintrc: New file.
178         * scripts/pylint: New file.
180         * bits/mathdef.h: Use #ifdef instead of #if.
181         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
182         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
183         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
184         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
185         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
186         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
188 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
189             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
191         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
193         and strpbrk-ppc64 objects.
194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
195         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
196         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
197         multiarch strpbrk for POWER7.
198         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
199         multiarch strpbrk for PPC64.
200         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
201         ifunc selector.
202         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
203         strpbrk for POWER7.
205 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
207         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
208         (atan_test): Likewise.
209         (atanh_test_data): Use NO_TEST_INLINE for two tests.
210         (atanh_test): Use ALL_RM_TEST.
211         (atan2_test_data): Likewise.
212         (cabs_test): Likewise.
213         (cacosh_test): Likewise.
214         (carg_test): Likewise.
215         (casin_test): Likewise.
216         (casinh_test): Likewise.
217         (cbrt_test): Likewise.
218         (csqrt_test): Likewise.
219         (erf_test): Likewise.
220         (erfc_test): Likewise.
221         (pow10_test): Likewise.
222         (exp2_test): Likewise.
223         (hypot_test): Likewise.
224         (j0_test): Likewise.
225         (j1_test): Likewise.
226         (lgamma_test): Likewise.
227         (gamma_test): Likewise.
228         (sincos_test): Likewise.
229         (tanh_test): Likewise.
230         (y0_test): Likewise.
231         (y1_test): Likewise.
232         * sysdeps/i386/fpu/libm-test-ulps: Update.
233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
235 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
237         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
239         and strcspn-ppc64 objects.
240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
241         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
242         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
243         multiarch strcspn for POWER7.
244         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
245         multiarch strcspn for PPC64.
246         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
247         ifunc selector.
248         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
249         strcspn for POWER7.
251 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
253         * math/gen-libm-test.pl (generate_testfile): Expect only function
254         name as argument to AUTO_TESTS_* and pass results for all rounding
255         modes to parse_args.
256         (parse_auto_input): Separate inputs of automatic tests from
257         outputs before storing in %auto_tests.
258         * math/libm-test.inc (acos_test_data): Update call to
259         AUTO_TESTS_f_f.
260         (acos_test): Use ALL_RM_TEST.
261         (acos_tonearest_test_data): Remove.
262         (acos_test_tonearest): Likewise.
263         (acos_towardzero_test_data): Likewise.
264         (acos_test_towardzero): Likewise.
265         (acos_downward_test_data): Likewise.
266         (acos_test_downward): Likewise.
267         (acos_upward_test_data): Likewise.
268         (acos_test_upward): Likewise.
269         (acosh_test_data): Update call to AUTO_TESTS_f_f.
270         (asin_test_data): Likewise.
271         (asin_test): Use ALL_RM_TEST.
272         (asin_tonearest_test_data): Remove.
273         (asin_test_tonearest): Likewise.
274         (asin_towardzero_test_data): Likewise.
275         (asin_test_towardzero): Likewise.
276         (asin_downward_test_data): Likewise.
277         (asin_test_downward): Likewise.
278         (asin_upward_test_data): Likewise.
279         (asin_test_upward): Likewise.
280         (asinh_test_data): Update call to AUTO_TESTS_f_f.
281         (atan_test_data): Likewise.
282         (atanh_test_data): Likewise.
283         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
284         (cabs_test_data): Update call to AUTO_TESTS_c_f.
285         (carg_test_data): Likewise.
286         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
287         (ccos_test_data): Update call to AUTO_TESTS_c_c.
288         (ccosh_test_data): Likewise.
289         (cexp_test_data): Likewise.
290         (clog_test_data): Likewise.
291         (clog10_test_data): Likewise.
292         (cos_test_data): Update call to AUTO_TESTS_f_f.
293         (cos_test): Use ALL_RM_TEST.
294         (cos_tonearest_test_data): Remove.
295         (cos_test_tonearest): Likewise.
296         (cos_towardzero_test_data): Likewise.
297         (cos_test_towardzero): Likewise.
298         (cos_downward_test_data): Likewise.
299         (cos_test_downward): Likewise.
300         (cos_upward_test_data): Likewise.
301         (cos_test_upward): Likewise.
302         (cosh_test_data): Update call to AUTO_TESTS_f_f.
303         (cosh_test): Use ALL_RM_TEST.
304         (cosh_tonearest_test_data): Remove.
305         (cosh_test_tonearest): Likewise.
306         (cosh_towardzero_test_data): Likewise.
307         (cosh_test_towardzero): Likewise.
308         (cosh_downward_test_data): Likewise.
309         (cosh_test_downward): Likewise.
310         (cosh_upward_test_data): Likewise.
311         (cosh_test_upward): Likewise.
312         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
313         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
314         (ctan_test_data): Likewise.
315         (ctan_test): Use ALL_RM_TEST.
316         (ctan_tonearest_test_data): Remove.
317         (ctan_test_tonearest): Likewise.
318         (ctan_towardzero_test_data): Likewise.
319         (ctan_test_towardzero): Likewise.
320         (ctan_downward_test_data): Likewise.
321         (ctan_test_downward): Likewise.
322         (ctan_upward_test_data): Likewise.
323         (ctan_test_upward): Likewise.
324         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
325         (ctanh_test): Use ALL_RM_TEST.
326         (ctanh_tonearest_test_data): Remove.
327         (ctanh_test_tonearest): Likewise.
328         (ctanh_towardzero_test_data): Likewise.
329         (ctanh_test_towardzero): Likewise.
330         (ctanh_downward_test_data): Likewise.
331         (ctanh_test_downward): Likewise.
332         (ctanh_upward_test_data): Likewise.
333         (ctanh_test_upward): Likewise.
334         (erf_test_data): Update call to AUTO_TESTS_f_f.
335         (erfc_test_data): Likewise.
336         (exp_test_data): Likewise.
337         (exp_test): Use ALL_RM_TEST.
338         (exp_tonearest_test_data): Remove.
339         (exp_test_tonearest): Likewise.
340         (exp_towardzero_test_data): Likewise.
341         (exp_test_towardzero): Likewise.
342         (exp_downward_test_data): Likewise.
343         (exp_test_downward): Likewise.
344         (exp_upward_test_data): Likewise.
345         (exp_test_upward): Likewise.
346         (exp10_test_data): Update call to AUTO_TESTS_f_f.
347         (exp10_test): Use ALL_RM_TEST.
348         (exp10_tonearest_test_data): Remove.
349         (exp10_test_tonearest): Likewise.
350         (exp10_towardzero_test_data): Likewise.
351         (exp10_test_towardzero): Likewise.
352         (exp10_downward_test_data): Likewise.
353         (exp10_test_downward): Likewise.
354         (exp10_upward_test_data): Likewise.
355         (exp10_test_upward): Likewise.
356         (exp2_test_data): Update call to AUTO_TESTS_f_f.
357         (expm1_test_data): Likewise.
358         (expm1_test): Use ALL_RM_TEST.
359         (expm1_tonearest_test_data): Remove.
360         (expm1_test_tonearest): Likewise.
361         (expm1_towardzero_test_data): Likewise.
362         (expm1_test_towardzero): Likewise.
363         (expm1_downward_test_data): Likewise.
364         (expm1_test_downward): Likewise.
365         (expm1_upward_test_data): Likewise.
366         (expm1_test_upward): Likewise.
367         (fma_test_data): Update call to AUTO_TESTS_fff_f.
368         (fma_test): Use ALL_RM_TEST.
369         (fma_towardzero_test_data): Remove.
370         (fma_test_towardzero): Likewise.
371         (fma_downward_test_data): Likewise.
372         (fma_test_downward): Likewise.
373         (fma_upward_test_data): Likewise.
374         (fma_test_upward): Likewise.
375         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
376         (j0_test_data): Update call to AUTO_TESTS_f_f.
377         (j1_test_data): Likewise.
378         (jn_test_data): Update call to AUTO_TESTS_if_f.
379         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
380         (log_test_data): Update call to AUTO_TESTS_f_f.
381         (log10_test_data): Likewise.
382         (log1p_test_data): Likewise.
383         (log2_test_data): Likewise.
384         (pow_test_data): Update call to AUTO_TESTS_ff_f.
385         (pow_tonearest_test_data): Likewise.
386         (sin_test_data): Update call to AUTO_TESTS_f_f.
387         (sin_test): Use ALL_RM_TEST.
388         (sin_tonearest_test_data): Remove.
389         (sin_test_tonearest): Likewise.
390         (sin_towardzero_test_data): Likewise.
391         (sin_test_towardzero): Likewise.
392         (sin_downward_test_data): Likewise.
393         (sin_test_downward): Likewise.
394         (sin_upward_test_data): Likewise.
395         (sin_test_upward): Likewise.
396         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
397         (sinh_test_data): Update call to AUTO_TESTS_f_f.
398         (sinh_test): Use ALL_RM_TEST.
399         (sinh_tonearest_test_data): Remove.
400         (sinh_test_tonearest): Likewise.
401         (sinh_towardzero_test_data): Likewise.
402         (sinh_test_towardzero): Likewise.
403         (sinh_downward_test_data): Likewise.
404         (sinh_test_downward): Likewise.
405         (sinh_upward_test_data): Likewise.
406         (sinh_test_upward): Likewise.
407         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
408         (sqrt_test): Use ALL_RM_TEST.
409         (sqrt_tonearest_test_data): Remove.
410         (sqrt_test_tonearest): Likewise.
411         (sqrt_towardzero_test_data): Likewise.
412         (sqrt_test_towardzero): Likewise.
413         (sqrt_downward_test_data): Likewise.
414         (sqrt_test_downward): Likewise.
415         (sqrt_upward_test_data): Likewise.
416         (sqrt_test_upward): Likewise.
417         (tan_test_data): Update call to AUTO_TESTS_f_f.
418         (tan_test): Use ALL_RM_TEST.
419         (tan_tonearest_test_data): Remove.
420         (tan_test_tonearest): Likewise.
421         (tan_towardzero_test_data): Likewise.
422         (tan_test_towardzero): Likewise.
423         (tan_downward_test_data): Likewise.
424         (tan_test_downward): Likewise.
425         (tan_upward_test_data): Likewise.
426         (tan_test_upward): Likewise.
427         (tanh_test_data): Update call to AUTO_TESTS_f_f.
428         (tgamma_test_data): Likewise.
429         (y0_test_data): Likewise.
430         (y1_test_data): Likewise.
431         (yn_test_data): Update call to AUTO_TESTS_if_f.
432         (main): Do not call removed functions.
434 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
436         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
437         (ldexp_test_data): Remove.
438         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
439         scalbn_test_data.
440         (scalb_test): Use ALL_RM_TEST.
442 2014-03-19  Andreas Schwab  <schwab@suse.de>
444         * nscd/nscd.service: Also invalidate netgroup cache on reload.
446 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
448         [BZ #16649]
449         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
450         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
451         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
452         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
453         (__ASSUME_PREADV): Undefine.
454         (__ASSUME_PWRITEV): Likewise.
456 2014-03-18  Roland McGrath  <roland@hack.frob.com>
458         * bits/mman-linux.h: Add comment about non-Linux use.
459         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
460         bits/mman-linux.h resting place.
462         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
463         * bits/mman-linux.h: ... here.
465 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
467         * conform/conformtest.pl: Add standard definition when calling C
468         preprocessor on data files.
469         (checknamespace): Remove unused variable.
471 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
473         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
474         minus_oflow, plus_uflow and minus_uflow in expected results.
475         * math/libm-test.inc (scalbn_test_data): Add more tests of
476         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
477         minus_uflow.
478         (scalbn_test): Use ALL_RM_TEST.
479         (scalbln_test_data): Add more tests of negative arguments.  Use
480         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
481         (scalbln_test): Use ALL_RM_TEST.
483 2014-03-18  Roland McGrath  <roland@hack.frob.com>
485         * scripts/abilist.awk: Ignore symbols marked with .hidden.
487 2014-03-18  Will Newton  <will.newton@linaro.org>
489         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
490         inaccurate comment.
492 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
494         * Makerules [!subdir] (check-abi): Exit with error status if a
495         test failed.
497 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
499         * math/libm-test.inc (nearbyint_test_data): Include all tests used
500         for rint.  Include results for all rounding modes.
501         (nearbyint_test): Use ALL_RM_TEST.
502         (rint_test_data): Include all tests used for nearbyint.
504 2014-03-17  Will Newton  <will.newton@linaro.org>
506         * nptl/sysdeps/pthread/pthread.h: Revert previous
507         change.
509         * sysdeps/generic/ldsodefs.h: Revert previous
510         change.
512         * libio/genops.c: Revert previous change.
513         * libio/libioP.h: Likewise.
514         * stdio-common/vfprintf.c: Likewise.
516         * sysdeps/generic/math_private.h: Revert previous
517         change.
519         * sysdeps/generic/math_private.h: Check whether
520         HAVE_RM_CTX is defined with #ifdef rather
521         than #if.
523         * argp/argp-fmtstream.h: Check whether
524         __STRICT_ANSI__ is defined with #ifdef rather
525         than #if.
526         * argp/argp.h: Likewise.
528         * libio/genops.c: Check whether
529         _IO_JUMPS_OFFSET is defined with #ifdef rather
530         than #if.
531         * libio/libioP.h: Likewise.
532         * stdio-common/vfprintf.c: Likewise.
534         * sysdeps/generic/ldsodefs.h: Check whether
535         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
536         than #if.
538         * nptl/sysdeps/pthread/pthread.h: Check
539         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
540         its value.
542 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
544         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
545         setting O_APPEND.
546         * libio/tst-ftell-active-handler.c (do_append_test): Add a
547         test case.
549         [BZ #16680]
550         * libio/fileops.c (_IO_file_open): Seek to end of file but
551         don't cache the offset.
552         (get_file_offset): Remove function.
553         (do_ftell): Use cached offset when available.
554         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
555         don't cache the offset.
556         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
557         case.
558         (do_one_test): Call it.
559         (do_ftell_test): Fix up expected old offset for a+ mode.
560         * libio/wfileops.c (do_ftell_wide): Used cached offset when
561         available.
563         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
564         up test status with function return status.
565         (do_write_test): Likewise.
566         (do_append_test): Likewise.
568         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
569         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
570         Remove.
572 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
574         * math/gen-libm-test.pl (parse_args): Handle results specified for
575         each rounding mode separately.
576         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
577         tests and results from lrint_tonearest_test_data,
578         lrint_towardzero_test_data, lrint_downward_test_data and
579         lrint_upward_test_data.
580         (lrint_test): Use ALL_RM_TEST.
581         (lrint_tonearest_test_data): Remove.
582         (lrint_test_tonearest): Likewise.
583         (lrint_towardzero_test_data): Likewise.
584         (lrint_test_towardzero): Likewise.
585         (lrint_downward_test_data): Likewise.
586         (lrint_test_downward): Likewise.
587         (lrint_upward_test_data): Likewise.
588         (lrint_test_upward): Likewise.
589         (llrint_test_data): Merge in per-rounding-mode tests and results
590         from llrint_tonearest_test_data, llrint_towardzero_test_data,
591         llrint_downward_test_data and llrint_upward_test_data.
592         (llrint_test): Use ALL_RM_TEST.
593         (llrint_tonearest_test_data): Remove.
594         (llrint_test_tonearest): Likewise.
595         (llrint_towardzero_test_data): Likewise.
596         (llrint_test_towardzero): Likewise.
597         (llrint_downward_test_data): Likewise.
598         (llrint_test_downward): Likewise.
599         (llrint_upward_test_data): Likewise.
600         (llrint_test_upward): Likewise.
601         (rint_test_data): Merge in per-rounding-mode tests and results
602         from rint_tonearest_test_data, rint_towardzero_test_data,
603         rint_downward_test_data and rint_upward_test_data.  Add
604         per-rounding-mode results for tests not in those arrays.
605         (rint_test): Use ALL_RM_TEST.
606         (rint_tonearest_test_data): Remove.
607         (rint_test_tonearest): Likewise.
608         (rint_towardzero_test_data): Likewise.
609         (rint_test_towardzero): Likewise.
610         (rint_downward_test_data): Likewise.
611         (rint_test_downward): Likewise.
612         (rint_upward_test_data): Likewise.
613         (rint_test_upward): Likewise.
614         (main): Don't call removed functions.
616 2014-03-14  Roland McGrath  <roland@hack.frob.com>
618         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
619         "Compiled on ..." crapola.  It is anti-useful.
621 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
623         * scripts/evaluate-test.sh: Handle fourth argument to determine
624         whether test run should stop on failure.
625         * Makeconfig (stop-on-test-failure): New variable.
626         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
627         $(stop-on-test-failure).
628         * Makefile (tests): Give a summary of results from testing and
629         exit with failure status if they include an ERROR or FAIL.
630         (xtests): Likewise.
631         * manual/install.texi (Configuring and compiling): Mention
632         stop-on-test-failure=y.
633         * INSTALL: Regenerated.
635 2014-03-14  Roland McGrath  <roland@hack.frob.com>
637         * scripts/versionlist.awk: New file.
638         * Makerules [$(build-shared) = yes]
639         (postclean-generated): Add Versions.def, not Versions.def.v and
640         Versions.def.v.i.
641         ($(common-objpfx)Versions.def.v.i): Target removed.
642         ($(common-objpfx)Versions.def): New target.
643         ($(common-objpfx)Versions.all): Depend on that rather that
644         $(common-objpfx)Versions.def.v.
645         * Versions.def: File removed.
647         * Makeconfig (+gccwarn): Add -Wundef.
648         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
649         a dl-sysdep.h breaking its contract.
650         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
651         * include/stackinfo.h: New file.
652         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
653         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
654         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
655         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
656         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
657         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
658         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
659         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
660         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
661         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
662         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
663         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
664         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
665         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
666         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
668 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
670         [BZ #16707]
671         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
672         implementation.
673         * math/libm-test.inc (round_test_data): Add more tests.
675 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
677         [BZ #16706]
678         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
679         implementation.
680         * math/libm-test.inc (nearbyint_test_data): Add more tests.
682 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
684         [BZ #16701]
685         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
686         implementation.
687         * math/libm-test.inc (ceil_test_data): Add more tests.
689 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
691         * math/libm-test.inc (trunc_test_data): Add more tests related to
692         BZ#16414.
694 2014-03-14  Roland McGrath  <roland@hack.frob.com>
696         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
697         with #if rather than #ifdef.
698         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
700 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
702         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
703         first.  Disable AVX-512 GCC support if assembler doesn't support
704         it.
705         * sysdeps/x86_64/configure: Regenerated.
707 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
709         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
710         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
711         (__old_pthread_attr_setstack): Likewise.
712         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
713         [!_STACK_GROWS_DOWN]: Likewise.
715 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
717         * config.make.in (have-bash2): Delete.
718         * configure.ac (libc_cv_have_bash2): Delete.
719         * configure: Regenerate.
720         * elf/Makefile (common-ldd-rewrite): Rename to ...
721         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
722         (sh-ldd-rewrite): Delete.
723         (bash-ldd-rewrite): Delete.
724         (have-bash2): Delete checks.
725         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
727 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
729         * config.make.in (have-ksh): Delete.
730         (KSH): Delete.
731         * configure.ac (libc_cv_have_ksh): Delete.
732         * configure: Regenerate.
734 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
736         * elf/Makefile: Delete $(have-ksh) check.
737         ($(objpfx)sotruss): Change KSH to BASH.
738         * elf/sotruss.ksh: Rename to ...
739         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
740         function style to match POSIX.  Drop ksh vim mode setting.
742 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
744         * manual/time.texi (Specifying the Time Zone with TZ): Change
745         Tuesday to Thursday.
747 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
749         * debug/tst-longjmp_chk2.c: Update header comment.
750         (stackoverflow_handler): Add comment.  Call assert on pass value.
752 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
754         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
755         (HAVE_AVX512_ASM_SUPPORT): Likewise.
756         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
757         (La_x86_64_vector): Add zmm.
758         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
759         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
760         ($(objpfx)tst-audit10): New target.
761         ($(objpfx)tst-audit10.out): Likewise.
762         (tst-audit10-ENV): New.
763         (AVX512-CFLAGS): Likewise.
764         (CFLAGS-tst-audit10.c): Likewise.
765         (CFLAGS-tst-auditmod10a.c): Likewise.
766         (CFLAGS-tst-auditmod10b.c): Likewise.
767         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
768         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
769         * sysdeps/x86_64/configure: Regenerated.
770         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
771         AVX-512 zmm register support.
772         (_dl_x86_64_save_sse): Likewise.
773         (_dl_x86_64_restore_sse): Likewise.
774         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
775         size vector registers.
776         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
777         (ZMM_SIZE): Likewise.
778         * sysdeps/x86_64/tst-audit10.c: New file.
779         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
780         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
782 2014-03-13  Roland McGrath  <roland@hack.frob.com>
784         * configure.ac (HAVE_EHDR_START): New check.
785         * configure: Regenerated.
786         * config.h.in (HAVE_EHDR_START): New #undef.
787         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
788         assuming the lowest-addressed segment maps the start of the file.
790 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
792         * INSTALL: Regenerated.
794 2014-03-13  Will Newton  <will.newton@linaro.org>
796         * manual/setjmp.texi (System V contexts): Improve
797         clarity and grammar of documentation.
799 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
801         [BZ #16381]
802         * elf/Makefile (tests): Add tst-pie2.
803         (tests-pie): Add tst-pie2.
804         * elf/tst-pie2.c: New file.
805         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
806         for ET_EXEC.
807         * elf/rtld.c (map_doit): Load executable as lt_executable.
808         (dl_main): Likewise.
810 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
812         [BZ #16642]
813         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
814         (__ASSUME_PSELECT): Undefine.
816 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
818         [BZ #16689]
819         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
820         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
821         static build.
822         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
823         selector for static builds.
825 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
827         [BZ #16695]
828         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
829         key in the buffer.
831 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
833         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
834         selector for static builds.
836 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
838         * sysdeps/mips/math_private.h [__mips_hard_float]
839         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
840         libc_feresetround_mips_ctx.
841         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
842         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
843         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
845         [BZ #16677]
846         * math/s_nextafter.c (__nextafter): Do not return value from
847         overflowing computation.
848         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
849         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
850         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
851         Likewise.
852         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
853         Likewise.
854         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
855         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
857 2014-03-11  Roland McGrath  <roland@hack.frob.com>
859         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
860         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
861         Move sfi_sp use from the load-multiple (that no longer sets sp) to
862         the new mov targetting sp.
864 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
866         [BZ #16683]
867         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
868         Define it for static builds as well.
869         (NO_BZERO_IMPL): Likewise.
871 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
873         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
874         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
875         multiarch strspn for PPC64.
876         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
877         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
879         (__libc_ifunc_impl_list): Likewise.
880         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
881         multiarch optimizations
882         * string/strspn.c (strspn): Using macro to redefine symbol name.
884 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
885             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
887         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
888         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
889         multiarch strncat for PPC64.
890         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
891         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
893         (__libc_ifunc_impl_list): Likewise.
894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
895         multiarch optimizations
897 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
899         [BZ #16639]
900         * nscd/nscd.service: Make service type forking.
902 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
904         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
905         sign in non default rounding modes.
906         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
908 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
910         * math/libm-test.inc (ALL_RM_TEST): New macro.
911         (ceil_test): Use ALL_RM_TEST.
912         (cimag_test): Likewise.
913         (conj_test): Likewise.
914         (copysign_test): Likewise.
915         (cproj_test): Likewise.
916         (creal_test): Likewise.
917         (fabs_test): Likewise.
918         (floor_test): Likewise.
919         (fmax_test): Likewise.
920         (fmin_test): Likewise.
921         (fmod_test): Likewise.
922         (fpclassify_test): Likewise.
923         (frexp_test): Likewise.
924         (ilogb_test): Likewise.
925         (isfinite_test): Likewise.
926         (finite_test): Likewise.
927         (isgreater_test): Likewise.
928         (isgreaterequal_test): Likewise.
929         (isinf_test): Likewise.
930         (isless_test): Likewise.
931         (islessequal_test): Likewise.
932         (islessgreater_test): Likewise.
933         (isnan_test): Likewise.
934         (isnormal_test): Likewise.
935         (issignaling_test): Likewise.
936         (isunordered_test): Likewise.
937         (logb_test): Likewise.
938         (logb_downward_test_data): Remove.
939         (logb_test_downward): Likewise.
940         (lround_test): Use ALL_RM_TEST.
941         (llround_test): Likewise.
942         (modf_test): Likewise.
943         (nexttoward_test): Likewise.
944         (remainder_test): Likewise.
945         (drem_test): Likewise.
946         (remainder_tonearest_test_data): Likewise.
947         (remainder_test_tonearest): Likewise.
948         (drem_test_tonearest): Likewise.
949         (remainder_towardzero_test_data): Likewise.
950         (remainder_test_towardzero): Likewise.
951         (drem_test_towardzero): Likewise.
952         (remainder_downward_test_data): Likewise.
953         (remainder_test_downward): Likewise.
954         (drem_test_downward): Likewise.
955         (remainder_upward_test_data): Likewise.
956         (remainder_test_upward): Likewise.
957         (drem_test_upward): Likewise.
958         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
959         (round_test): Use ALL_RM_TEST.
960         (signbit_test): Likewise.
961         (trunc_test): Likewise.
962         (significand_test): Likewise.
963         (main): Don't call removed functions.
965 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
967         [BZ #16674]
968         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
969         || __USE_XOPEN2K8].
970         (ILL_ILLOPN): Likewise.
971         (ILL_ILLADR): Likewise.
972         (ILL_ILLTRP): Likewise.
973         (ILL_PRVOPC): Likewise.
974         (ILL_PRVREG): Likewise.
975         (ILL_COPROC): Likewise.
976         (ILL_BADSTK): Likewise.
977         (FPE_INTDIV): Likewise.
978         (FPE_INTOVF): Likewise.
979         (FPE_FLTDIV): Likewise.
980         (FPE_FLTOVF): Likewise.
981         (FPE_FLTUND): Likewise.
982         (FPE_FLTRES): Likewise.
983         (FPE_FLTINV): Likewise.
984         (FPE_FLTSUB): Likewise.
985         (SEGV_MAPERR): Likewise.
986         (SEGV_ACCERR): Likewise.
987         (BUS_ADRALN): Likewise.
988         (BUS_ADRERR): Likewise.
989         (BUS_OBJERR): Likewise.
990         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
991         (TRAP_TRACE): Likewise.
992         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
993         __USE_XOPEN2K8].
994         (CLD_KILLED): Likewise.
995         (CLD_DUMPED): Likewise.
996         (CLD_TRAPPED): Likewise.
997         (CLD_STOPPED): Likewise.
998         (CLD_CONTINUED): Likewise.
999         (POLL_IN): Likewise.
1000         (POLL_OUT): Likewise.
1001         (POLL_MSG): Likewise.
1002         (POLL_ERR): Likewise.
1003         (POLL_PRI): Likewise.
1004         (POLL_HUP): Likewise.
1005         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1006         Likewise.
1007         (ILL_ILLOPN): Likewise.
1008         (ILL_ILLADR): Likewise.
1009         (ILL_ILLTRP): Likewise.
1010         (ILL_PRVOPC): Likewise.
1011         (ILL_PRVREG): Likewise.
1012         (ILL_COPROC): Likewise.
1013         (ILL_BADSTK): Likewise.
1014         (FPE_INTDIV): Likewise.
1015         (FPE_INTOVF): Likewise.
1016         (FPE_FLTDIV): Likewise.
1017         (FPE_FLTOVF): Likewise.
1018         (FPE_FLTUND): Likewise.
1019         (FPE_FLTRES): Likewise.
1020         (FPE_FLTINV): Likewise.
1021         (FPE_FLTSUB): Likewise.
1022         (SEGV_MAPERR): Likewise.
1023         (SEGV_ACCERR): Likewise.
1024         (BUS_ADRALN): Likewise.
1025         (BUS_ADRERR): Likewise.
1026         (BUS_OBJERR): Likewise.
1027         (BUS_MCEERR_AR): Likewise.
1028         (BUS_MCEERR_AO): Likewise.
1029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1030         (TRAP_TRACE): Likewise.
1031         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1032         __USE_XOPEN2K8].
1033         (CLD_KILLED): Likewise.
1034         (CLD_DUMPED): Likewise.
1035         (CLD_TRAPPED): Likewise.
1036         (CLD_STOPPED): Likewise.
1037         (CLD_CONTINUED): Likewise.
1038         (POLL_IN): Likewise.
1039         (POLL_OUT): Likewise.
1040         (POLL_MSG): Likewise.
1041         (POLL_ERR): Likewise.
1042         (POLL_PRI): Likewise.
1043         (POLL_HUP): Likewise.
1044         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1045         (ILL_ILLOPN): Likewise.
1046         (ILL_ILLADR): Likewise.
1047         (ILL_ILLTRP): Likewise.
1048         (ILL_PRVOPC): Likewise.
1049         (ILL_PRVREG): Likewise.
1050         (ILL_COPROC): Likewise.
1051         (ILL_BADSTK): Likewise.
1052         (FPE_INTDIV): Likewise.
1053         (FPE_INTOVF): Likewise.
1054         (FPE_FLTDIV): Likewise.
1055         (FPE_FLTOVF): Likewise.
1056         (FPE_FLTUND): Likewise.
1057         (FPE_FLTRES): Likewise.
1058         (FPE_FLTINV): Likewise.
1059         (FPE_FLTSUB): Likewise.
1060         (SEGV_MAPERR): Likewise.
1061         (SEGV_ACCERR): Likewise.
1062         (BUS_ADRALN): Likewise.
1063         (BUS_ADRERR): Likewise.
1064         (BUS_OBJERR): Likewise.
1065         (BUS_MCEERR_AR): Likewise.
1066         (BUS_MCEERR_AO): Likewise.
1067         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1068         (TRAP_TRACE): Likewise.
1069         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1070         __USE_XOPEN2K8].
1071         (CLD_KILLED): Likewise.
1072         (CLD_DUMPED): Likewise.
1073         (CLD_TRAPPED): Likewise.
1074         (CLD_STOPPED): Likewise.
1075         (CLD_CONTINUED): Likewise.
1076         (POLL_IN): Likewise.
1077         (POLL_OUT): Likewise.
1078         (POLL_MSG): Likewise.
1079         (POLL_ERR): Likewise.
1080         (POLL_PRI): Likewise.
1081         (POLL_HUP): Likewise.
1082         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1083         Likewise.
1084         (ILL_ILLOPN): Likewise.
1085         (ILL_ILLADR): Likewise.
1086         (ILL_ILLTRP): Likewise.
1087         (ILL_PRVOPC): Likewise.
1088         (ILL_PRVREG): Likewise.
1089         (ILL_COPROC): Likewise.
1090         (ILL_BADSTK): Likewise.
1091         (ILL_BADIADDR): Likewise.
1092         (ILL_BREAK): Likewise.
1093         (FPE_INTDIV): Likewise.
1094         (FPE_INTOVF): Likewise.
1095         (FPE_FLTDIV): Likewise.
1096         (FPE_FLTOVF): Likewise.
1097         (FPE_FLTUND): Likewise.
1098         (FPE_FLTRES): Likewise.
1099         (FPE_FLTINV): Likewise.
1100         (FPE_FLTSUB): Likewise.
1101         (FPE_DECOVF): Likewise.
1102         (FPE_DECDIV): Likewise.
1103         (FPE_DECERR): Likewise.
1104         (FPE_INVASC): Likewise.
1105         (FPE_INVDEC): Likewise.
1106         (SEGV_MAPERR): Likewise.
1107         (SEGV_ACCERR): Likewise.
1108         (SEGV_PSTKOVF): Likewise.
1109         (BUS_ADRALN): Likewise.
1110         (BUS_ADRERR): Likewise.
1111         (BUS_OBJERR): Likewise.
1112         (BUS_MCEERR_AR): Likewise.
1113         (BUS_MCEERR_AO): Likewise.
1114         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1115         (TRAP_TRACE): Likewise.
1116         (TRAP_BRANCH): Likewise.
1117         (TRAP_HWBKPT): Likewise.
1118         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1119         __USE_XOPEN2K8].
1120         (CLD_KILLED): Likewise.
1121         (CLD_DUMPED): Likewise.
1122         (CLD_TRAPPED): Likewise.
1123         (CLD_STOPPED): Likewise.
1124         (CLD_CONTINUED): Likewise.
1125         (POLL_IN): Likewise.
1126         (POLL_OUT): Likewise.
1127         (POLL_MSG): Likewise.
1128         (POLL_ERR): Likewise.
1129         (POLL_PRI): Likewise.
1130         (POLL_HUP): Likewise.
1131         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1132         (ILL_ILLOPN): Likewise.
1133         (ILL_ILLADR): Likewise.
1134         (ILL_ILLTRP): Likewise.
1135         (ILL_PRVOPC): Likewise.
1136         (ILL_PRVREG): Likewise.
1137         (ILL_COPROC): Likewise.
1138         (ILL_BADSTK): Likewise.
1139         (FPE_INTDIV): Likewise.
1140         (FPE_INTOVF): Likewise.
1141         (FPE_FLTDIV): Likewise.
1142         (FPE_FLTOVF): Likewise.
1143         (FPE_FLTUND): Likewise.
1144         (FPE_FLTRES): Likewise.
1145         (FPE_FLTINV): Likewise.
1146         (FPE_FLTSUB): Likewise.
1147         (SEGV_MAPERR): Likewise.
1148         (SEGV_ACCERR): Likewise.
1149         (BUS_ADRALN): Likewise.
1150         (BUS_ADRERR): Likewise.
1151         (BUS_OBJERR): Likewise.
1152         (BUS_MCEERR_AR): Likewise.
1153         (BUS_MCEERR_AO): Likewise.
1154         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1155         (TRAP_TRACE): Likewise.
1156         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1157         __USE_XOPEN2K8].
1158         (CLD_KILLED): Likewise.
1159         (CLD_DUMPED): Likewise.
1160         (CLD_TRAPPED): Likewise.
1161         (CLD_STOPPED): Likewise.
1162         (CLD_CONTINUED): Likewise.
1163         (POLL_IN): Likewise.
1164         (POLL_OUT): Likewise.
1165         (POLL_MSG): Likewise.
1166         (POLL_ERR): Likewise.
1167         (POLL_PRI): Likewise.
1168         (POLL_HUP): Likewise.
1169         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1170         (ILL_ILLOPN): Likewise.
1171         (ILL_ILLADR): Likewise.
1172         (ILL_ILLTRP): Likewise.
1173         (ILL_PRVOPC): Likewise.
1174         (ILL_PRVREG): Likewise.
1175         (ILL_COPROC): Likewise.
1176         (ILL_BADSTK): Likewise.
1177         (FPE_INTDIV): Likewise.
1178         (FPE_INTOVF): Likewise.
1179         (FPE_FLTDIV): Likewise.
1180         (FPE_FLTOVF): Likewise.
1181         (FPE_FLTUND): Likewise.
1182         (FPE_FLTRES): Likewise.
1183         (FPE_FLTINV): Likewise.
1184         (FPE_FLTSUB): Likewise.
1185         (SEGV_MAPERR): Likewise.
1186         (SEGV_ACCERR): Likewise.
1187         (BUS_ADRALN): Likewise.
1188         (BUS_ADRERR): Likewise.
1189         (BUS_OBJERR): Likewise.
1190         (BUS_MCEERR_AR): Likewise.
1191         (BUS_MCEERR_AO): Likewise.
1192         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1193         (TRAP_TRACE): Likewise.
1194         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1195         __USE_XOPEN2K8].
1196         (CLD_KILLED): Likewise.
1197         (CLD_DUMPED): Likewise.
1198         (CLD_TRAPPED): Likewise.
1199         (CLD_STOPPED): Likewise.
1200         (CLD_CONTINUED): Likewise.
1201         (POLL_IN): Likewise.
1202         (POLL_OUT): Likewise.
1203         (POLL_MSG): Likewise.
1204         (POLL_ERR): Likewise.
1205         (POLL_PRI): Likewise.
1206         (POLL_HUP): Likewise.
1207         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1208         (ILL_ILLOPN): Likewise.
1209         (ILL_ILLADR): Likewise.
1210         (ILL_ILLTRP): Likewise.
1211         (ILL_PRVOPC): Likewise.
1212         (ILL_PRVREG): Likewise.
1213         (ILL_COPROC): Likewise.
1214         (ILL_BADSTK): Likewise.
1215         (FPE_INTDIV): Likewise.
1216         (FPE_INTOVF): Likewise.
1217         (FPE_FLTDIV): Likewise.
1218         (FPE_FLTOVF): Likewise.
1219         (FPE_FLTUND): Likewise.
1220         (FPE_FLTRES): Likewise.
1221         (FPE_FLTINV): Likewise.
1222         (FPE_FLTSUB): Likewise.
1223         (SEGV_MAPERR): Likewise.
1224         (SEGV_ACCERR): Likewise.
1225         (BUS_ADRALN): Likewise.
1226         (BUS_ADRERR): Likewise.
1227         (BUS_OBJERR): Likewise.
1228         (BUS_MCEERR_AR): Likewise.
1229         (BUS_MCEERR_AO): Likewise.
1230         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1231         (TRAP_TRACE): Likewise.
1232         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1233         __USE_XOPEN2K8].
1234         (CLD_KILLED): Likewise.
1235         (CLD_DUMPED): Likewise.
1236         (CLD_TRAPPED): Likewise.
1237         (CLD_STOPPED): Likewise.
1238         (CLD_CONTINUED): Likewise.
1239         (POLL_IN): Likewise.
1240         (POLL_OUT): Likewise.
1241         (POLL_MSG): Likewise.
1242         (POLL_ERR): Likewise.
1243         (POLL_PRI): Likewise.
1244         (POLL_HUP): Likewise.
1245         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1246         (ILL_ILLOPN): Likewise.
1247         (ILL_ILLADR): Likewise.
1248         (ILL_ILLTRP): Likewise.
1249         (ILL_PRVOPC): Likewise.
1250         (ILL_PRVREG): Likewise.
1251         (ILL_COPROC): Likewise.
1252         (ILL_BADSTK): Likewise.
1253         (ILL_DBLFLT): Likewise.
1254         (ILL_HARDWALL): Likewise.
1255         (FPE_INTDIV): Likewise.
1256         (FPE_INTOVF): Likewise.
1257         (FPE_FLTDIV): Likewise.
1258         (FPE_FLTOVF): Likewise.
1259         (FPE_FLTUND): Likewise.
1260         (FPE_FLTRES): Likewise.
1261         (FPE_FLTINV): Likewise.
1262         (FPE_FLTSUB): Likewise.
1263         (SEGV_MAPERR): Likewise.
1264         (SEGV_ACCERR): Likewise.
1265         (BUS_ADRALN): Likewise.
1266         (BUS_ADRERR): Likewise.
1267         (BUS_OBJERR): Likewise.
1268         (BUS_MCEERR_AR): Likewise.
1269         (BUS_MCEERR_AO): Likewise.
1270         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1271         (TRAP_TRACE): Likewise.
1272         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1273         __USE_XOPEN2K8].
1274         (CLD_KILLED): Likewise.
1275         (CLD_DUMPED): Likewise.
1276         (CLD_TRAPPED): Likewise.
1277         (CLD_STOPPED): Likewise.
1278         (CLD_CONTINUED): Likewise.
1279         (POLL_IN): Likewise.
1280         (POLL_OUT): Likewise.
1281         (POLL_MSG): Likewise.
1282         (POLL_ERR): Likewise.
1283         (POLL_PRI): Likewise.
1284         (POLL_HUP): Likewise.
1285         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1286         (ILL_ILLOPN): Likewise.
1287         (ILL_ILLADR): Likewise.
1288         (ILL_ILLTRP): Likewise.
1289         (ILL_PRVOPC): Likewise.
1290         (ILL_PRVREG): Likewise.
1291         (ILL_COPROC): Likewise.
1292         (ILL_BADSTK): Likewise.
1293         (FPE_INTDIV): Likewise.
1294         (FPE_INTOVF): Likewise.
1295         (FPE_FLTDIV): Likewise.
1296         (FPE_FLTOVF): Likewise.
1297         (FPE_FLTUND): Likewise.
1298         (FPE_FLTRES): Likewise.
1299         (FPE_FLTINV): Likewise.
1300         (FPE_FLTSUB): Likewise.
1301         (SEGV_MAPERR): Likewise.
1302         (SEGV_ACCERR): Likewise.
1303         (BUS_ADRALN): Likewise.
1304         (BUS_ADRERR): Likewise.
1305         (BUS_OBJERR): Likewise.
1306         (BUS_MCEERR_AR): Likewise.
1307         (BUS_MCEERR_AO): Likewise.
1308         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1309         (TRAP_TRACE): Likewise.
1310         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1311         __USE_XOPEN2K8].
1312         (CLD_KILLED): Likewise.
1313         (CLD_DUMPED): Likewise.
1314         (CLD_TRAPPED): Likewise.
1315         (CLD_STOPPED): Likewise.
1316         (CLD_CONTINUED): Likewise.
1317         (POLL_IN): Likewise.
1318         (POLL_OUT): Likewise.
1319         (POLL_MSG): Likewise.
1320         (POLL_ERR): Likewise.
1321         (POLL_PRI): Likewise.
1322         (POLL_HUP): Likewise.
1323         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1324         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1326         [BZ #16670]
1327         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1328         before #include of <time.h>.
1329         [!__USE_XOPEN2K] (__need_timespec): Likewise.
1330         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1331         (test-xfail-UNIX98/sched.h/conform): Likewise.
1333 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1335         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1336         error absence of trapping exception support.
1337         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1339 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1341         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1342         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1343         * timezone/Makefile (testdata): Move definition above include of
1344         Rules.
1345         (test-zones): New variable.
1346         (tests-special): Add zone files.
1347         (build-testdata): Use $(evaluate-test).
1349         * elf/Makefile (tests-special): Rename tests to end with .out.
1350         ($(objpfx)noload-mem): Likewise.
1351         ($(objpfx)tst-leaks1-mem): Likewise.
1352         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1353         * iconv/Makefile (xtests-special): Change test-iconvconfig to
1354         $(objpfx)test-iconvconfig.out.
1355         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
1356         set -e inside subshell and redirect output to file.
1357         * iconvdata/Makefile (generated): Rename tests to end with .out.
1358         Correct type.
1359         (tests-special): Rename tests to end with .out.
1360         ($(objpfx)mtrace-tst-loading): Likewise.
1361         * intl/Makefile (generated): Likewise.
1362         (tests-special): Likewise.
1363         ($(objpfx)mtrace-tst-gettext): Likewise.
1364         * misc/Makefile (generated): Likewise.
1365         (tests-special): Likewise.
1366         ($(objpfx)tst-error1-mem): Likewise.
1367         * nptl/Makefile (tests-special): Likewise.
1368         ($(objpfx)tst-stack3-mem): Likewise.
1369         (generated): Likewise.
1370         * posix/Makefile (generated): Likewise.
1371         (tests-special): Likewise.
1372         (xtests-special): Likewise.
1373         ($(objpfx)tst-fnmatch-mem): Likewise.
1374         ($(objpfx)bug-regex2-mem): Likewise.
1375         ($(objpfx)bug-regex14-mem): Likewise.
1376         ($(objpfx)bug-regex21-mem): Likewise.
1377         ($(objpfx)bug-regex31-mem): Likewise.
1378         ($(objpfx)tst-vfork3-mem): Likewise.
1379         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1380         ($(objpfx)tst-pcre-mem): Likewise.
1381         ($(objpfx)tst-boost-mem): Likewise.
1382         ($(objpfx)bug-ga2-mem): Likewise.
1383         ($(objpfx)bug-glob2-mem): Likewise.
1384         * resolv/Makefile (generate): Likewise.
1385         (tests-special): Likewise.
1386         (xtests-special): Likewise.
1387         (generated): Likewise.
1388         ($(objpfx)mtrace-tst-leaks): Likewise.
1389         ($(objpfx)mtrace-tst-leaks2): Likewise.
1391         * scripts/merge-test-results.sh: New file.
1392         * Makefile (tests-special-notdir): New variable.
1393         (tests): Run merge-test-results.sh.
1394         (xtests): Likewise.
1395         * Rules (tests-special-notdir): New variable.
1396         (xtests-special-notdir): Likewise.
1397         (tests): Run merge-test-results.sh
1398         (xtests): Likewise.
1400         * Makeconfig (test-xfail-name): New variable.
1401         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1402         compute variable name for expected failures.
1403         * conform/Makefile (conformtest-headers-data): New variable.
1404         (conformtest-standards): Likewise.
1405         (conformtest-headers-ISO): Likewise.
1406         (conformtest-headers-ISO99): Likewise.
1407         (conformtest-headers-ISO11): Likewise.
1408         (conformtest-headers-POSIX): Likewise.
1409         (conformtest-headers-XPG3): Likewise.
1410         (conformtest-headers-XPG4): Likewise.
1411         (conformtest-headers-UNIX98): Likewise.
1412         (conformtest-headers-XOPEN2K): Likewise.
1413         (conformtest-headers-POSIX2008): Likewise.
1414         (conformtest-headers-XOPEN2K8): Likewise.
1415         (conformtest-header-list-base): Likewise.
1416         (conformtest-header-list-tests): Likewise.
1417         (conformtest-header-base): Likewise.
1418         (conformtest-header-tests): Likewise.
1419         (tests-special): Add $(conformtest-header-list-tests).  If
1420         [$(fast-check) && !$(cross-compiling)], add
1421         $(conformtest-header-tests) instead of
1422         $(objpfx)run-conformtest.out.
1423         (generated): Add $(conformtest-header-list-base).  If
1424         [$(fast-check) && !$(cross-compiling)], add
1425         $(conformtest-header-base).  Remove previous setting.
1426         ($(conformtest-header-list-tests)): New target.
1427         (test-xfail-run-conformtest): Remove variable.
1428         ($(objpfx)run-conformtest.out): Remove target.
1429         (test-xfail-ISO11/complex.h/conform): New variable.
1430         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1431         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1432         (test-xfail-XPG3/varargs.h/conform): Likewise.
1433         (test-xfail-XPG4/varargs.h/conform): Likewise.
1434         (test-xfail-UNIX98/varargs.h/conform): Likewise.
1435         (test-xfail-XPG4/ndbm.h/conform): Likewise.
1436         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1437         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1438         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1439         (test-xfail-XPG3/fcntl.h/conform): Likewise.
1440         (test-xfail-XPG3/ftw.h/conform): Likewise.
1441         (test-xfail-XPG3/grp.h/conform): Likewise.
1442         (test-xfail-XPG3/langinfo.h/conform): Likewise.
1443         (test-xfail-XPG3/limits.h/conform): Likewise.
1444         (test-xfail-XPG3/pwd.h/conform): Likewise.
1445         (test-xfail-XPG3/search.h/conform): Likewise.
1446         (test-xfail-XPG3/signal.h/conform): Likewise.
1447         (test-xfail-XPG3/stdio.h/conform): Likewise.
1448         (test-xfail-XPG3/stdlib.h/conform): Likewise.
1449         (test-xfail-XPG3/string.h/conform): Likewise.
1450         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1451         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1452         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1453         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1454         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1455         (test-xfail-XPG3/sys/types.h/conform): Likewise.
1456         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1457         (test-xfail-XPG3/termios.h/conform): Likewise.
1458         (test-xfail-XPG3/time.h/conform): Likewise.
1459         (test-xfail-XPG3/unistd.h/conform): Likewise.
1460         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1461         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1462         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1463         (test-xfail-XPG4/netdb.h/conform): Likewise.
1464         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1465         (test-xfail-XPG4/signal.h/conform): Likewise.
1466         (test-xfail-XPG4/stdio.h/conform): Likewise.
1467         (test-xfail-XPG4/stdlib.h/conform): Likewise.
1468         (test-xfail-XPG4/stropts.h/conform): Likewise.
1469         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1470         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1471         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1472         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1473         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1474         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1475         (test-xfail-XPG4/sys/time.h/conform): Likewise.
1476         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1477         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1478         (test-xfail-XPG4/termios.h/conform): Likewise.
1479         (test-xfail-XPG4/ucontext.h/conform): Likewise.
1480         (test-xfail-XPG4/unistd.h/conform): Likewise.
1481         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1482         (test-xfail-POSIX/sched.h/conform): Likewise.
1483         (test-xfail-POSIX/signal.h/conform): Likewise.
1484         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1485         (test-xfail-POSIX/tar.h/conform): Likewise.
1486         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1487         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1488         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1489         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1490         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1491         (test-xfail-UNIX98/sched.h/conform): Likewise.
1492         (test-xfail-UNIX98/signal.h/conform): Likewise.
1493         (test-xfail-UNIX98/stdio.h/conform): Likewise.
1494         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1495         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1496         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1497         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1498         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1499         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1500         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1501         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1502         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1503         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1504         (test-xfail-UNIX98/unistd.h/conform): Likewise.
1505         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1506         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1507         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1508         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1509         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1510         (test-xfail-XOPEN2K/math.h/conform): Likewise.
1511         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1512         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1513         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1514         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1515         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1516         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1517         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1518         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1519         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1520         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1521         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1522         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1523         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1524         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1525         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1526         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1527         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1528         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1529         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1530         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1531         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1532         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1533         (test-xfail-POSIX2008/signal.h/conform): Likewise.
1534         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1535         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1536         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1537         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1538         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1539         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1540         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1541         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1542         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1543         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1544         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1545         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1546         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1547         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1548         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1549         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1550         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1551         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1552         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1553         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1554         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1555         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1556         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1557         (conformtest-cc-flags): Likewise.
1558         ($(conformtest-header-tests): New target.
1559         * conform/check-header-lists.sh: New file.
1560         * conform/run-conformtest.sh: Remove.
1562         * conform/conformtest.pl: Allow ' and \ in values given for
1563         constants.
1564         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1565         inclusion.
1566         [POSIX] (sys/types.h): Likewise.
1567         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1568         inclusion.
1569         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1570         inclusion.
1571         * conform/data/signal.h-data (SIGIO): Remove expectation.
1572         [XPG3] (SIGBUS): Do not expect.
1573         [POSIX || XPG3] (SIGPOLL): Likewise.
1574         [POSIX || XPG3] (SIGPROF): Likewise.
1575         [POSIX || XPG3] (SIGSYS): Likewise.
1576         [XPG3] (SIGTRAP): Likewise.
1577         [POSIX || XPG3] (SIGURG): Likewise.
1578         [POSIX || XPG3] (SIGVTALRM): Likewise.
1579         [POSIX || XPG3] (SIGXCPU): Likewise.
1580         [POSIX || XPG3] (SIGXFSZ): Likewise.
1581         [POSIX] (SA_SIGINFO): Expect.
1582         [XPG3] (siginfo_t): Do not expect type or contents.
1583         [POSIX] (si_pid): Do not expect element.
1584         [POSIX] (si_uid): Likewise.
1585         [POSIX] (si_addr): Likewise.
1586         [POSIX] (si_status): Likewise.
1587         [POSIX] (si_band): Likewise.
1588         [XPG4] (si_value): Likewise.
1589         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1590         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1591         [POSIX || XPG3] (ILL_ILLADR): Likewise.
1592         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1593         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1594         [POSIX || XPG3] (ILL_PRVREG): Likewise.
1595         [POSIX || XPG3] (ILL_COPROC): Likewise.
1596         [POSIX || XPG3] (ILL_BADSTK): Likewise.
1597         [POSIX || XPG3] (FPE_INTDIV): Likewise.
1598         [POSIX || XPG3] (FPE_INTOVF): Likewise.
1599         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1600         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1601         [POSIX || XPG3] (FPE_FLTUND): Likewise.
1602         [POSIX || XPG3] (FPE_FLTRES): Likewise.
1603         [POSIX || XPG3] (FPE_FLTINV): Likewise.
1604         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1605         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1606         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1607         [POSIX || XPG3] (BUS_ADRALN): Likewise.
1608         [POSIX || XPG3] (BUS_ADRERR): Likewise.
1609         [POSIX || XPG3] (BUS_OBJERR): Likewise.
1610         [POSIX || XPG3] (CLD_EXITED): Likewise.
1611         [POSIX || XPG3] (CLD_KILLED): Likewise.
1612         [POSIX || XPG3] (CLD_DUMPED): Likewise.
1613         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1614         [POSIX || XPG3] (CLD_STOPPED): Likewise.
1615         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1616         [POSIX || XPG3] (POLL_IN): Likewise.
1617         [POSIX || XPG3] (POLL_OUT): Likewise.
1618         [POSIX || XPG3] (POLL_MSG): Likewise.
1619         [POSIX || XPG3] (POLL_ERR): Likewise.
1620         [POSIX || XPG3] (POLL_PRI): Likewise.
1621         [POSIX || XPG3] (POLL_HUP): Likewise.
1622         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1623         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1624         (SIG*): Do not allow.
1625         [XPG3] (si_*): Likewise.
1626         [XPG3] (SI_*): Likewise.
1627         [XPG3 || XPG4] (sigev_*): Likewise.
1628         [XPG3 || XPG4] (SIGEV_*): Likewise.
1629         [XPG3 || XPG4] (sival_*): Likewise.
1630         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1631         [POSIX || XPG3] (BUS_*): Likewise.
1632         [POSIX || XPG3] (CLD_*): Likewise.
1633         [POSIX || XPG3] (FPE_*): Likewise.
1634         [POSIX || XPG3] (ILL_*): Likewise.
1635         [POSIX || XPG3] (POLL_*): Likewise.
1636         [POSIX || XPG3] (SEGV_*): Likewise.
1637         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1638         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1639         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1640         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1641         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1642         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1643         Specify type and value.
1644         (TVERSLEN): Likewise.
1645         (REGTYPE): Likewise.
1646         (AREGTYPE): Likewise.
1647         (LNKTYPE): Likewise.
1648         (SYMTYPE): Likewise.
1649         (CHRTYPE): Likewise.
1650         (BLKTYPE): Likewise.
1651         (DIRTYPE): Likewise.
1652         (FIFOTYPE): Likewise.
1653         (CONTTYPE): Likewise.
1654         (TSUID): Likewise.
1655         (TSGID): Likewise.
1656         (TSVTX): Likewise.
1657         (TUREAD): Likewise.
1658         (TUWRITE): Likewise.
1659         (TUEXEC): Likewise.
1660         (TGREAD): Likewise.
1661         (TGWRITE): Likewise.
1662         (TGEXEC): Likewise.
1663         (TOREAD): Likewise.
1664         (TOWRITE): Likewise.
1665         (TOEXEC): Likewise.
1666         [POSIX] (TSVTX): Expect constant.
1668 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
1670         * Makefile (tests): Change dependencies to ....
1671         (tests-special): ... additions to this variable.
1672         (tests): Depend on $(tests-special).
1673         * Makerules (check-abi-list): New variable.
1674         (check-abi): Depend on $(check-abi-list).
1675         [$(subdir) = elf] (tests-special): Add
1676         $(objpfx)check-abi-libc.out.
1677         [$(build-shared) = yes && subdir] (tests-special): Add
1678         $(check-abi-list).
1679         [$(build-shared) = yes && subdir] (tests): Do not depend on
1680         check-abi.
1681         * Rules (tests): Depend on $(tests-special).
1682         (xtests): Depend on $(xtests-special).
1683         * catgets/Makefile (tests): Change dependencies to ....
1684         (tests-special): ... additions to this variable.
1685         * conform/Makefile (tests): Change dependencies to ....
1686         (tests-special): ... additions to this variable.
1687         * elf/Makefile (tests): Change dependencies to ....
1688         (tests-special): ... additions to this variable.
1689         * grp/Makefile (tests): Change dependencies to ....
1690         (tests-special): ... additions to this variable.
1691         * iconv/Makefile (xtests): Change dependencies to ....
1692         (xtests-special): ... additions to this variable.
1693         * iconvdata/Makefile (tests): Change dependencies to ....
1694         (tests-special): ... additions to this variable.
1695         * intl/Makefile (tests): Change dependencies to ....
1696         (tests-special): ... additions to this variable.  Also add
1697         $(objpfx)tst-gettext.out.
1698         * io/Makefile (tests): Change dependencies to ....
1699         (tests-special): ... additions to this variable.
1700         * libio/Makefile (tests): Change dependencies to ....
1701         (tests-special): ... additions to this variable.
1702         * malloc/Makefile (tests): Change dependencies to ....
1703         (tests-special): ... additions to this variable.
1704         * misc/Makefile (tests): Change dependencies to ....
1705         (tests-special): ... additions to this variable.
1706         * nptl/Makefile (tests): Change dependencies to ....
1707         (tests-special): ... additions to this variable.
1708         * nptl_db/Makefile (tests): Change dependencies to ....
1709         (tests-special): ... additions to this variable.
1710         * posix/Makefile (tests): Change dependencies to ....
1711         (tests-special): ... additions to this variable.
1712         (xtests): Change dependencies to ....
1713         (xtests-special): ... additions to this variable.
1714         * resolv/Makefile (tests): Change dependencies to ....
1715         (tests-special): ... additions to this variable.
1716         (xtests): Change dependencies to ....
1717         (xtests-special): ... additions to this variable.
1718         * stdio-common/Makefile (tests): Change dependencies to ....
1719         (tests-special): ... additions to this variable.
1720         (do-tst-unbputc): Remove target.
1721         (do-tst-printf): Likewise.
1722         * stdlib/Makefile (tests): Change dependencies to ....
1723         (tests-special): ... additions to this variable.
1724         * string/Makefile (tests): Change dependencies to ....
1725         (tests-special): ... additions to this variable.
1726         * sysdeps/x86/Makefile (tests): Change dependencies to ....
1727         (tests-special): ... additions to this variable.
1729         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1730         whole file.
1731         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1732         whole file.
1733         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1734         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1736         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1737         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1738         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1739         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1740         * conform/data/libgen.h-data [XPG3]: Likewise.
1741         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1742         * conform/data/ndbm.h-data [XPG3]: Likewise.
1743         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1744         * conform/data/netdb.h-data [XPG3]: Likewise.
1745         * conform/data/netinet/in.h-data [XPG3]: Likewise.
1746         * conform/data/poll.h-data [XPG3]: Likewise.
1747         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1748         * conform/data/strings.h-data [XPG3]: Likewise.
1749         * conform/data/stropts.h-data [XPG3]: Likewise.
1750         * conform/data/sys/mman.h-data [XPG3]: Likewise.
1751         * conform/data/sys/resource.h-data [XPG3]: Likewise.
1752         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1753         Likewise.
1754         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1755         * conform/data/sys/time.h-data [XPG3]: Likewise.
1756         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1757         * conform/data/sys/uio.h-data [XPG3]: Likewise.
1758         * conform/data/sys/un.h-data [XPG3]: Likewise.
1759         * conform/data/syslog.h-data [XPG3]: Likewise.
1760         * conform/data/ucontext.h-data [XPG3]: Likewise.
1761         * conform/data/utmpx.h-data [XPG3]: Likewise.
1762         * conform/data/varargs.h-data [UNIX98]: Enable file.
1764         * manual/Makefile (INSTALL_INFO): Remove variable setting.
1766         * math/libm-test.inc (struct test_f_f_data): Move expected results
1767         into structure for each rounding mode.
1768         (struct test_ff_f_data): Likewise.
1769         (struct test_ff_f_data_nexttoward): Likewise.
1770         (struct test_fi_f_data): Likewise.
1771         (struct test_fl_f_data): Likewise.
1772         (struct test_if_f_data): Likewise.
1773         (struct test_fff_f_data): Likewise.
1774         (struct test_c_f_data): Likewise.
1775         (struct test_f_f1_data): Likewise.
1776         (struct test_fF_f1_data): Likewise.
1777         (struct test_ffI_f1_data): Likewise.
1778         (struct test_c_c_data): Likewise.
1779         (struct test_cc_c_data): Likewise.
1780         (struct test_f_i_data): Likewise.
1781         (struct test_ff_i_data): Likewise.
1782         (struct test_f_l_data): Likewise.
1783         (struct test_f_L_data): Likewise.
1784         (struct test_fFF_11_data): Likewise.
1785         (RM_): New macro.
1786         (RM_FE_DOWNWARD): Likewise.
1787         (RM_FE_TONEAREST): Likewise.
1788         (RM_FE_TOWARDZERO): Likewise.
1789         (RM_FE_UPWARD): Likewise.
1790         (RUN_TEST_LOOP_f_f): Update references to expected results.
1791         (RUN_TEST_LOOP_2_f): Likewise.
1792         (RUN_TEST_LOOP_fff_f): Likewise.
1793         (RUN_TEST_LOOP_c_f): Likewise.
1794         (RUN_TEST_LOOP_f_f1): Likewise.
1795         (RUN_TEST_LOOP_fF_f1): Likewise.
1796         (RUN_TEST_LOOP_fI_f1): Likewise.
1797         (RUN_TEST_LOOP_ffI_f1): Likewise.
1798         (RUN_TEST_LOOP_c_c): Likewise.
1799         (RUN_TEST_LOOP_cc_c): Likewise.
1800         (RUN_TEST_LOOP_f_i): Likewise.
1801         (RUN_TEST_LOOP_f_i_tg): Likewise.
1802         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1803         (RUN_TEST_LOOP_f_b): Likewise.
1804         (RUN_TEST_LOOP_f_b_tg): Likewise.
1805         (RUN_TEST_LOOP_f_l): Likewise.
1806         (RUN_TEST_LOOP_f_L): Likewise.
1807         (RUN_TEST_LOOP_fFF_11): Likewise.
1808         * math/gen-libm-test.pl (parse_args): Output four copies of
1809         expected results for each test.
1811         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1812         (__ASSUME_UTIMES): Remove.
1813         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1814         (__ASSUME_UTIMES): Likewise.
1816         * math/gen-auto-libm-tests.c: Update comment on output format.
1817         (output_for_one_input_case): Generate before-rounding and
1818         after-rounding information as conditions on output flags not
1819         floating-point format.
1820         * math/auto-libm-test-out: Regenerated.
1821         * math/gen-libm-test.pl (cond_value): New function.
1822         (or_cond_value): Use cond_value.
1823         (generate_testfile): Handle conditional exceptions.
1825 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
1827         * math/libm-test.inc (max_valid_error): New variable.
1828         (init_max_error): Take new argument specifying whether function
1829         results are exactly determined.  Set max_valid_error and bound
1830         other variables for errors based on this argument.
1831         (set_max_error): Do not record results above max_valid_error.
1832         (check_float_internal): Only accept errors of up to 0.5ulps if
1833         also at most max_valid_error.
1834         (START): Take new argument EXACT and pass it to init_max_error.
1835         (acos_test): Update call to START.
1836         (acos_test_tonearest): Likewise.
1837         (acos_test_towardzero): Likewise.
1838         (acos_test_downward): Likewise.
1839         (acos_test_upward): Likewise.
1840         (acosh_test): Likewise.
1841         (asin_test): Likewise.
1842         (asin_test_tonearest): Likewise.
1843         (asin_test_towardzero): Likewise.
1844         (asin_test_downward): Likewise.
1845         (asin_test_upward): Likewise.
1846         (asinh_test): Likewise.
1847         (atan_test): Likewise.
1848         (atanh_test): Likewise.
1849         (atan2_test): Likewise.
1850         (cabs_test): Likewise.
1851         (cacos_test): Likewise.
1852         (cacosh_test): Likewise.
1853         (carg_test): Likewise.
1854         (casin_test): Likewise.
1855         (casinh_test): Likewise.
1856         (catan_test): Likewise.
1857         (catanh_test): Likewise.
1858         (cbrt_test): Likewise.
1859         (ccos_test): Likewise.
1860         (ccosh_test): Likewise.
1861         (ceil_test): Likewise.
1862         (cexp_test): Likewise.
1863         (cimag_test): Likewise.
1864         (clog_test): Likewise.
1865         (clog10_test): Likewise.
1866         (conj_test): Likewise.
1867         (copysign_test): Likewise.
1868         (cos_test): Likewise.
1869         (cos_test_tonearest): Likewise.
1870         (cos_test_towardzero): Likewise.
1871         (cos_test_downward): Likewise.
1872         (cos_test_upward): Likewise.
1873         (cosh_test): Likewise.
1874         (cosh_test_tonearest): Likewise.
1875         (cosh_test_towardzero): Likewise.
1876         (cosh_test_downward): Likewise.
1877         (cosh_test_upward): Likewise.
1878         (cpow_test): Likewise.
1879         (cproj_test): Likewise.
1880         (creal_test): Likewise.
1881         (csin_test): Likewise.
1882         (csinh_test): Likewise.
1883         (csqrt_test): Likewise.
1884         (ctan_test): Likewise.
1885         (ctan_test_tonearest): Likewise.
1886         (ctan_test_towardzero): Likewise.
1887         (ctan_test_downward): Likewise.
1888         (ctan_test_upward): Likewise.
1889         (ctanh_test): Likewise.
1890         (ctanh_test_tonearest): Likewise.
1891         (ctanh_test_towardzero): Likewise.
1892         (ctanh_test_downward): Likewise.
1893         (ctanh_test_upward): Likewise.
1894         (erf_test): Likewise.
1895         (erfc_test): Likewise.
1896         (exp_test): Likewise.
1897         (exp_test_tonearest): Likewise.
1898         (exp_test_towardzero): Likewise.
1899         (exp_test_downward): Likewise.
1900         (exp_test_upward): Likewise.
1901         (exp10_test): Likewise.
1902         (exp10_test_tonearest): Likewise.
1903         (exp10_test_towardzero): Likewise.
1904         (exp10_test_downward): Likewise.
1905         (exp10_test_upward): Likewise.
1906         (pow10_test): Likewise.
1907         (exp2_test): Likewise.
1908         (expm1_test): Likewise.
1909         (expm1_test_tonearest): Likewise.
1910         (expm1_test_towardzero): Likewise.
1911         (expm1_test_downward): Likewise.
1912         (expm1_test_upward): Likewise.
1913         (fabs_test): Likewise.
1914         (fdim_test): Likewise.
1915         (floor_test): Likewise.
1916         (fma_test): Likewise.
1917         (fma_test_towardzero): Likewise.
1918         (fma_test_downward): Likewise.
1919         (fma_test_upward): Likewise.
1920         (fmax_test): Likewise.
1921         (fmin_test): Likewise.
1922         (fmod_test): Likewise.
1923         (fpclassify_test): Likewise.
1924         (frexp_test): Likewise.
1925         (hypot_test): Likewise.
1926         (ilogb_test): Likewise.
1927         (isfinite_test): Likewise.
1928         (finite_test): Likewise.
1929         (isgreater_test): Likewise.
1930         (isgreaterequal_test): Likewise.
1931         (isinf_test): Likewise.
1932         (isless_test): Likewise.
1933         (islessequal_test): Likewise.
1934         (islessgreater_test): Likewise.
1935         (isnan_test): Likewise.
1936         (isnormal_test): Likewise.
1937         (issignaling_test): Likewise.
1938         (isunordered_test): Likewise.
1939         (j0_test): Likewise.
1940         (j1_test): Likewise.
1941         (jn_test): Likewise.
1942         (ldexp_test): Likewise.
1943         (lgamma_test): Likewise.
1944         (gamma_test): Likewise.
1945         (lrint_test): Likewise.
1946         (lrint_test_tonearest): Likewise.
1947         (lrint_test_towardzero): Likewise.
1948         (lrint_test_downward): Likewise.
1949         (lrint_test_upward): Likewise.
1950         (llrint_test): Likewise.
1951         (llrint_test_tonearest): Likewise.
1952         (llrint_test_towardzero): Likewise.
1953         (llrint_test_downward): Likewise.
1954         (llrint_test_upward): Likewise.
1955         (log_test): Likewise.
1956         (log10_test): Likewise.
1957         (log1p_test): Likewise.
1958         (log2_test): Likewise.
1959         (logb_test): Likewise.
1960         (logb_test_downward): Likewise.
1961         (lround_test): Likewise.
1962         (llround_test): Likewise.
1963         (modf_test): Likewise.
1964         (nearbyint_test): Likewise.
1965         (nextafter_test): Likewise.
1966         (nexttoward_test): Likewise.
1967         (pow_test): Likewise.
1968         (pow_test_tonearest): Likewise.
1969         (pow_test_towardzero): Likewise.
1970         (pow_test_downward): Likewise.
1971         (pow_test_upward): Likewise.
1972         (remainder_test): Likewise.
1973         (drem_test): Likewise.
1974         (remainder_test_tonearest): Likewise.
1975         (drem_test_tonearest): Likewise.
1976         (remainder_test_towardzero): Likewise.
1977         (drem_test_towardzero): Likewise.
1978         (remainder_test_downward): Likewise.
1979         (drem_test_downward): Likewise.
1980         (remainder_test_upward): Likewise.
1981         (drem_test_upward): Likewise.
1982         (remquo_test): Likewise.
1983         (rint_test): Likewise.
1984         (rint_test_tonearest): Likewise.
1985         (rint_test_towardzero): Likewise.
1986         (rint_test_downward): Likewise.
1987         (rint_test_upward): Likewise.
1988         (round_test): Likewise.
1989         (scalb_test): Likewise.
1990         (scalbn_test): Likewise.
1991         (scalbln_test): Likewise.
1992         (signbit_test): Likewise.
1993         (sin_test): Likewise.
1994         (sin_test_tonearest): Likewise.
1995         (sin_test_towardzero): Likewise.
1996         (sin_test_downward): Likewise.
1997         (sin_test_upward): Likewise.
1998         (sincos_test): Likewise.
1999         (sinh_test): Likewise.
2000         (sinh_test_tonearest): Likewise.
2001         (sinh_test_towardzero): Likewise.
2002         (sinh_test_downward): Likewise.
2003         (sinh_test_upward): Likewise.
2004         (sqrt_test): Likewise.
2005         (sqrt_test_tonearest): Likewise.
2006         (sqrt_test_towardzero): Likewise.
2007         (sqrt_test_downward): Likewise.
2008         (sqrt_test_upward): Likewise.
2009         (tan_test): Likewise.
2010         (tan_test_tonearest): Likewise.
2011         (tan_test_towardzero): Likewise.
2012         (tan_test_downward): Likewise.
2013         (tan_test_upward): Likewise.
2014         (tanh_test): Likewise.
2015         (tgamma_test): Likewise.
2016         (trunc_test): Likewise.
2017         (y0_test): Likewise.
2018         (y1_test): Likewise.
2019         (yn_test): Likewise.
2020         (significand_test): Likewise.
2022         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2023         individual tests in comment.
2024         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2025         (prev_max_error): New variable.
2026         (prev_real_max_error): Likewise.
2027         (prev_imag_max_error): Likewise.
2028         (compare_ulp_data): Don't refer to test names in comment.
2029         (find_test_ulps): Remove function.
2030         (find_function_ulps): Likewise.
2031         (find_complex_function_ulps): Likewise.
2032         (init_max_error): Take function name as argument.  Look up ulps
2033         for that function.
2034         (print_ulps): Remove function.
2035         (print_max_error): Use prev_max_error instead of calling
2036         find_function_ulps.
2037         (print_complex_max_error): Use prev_real_max_error and
2038         prev_imag_max_error instead of calling find_complex_function_ulps.
2039         (check_float_internal): Take max_ulp parameter instead of calling
2040         find_test_ulps.  Don't call print_ulps.
2041         (check_float): Update call to check_float_internal.
2042         (check_complex): Update calls to check_float_internal.
2043         (START): Pass argument to init_max_error.
2044         * math/gen-libm-test.pl (%results): Don't include "kind"
2045         information.
2046         (parse_ulps): Don't handle ulps of individual tests.
2047         (print_ulps_file): Likewise.
2048         (output_ulps): Likewise.
2049         * math/README.libm-test: Update.
2050         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2051         individual tests.
2052         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2053         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2054         * sysdeps/arm/libm-test-ulps: Likewise.
2055         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2056         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2057         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2058         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2059         * sysdeps/microblaze/libm-test-ulps: Likewise.
2060         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2061         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2062         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2063         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2064         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2065         * sysdeps/sh/libm-test-ulps: Likewise.
2066         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2067         * sysdeps/tile/libm-test-ulps: Likewise.
2068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2070 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
2072         * math/libm-test.inc (print_complex_max_error): Check separately
2073         whether real and imaginary errors are within allowed range and
2074         pass 0 to print_complex_function_ulps instead of value within
2075         allowed range.
2077 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2079         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2080         formatting.
2081         (get_handles_fopen): Likewise.
2082         (do_write_test): Likewise.
2084         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2086         * libio/fileops.c (do_ftell): Use cached offset when
2087         available.
2088         * libio/iofwide.c (do_ftell_wide): Likewise.
2089         * libio/iofdopen.c (_IO_new_fdopen): Don't use
2090         _IO_file_attach.
2091         * libio/wfileops.c (_IO_fwide): Don't cache offset.
2093         [BZ #16532]
2094         * libio/libioP.h (get_file_offset): New function.
2095         * libio/fileops.c (get_file_offset): Likewise.
2096         (do_ftell): Likewise.
2097         (_IO_new_file_seekoff): Split out ftell logic.
2098         * libio/wfileops.c (do_ftell_wide): Likewise.
2099         (_IO_wfile_seekoff): Split out ftell logic.
2100         * libio/tst-ftell-active-handler.c: New test case.
2101         * libio/Makefile (tests): Add it.
2103 2014-03-03  Roland McGrath  <roland@hack.frob.com>
2105         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2106         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2108 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2110         [BZ #16639]
2111         * nscd/connections.c (nscd_init): Call do_exit.
2112         (start_threads): Call do_exit and notify_parent.
2113         (begin_drop_privileges): Call do_exit.
2114         (finish_drop_privileges): Likewise.
2115         * nscd/selinux.c (preserve_capabilities): Likewise.
2116         (install_real_capabilities): Likewise.
2117         (nscd_selinux_enabled): Likewise.
2118         (avc_create_thread): Likewise.
2119         (avc_alloc_lock): Likewise.
2120         (nscd_avc_init): Likewise.
2121         * nscd/nscd.c (parent_fd): New static variable.
2122         (main): Create a pipe between parent and child processes.
2123         Skip closing parent_fd.
2124         (monitor_child): New function.
2125         (do_exit): Likewise.
2126         (notify_parent): Likewise.
2127         * nscd/nscd.h (notify_parent): Likewise.
2128         (do_exit): Likewise.
2130 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
2132         * malloc/malloc.c (__libc_calloc): Revert last change.
2134 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2138 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2140         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2142         implementation.
2143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2144         (__libc_ifunc_impl_list): Likewise.
2145         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2146         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2147         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2148         * string/strrchr.c: Define STRRCHR.
2150 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
2152         * benchtest/bench-strtok.c (simple_strtok): Delete.
2153         (strtok_string): Use as benchmark.
2154         * string/strtok (STRTOK): New macro.
2156 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
2158         * manual/threads.texi: Add header and standard comments to all
2159         functions.
2161         * elf/dl-lookup.c (check_match): New function.
2162         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2163         (do_lookup_x): Remove nested function check_match. Use non-nested
2164         function check_match.
2166 2014-02-28  Roland McGrath  <roland@hack.frob.com>
2168         * csu/Makefile (generated, before-compile): Use += rather than =.
2169         * catgets/Makefile (generated, generated-dirs): Likewise.
2170         * debug/Makefile (generated): Likewise.
2171         * dlfcn/Makefile (generated): Likewise.
2172         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2173         * iconvdata/Makefile (before-compile, generated): Likewise.
2174         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2175         * libio/Makefile (generated): Likewise.
2176         * malloc/Makefile (generated): Likewise.
2177         * manual/Makefile (generated, generated-dirs): Likewise.
2178         * misc/Makefile (generated): Likewise.
2179         * posix/Makefile (generated): Likewise.
2180         * resolv/Makefile (generated): Likewise.
2181         * sunrpc/Makefile (generated, generated-dirs): Likewise.
2182         * timezone/Makefile (generated, generated-dirs): Likewise.
2184         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2186 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2188         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2189         implementation.
2190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2191         POWER8 llround ifunc implementation.
2192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2193         POWER8 implementation.
2194         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2195         POWER8 llround implementation.
2197 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2200         implementation.
2201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2202         POWER8 llrint ifunc implementation.
2203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2204         POWER8 implementation.
2205         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2206         POWER8 llrint implementation.
2208 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2211         implementation.
2212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2213         POWER8 finite ifunc implementation.
2214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2215         POWER8 implementation.
2216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2217         Likewise.
2218         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2219         POWER8 finite implementation.
2220         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2222 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2224         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2225         implementation.
2226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2227         POWER8 isinf ifunc implementation.
2228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2229         POWER8 implementation.
2230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2231         Likewise.
2232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2233         POWER8 isinf implementation.
2234         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2236 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2238         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2239         Add hwcap2 initialization.
2240         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2241         implementation.
2242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2243         POWER8 isnan ifunc implementation.
2244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2245         POWER8 implementation.
2246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2247         Likewise.
2248         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2249         POWER8 isnan implementation.
2250         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2252 2014-02-27  Joey Ye  <joey.ye@arm.com>
2254         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2255         (_FP_NANFRAC_Q): Set to zero.
2257 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2259         [BZ #16623]
2260         * math/auto-libm-test-in: New test inputs.
2261         * math/auto-libm-test-out: Regenerate.
2262         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2263         and DA.
2264         (__cos): Likewise.
2265         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2267 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
2269         * scripts/evaluate-test.sh: Take new argument indicating whether
2270         failure is expected.
2271         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2272         indicating whether failure is expected.
2273         * conform/Makefile (test-xfail-run-conformtest): New variable.
2274         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2275         level.
2276         * posix/Makefile (test-xfail-annexc): New variable.
2277         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2279 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
2281         * argp/Makefile: Include Makeconfig immediately after defining
2282         subdir.
2283         * assert/Makefile: Likewise.
2284         * benchtests/Makefile: Likewise.
2285         * catgets/Makefile: Likewise.
2286         * conform/Makefile: Likewise.
2287         * crypt/Makefile: Likewise.
2288         * csu/Makefile: Likewise.
2289         (all): Remove target.
2290         * ctype/Makefile: Include Makeconfig immediately after defining
2291         subdir.
2292         * debug/Makefile: Likewise.
2293         * dirent/Makefile: Likewise.
2294         * dlfcn/Makefile: Likewise.
2295         * gmon/Makefile: Likewise.
2296         * gnulib/Makefile: Likewise.
2297         * grp/Makefile: Likewise.
2298         * gshadow/Makefile: Likewise.
2299         * hesiod/Makefile: Likewise.
2300         * hurd/Makefile: Likewise.
2301         (all): Remove target.
2302         * iconvdata/Makefile: Include Makeconfig immediately after
2303         defining subdir.
2304         * inet/Makefile: Likewise.
2305         * intl/Makefile: Likewise.
2306         * io/Makefile: Likewise.
2307         * libio/Makefile: Likewise.
2308         (all): Remove target.
2309         * locale/Makefile: Include Makeconfig immediately after defining
2310         subdir.
2311         * login/Makefile: Likewise.
2312         * mach/Makefile: Likewise.
2313         (all): Remove target.
2314         * malloc/Makefile: Include Makeconfig immediately after defining
2315         subdir.
2316         (all): Remove target.
2317         * manual/Makefile: Include Makeconfig immediately after defining
2318         subdir.
2319         * math/Makefile: Likewise.
2320         * misc/Makefile: Likewise.
2321         * nis/Makefile: Likewise.
2322         * nss/Makefile: Likewise.
2323         * po/Makefile: Likewise.
2324         (all): Remove target.
2325         * posix/Makefile: Include Makeconfig immediately after defining
2326         subdir.
2327         * pwd/Makefile: Likewise.
2328         * resolv/Makefile: Likewise.
2329         * resource/Makefile: Likewise.
2330         * rt/Makefile: Likewise.
2331         * setjmp/Makefile: Likewise.
2332         * shadow/Makefile: Likewise.
2333         * signal/Makefile: Likewise.
2334         * socket/Makefile: Likewise.
2335         * soft-fp/Makefile: Likewise.
2336         * stdio-common/Makefile: Likewise.
2337         * stdlib/Makefile: Likewise.
2338         * streams/Makefile: Likewise.
2339         * string/Makefile: Likewise.
2340         * sunrpc/Makefile: Likewise.
2341         (all): Remove target.
2342         * sysvipc/Makefile: Include Makeconfig immediately after defining
2343         subdir.
2344         * termios/Makefile: Likewise.
2345         * time/Makefile: Likewise.
2346         * timezone/Makefile: Likewise.
2347         (all): Remove target.
2348         * wcsmbs/Makefile: Include Makeconfig immediately after defining
2349         subdir.
2350         * wctype/Makefile: Likewise.
2352 2014-02-26  Steve Ellcey  <sellcey@mips.com>
2354         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2355         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2356         (libc_feholdexcept_setround_mips): Ditto.
2357         (libc_feholdsetround): New.
2358         (libc_feholdsetroundf): New.
2359         (libc_feholdsetroundl): New.
2360         (libc_feupdateenv_test_mips): New.
2361         (libc_feupdateenv_test): New.
2362         (libc_feupdateenv_testf): New.
2363         (libc_feupdateenv_testl): New.
2364         (libc_feresetround): New.
2365         (libc_feresetroundf): New.
2366         (libc_feresetroundl): New.
2367         (libc_fetestexcept_mips): New.
2368         (libc_fetestexcept): New.
2369         (libc_fetestexceptf): New.
2370         (libc_fetestexceptl): New.
2371         (HAVE_RM_CTX): New.
2372         (libc_feholdexcept_setround_mips_ctx): New.
2373         (libc_feholdexcept_setround_ctx): New.
2374         (libc_feholdexcept_setroundf_ctx): New.
2375         (libc_feholdexcept_setroundl_ctx): New.
2376         (libc_fesetenv_mips_ctx): New.
2377         (libc_fesetenv_ctx): New.
2378         (libc_fesetenv_ctxf): New.
2379         (libc_fesetenv_ctxl): New.
2380         (libc_feupdateenv_mips_ctx): New.
2381         (libc_feupdateenv_ctx): New.
2382         (libc_feupdateenvf_ctx): New.
2383         (libc_feupdateenvl_ctx): New.
2384         (libc_feholdsetround_mips_ctx): New.
2385         (libc_feholdsetround_ctx): New.
2386         (libc_feholdsetroundf_ctx): New.
2387         (libc_feholdsetroundl_ctx): New.
2388         (libc_feresetround_mips_ctx): New.
2389         (libc_feresetround_ctx): New.
2390         (libc_feresetroundf_ctx): New.
2391         (libc_feresetroundl_ctx): New.
2393 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
2395         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2397         * manual/ipc.texi: New file.
2398         * manual/Makefile (chapters): Add ipc.
2399         * manual/job.texi: Add "Inter-Process Communication" to next.
2400         * manual/process.texi: Add "Inter-Process Communication" to prev.
2402 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2406 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
2408         * malloc/malloc.c (__libc_calloc): Simplify implementation.
2410         * manual/arith.texi: Fix spaces after sentences.
2411         * manual/charset.texi: Likewise.
2412         * manual/errno.texi: Likewise.
2413         * manual/install.texi: Likewise.
2414         * manual/llio.texi: Likewise.
2415         * manual/locale.texi: Likewise.
2416         * manual/maint.texi: Likewise.
2417         * manual/math.texi: Likewise.
2418         * manual/memory.texi: Likewise.
2419         * manual/message.texi: Likewise.
2420         * manual/probes.texi: Likewise.
2421         * manual/resource.texi: Likewise.
2422         * manual/signal.texi: Likewise.
2423         * manual/socket.texi: Likewise.
2424         * manual/stdio.texi: Likewise.
2425         * manual/string.texi: Likewise.
2426         * manual/time.texi: Likewise.
2427         * manual/users.texi: Likewise.
2429 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
2431         [BZ #16632]
2432         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2433         _DEFAULT_SOURCE is defined.
2435 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
2436             Carlos O'Donell  <carlos@redhat.com>
2438         [BZ #16613]
2439         * elf/dl-tls.c (_dl_count_modids): New function.
2440         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2441         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2442         audit library and increment generation counter.
2443         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2444         * elf/tst-audit9.c: New file.
2445         * elf/tst-auditmod9a.c: New file.
2446         * elf/tst-auditmod9b.c: New file.
2447         * elf/Makefile: Add rules to build and run tst-audit9.
2449 2014-02-25  Florian Weimer  <fweimer@redhat.com>
2451         [BZ #15347]
2452         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2454 2014-02-25  Will Newton  <will.newton@linaro.org>
2456         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2457         (__longjmp): Restore sp and lr before restoring callee
2458         saved registers.  Add longjmp and longjmp_target
2459         SystemTap probe point.
2460         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2461         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2462         Define to zero to match jmpbuf layout.
2463         * sysdeps/arm/setjmp.S: Include stap-probe.h.
2464         (__sigsetjmp): Save sp and lr before saving callee
2465         saved registers.  Add setjmp SystemTap probe point.
2467 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2469         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2471 2014-02-24  Andreas Schwab  <schwab@suse.de>
2473         [BZ #15804]
2474         * elf/pldd.c (wait_for_ptrace_stop): New function.
2475         (main): Call it after attaching.
2477 2014-02-22  Roland McGrath  <roland@hack.frob.com>
2479         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2480         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2481         Versions files is now verboten.
2482         * hurd/Versions (libc: GLIBC_2.0):
2483         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2484         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2485         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2486         * mach/Versions: Likewise.
2488         * csu/Versions: Remove unused %include.
2489         * resolv/Versions: Likewise.
2491 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
2493         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2494         ($(objpfx)check-local-headers.out): Likewise.
2495         ($(objpfx)begin-end-check.out): Likewise.
2496         * Makerules (check-abi-%.out): Likewise.
2497         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2498         ($(objpfx)test2.cat): Likewise.
2499         ($(objpfx)de/libc.cat): Likewise.
2500         ($(objpfx)test-gencat.out): Likewise.
2501         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2502         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2503         ($(objpfx)noload-mem): Likewise.
2504         ($(objpfx)tst-pathopt.out): Likewise.
2505         ($(objpfx)tst-rtld-load-self.out): Likewise.
2506         ($(objpfx)tst-array1-cmp.out): Likewise.
2507         ($(objpfx)tst-array1-static-cmp.out): Likewise.
2508         ($(objpfx)tst-array2-cmp.out): Likewise.
2509         ($(objpfx)tst-array3-cmp.out): Likewise.
2510         ($(objpfx)tst-array4-cmp.out): Likewise.
2511         ($(objpfx)tst-array5-cmp.out): Likewise.
2512         ($(objpfx)tst-array5-static-cmp.out): Likewise.
2513         ($(objpfx)check-textrel.out): Likewise.
2514         ($(objpfx)check-execstack.out): Likewise.
2515         ($(objpfx)check-localplt.out): Likewise.
2516         ($(objpfx)order2-cmp.out): Likewise.
2517         ($(objpfx)tst-leaks1-mem): Likewise.
2518         ($(objpfx)tst-leaks1-static-mem): Likewise.
2519         ($(objpfx)tst-initorder-cmp.out): Likewise.
2520         ($(objpfx)tst-initorder2-cmp.out): Likewise.
2521         ($(objpfx)tst-unused-dep.out): Likewise.
2522         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2523         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2524         * iconv/Makefile (test-iconvconfig): Likewise.
2525         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2526         ($(objpfx)iconv-test.out): Likewise.
2527         ($(objpfx)tst-tables.out): Likewise.
2528         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2529         ($(objpfx)tst-gettext.out): Likewise.
2530         ($(objpfx)tst-translit.out): Likewise.
2531         ($(objpfx)tst-gettext2.out): Likewise.
2532         ($(objpfx)tst-gettext4.out): Likewise.
2533         ($(objpfx)tst-gettext6.out): Likewise.
2534         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2535         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2536         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2537         ($(objpfx)tst-fopenloc-mem.out): Likewise.
2538         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2539         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2540         * posix/Makefile ($(objpfx)globtest.out): Likewise.
2541         ($(objpfx)wordexp-tst.out): Likewise.
2542         ($(objpfx)annexc.out): Likewise.
2543         ($(objpfx)tst-fnmatch-mem): Likewise.
2544         ($(objpfx)bug-regex2-mem): Likewise.
2545         ($(objpfx)bug-regex14-mem): Likewise.
2546         ($(objpfx)bug-regex21-mem): Likewise.
2547         ($(objpfx)bug-regex31-mem): Likewise.
2548         ($(objpfx)tst-vfork3-mem): Likewise.
2549         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2550         ($(objpfx)tst-pcre-mem): Likewise.
2551         ($(objpfx)tst-boost-mem): Likewise.
2552         ($(objpfx)tst-getconf.out): Likewise.
2553         ($(objpfx)bug-ga2-mem): Likewise.
2554         ($(objpfx)bug-glob2-mem): Likewise.
2555         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2556         ($(objpfx)mtrace-tst-leaks2): Likewise.
2557         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2558         ($(objpfx)tst-printf.out): Likewise.
2559         ($(objpfx)tst-setvbuf1.out): Likewise.
2560         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2561         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2562         ($(objpfx)tst-fmtmsg.out): Likewise.
2563         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2564         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2566         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2567         * bits/sigaction.h [__USE_MISC]: Likewise.
2568         * bits/waitstatus.h: Update #endif comments.
2569         * ctype/ctype.h: Likewise.
2570         * dirent/dirent.h: Likewise.
2571         [__USE_MISC]: Remove redundant conditionals.
2572         * grp/grp.h: Update #endif comments.
2573         [__USE_GNU]: Remove redundant conditionals.
2574         [__USE_MISC]: Likewise.
2575         * inet/netinet/in.h [__USE_GNU]: Likewise.
2576         * io/sys/stat.h [__USE_MISC]: Likewise.
2577         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2578         * libio/bits/stdio.h: Update #endif comments.
2579         [__USE_MISC]: Remove redundant conditionals.
2580         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2581         * libio/stdio.h: Update #endif comments.
2582         [__USE_MISC]: Remove redundant conditionals.
2583         * math/bits/math-finite.h [__USE_MISC]: Likewise.
2584         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2585         * math/math.h: Update #else and #endif comments.
2586         [__USE_MISC]: Remove redundant conditionals.
2587         * misc/sys/uio.h: Update #endif comments.
2588         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2589         * posix/glob.h [__USE_MISC]: Likewise.
2590         * posix/sys/types.h: Update #endif comments.
2591         [__USE_MISC]: Remove redundant conditionals.
2592         * posix/sys/wait.h: Update #endif comments.
2593         [__USE_MISC]: Remove redundant conditionals.
2594         * posix/unistd.h: Update #endif comments.
2595         [__USE_MISC]: Remove redundant conditionals.
2596         * pwd/pwd.h [__USE_GNU]: Likewise.
2597         [__USE_MISC]: Likewise.
2598         * resolv/netdb.h [__USE_GNU]: Likewise.
2599         * signal/signal.h: Update #endif comments.
2600         [__USE_MISC]: Remove redundant conditionals.
2601         * stdlib/stdlib.h: Update #else and #endif comments.
2602         [__USE_MISC]: Remove redundant conditionals.
2603         [__USE_GNU]: Likewise.
2604         * string/bits/string2.h [__USE_MISC]: Likewise.
2605         * string/string.h: Update #endif comments.
2606         [__USE_MISC]: Remove redundant conditionals.
2607         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2608         Likewise.
2609         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2610         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2611         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2612         Likewise.
2613         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2614         Likewise.
2615         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2616         comments.
2617         [__USE_MISC]: Remove redundant conditionals.
2618         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2619         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2620         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2621         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2622         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2623         Likewise.
2624         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2625         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2626         Likewise.
2627         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2628         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2629         Likewise.
2630         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2631         Likewise.
2632         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2633         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2634         Likewise.
2635         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2636         Likewise.
2637         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2638         * sysdeps/x86/bits/string.h: Update #endif comments.
2639         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2640         conditionals.
2641         * time/sys/time.h: Update #endif comments.
2642         * time/time.h: Likewise.
2643         [__USE_MISC]: Remove redundant conditionals.
2645 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
2647         [BZ #16600]
2648         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2650 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
2652         * Versions.def (librt): Add GLIBC_2.17.
2654 2014-02-21  Adam Conrad  <adconrad@0c3.net>
2656         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2657         synonym for _SYS_AUXV_H to allow direct inclusion.
2658         * sysdeps/sparc/bits/hwcap.h: Likewise.
2659         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2660         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2661         * sysdeps/sparc/sysdep.h: Likewise.
2663 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2665         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2667 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2669         * benchtests/bench-strrchr.c: Print length instead of position.
2671 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
2673         [BZ #16611]
2674         * sysdeps/unix/sysv/linux/kernel-features.h
2675         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2676         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2677         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2678         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2679         Likewise.
2680         [__i386__ || __powerpc__ || __sh__ || __sparc__]
2681         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2682         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2683         (__ASSUME_SENDMMSG): Define instead of using previous
2684         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2685         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2686         (__ASSUME_SENDMMSG_SYSCALL): Define.
2687         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2688         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2689         Likewise.
2690         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2691         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2692         Likewise.
2693         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2694         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2695         Likewise.
2696         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2697         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2698         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2699         [__ASSUME_SENDMMSG]: Change conditionals to
2700         [__ASSUME_SENDMMSG_SOCKETCALL].
2701         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2702         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2703         Define.
2704         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2705         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2706         Likewise.
2707         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2708         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2709         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2710         [!__ASSUME_SENDMMSG]: Change conditional to
2711         [!__ASSUME_SENDMMSG_SOCKETCALL].
2712         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2713         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2714         Define.
2716         [BZ #16610]
2717         * sysdeps/unix/sysv/linux/kernel-features.h
2718         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2719         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2720         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2721         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2722         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2723         [__i386__ || __sparc__]
2724         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2725         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2726         (__ASSUME_RECVMMSG): Define instead of using previous
2727         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2728         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2729         (__ASSUME_RECVMMSG_SYSCALL): Define.
2730         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2731         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2732         Likewise.
2733         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2734         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2735         Likewise.
2736         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2737         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2738         Likewise.
2739         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2740         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2741         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2742         [__ASSUME_RECVMMSG]: Change condition to
2743         [__ASSUME_RECVMMSG_SOCKETCALL].
2744         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2745         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2746         Define.
2747         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2748         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2749         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2750         Likewise.
2751         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2752         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2753         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2754         [!__ASSUME_RECVMMSG]: Change condition to
2755         [!__ASSUME_RECVMMSG_SOCKETCALL].
2756         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2757         (__ASSUME_RECVMMSG_SYSCALL): Define.
2759         [BZ #16609]
2760         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2761         __powerpc__ || __s390__ || __sh__ || __sparc__]
2762         (__ASSUME_SOCKETCALL): Define.
2763         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2764         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2765         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2766         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2767         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2768         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2769         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2770         (__ASSUME_ACCEPT4): Define instead of using previous
2771         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2772         __powerpc__ || __sparc__ || __s390__)] condition.
2773         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2774         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2775         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2776         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2777         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2778         [!__ASSUME_ACCEPT4]: Change condition to
2779         [!__ASSUME_ACCEPT4_SOCKETCALL].
2780         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2781         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
2782         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2783         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2784         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2785         __ASSUME_ACCEPT4_SYSCALL.
2786         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2787         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2788         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2789         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2790         __ASSUME_ACCEPT4_SYSCALL.
2791         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2792         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2793         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2794         [__ASSUME_ACCEPT4]: Change condition to
2795         [__ASSUME_ACCEPT4_SOCKETCALL].
2796         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2797         (__ASSUME_SOCKETCALL): Define.
2798         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2799         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2800         (__ASSUME_SOCKETCALL): Define.
2801         (__ASSUME_ACCEPT4): Remove.
2802         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2803         Define.
2804         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2805         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2806         Likewise.
2807         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2808         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2810         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2811         macro.
2812         (HWCAP_ARM_LPAE): Likewise.
2813         (HWCAP_ARM_EVTSTRM): Likewise.
2814         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2815         Add vpfd32, lpae and evtstrm.
2816         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2817         Increase to 22.
2819 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
2821         * math/auto-libm-test-in: Add tests of clog10.
2822         * math/auto-libm-test-out: Regenerated.
2823         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2824         * sysdeps/i386/fpu/libm-test-ulps: Update.
2825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2827 2014-02-18  Andreas Schwab  <schwab@suse.de>
2829         [BZ #16574]
2830         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2831         Store non-zero if the second buffer was newly allocated.
2832         (send_dg): Likewise.
2833         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2834         to send_vc and send_dg.
2835         (res_nsend): Pass NULL for ansp2_malloced.
2836         * resolv/res_query.c (__libc_res_nquery): Add parameter
2837         answerp2_malloced and pass it down to __libc_res_nsend.
2838         (res_nquery): Pass additional NULL to __libc_res_nquery.
2839         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2840         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
2841         second answer buffer if answerp2_malloced was set.
2842         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2843         (__libc_res_nquerydomain): Add parameter
2844         answerp2_malloced and pass it down to __libc_res_nquery.
2845         (res_nquerydomain): Pass additional NULL to
2846         __libc_res_nquerydomain.
2847         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2848         additional NULL to __libc_res_nsend and __libc_res_nquery.
2849         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2850         additional NULL to __libc_res_nsearch.
2851         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
2852         parameter of __libc_res_nsearch to check for separately allocated
2853         second buffer.
2854         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2855         __libc_res_nquery.
2856         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2857         additional NULL to __libc_res_nquery.
2858         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2859         __libc_res_nsearch.
2860         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2861         * include/resolv.h: Update prototypes of __libc_res_nquery,
2862         __libc_res_nsearch, __libc_res_nsend.
2864 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
2866         * math/auto-libm-test-in: Add tests of fma.
2867         * math/auto-libm-test-out: Regenerated.
2868         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2869         (fma_towardzero_test_data): Likewise.
2870         (fma_downward_test_data): Likewise.
2871         (fma_upward_test_data): Likewise.
2872         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2873         mpc_mode.
2874         (rounding_modes): Add values for new field.
2875         (func_calc_method): Add value mpfr_fff_f.
2876         (func_calc_desc): Add mpfr_fff_f union field.
2877         (test_function): Add field exact_args.
2878         (FUNC): Add macro argument EXACT_ARGS.
2879         (FUNC_mpfr_f_f): Update call to FUNC.
2880         (FUNC_mpfr_f_f): Likewise.
2881         (FUNC_mpfr_ff_f): Likewise.
2882         (FUNC_mpfr_if_f): Likewise.
2883         (FUNC_mpc_c_f): Likewise.
2884         (FUNC_mpc_c_c): Likewise.
2885         (test_functions): Add fma.  Update calls to FUNC.
2886         (handle_input_arg): Add argument exact_args.
2887         (add_test): Update call to handle_input_arg.
2888         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
2889         (output_for_one_input_case): Update call to calc_generic_results.
2890         Recalculate exact zero results in each rounding mode.
2892         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2893         non-negative before setting low bit.
2894         * math/auto-libm-test-in: Mark one asin test possibly having
2895         spurious underflow.
2896         * math/auto-libm-test-out: Regenerated.
2897         * sysdeps/i386/fpu/libm-test-ulps: Update.
2898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2900 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
2902         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2903         * sysdeps/unix/sysv/linux/microblaze: Move directory from
2904         ports/sysdeps/unix/sysv/linux/microblaze.
2905         * README: Add missing listing for microblaze*-*-linux-gnu.
2907 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
2909         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2910         * sysdeps/unix/sysv/linux/ia64: Move directory from
2911         ports/sysdeps/unix/sysv/linux/ia64.
2912         * README: Update listing for ia64-*-linux-gnu.
2914 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
2915             Joseph Myers  <joseph@codesourcery.com>
2917         * Makeconfig (test-name): New variable.
2918         (evaluate-test): Likewise.
2919         * Makerules (do-test-clean): Remove .test-result files.
2920         (common-mostlyclean): Likewise.
2921         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2922         * scripts/evaluate-test.sh: New file.
2924 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
2926         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2927         separate $(objpfx)tst-fopenloc-cmp.out and
2928         $(objpfx)tst-fopenloc-mem.out targets.
2929         (tests): Update dependencies.
2930         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2931         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2932         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2933         (tst-rxspencer-no-utf8-ARGS): New variable.
2934         (tst-rxspencer-no-utf8-ENV): Likewise.
2935         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2936         instead of $(objpfx)tst-rxspencer-mem.
2937         ($(objpfx)tst-rxspencer-mem): Change target to
2938         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
2939         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2940         * posix/tst-rxspencer-no-utf8.c: New file.
2942         * elf/Makefile ($(objpfx)order.out): Remove rule.
2943         [$(run-built-tests) = yes] (tests): Depend on
2944         $(objpfx)order-cmp.out.
2945         ($(objpfx)order-cmp.out): New rule.
2946         [$(run-built-tests) = yes] (tests): Depend on
2947         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2948         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2949         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2950         $(objpfx)tst-array5-static-cmp.out.
2951         ($(objpfx)tst-array1.out): Remove rule.
2952         ($(objpfx)tst-array1-cmp.out): New rule.
2953         ($(objpfx)tst-array1-static.out): Remove rule.
2954         ($(objpfx)tst-array1-static-cmp.out): New rule.
2955         ($(objpfx)tst-array2.out): Remove rule.
2956         ($(objpfx)tst-array2-cmp.out): New rule.
2957         ($(objpfx)tst-array3.out): Remove rule.
2958         ($(objpfx)tst-array3-cmp.out): New rule.
2959         ($(objpfx)tst-array4.out): Remove rule.
2960         ($(objpfx)tst-array4-cmp.out): New rule.
2961         ($(objpfx)tst-array5.out): Remove rule.
2962         ($(objpfx)tst-array5-cmp.out): New rule.
2963         ($(objpfx)tst-array5-static.out): Remove rule.
2964         ($(objpfx)tst-array5-static-cmp.out): New rule.
2965         [$(run-built-tests) = yes] (tests): Depend on
2966         $(objpfx)order2-cmp.out.
2967         ($(objpfx)order2.out): Remove rule.
2968         ($(objpfx)order2-cmp.out): New rule.
2969         ($(objpfx)tst-initorder.out): Remove rule.
2970         [$(run-built-tests) = yes] (tests): Depend on
2971         $(objpfx)tst-initorder-cmp.out.
2972         ($(objpfx)tst-initorder-cmp.out): New rule.
2973         ($(objpfx)tst-initorder2.out): Remove rule.
2974         [$(run-built-tests) = yes] (tests): Depend on
2975         $(objpfx)tst-initorder2-cmp.out.
2976         ($(objpfx)tst-initorder2-cmp.out): New rule.
2977         [$(run-built-tests) = yes] (tests): Depend on
2978         $(objpfx)tst-unused-dep-cmp.out.
2979         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2980         ($(objpfx)tst-unused-dep-cmp.out): New rule.
2981         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2982         on $(objpfx)tst-setvbuf1-cmp.out.
2983         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2984         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2985         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2986         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2987         ($(objpfx)tst-svc.out): Remove rule.
2988         ($(objpfx)tst-svc-cmp.out): New rule.
2990 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
2992         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2993         * ctype/ctype.h [__USE_MISC]: Likewise.
2994         * dirent/dirent.h [__USE_MISC]: Likewise.
2995         * grp/grp.h [__USE_MISC]: Likewise.
2996         * io/fcntl.h [__USE_MISC]: Likewise.
2997         * io/sys/stat.h [__USE_MISC]: Likewise.
2998         * libio/stdio.h [__USE_MISC]: Likewise.
2999         * posix/unistd.h [__USE_MISC]: Likewise.
3000         * pwd/pwd.h [__USE_MISC]: Likewise.
3001         * stdlib.h [__USE_MISC]: Likewise.
3002         * string/bits/string2.h [__USE_MISC]: Likewise.
3003         * string/string.h [__USE_MISC]: Likewise.
3004         * time/time.h [__USE_MISC]: Likewise.
3006 2014-02-13  Andreas Schwab  <schwab@suse.de>
3008         [BZ #16574]
3009         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3010         second answer buffer if it was separately allocated.
3012 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
3014         * sysdeps/mips/math-tests.h: Include <features.h>.
3015         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3016         (ROUNDING_TESTS_long_double): Do not define.
3017         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3018         (EXCEPTION_TESTS_long_double): Likewise.
3019         * sysdeps/mips/mips64/libm-test-ulps: Update.
3021         * include/features.h (__USE_BSD): Remove macro definitions.
3022         (__USE_SVID): Likewise.
3023         (_BSD_SOURCE): Likewise.
3024         (_SVID_SOURCE): Likewise.
3025         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3026         from definition of _DEFAULT_SOURCE.
3027         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3028         [_DEFAULT_SOURCE].
3029         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3030         * bits/mman.h [__USE_BSD]: Likewise.
3031         * bits/termios.h [__USE_BSD]: Likewise.
3032         * bits/waitstatus.h [__USE_BSD]: Likewise.
3033         * ctype/ctype.h [__USE_SVID]: Likewise.
3034         * dirent/dirent.h [__USE_BSD]: Likewise.
3035         * grp/grp.h [__USE_SVID]: Likewise.
3036         [__USE_BSD]: Likewise.
3037         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3038         * io/fcntl.h [__USE_BSD]: Likewise.
3039         * io/ftw.h [__USE_BSD]: Likewise.
3040         * io/sys/stat.h [__USE_BSD]: Likewise.
3041         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3042         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3043         * libio/stdio.h [__USE_SVID]: Likewise.
3044         [__USE_BSD]: Likewise.
3045         * math/math.h [__USE_SVID]: Likewise.
3046         [__USE_BSD]: Likewise.
3047         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3048         * misc/bits/syslog.h [__USE_BSD]: Likewise.
3049         * misc/search.h [__USE_SVID]: Likewise.
3050         * misc/sys/mman.h [__USE_BSD]: Likewise.
3051         * misc/sys/syslog.h [__USE_BSD]: Likewise.
3052         * misc/sys/uio.h [__USE_BSD]: Likewise.
3053         * posix/bits/unistd.h [__USE_BSD]: Likewise.
3054         * posix/glob.h [__USE_BSD]: Likewise.
3055         * posix/regex.h [__USE_BSD]: Likewise.
3056         * posix/sys/types.h [__USE_BSD]: Likewise.
3057         [__USE_SVID]: Likewise.
3058         * posix/sys/utsname.h [__USE_SVID]: Likewise.
3059         * posix/sys/wait.h [__USE_BSD]: Likewise.
3060         [__USE_SVID]: Likewise.
3061         * posix/unistd.h [__USE_BSD]: Likewise.
3062         [__USE_SVID]: Likewise.
3063         * pwd/pwd.h [__USE_SVID]: Likewise.
3064         * resolv/netdb.h [__USE_BSD]: Likewise.
3065         * setjmp/setjmp.h [__USE_BSD]: Likewise.
3066         * signal/signal.h [__USE_BSD]: Likewise.
3067         [__USE_SVID]: Likewise.
3068         * socket/sys/socket.h [__USE_BSD]: Likewise.
3069         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3070         * stdlib/stdlib.h [__USE_BSD]: Likewise.
3071         [__USE_SVID]: Likewise.
3072         * string/bits/string2.h [__USE_BSD]: Likewise.
3073         [__USE_SVID]: Likewise.
3074         * string/bits/string3.h [__USE_BSD]: Likewise.
3075         * string/endian.h [__USE_BSD]: Likewise.
3076         * string/string.h [__USE_SVID]: Likewise.
3077         [__USE_BSD]: Likewise.
3078         * string/strings.h [__USE_BSD]: Likewise.
3079         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3080         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3081         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3082         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3083         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3084         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3085         Likewise.
3086         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3087         Likewise.
3088         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3089         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3090         Likewise.
3091         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3092         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3093         Likewise.
3094         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3095         Likewise.
3096         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3097         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3098         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3099         Likewise.
3100         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3101         Likewise.
3102         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3103         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3104         * termios/termios.h [__USE_BSD]: Likewise.
3105         * time/sys/time.h [__USE_BSD]: Likewise.
3106         * time/time.h [__USE_BSD]: Likewise.
3107         [__USE_SVID]: Likewise.
3109         * Makefile (subdir_targets): Remove subdir_lint.out.
3111         * stdio-common/Makefile (do-tst-unbputc): Remove target.
3112         (do-tst-printf): Likewise.
3113         (tests): Depend directly on $(objpfx)tst-unbputc.out and
3114         $(objpfx)tst-printf.out.
3116         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3118         * Makerules (check-abi-%): Change target to
3119         $(objpfx)check-abi-%.out.
3120         (check-abi target): Update dependencies.
3121         (check-abi-pattern variable): Redirect output of diff to $@.
3122         (check-abi variable): Likewise.
3123         * elf/Makefile (check-abi): Update dependencies.
3125         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3126         unused.
3127         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3128         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3129         subnormal range.
3130         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3131         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3132         value has largest subnormal exponent.
3133         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3134         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3135         * sysdeps/aarch64/soft-fp/sfp-machine.h
3136         (_FP_TININESS_AFTER_ROUNDING): New macro.
3137         * sysdeps/alpha/soft-fp/sfp-machine.h
3138         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3139         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3140         Likewise.
3141         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3142         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3143         * sysdeps/mips/soft-fp/sfp-machine.h
3144         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3145         * sysdeps/powerpc/soft-fp/sfp-machine.h
3146         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3147         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3148         Likewise.
3149         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3150         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3151         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3152         (_FP_TININESS_AFTER_ROUNDING): Likewise.
3153         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3154         Likewise.
3156 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
3158         [BZ #16545]
3159         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3160         model 1.
3162 2014-02-12  Richard Henderson  <rth@redhat.com>
3164         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3165         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3166         * sysdeps/unix/sysv/linux/alpha: Move directory from
3167         ports/sysdeps/unix/sysv/linux/alpha.
3168         * README: Update listing for alpha-*-linux-gnu.
3170 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
3172         * include/features.h: Update comment documenting feature test
3173         macros.
3174         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
3175         _DEFAULT_SOURCE.
3176         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3177         (_SVID_SOURCE): Likewise.
3178         (_DEFAULT_SOURCE): Update description of default features.
3179         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3180         with _GNU_SOURCE.
3181         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3182         (S_ISVTX): Likewise.
3183         * manual/math.texi (Mathematical Constants): Likewise.
3184         * manual/signal.texi (Interrupted Primitives): Likewise.
3185         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3186         * math/test-matherr.c (_SVID_SOURCE): Do not define.
3187         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3188         Don't refer to _SVID_SOURCE in warning text.
3190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3192         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3193         already defined.
3194         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3195         * sysdeps/mips/dl-lookup.c: Remove.
3196         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3198 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3200         [BZ #16447]
3201         * math/auto-libm-test-in: Add testcase for expl.
3202         * math/auto-libm-test-out: Regenerate.
3203         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3204         calculation of unsafe.
3205         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3207 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3209         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3210         * sysdeps/unix/sysv/linux/aarch64: Move directory from
3211         ports/sysdeps/unix/sysv/linux/aarch64.
3212         * README: Update listing for aarch64*-*-linux-gnu.
3214 2014-02-11  Will Newton  <will.newton@linaro.org>
3216         * manual/probes.texi (Mathematical Function Probes): Use
3217         "triggered" instead of "hit".
3219 2014-02-11  Will Newton  <will.newton@linaro.org>
3221         * manual/probes.texi (Internal Probes): Add documentation
3222         of setjmp, longjmp and longjmp_target probes.
3224 2014-02-11  Will Newton  <will.newton@linaro.org>
3226         * include/stap-probe.h: Add comment about probe argument
3227         format.
3229 2014-02-11  Will Newton  <will.newton@linaro.org>
3231         * malloc/mtrace.c (attribute_hidden): Remove unused macro
3232         definition.  (tr_where, tr_freehook, tr_mallochook,
3233         tr_reallochook, tr_memalignhook): Use ANSI protoype.
3235 2014-02-11  David S. Miller  <davem@davemloft.net>
3237         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3238         processing int_tests.
3240 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
3242         * sysdeps/mips: Move directory from ports/sysdeps/mips.
3243         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3244         * sysdeps/unix/sysv/linux/mips: Move directory from
3245         ports/sysdeps/unix/sysv/linux/mips.
3246         * README: Update listing for mips-*-linux-gnu and
3247         mips64-*-linux-gnu.
3249 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
3251         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3252         * sysdeps/unix/sysv/linux/m68k: Move directory from
3253         ports/sysdeps/unix/sysv/linux/m68k.
3254         * README: Update listing for m68k-*-linux-gnu.
3256 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
3258         * sysdeps/tile: Move directory from ports/sysdeps/tile.
3259         * sysdeps/unix/sysv/linux/generic: Move directory from
3260         ports/sysdeps/unix/sysv/linux/generic.
3261         * sysdeps/unix/sysv/linux/tile: Move directory from
3262         ports/sysdeps/unix/sysv/linux/tile.
3263         * README: Update listing for tile*-*-linux-gnu.
3265 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3267         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3268         * benchtests/bench-memmem.c (simple_memmem): Likewise.
3269         * catgets/open_catalog.c (__open_catalog): Likewise.
3270         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3271         * debug/confstr_chk.c: Likewise.
3272         * debug/fread_chk.c (__fread_chk): Likewise.
3273         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3274         * debug/getgroups_chk.c: Likewise.
3275         * debug/mbsnrtowcs_chk.c: Likewise.
3276         * debug/mbsrtowcs_chk.c: Likewise.
3277         * debug/mbstowcs_chk.c: Likewise.
3278         * debug/memcpy_chk.c: Likewise.
3279         * debug/memmove_chk.c: Likewise.
3280         * debug/mempcpy_chk.c: Likewise.
3281         * debug/memset_chk.c: Likewise.
3282         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3283         * debug/strcat_chk.c (__strcat_chk): Likewise.
3284         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3285         * debug/strncat_chk.c (__strncat_chk): Likewise.
3286         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3287         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3288         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3289         * debug/wcpncpy_chk.c: Likewise.
3290         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3291         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3292         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3293         * debug/wcsncpy_chk.c: Likewise.
3294         * debug/wcsnrtombs_chk.c: Likewise.
3295         * debug/wcsrtombs_chk.c: Likewise.
3296         * debug/wcstombs_chk.c: Likewise.
3297         * debug/wmemcpy_chk.c: Likewise.
3298         * debug/wmemmove_chk.c: Likewise.
3299         * debug/wmempcpy_chk.c: Likewise.
3300         * debug/wmemset_chk.c: Likewise.
3301         * dirent/scandirat.c (SCANDIRAT): Likewise.
3302         * dlfcn/dladdr1.c (dladdr1): Likewise.
3303         * dlfcn/dladdr.c (dladdr): Likewise.
3304         * dlfcn/dlclose.c (dlclose_doit): Likewise.
3305         * dlfcn/dlerror.c (__dlerror): Likewise.
3306         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3307         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3308         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3309         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3310         * dlfcn/dlsym.c (dlsym_doit): Likewise.
3311         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3312         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3313         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3314         Likewise.
3315         * elf/dl-conflict.c: Likewise.
3316         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3317         * elf/dl-dst.h: Likewise.
3318         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3319         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3320         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3321         * elf/dl-init.c (call_init, _dl_init): Likewise.
3322         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3323         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3324         _dl_map_object_from_fd, open_verify, open_path,
3325         _dl_map_object): Likewise.
3326         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3327         Likewise.
3328         * elf/dl-minimal.c (__libc_memalign): Likewise.
3329         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3330         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3331         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3332         * elf/dl-sym.c (do_sym): Likewise.
3333         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3334         _dl_tls_get_addr_soft): Likewise.
3335         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3336         * elf/dl-writev.h (_dl_writev): Likewise.
3337         * elf/ldconfig.c (search_dir): Likewise.
3338         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3339         dl_main): Likewise.
3340         * elf/setup-vdso.h (setup_vdso): Likewise.
3341         * grp/compat-initgroups.c (compat_call): Likewise.
3342         * grp/fgetgrent.c (fgetgrent): Likewise.
3343         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3344         * grp/putgrent.c (putgrent): Likewise.
3345         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3346         Likewise.
3347         * hurd/hurdinit.c: Likewise.
3348         * iconvdata/8bit-gap.c (struct): Likewise.
3349         * iconvdata/ansi_x3.110.c : Likewise.
3350         * iconvdata/big5.c : Likewise.
3351         * iconvdata/big5hkscs.c : Likewise.
3352         * iconvdata/cp1255.c: Likewise.
3353         * iconvdata/cp1258.c : Likewise.
3354         * iconvdata/cp932.c : Likewise.
3355         * iconvdata/euc-cn.c: Likewise.
3356         * iconvdata/euc-jisx0213.c : Likewise.
3357         * iconvdata/euc-jp.c: Likewise.
3358         * iconvdata/euc-jp-ms.c : Likewise.
3359         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3360         * iconvdata/gb18030.c : Likewise.
3361         * iconvdata/gbbig5.c (const): Likewise.
3362         * iconvdata/gbgbk.c: Likewise.
3363         * iconvdata/gbk.c : Likewise.
3364         * iconvdata/ibm1364.c : Likewise.
3365         * iconvdata/ibm930.c : Likewise.
3366         * iconvdata/ibm932.c: Likewise.
3367         * iconvdata/ibm933.c : Likewise.
3368         * iconvdata/ibm935.c : Likewise.
3369         * iconvdata/ibm937.c : Likewise.
3370         * iconvdata/ibm939.c : Likewise.
3371         * iconvdata/ibm943.c: Likewise.
3372         * iconvdata/iso_11548-1.c: Likewise.
3373         * iconvdata/iso-2022-cn.c : Likewise.
3374         * iconvdata/iso-2022-cn-ext.c : Likewise.
3375         * iconvdata/iso-2022-jp-3.c: Likewise.
3376         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3377         * iconvdata/iso-2022-kr.c : Likewise.
3378         * iconvdata/iso646.c (gconv_end): Likewise.
3379         * iconvdata/iso_6937-2.c : Likewise.
3380         * iconvdata/iso_6937.c : Likewise.
3381         * iconvdata/iso8859-1.c: Likewise.
3382         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3383         * iconvdata/shift_jisx0213.c : Likewise.
3384         * iconvdata/sjis.c : Likewise.
3385         * iconvdata/t.61.c : Likewise.
3386         * iconvdata/tcvn5712-1.c : Likewise.
3387         * iconvdata/tscii.c: Likewise.
3388         * iconvdata/uhc.c : Likewise.
3389         * iconvdata/unicode.c (gconv_end): Likewise.
3390         * iconvdata/utf-16.c (gconv_end): Likewise.
3391         * iconvdata/utf-32.c (gconv_end): Likewise.
3392         * iconvdata/utf-7.c (base64): Likewise.
3393         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3394         * iconv/gconv_close.c (__gconv_close): Likewise.
3395         * iconv/gconv_open.c (__gconv_open): Likewise.
3396         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3397         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3398         internal_ucs4le_loop_single, ucs4le_internal_loop,
3399         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3400         * iconv/iconv.c (iconv): Likewise.
3401         * iconv/iconv_close.c: Likewise.
3402         * iconv/loop.c (SINGLE): Likewise.
3403         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3404         * include/atomic.h: Likewise.
3405         * inet/inet6_option.c (option_alloc): Likewise.
3406         * intl/bindtextdom.c (set_binding_values): Likewise.
3407         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3408         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3409         * intl/localealias.c (read_alias_file): Likewise.
3410         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3411         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3412         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3413         * libio/fmemopen.c (fmemopen): Likewise.
3414         * libio/iofgets.c (_IO_fgets): Likewise.
3415         * libio/iofgets_u.c (fgets_unlocked): Likewise.
3416         * libio/iofgetws.c (fgetws): Likewise.
3417         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3418         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3419         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3420         adjust_wide_data, _IO_wfile_seekoff): Likewise.
3421         * locale/findlocale.c (_nl_find_locale): Likewise.
3422         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3423         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3424         Likewise.
3425         * locale/setlocale.c (setlocale): Likewise.
3426         * login/programs/pt_chown.c (main): Likewise.
3427         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3428         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3429         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3430         mmap, mmap64, mremap, munmap): Likewise.
3431         * math/e_exp2l.c: Likewise.
3432         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3433         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3434         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3435         * math/s_catan.c (__catan): Likewise.
3436         * math/s_catanf.c (__catanf): Likewise.
3437         * math/s_catanh.c (__catanh): Likewise.
3438         * math/s_catanhf.c (__catanhf): Likewise.
3439         * math/s_catanhl.c (__catanhl): Likewise.
3440         * math/s_catanl.c (__catanl): Likewise.
3441         * math/s_ccosh.c (__ccosh): Likewise.
3442         * math/s_ccoshf.c (__ccoshf): Likewise.
3443         * math/s_ccoshl.c (__ccoshl): Likewise.
3444         * math/s_cexp.c (__cexp): Likewise.
3445         * math/s_cexpf.c (__cexpf): Likewise.
3446         * math/s_cexpl.c (__cexpl): Likewise.
3447         * math/s_clog10.c (__clog10): Likewise.
3448         * math/s_clog10f.c (__clog10f): Likewise.
3449         * math/s_clog10l.c (__clog10l): Likewise.
3450         * math/s_clog.c (__clog): Likewise.
3451         * math/s_clogf.c (__clogf): Likewise.
3452         * math/s_clogl.c (__clogl): Likewise.
3453         * math/s_csin.c (__csin): Likewise.
3454         * math/s_csinf.c (__csinf): Likewise.
3455         * math/s_csinh.c (__csinh): Likewise.
3456         * math/s_csinhf.c (__csinhf): Likewise.
3457         * math/s_csinhl.c (__csinhl): Likewise.
3458         * math/s_csinl.c (__csinl): Likewise.
3459         * math/s_csqrt.c (__csqrt): Likewise.
3460         * math/s_csqrtf.c (__csqrtf): Likewise.
3461         * math/s_csqrtl.c (__csqrtl): Likewise.
3462         * math/s_ctan.c (__ctan): Likewise.
3463         * math/s_ctanf.c (__ctanf): Likewise.
3464         * math/s_ctanh.c (__ctanh): Likewise.
3465         * math/s_ctanhf.c (__ctanhf): Likewise.
3466         * math/s_ctanhl.c (__ctanhl): Likewise.
3467         * math/s_ctanl.c (__ctanl): Likewise.
3468         * math/w_pow.c: Likewise.
3469         * math/w_powf.c: Likewise.
3470         * math/w_powl.c: Likewise.
3471         * math/w_scalb.c (sysv_scalb): Likewise.
3472         * math/w_scalbf.c (sysv_scalbf): Likewise.
3473         * math/w_scalbl.c (sysv_scalbl): Likewise.
3474         * misc/error.c (error_tail): Likewise.
3475         * misc/pselect.c (__pselect): Likewise.
3476         * nis/nis_callback.c (__nis_create_callback): Likewise.
3477         * nis/nis_call.c (__nisfind_server): Likewise.
3478         * nis/nis_creategroup.c (nis_creategroup): Likewise.
3479         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3480         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3481         * nis/nis_getservlist.c (nis_getservlist): Likewise.
3482         * nis/nis_lookup.c (nis_lookup): Likewise.
3483         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3484         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3485         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3486         * nis/nis_xdr.c (xdr_endpoint): Likewise.
3487         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3488         internal_getgrgid_r): Likewise.
3489         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3490         Likewise.
3491         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3492         internal_getpwuid_r): Likewise.
3493         * nis/nss_compat/compat-spwd.c (getspent_next_file,
3494         internal_getspnam_r): Likewise.
3495         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3496         _nss_nis_getaliasbyname_r): Likewise.
3497         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3498         _nss_nis_getntohost_r): Likewise.
3499         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3500         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3501         Likewise.
3502         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3503         internal_nis_gethostent_r, internal_gethostbyname2_r,
3504         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3505         _nss_nis_gethostbyname4_r): Likewise.
3506         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3507         initgroups_netid): Likewise.
3508         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3509         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3510         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3511         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3512         _nss_nis_getprotobynumber_r): Likewise.
3513         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3514         _nss_nis_getsecretkey): Likewise.
3515         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3516         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3517         Likewise.
3518         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3519         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3520         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3521         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3522         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3523         _nss_nis_getspnam_r): Likewise.
3524         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3525         Likewise.
3526         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3527         _nss_nisplus_getntohost_r): Likewise.
3528         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3529         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3530         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3531         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3532         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3533         Likewise.
3534         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3535         _nss_nisplus_getnetbyaddr_r): Likewise.
3536         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3537         _nss_nisplus_getprotobynumber_r): Likewise.
3538         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3539         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3540         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3541         Likewise.
3542         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3543         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3544         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3545         _nss_nisplus_getspnam_r): Likewise.
3546         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3547         * nscd/aicache.c (addhstaiX): Likewise.
3548         * nscd/cache.c (cache_search, prune_cache): Likewise.
3549         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3550         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3551         * nscd/grpcache.c (addgrbyX): Likewise.
3552         * nscd/hstcache.c (addhstbyX): Likewise.
3553         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3554         * nscd/mem.c (gc, mempool_alloc): Likewise.
3555         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3556         Likewise.
3557         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3558         Likewise.
3559         * nscd/nscd_getai.c (__nscd_getai): Likewise.
3560         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3561         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3562         Likewise.
3563         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3564         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3565         * nscd/nscd_helper.c (__readvall, open_socket,
3566         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3567         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3568         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3569         * nscd/pwdcache.c (addpwbyX): Likewise.
3570         * nscd/selinux.c (preserve_capabilities): Likewise.
3571         * nscd/servicescache.c (addservbyX): Likewise.
3572         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3573         * posix/fnmatch.c (fnmatch): Likewise.
3574         * posix/getopt.c (_getopt_internal_r): Likewise.
3575         * posix/glob.c (glob, glob_in_dir): Likewise.
3576         * posix/wordexp.c (exec_comm_child): Likewise.
3577         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3578         gaih_getanswer_slice): Likewise.
3579         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3580         * resolv/res_init.c: Likewise.
3581         * resolv/res_mkquery.c (res_nmkquery): Likewise.
3582         * resolv/res_query.c (__libc_res_nquery): Likewise.
3583         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3584         Likewise.
3585         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3586         * stdio-common/perror.c (perror): Likewise.
3587         * stdio-common/printf_fp.c (___printf_fp): Likewise.
3588         * stdio-common/tmpnam.c (tmpnam): Likewise.
3589         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3590         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3591         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3592         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3593         * stdlib/putenv.c (putenv): Likewise.
3594         * stdlib/setenv.c (__add_to_environ): Likewise.
3595         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3596         * stdlib/strtol_l.c (INTERNAL): Likewise.
3597         * string/memmem.c (memmem): Likewise.
3598         * string/strerror.c (strerror): Likewise.
3599         * string/strnlen.c (__strnlen): Likewise.
3600         * string/test-memmem.c (simple_memmem): Likewise.
3601         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3602         * sunrpc/pm_getport.c (__get_socket): Likewise.
3603         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3604         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3605         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3606         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3607         Likewise.
3608         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3609         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3610         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3611         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3612         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3613         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3614         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3615         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3616         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3617         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3618         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3619         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3621         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3622         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3623         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3624         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3625         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3626         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3627         Likewise.
3628         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3629         Likewise.
3630         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3631         Likewise.
3632         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3633         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3634         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3635         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3636         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3637         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3638         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3639         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3640         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3641         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3642         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3643         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3644         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3645         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3647         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3648         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3649         Likewise.
3650         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3651         Likewise.
3652         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3653         Likewise.
3654         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3655         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3656         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3657         Likewise.
3658         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3659         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3660         * sysdeps/posix/opendir.c (__opendirat): Likewise.
3661         * sysdeps/posix/sleep.c: Likewise.
3662         * sysdeps/posix/tempname.c: Likewise.
3663         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3664         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3665         Likewise.
3666         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3667         elf_machine_rela): Likewise.
3668         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3669         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3670         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3671         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3672         Likewise.
3673         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3674         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3675         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3676         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3677         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3678         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3679         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3680         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3681         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3682         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3683         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3684         elf_machine_lazy_rel): Likewise.
3685         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3686         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3687         elf_machine_lazy_rel): Likewise.
3688         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3689         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3690         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3691         * sysdeps/unix/grantpt.c (grantpt): Likewise.
3692         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3693         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3694         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3695         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3696         Likewise.
3697         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3698         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3699         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3700         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3701         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3702         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3703         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3704         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3705         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3706         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3707         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3708         Likewise.
3709         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3710         (__posix_fallocate64_l64): Likewise.
3711         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3712         (posix_fallocate): Likewise.
3713         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3714         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3715         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3716         getifaddrs_internal): Likewise.
3717         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3718         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3719         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3720         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3721         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3722         (__posix_fallocate64_l64): Likewise.
3723         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3724         Likewise.
3725         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3726         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3727         Likewise.
3728         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3729         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3730         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3731         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3732         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3733         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3734         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3735         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3736         Likewise.
3737         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3738         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3739         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3740         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3741         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3742         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3743         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3744         Likewise.
3745         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3746         (posix_fallocate): Likewise.
3747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3748         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3749         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3750         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3751         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3752         Likewise.
3753         * time/asctime.c (asctime_internal): Likewise.
3754         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3755         * time/tzset.c (__tzset_parse_tz): Likewise.
3756         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3757         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3758         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3759         * wcsmbs/wcsmbsload.h: Likewise.
3761 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3763         [BZ #15894]
3764         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3766 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3768         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3769         arena_get2): Remove THREAD_STATS conditionals.
3770         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3771         __malloc_stats, int): Likewise.
3773 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3775         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3776         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
3778 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3780         * manual/setjmp.texi: Fix typos/grammar errors.
3782 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3784         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3785         Only return early when n is <= 0.  Delete unused return statement.
3787 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3789         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3790         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3791         * debug/tst-longjmp_chk3.c: New file.
3793 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3795         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3796         (test_main): Replace code with set_fortify_handler call.
3797         * debug/test-strcpy_chk.c: Likewise.
3798         * debug/tst-chk1.c: Likewise.
3799         * debug/tst-longjmp_chk.c: Likewise.
3800         * test-skeleton.c: Include fcntl.h & paths.h
3801         (set_fortify_handler): Define.
3803 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3805         * debug/tst-longjmp_chk.c: Add header comment and include
3806         ../test-skeleton.c.
3807         (do_test): Mark static.
3808         (TEST_FUNCTION): Define.
3810 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3812         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3813         (IP_PMTUDISC_INTERFACE): Likewise.
3814         (IP_MULTICAST_IF): Likewise.
3815         (IP_MULTICAST_TTL): Likewise.
3816         (IP_MULTICAST_LOOP): Likewise.
3817         (IP_ADD_MEMBERSHIP): Likewise.
3818         (IP_DROP_MEMBERSHIP): Likewise.
3819         (IP_UNBLOCK_SOURCE): Likewise.
3820         (IP_BLOCK_SOURCE): Likewise.
3821         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3822         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3823         (IP_MSFILTER): Likewise.
3824         (MCAST_JOIN_GROUP): Likewise.
3825         (MCAST_BLOCK_SOURCE): Likewise.
3826         (MCAST_UNBLOCK_SOURCE): Likewise.
3827         (MCAST_LEAVE_GROUP): Likewise.
3828         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3829         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3830         (MCAST_MSFILTER): Likewise.
3831         (IP_MULTICAST_ALL): Likewise.
3832         (IP_UNICAST_IF): Likewise.
3834 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3836         * timezone/Makefile: Delete $(have-ksh) check.
3837         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3838         * timezone/tzselect.ksh: Add +x mode bits.
3840 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3842         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3843         (ANON_INODE_FS_MAGIC): Likewise.
3844         (BDEVFS_MAGIC): Likewise.
3845         (BINFMTFS_MAGIC): Likewise.
3846         (BTRFS_TEST_MAGIC): Likewise.
3847         (CRAMFS_MAGIC_WEND): Likewise.
3848         (DEBUGFS_MAGIC): Likewise.
3849         (ECRYPTFS_SUPER_MAGIC): Likewise.
3850         (EXT3_SUPER_MAGIC): Likewise.
3851         (EXT4_SUPER_MAGIC): Likewise.
3852         (FUTEXFS_SUPER_MAGIC): Likewise.
3853         (HOSTFS_SUPER_MAGIC): Likewise.
3854         (HUGETLBFS_MAGIC): Likewise.
3855         (MINIX3_SUPER_MAGIC): Likewise.
3856         (MTD_INODE_FS_MAGIC): Likewise.
3857         (NILFS_SUPER_MAGIC): Likewise.
3858         (OPENPROM_SUPER_MAGIC): Likewise.
3859         (PIPEFS_MAGIC): Likewise.
3860         (PSTOREFS_MAGIC): Likewise.
3861         (QNX6_SUPER_MAGIC): Likewise.
3862         (RAMFS_MAGIC): Likewise.
3863         (REISERFS_SUPER_MAGIC_STRING): Likewise.
3864         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3865         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3866         (SECURITYFS_MAGIC): Likewise.
3867         (SELINUX_MAGIC): Likewise.
3868         (SMACK_MAGIC): Likewise.
3869         (SOCKFS_MAGIC): Likewise.
3870         (SQUASHFS_MAGIC): Likewise.
3871         (STACK_END_MAGIC): Likewise.
3872         (TMPFS_MAGIC): Likewise.
3873         (USBDEVICE_SUPER_MAGIC): Likewise.
3874         (V9FS_MAGIC): Likewise.
3875         (XENFS_SUPER_MAGIC): Likewise.
3876         (CRAMFS_MAGIC): Fix typo in comment.
3877         (EXT2_SUPER_MAGIC): Update comment.
3878         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3880 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
3882         * sysdeps/arm: Move directory from ports/sysdeps/arm.
3883         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3884         * sysdeps/unix/sysv/linux/arm: Move directory from
3885         ports/sysdeps/unix/sysv/linux/arm.
3886         * README: Update listing for arm-*-linux-gnueabi.
3888         * README: Remove mention of am33.
3890 2014-02-07  Roland McGrath  <roland@hack.frob.com>
3892         * bits/sigset.h (__sigemptyset): Use a statement expression rather
3893         than the comma operator, to avoid "rhs of comma has no effect"
3894         compiler warnings.
3895         (__sigfillset, __sigandset, __sigorset): Likewise.
3896         * include/signal.h (__sigemptyset): Likewise.
3897         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3899 2014-02-07  Allan McRae  <allan@archlinux.org>
3901         * version.h (RELEASE): Set to "development".
3902         (VERSION): Set to "2.19.90"
3903         * NEWS: Add 2.20 section.
3905 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
3907         [BZ #16529]
3908         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3910 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3912         * manual/contrib.texi: Update entry for Carlos O'Donell,
3913         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3915 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3917         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3919         * sysdeps/unix/sysv/linux/kernel-features.h
3920         [__LINUX_KERNEL_VERSION >= 0x020621]
3921         (__ASSUME_PROC_PID_TASK_COMM): Define.
3923 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3925         [BZ #16398]
3926         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3927         conversion when destination buffer does not have enough space.
3928         * libio/tst-ftell-partial-wide.c: New test case.
3929         * libio/Makefile (tests): Add tst-ftell-partial-wide.
3931         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3932         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
3933         Leonard and Allan McRae.
3935 2014-02-04  David S. Miller  <davem@davemloft.net>
3937         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3938         32-bit.
3940 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3943         file
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3945         New file
3946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3947         file.
3948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3949         file.
3950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3951         New file.
3952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3953         file.
3954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3955         file.
3956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3957         New file.
3958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3959         New file.
3960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3961         New file.
3962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3963         New file.
3964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3965         New file.
3966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3967         New file.
3969 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3971         * nptl/shlib-versions: Change powerpc*le start to 2.17.
3972         * shlib-versions: Likewise.
3974 2014-02-04  Roland McGrath  <roland@hack.frob.com>
3975             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3977         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3978         (abilist-pattern): New variable, set to %-le.abilist.
3980         * Makerules (abilist-pattern): New variable.
3981         (vpath): Use $(abilist-pattern) in place of %.abilist.
3982         (check-abi-% pattern rule): Likewise.
3983         (check-abi, update-abi): Likewise.
3985 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3989 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3993 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
3995         * manual/startup.texi: Add next, previous, and top entries for
3996         the `Program Arguments' and `Environment Variables' nodes.
3998 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
4000         * manual/macros.texi: Add comments before MTASC-safety macros.
4002         * manual/users.texi: Document MTASC-safety properties.
4004         * manual/threads.texi (pthread_key_create, pthread_key_delete,
4005         pthread_getspecific, pthread_setspecific): Format with
4006         @deftypefun, and add @safety note.
4007         * manual/signal.texi: Move comments that analyze the above
4008         functions to their home place.
4010 2014-02-03  Allan McRae  <allan@archlinux.org>
4012         * po/sl.po: Update Slovenian translation from translation project.
4014 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
4016         * manual/time.texi (timegm): Add missing blank after @c.
4017         Reported by Joseph Myers <joseph@codesourcery.com>.
4019 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
4021         * manual/check-safety.sh: New.
4022         * manual/Makefile ($(objpfx)stamp-summary): Run it.
4024         * manual/terminal.texi: Document MTASC-safety properties.
4026         * manual/filesys.texi: Document MTASC-safety properties.
4028         * manual/errno.texi: Document MTASC-safety properties.
4030         * manual/intro.texi: Document safety identifiers and
4031         conditionals.
4033         * manual/string.texi (wcstok): Fix prototype.
4034         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4036         * manual/time.texi: Document MTASC-safety properties.
4038         * manual/string.texi: Document MTASC-safety properties.
4040         * manual/threads.texi: Document MTASC-safety properties.
4042         * manual/stdio.texi: Document MTASC-safety properties.
4044         * manual/syslog.texi: Document MTASC-safety properties.
4046         * manual/sysinfo.texi: Document MTASC-safety properties.
4048         * manual/startup.texi: Document MTASC-safety properties.
4050         * manual/socket.texi: Document MTASC-safety properties.
4052         * manual/signal.texi: Document MTASC-safety properties.
4054 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
4056         * manual/setjmp.texi: Document MTASC-safety properties.
4058         * manual/search.texi: Document MTASC-safety properties.
4060         * manual/resource.texi: Document MTASC-safety properties.
4062         * manual/process.texi: Document MTASC-safety properties.
4064         * manual/platform.texi: Document MTASC-safety properties.
4066         * manual/pipe.texi: Document MTASC-safety properties.
4068         * manual/pattern.texi: Document MTASC-safety properties.
4070         * manual/message.texi: Document MTASC-safety properties.
4072         [BZ #12751]
4073         * manual/memory.texi: Document MTASC-safety properties.
4075         * manual/math.texi: Document MTASC-safety properties.
4077         * manual/locale.texi: Document MTASC-safety properties.
4079         * manual/llio.texi: Document MTASC-safety properties.
4081         * manual/libdl.texi: New.
4083         * manual/lang.texi: Document MTASC-safety properties.
4085         * manual/job.texi: Document MTASC-safety properties.
4087         * manual/getopt.texi: Document MTASC-safety properties.
4089         * manual/ctype.texi: Document MTASC-safety properties.
4091 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
4093         [BZ #16046]
4094         * csu/libc-tls.c (static_map): Remove variable.
4095         (__libc_setup_tls): Use main executable's link map for TLS data.
4096         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4097         casing for LM_ID_BASE and GL(dl_nns).
4098         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4099         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
4100         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4101         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4102         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4103         member.
4104         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4105         l_phnum members.
4107 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
4109         * manual/debug.texi: Document MTASC-safety properties.
4111 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
4113         [BZ #16510]
4114         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4115         of __x86_64__ when disabling x87 inline functions.
4117 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
4119         * manual/charset.texi: Document MTASC-safety properties.
4121         * manual/crypt.texi: Document MTASC-safety properties.
4123         * manual/conf.texi: Document MTASC-safety properties.
4125         * manual/arith.texi: Document MTASC-safety properties.
4127         * manual/argp.texi: Document MTASC-safety properties.
4129         * manual/macros.texi: Introduce macros to document multi
4130         thread, asynchronous signal and asynchronous cancellation
4131         safety properties.
4132         * manual/intro.texi: Introduce the properties themselves.
4134 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4136         * sysdeps/sh/sh4/Makefile: New file.
4138 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
4140         * math/gen-libm-test.pl ($srcdir): New variable.
4141         ($auto_input): Use it.
4143 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4145         [BZ #16506]
4146         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4147         access beyond array bounds when parsing netgroups file.
4149         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4150         the old buffer before realloc.
4152 2014-01-27  Allan McRae  <allan@archlinux.org>
4154         * po/fr.po: Update French translation from translation project.
4156 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4158         * sysdeps/sh/libm-test-ulps: Regenerate.
4160 2014-01-24  David S. Miller  <davem@davemloft.net>
4162         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4164 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4166         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4167         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4169 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4171         [BZ #16474]
4172         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4173         string pointers after reallocation.
4175 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4177         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4178         __SH4A__ instead of __SH_FPU_ANY__.
4180 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4182         * sysdeps/sh/fpu_control.h: New file.
4183         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4184         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4185         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4186         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4187         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4188         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4189         * sysdeps/sh/sys/ucontext.h: Remove.
4190         * sysdeps/sh/sys: Remove directory.
4192 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4194         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4195         s390/sys/ucontext.h.
4196         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4197         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4199 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
4201         [BZ #15605]
4202         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4204 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4206         [BZ#16431]
4207         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4208         Adjust the vDSO correctly for internal calls.
4209         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4211 2014-01-20  Allan McRae  <allan@archlinux.org>
4213         * po/ca.po: Update Catalan translation from translation project.
4215 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
4217         * sysdeps/s390/sotruss-lib.c: New file.
4219 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4221         [BZ#16430]
4222         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4223         (__GI___gettimeofday): Alias for a different internal symbol to avoid
4224         local calls issues by not having a PLT stub required for IFUNC calls.
4225         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4227 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
4229         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4230         * math/test-fpucw-static.c: Likewise.
4232 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4234         [BZ #16453]
4235         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4237 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4239         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4240         implementation for powerpc.
4242 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
4244         [BZ #14782]
4245         * sysdeps/posix/system.c (__libc_system): Do not enable
4246         asynchronous cancellation.
4248 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4250         [BZ #16427]
4251         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4252         handling only for numbers special also in the IEEE case.
4254 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4256         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4258 2014-01-11  Allan McRae  <allan@archlinux.org>
4260         * po/bg.po: Update Bulgarian translation from translation project.
4262         * po/de.po: Update German translation from translation project.
4264 2014-01-10  Roland McGrath  <roland@hack.frob.com>
4266         * sysdeps/generic/gcc-compat.h: New file.
4268 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4270         * benchtests/asin-inputs: Correct slow inputs.
4271         * benchtests/acos-inputs: Likewise.
4273 2014-01-10  Allan McRae  <allan@archlinux.org>
4275         * po:sv.po: Update Swedish translation from translation project.
4277         * po/vi.po: Update Vietnamese translation from translation project.
4279         * po/eo.po: Update Esperanto translation from translation project.
4281         * po/cs.po: Update Czech translation from translation project.
4283         * po/nl.po: Update Dutch translation from translation project.
4285         * po/pl.po: Update Polish translation from translation project.
4287         * po/ru.po: Update Russian translation from translation project.
4289         * po/uk.po: Update Ukrainian translation from translation project.
4291 2014-01-08  Brooks Moses  <bmoses@google.com>
4293         * elf/dl-load.c: Fix comment typo.
4295 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
4297         * po/header.pot: Rename to...
4298         * po/pot.header: ... this.
4299         * po/Makefile: Use pot.header.
4301 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
4302             Maxim Kuvyrkov  <maxim@kugelworks.com>
4304         [BZ #16394]
4305         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4306         SRC and DEST against LEN.
4308 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4310         [BZ #16414]
4311         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4312         implementation.
4313         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4315 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4319 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
4321         [BZ #16408]
4322         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4323         for large positive arguments.
4325 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
4327         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4329         * math/auto-libm-test-in: Mark various tests with
4330         xfail-rounding:ldbl-128ibm.
4331         * math/auto-libm-test-out: Regenerated.
4333         [BZ #16407]
4334         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4335         Increase overflow threshold.
4337 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
4339         [BZ #14286]
4340         * stdio-common/vfprintf.c: Check for integer overflow.
4342 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4344         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4345         the first argument and return value of __tls_get_addr_internal.
4347 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4349         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4350         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4352 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4354         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4355         * sysdeps/s390/rtld-global-offsets.sym: New file.
4356         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4357         GLIBC_2.19 symbol.
4358         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4359         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4360         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4361         ... this.
4362         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4363         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4364         ... this.
4365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4366         Regenerate.
4367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4368         Regenerate.
4369         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4370         halfs of GPRs for high_gprs contexts.
4371         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4372         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
4373         field.
4374         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4375         uc_flags field.
4376         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4377         64 bit versions:
4378         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4379         for high GPRs (uc_high_gprs) and for future extensions
4380         (__reserved).
4381         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4382         for future extensions (__reserved).
4383         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4384         64 bit versions:
4385         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4386         SC_HIGHGPRS offset definition.
4387         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4388         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4390 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4392         * Versions.def: Add GLIBC_2.19 for libpthread.
4393         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4394         siglongjmp for libpthread with GLIBC_2.19 symver.
4395         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4396         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4397         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4398         * sysdeps/s390/__longjmp.c: New file.
4399         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4400         * sysdeps/s390/longjmp.c: New file.
4401         * sysdeps/s390/setjmp.S: New file.
4402         * sysdeps/s390/sigjmp.S: New file.
4403         * sysdeps/s390/v1-longjmp.c: New file.
4404         * sysdeps/s390/v1-setjmp.h: New file.
4405         * sysdeps/s390/v1-sigjmp.c: New file.
4406         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4407         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4408         GLIBC_2.19 version.
4409         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4410         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4411         versioned symbols for ____longjmp_chk.
4412         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4413         Likewise.
4414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4415         Regenerate.
4416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4417         Regenerate.
4418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4419         Regenerate.
4420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4421         Regenerate.
4422         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4423         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4424         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4425         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4426         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4427         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4428         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4429         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4430         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4431         * sysdeps/s390/rtld-__longjmp.c: New file.
4432         * sysdeps/s390/rtld-setjmp.S: New file.
4434 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
4436         [BZ #16400]
4437         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4438         Return -__logl (x) for small positive arguments without evaluating
4439         a polynomial.
4441 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
4443         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4444         Rename to ...
4445         (__ptrace_peeksiginfo_args): ... this.
4446         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4447         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4448         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4450 2014-01-06  Allan McRae  <allan@archlinux.org>
4452         * inet/netinet/in.h: Fix typo in comment.
4454 2014-01-05  Andreas Jaeger  <aj@suse.de>
4456         * sysdeps/i386/fpu/libm-test-ulps: Update.
4458 2014-01-05  Allan McRae  <allan@archlinux.org>
4460         * po/libc.pot: Regenerated.
4462         * malloc/memusagestat.c: Fix gettext call formatting.
4464 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
4466         * nscd/nscd.c: Improve usage() output.
4468 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
4470         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4471         * sysdeps/unix/sysv/linux/configure: Regenerated.
4472         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4473         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4475 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4477         [BZ #16390]
4478         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4479         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4481 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4483         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4484         extra tokens at end of #undef directive.
4485         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4486         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4487         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4489 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4491         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4493         * math/auto-libm-test-in: Mark various tests with
4494         xfail-rounding:ldbl-128ibm.
4495         * math/auto-libm-test-out: Regenerated.
4497 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4499         [BZ #16386]
4500         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4501         numbers with subnormal high part when calculating exponent.
4503         [BZ #16385]
4504         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4505         fabs.
4507         [BZ #16384]
4508         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4509         M_LN2l.
4510         (__ieee754_acoshl): Use __log1pl not __log1p.
4512 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
4514         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4515         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4516         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4517         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4518         Convert to GNU style.
4519         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4520         mem2mem_check, mem2chunk_check, top_check, realloc_check,
4521         memalign_check, __malloc_set_state): Likewise.
4522         * malloc/mallocbug.c (main): Likewise.
4523         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4524         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4525         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4526         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4527         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4528         * malloc/malloc.h: Likewise.
4529         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4530         memalignhook, reallochook, mabort): Likewise.
4531         * malloc/mcheck.h: Likewise.
4532         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4533         mmap64, mremap, munmap, dest): Likewise.
4534         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4535         * malloc/morecore.c (__default_morecore): Likewise.
4536         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4537         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4538         _obstack_allocated_p, obstack_free, _obstack_memory_used,
4539         print_and_abort): Likewise.
4540         * malloc/obstack.h: Likewise.
4541         * malloc/set-freeres.c (__libc_freeres): Likewise.
4542         * malloc/tst-mallocstate.c (main): Likewise.
4543         * malloc/tst-mtrace.c (main): Likewise.
4544         * malloc/tst-realloc.c (do_test): Likewise.
4546 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4548         [BZ #16366]
4549         * nscd/netgroupcache.c (do_notfound): New function.
4550         (addgetnetgrentX): Use it.
4552         [BZ # 16365]
4553         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4554         NSS_STATUS_NOTFOUND.
4556 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
4558         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4561 2014-01-01  Allan McRae  <allan@archlinux.org>
4563         * scripts/update-copyrights: Update configure input file suffix.
4565         * NEWS: Update copyright year.
4566         * catgets/gencat.c: Likewise.
4567         * csu/version.c: Likewise.
4568         * debug/catchsegv.sh: Likewise.
4569         * debug/pcprofiledump.c: Likewise.
4570         * debug/xtrace.sh: Likewise.
4571         * elf/ldconfig.c: Likewise.
4572         * elf/ldd.bash.in: Likewise.
4573         * elf/pldd.c: Likewise.
4574         * elf/sotruss.ksh: Likewise.
4575         * elf/sprof.c: Likewise.
4576         * iconv/iconv_prog.c: Likewise.
4577         * iconv/iconvconfig.c: Likewise.
4578         * locale/programs/locale.c: Likewise.
4579         * locale/programs/localedef.c: Likewise.
4580         * login/programs/pt_chown.c: Likewise.
4581         * malloc/memusage.sh: Likewise.
4582         * malloc/memusagestat.c: Likewise.
4583         * malloc/mtrace.pl: Likewise.
4584         * manual/libc.texinfo: Likewise.
4585         * nscd/nscd.c: Likewise.
4586         * nss/getent.c: Likewise.
4587         * nss/makedb.c: Likewise.
4588         * posix/getconf.c: Likewise.
4589         * scripts/test-installation.pl: Likewise.
4591         * All files with FSF copyright notices: Update copyright dates
4592         using scripts/update-copyrights.
4593         * intl/plural.c: Regenerated.
4594         * locale/programs/charmap-kw.h: Likewise.
4595         * locale/programs/locfile-kw.h: Likewise.
4597 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
4599         * sysdeps/unix/sysv/linux/configure: Regenerated.
4600         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4601         the linux/fanotify.h header.
4602         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4603         HAVE_LINUX_FANOTIFY_H is defined.
4605 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4607         * benchtests/cos-inputs: New inputs.
4608         * benchtests/sin-inputs: Likewise.
4610         * benchtests/atan-inputs: New inputs. Fix name of multiple
4611         precision fallback inputs.
4613         * benchtests/atanh-inputs: New inputs.
4614         * benchtests/tanh-inputs: Likewise.
4616         * benchtests/acosh-inputs: New inputs.
4617         * benchtests/asinh-inputs: Likewise.
4619         * benchtests/cosh-inputs: New inputs.
4620         * benchtests/sinh-inputs: Likewise.
4622         * benchtests/acos-inputs: Add more inputs.
4623         * benchtests/asin-inputs: Likewise.
4625 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
4627         [BZ #16375]
4628         * manual/arith.texi: Fix spelling.
4629         * manual/charset.texi: Likewise.
4630         * manual/errno.texi: Likewise.
4631         * manual/filesys.texi: Likewise.
4632         * manual/lang.texi: Likewise.
4633         * manual/llio.texi: Likewise.
4634         * manual/locale.texi: Likewise.
4635         * manual/message.texi: Likewise.
4636         * manual/resource.texi: Likewise.
4637         * manual/search.texi: Likewise.
4638         * manual/setjmp.texi: Likewise.
4639         * manual/stdio.texi: Likewise.
4640         * manual/string.texi: Likewise.
4641         * manual/sysinfo.texi: Likewise.
4642         * manual/time.texi: Likewise.
4644 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
4646         * po/sl.po: New file.
4648 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
4650         * .gitignore: Add core/.gdbinit/.gdb_history.
4652 2013-12-27  Allan McRae  <allan@archlinux.org>
4654         [BZ #16369]
4655         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4656         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4658 2013-12-24  Brooks Moses  <bmoses@google.com>
4660         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4661         all compilers that claim C++98 compliance, not just GCC.
4662         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4663         Likewise.
4665 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4667         * NEWS: Restore accidentally deleted bug-fix entries.
4669 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4670             Ondřej Bílka  <neleai@seznam.cz>
4672         [BZ #15073]
4673         * malloc/malloc.c (_int_free): Perform sanity check only if we
4674         have_lock.
4676 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
4678         [BZ #12986]
4679         * manual/stdio.texi (String Input Conversions): Clarify that character
4680         classes are not supported.
4682 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4686 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
4688         [BZ #16337]
4689         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4690         Calculate results for small negative arguments directly rather
4691         than using reflection formula with special underflow handling.
4693         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4694         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4695         sysdeps/unix/bsd/bsd4.4/syscalls.list.
4696         (fchflags): Likewise.
4697         (revoke): Likewise.
4698         (setlogin): Likewise.
4699         (sigaltstack): Likewise.
4700         (wait4): Likewise.
4701         (sigblock): Remove.
4702         (sigsetmask): Likewise.
4703         (wait3): Likewise.
4704         (waitpid): Likewise.
4705         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4706         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4707         file.
4708         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4709         * sysdeps/unix/bsd/Makefile: ... here.
4710         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4711         * sysdeps/unix/bsd/Versions: ... here.
4712         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4713         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4714         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4715         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4716         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4717         * sysdeps/unix/bsd/sigblock.c: ... here.
4718         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4719         * sysdeps/unix/bsd/sigsetmask.c: ... here.
4720         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4721         * sysdeps/unix/bsd/sigvec.c: ... here.
4722         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4723         * sysdeps/unix/bsd/tcdrain.c: ... here.
4724         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4725         * sysdeps/unix/bsd/tcgetattr.c: ... here.
4726         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4727         * sysdeps/unix/bsd/tcsetattr.c: ... here.
4728         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4729         * sysdeps/unix/bsd/wait.c: ... here.
4730         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4731         * sysdeps/unix/bsd/wait3.c: ... here.
4732         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4733         * sysdeps/unix/bsd/waitpid.c: ... here.
4735 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
4737         [BZ #16356]
4738         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4739         round-to-nearest for [!USE_AS_EXPM1L].
4740         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4741         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
4742         more tests of exp and exp10.  Expect some exp10 tests to miss
4743         exceptions or fail in directed rounding modes.
4744         * math/auto-libm-test-out: Regenerated.
4745         * math/libm-test.inc (exp10_tonearest_test_data): New array.
4746         (exp10_test_tonearest): New function.
4747         (exp10_towardzero_test_data): New array.
4748         (exp10_test_towardzero): New function.
4749         (exp10_downward_test_data): New array.
4750         (exp10_test_downward): New function.
4751         (exp10_upward_test_data): New array.
4752         (exp10_test_upward): New function.
4753         (main): Call the new functions.
4754         * sysdeps/i386/fpu/libm-test-ulps: Update.
4755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4757 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
4759         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4760         asinh, atan, atan2, atanh, cbrt, cos and cosh.
4761         * math/auto-libm-test-out: Regenerated.
4762         * math/libm-test.inc (acosh_test_data): Add more tests.
4763         (atanh_test_data): Likewise.
4764         (ceil_test_data): Likewise.
4765         (copysign_test_data): Likewise.
4766         * sysdeps/i386/fpu/libm-test-ulps: Update.
4767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4769         * timezone/checktab.awk: Update from tzcode 2013i.
4770         * timezone/private.h: Likewise.
4771         * timezone/scheck.c: Likewise.
4772         * timezone/tzfile.h: Likewise.
4773         * timezone/tzselect.ksh: Likewise.
4774         * timezone/zdump.c: Likewise.
4775         * timezone/zic.c: Likewise.
4777         * math/auto-libm-test-in: Add tests of cpow.
4778         * math/auto-libm-test-out: Regenerated.
4779         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4780         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4781         mpc_cc_c.
4782         (func_calc_desc): Add mpc_cc_c union field.
4783         (test_functions): Add cpow.
4784         (special_fill_2pi): New function.
4785         (special_real_inputs): Add 2pi.
4786         (calc_generic_results): Handle mpc_cc_c.
4787         * sysdeps/i386/fpu/libm-test-ulps: Update.
4788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4790         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4791         csqrt, ctan and ctanh.
4792         * math/auto-libm-test-out: Regenerated.
4793         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4794         (TEST_COND_x86): Likewise.
4795         (ccos_test_data): Use AUTO_TESTS_c_c.
4796         (ccosh_test_data): Likewise.
4797         (cexp_test_data): Likewise.
4798         (clog_test_data): Likewise.
4799         (csqrt_test_data): Likewise.
4800         (ctan_test_data): Likewise.
4801         (ctan_tonearest_test_data): Likewise.
4802         (ctan_towardzero_test_data): Likewise.
4803         (ctan_downward_test_data): Likewise.
4804         (ctan_upward_test_data): Likewise.
4805         (ctanh_test_data): Likewise.
4806         (ctanh_tonearest_test_data): Likewise.
4807         (ctanh_towardzero_test_data): Likewise.
4808         (ctanh_downward_test_data): Likewise.
4809         (ctanh_upward_test_data): Likewise.
4810         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4811         mpc_c_c.
4812         (func_calc_desc): Add mpc_c_c union field.
4813         (FUNC_mpc_c_c): New macro.
4814         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4815         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4816         ctanh.
4817         (special_fill_min_subnorm_p120): New function.
4818         (special_real_inputs): Add min_subnorm_p120.
4819         (calc_generic_results): Handle mpc_c_c.
4820         * sysdeps/i386/fpu/libm-test-ulps: Update.
4821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4823 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4825         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4826         do_sin_slow): New functions.
4827         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4828         cslow2, csloww1, csloww2): Use the new functions.
4830         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4831         Use M to change sign of result instead of X.  Assume X is
4832         positive.
4833         (csloww1): Likewise.
4834         (__sin): Adjust.
4835         (__cos): Adjust.
4837         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4838         arguments A and DA.
4839         (__sin): Adjust.
4840         (__cos): Likewise.
4842         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4843         (__cos): Likewise.
4844         (sloww1): Don't adjust sign of DX.
4845         (csloww1): Likewise.
4846         (sloww2): Use X directly and don't adjust sign of DX.
4847         (csloww2): Likewise.
4849 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4851         * math/auto-libm-test-in: Add tests of cabs and carg.
4852         * math/auto-libm-test-out: Regenerated.
4853         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4854         (carg_test_data): Likewise.
4855         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4856         mpc_c_f.
4857         (func_calc_desc): Add mpc_c_f union field.
4858         (test_functions): Add cabs and carg.
4859         (calc_generic_results): Handle mpc_c_f.
4861         * sysdeps/powerpc/powerpc32/libgcc-compat.S
4862         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4863         as a macro and a compat symbol.
4864         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4865         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4866         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4867         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4868         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4869         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4870         not use .hidden.
4871         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4872         Likewise.
4873         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4874         Likewise.
4875         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4876         Likewise.
4877         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4878         Likewise.
4879         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4880         Likewise.
4881         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4882         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4883         from GLIBC_2.3.2.
4885 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4889 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4891         * manual/texinfo.tex: Update to version 2013-11-26.10 with
4892         trailing whitespace removed.
4893         * scripts/config.guess: Update to version 2013-11-29.
4894         * scripts/config.sub: Update to version 2013-10-01.
4896         * math/auto-libm-test-in: Add tests of sincos.
4897         * math/auto-libm-test-out: Regenerated.
4898         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4899         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4900         mpfr_f_11.
4901         (func_calc_desc): Add mpfr_f_11 union field.
4902         (test_functions): Add sincos.
4903         (calc_generic_results): Handle mpfr_f_11.
4904         * sysdeps/i386/fpu/libm-test-ulps: Update.
4905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4907 2013-12-19  Andreas Schwab  <schwab@suse.de>
4909         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4910         CALL_MCOUNT.
4911         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4912         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4913         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4915 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4917         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4918         * sysdeps/i386/fpu/libm-test-ulps: Update.
4919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4921         [BZ #16293]
4922         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4923         round-to-nearest mode when using frndint.
4924         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4925         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4926         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4927         Likewise.
4928         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
4929         sinh test to fail.
4930         * math/auto-libm-test-out: Regenerated.
4931         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4932         (TEST_COND_x86): Likewise.
4933         (expm1_tonearest_test_data): New array.
4934         (expm1_test_tonearest): New function.
4935         (expm1_towardzero_test_data): New array.
4936         (expm1_test_towardzero): New function.
4937         (expm1_downward_test_data): New array.
4938         (expm1_test_downward): New function.
4939         (expm1_upward_test_data): New array.
4940         (expm1_test_upward): New function.
4941         (main): Run the new test functions.
4942         * sysdeps/i386/fpu/libm-test-ulps: Update.
4943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4945         * include/features.h: Update comment documenting feature test
4946         macros.  Mention _DEFAULT_SOURCE in comment.
4947         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4948         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4949         _BSD_SOURCE and _SVID_SOURCE.
4950         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4951         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4952         !_SVID_SOURCE]: Likewise.
4953         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4954         (__USE_POSIX_IMPLICITLY): Define.
4955         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4956         (_POSIX_SOURCE): Undefine and redefine.
4957         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4958         (_POSIX_C_SOURCE): Likewise.
4959         * manual/creature.texi (_DEFAULT_SOURCE): Document.
4960         (Feature Test Macros): Update documentation of default features.
4962 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4964         * benchtests/Makefile: Add bench-strtok.
4965         * benchtests/bench-strtok.c: New file: strtok benchtest.
4967 2013-12-19  Allan McRae  <allan@archlinux.org>
4969         * manual/install.texi: Suppress menu for plain text output.
4970         * INSTALL: Regenerated.
4972 2013-12-18  Brooks Moses  <bmoses@google.com>
4974         [BZ #15846]
4975         * misc/getauxval.c: Include errno.h.
4976         (__getauxval): Set errno to ENOENT if the requested type is not
4977         found.
4978         * misc/sys/auxv.h (getauxval): Document that it may set errno;
4979         don't declare with __attribute_const__.
4980         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4981         * manual/startup.texi: Document that getauxval sets errno.
4983 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4985         * math/auto-libm-test-in: Add tests of jn and yn.
4986         * math/auto-libm-test-out: Regenerated.
4987         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4988         (yn_test_data): Likewise.
4989         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4990         mpfr_if_f.
4991         (func_calc_desc): Add mpfr_if_f union field.
4992         (FUNC_mpfr_if_f): New macro.
4993         (test_functions): Add jn and yn.
4994         (calc_generic_results): Assert type of second input for
4995         mpfr_ff_f.  Handle mpfr_if_f.
4996         (output_for_one_input_case): Disable all checking for arguments
4997         fitting floating-point types in case of an integer argument.
4998         * sysdeps/i386/fpu/libm-test-ulps: Update.
4999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5002         Don't expect fegetround reference in libm.so.
5004 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5006         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5007         $(config-cflags-nofma).
5009 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
5011         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5012         * math/auto-libm-test-out: Regenerated.
5014         [BZ #16338]
5015         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5016         to determine exponent and adjust argument to have exponent of -1.
5017         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5018         log2.
5019         * math/auto-libm-test-out: Regenerated.
5020         * sysdeps/i386/fpu/libm-test-ulps: Update.
5021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5023 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
5025         * manual/probes.texi: Remove cases when per-thread arenas are
5026         disabled.
5028 2013-12-18  Andreas Schwab  <schwab@suse.de>
5030         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5031         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5032         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5033         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5034         * sysdeps/i386/i686/multiarch/Makefile: Update.
5035         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5037 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5039         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5040         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5042 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
5044         [BZ #15968]
5045         Support TZ transition times < 00:00:00.
5046         This is needed for version-3 tz-format files; it supports time
5047         stamps past 2037 for America/Godthab (the only entry in the tz
5048         database for which this change is relevant).
5049         * manual/time.texi (TZ Variable): Document transition times
5050         from -167:59:59 through -00:00:01.
5051         * time/tzset.c (tz_rule): Time of day is now signed.
5052         (__tzset_parse_tz): Parse negative time of day.
5054         Document TZ transition times >= 25:00:00.
5055         * manual/time.texi (TZ Variable): Document transition times from
5056         25:00:00 through 167:59:59.  These are already supported, and this
5057         support will help with version-3 tz-format files.
5059         * manual/time.texi (TZ Variable): Modernize North America example
5060         to reflect current (i.e., 2007-and-later) daylight saving rules.
5062         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5064 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5066         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5067         * sysdeps/unix/bsd/bits/stat.h: Likewise.
5068         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5069         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5070         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5071         * sysdeps/unix/bsd/bsdstat.h: Likewise.
5072         * sysdeps/unix/bsd/clock.c: Likewise.
5073         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5074         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5075         * sysdeps/unix/bsd/init-posix.c: Likewise.
5076         * sysdeps/unix/bsd/poll.c: Likewise.
5077         * sysdeps/unix/bsd/ptsname.c: Likewise.
5078         * sysdeps/unix/bsd/seekdir.c: Likewise.
5079         * sysdeps/unix/bsd/setegid.c: Likewise.
5080         * sysdeps/unix/bsd/seteuid.c: Likewise.
5081         * sysdeps/unix/bsd/setgid.c: Likewise.
5082         * sysdeps/unix/bsd/setrgid.c: Likewise.
5083         * sysdeps/unix/bsd/setruid.c: Likewise.
5084         * sysdeps/unix/bsd/setsid.c: Likewise.
5085         * sysdeps/unix/bsd/setuid.c: Likewise.
5086         * sysdeps/unix/bsd/sigaction.c: Likewise.
5087         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5088         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5089         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5090         * sysdeps/unix/bsd/telldir.c: Likewise.
5091         * sysdeps/unix/bsd/times.c: Likewise.
5092         * sysdeps/unix/bsd/usleep.c: Likewise.
5094         * misc/Makefile (install-lib): Remove libbsd-compat.a.
5095         ($(objpfx)libbsd-compat.a): Remove rule.
5097         * include/features.h (__FAVOR_BSD): Do not define.
5098         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5099         features conflicting with POSIX.
5100         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5101         (_BSD_SOURCE): Remove description of not being a subset of other
5102         feature test macros.
5103         * manual/job.texi (getpgrp): Do not document BSD version.
5104         (getpgid): Do not document by reference to BSD getpgrp.
5105         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5106         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5107         * signal/signal.h [__FAVOR_BSD]: Likewise.
5108         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5109         instead of making contents conditional on [__FAVOR_BSD].
5110         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5112 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5116 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
5118         [BZ #16314]
5119         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5120         values below 2**-450, not 2**-500.
5121         * math/auto-libm-test-in: Don't allow spurious underflow from
5122         hypot.
5123         * math/auto-libm-test-out: Regenerated.
5125         [BZ #16316]
5126         [BZ #16330]
5127         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5128         values of ha and hb and sort them after adjusting subnormal
5129         arguments.
5130         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5131         Likewise.
5132         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5133         values of ea and eb and sort them after adjusting subnormal
5134         arguments.
5135         * math/auto-libm-test-in: Do not expect some hypot tests of
5136         subnormals to fail.  Add more hypot tests.
5137         * math/auto-libm-test-out: Regenerated.
5139 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5141         [BZ #13304]
5142         * sysdeps/sh/s_fma.c: New file.
5143         * sysdeps/sh/s_fmaf.c: New file.
5144         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
5145         version.
5146         * sysdeps/sh/Implies: Add sh/soft-fp.
5148 2013-12-16  Roland McGrath  <roland@hack.frob.com>
5150         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
5151         level of indirection to members `objname', `errstring', `malloced'.
5152         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5153         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
5154         it as the __longjmp argument (just pass 1 instead).
5155         (_dl_catch_error): Initialize C with argument pointers and address of
5156         volatile local ERRCODE rather than copying values out of C at return.
5158 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
5160         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5161         * math/auto-libm-test-out: Regenerated.
5162         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5163         (hypot_test_data): Likewise.
5164         (pow_test_data): Likewise.
5165         (pow_tonearest_test_data): Likewise.
5166         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5167         mpfr_ff_f.
5168         (func_calc_desc): Add mpfr_ff_f union field.
5169         (FUNC_mpfr_ff_f): New macro.
5170         (test_functions): Add atan2, hypot and pow.
5171         (special_fill_min): New function.
5172         (special_fill_minus_min): Likewise.
5173         (special_fill_min_subnorm): Likewise.
5174         (special_fill_minus_min_subnorm): Likewise.
5175         (special_real_inputs): Add min, -min, min_subnorm and
5176         -min_subnorm.
5177         (calc_generic_results): Handle mpfr_ff_f.
5178         * sysdeps/i386/fpu/libm-test-ulps: Update.
5179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5181 2013-12-16  Will Newton  <will.newton@linaro.org>
5183         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5184         (Aligned Memory Blocks): Add documentation for aligned_alloc
5185         and suggest it as an alternative to posix_memalign.
5186         (Hooks for Malloc): Document __memalign_hook is also called
5187         for aligned_alloc.  (Summary of Malloc): Add summary for
5188         aligned alloc.  Document __memalign_hook is also called
5189         for aligned_alloc.
5191 2013-12-16  Will Newton  <will.newton@linaro.org>
5193         * manual/memory.texi (Malloc Examples): Clarify default
5194         alignment documentation.  Suggest posix_memalign rather
5195         than memalign or valloc.
5196         (Aligned Memory Blocks): Remove suggestion to use memalign
5197         or valloc.  Remove obsolete comment about BSD.
5198         Document memalign errno values and mark the function obsolete.
5199         Document posix_memalign returned error codes.  Mark valloc
5200         as obsolete.  (Hooks for Malloc): __memalign_hook is also
5201         called for posix_memalign and valloc.
5202         (Summary of Malloc): Add posix_memalign to function summary.
5203         __memalign_hook is also called for posix_memalign and valloc.
5205 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5207         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5208         TAYLOR_SIN.
5209         (__sin): Adjust.
5210         (__cos): Likewise.
5211         (sloww): Use mynumber union.  Expand ternary operator into
5212         if-else statements.
5213         (cslow): use mynumber union.
5215 2013-12-16  Allan McRae  <allan@archlinux.org>
5217         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5218         * configure: Regenerated.
5220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5222         [BZ #14120]
5223         * configure.ac: Added --enable-maintainer-mode. Check for
5224         autoconf when enabled.
5225         * configure: Regenerated.
5227         * nscd/nscd.service: New file.
5228         * nscd/nscd.tmpfiles: New file.
5230 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
5232         [BZ #12100]
5233         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5234         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5235         * sysdeps/x86_64/multiarch/strstr.c: ... here.
5236         (strstr): Add __strstr_sse2_unaligned ifunc.
5237         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5238         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5239         (strcasestr): Remove __strcasestr_sse42 ifunc.
5240         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5244 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5246         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5247         * sysdeps/sh/bits/fenv.h: ... here.
5248         * sysdeps/sh/sh4/fpu/bits: Remove directory.
5250 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5252         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5254 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5256         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5257         hypotf multiarch implementations.
5258         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5259         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5260         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5261         multiarch hypot for PPC64.
5262         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5263         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5264         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5265         multiarch hypotf for PPC64.
5267 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5270         modff multiarch implementations.
5271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5274         multiarch modf for PPC64.
5275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5278         multiarch modff for PPC64.
5280 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5283         and logl multiarch implementations.
5284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5287         multiarch logb for PPC64.
5288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5291         multiarch logb for PPC64.
5292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5295         multiarch logb for PPC64.
5297 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5299         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5300         isinff multiarch implementation.
5301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5302         file.
5303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5305         multiarch isinf for PPC64.
5306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5307         file.
5308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5309         multiarch isinff for PPC64.
5311 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5314         finitef multiarch implementation.
5315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5316         file.
5317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5319         multiarch finite for PPC64.
5320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5321         file.
5322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5323         multiarch finitef for PPC64.
5325 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5328         lrint multiarch implementation.
5329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5330         file.
5331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5333         multiarch llrint for PPC64.
5334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5335         multiarch lrint for PPC64.
5337 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5340         copysignf multiarch implementation.
5341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5342         file.
5343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5344         file.
5345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5346         multiarch copysign for PPC64.
5347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5348         multiarch copysignf for PPC64.
5350 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5353         multiarch implementation.
5354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5355         file.
5356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5357         file.
5358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5359         file.
5360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5361         file.
5362         multiarch llround for PPC64.
5363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5364         multiarch trunc for PPC64.
5365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5366         multiarch truncf for PPC64.
5368 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5370         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5371         multiarch implementation.
5372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5373         file.
5374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5375         file.
5376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5377         file.
5378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5379         file.
5380         multiarch llround for PPC64.
5381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5382         multiarch round for PPC64.
5383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5384         multiarch roundf for PPC64.
5386 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5388         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5389         multiarch implementation.
5390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5391         file.
5392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5393         file.
5394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5395         file.
5396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5397         file.
5398         multiarch llround for PPC64.
5399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5400         multiarch floor for PPC64.
5401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5402         multiarch floorf for PPC64.
5404 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5406         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5407         multiarch implementation.
5408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5409         file.
5410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5411         file.
5412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5413         file.
5414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5415         file.
5416         multiarch llround for PPC64.
5417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5418         multiarch ceil for PPC64.
5419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5420         multiarch ceilf for PPC64.
5422 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5424         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5425         multiarch implementation.
5426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5427         file.
5428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5429         file.
5430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5431         file.
5432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5433         multiarch llround for PPC64.
5434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5435         multiarch lround for PPC64.
5437 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5440         multiarch implementation.
5441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5444         file.
5445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5448         multiarch isnan for PPC64.
5449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5450         multiarch isnanf for PPC64.
5452 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5454         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5455         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5456         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5457         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5458         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5461 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5463         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5464         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5465         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5466         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5468 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5471         multiarch implementations.
5472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5473         (__libc_ifunc_impl_list): Likewise.
5474         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5475         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5476         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5477         multiarch stpcpy for PPC64.
5479 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5482         multiarch implementations.
5483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5484         (__libc_ifunc_impl_list): Likewise.
5485         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5486         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5487         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5488         multiarch strcpy for PPC64.
5490 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5492         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5493         redefine function name.
5494         (_wordcopy_fwd_dest_aligned): Likewise.
5495         (_wordcopy_bwd_aligned): Likewise.
5496         (_wordcopy_bwd_dest_aligned): Likewise.
5497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5498         multiarch implementations.
5499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5500         (__libc_ifunc_impl_list): Likewise.
5501         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5502         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5503         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5504         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5505         multiarch wcscpy for PPC64.
5507 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5510         multiarch implementations.
5511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5512         (__libc_ifunc_impl_list): Likewise.
5513         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5514         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5515         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5516         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5517         multiarch wcscpy for PPC64.
5519 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5522         multiarch implementations.
5523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5524         (__libc_ifunc_impl_list): Likewise.
5525         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5526         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5527         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5528         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5529         multiarch wcsrchr for PPC64.
5531 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5534         multiarch implementations.
5535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5536         (__libc_ifunc_impl_list): Likewise.
5537         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5538         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5539         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5540         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5541         multiarch wcschr for PPC64.
5543 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5546         multiarch implementations.
5547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5548         (__libc_ifunc_impl_list): Likewise.
5549         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5550         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5551         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5552         multiarch strchrnul for PPC64.
5554 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5557         implementations.
5558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5559         (__libc_ifunc_impl_list): Likewise.
5560         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5561         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5562         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5563         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5564         strchr for PPC64.
5566 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5569         implementations.
5570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5571         (__libc_ifunc_impl_list): Likewise.
5572         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5573         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5574         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5575         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5576         strncmp for PPC64.
5578 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5581         multiarch implementations.
5582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5583         (__libc_ifunc_impl_list): Likewise.
5584         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5585         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5586         strncasecmp for PPC64.
5587         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5588         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5589         multiarch strncasecmp_l for PPC64.
5591 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5594         multiarch implementations.
5595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5596         (__libc_ifunc_impl_list): Likewise.
5597         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5598         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5599         multiarch strcasecmp for PPC64.
5600         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5601         file.
5602         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5603         multiarch strcasecmp_l for PPC64.
5605 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5608         implementations.
5609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5610         (__libc_ifunc_impl_list): Likewise.
5611         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5612         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5613         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5614         strnlen for PPC64.
5616 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5619         implementations.
5620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5621         (__libc_ifunc_impl_list): Likewise.
5622         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5623         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5624         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5625         strlen for PPC64.
5627 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5630         implementations.
5631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5632         (__libc_ifunc_impl_list): Likewise.
5633         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5634         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5635         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5636         rawmemrchr for PPC64.
5638 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5641         implementation.
5642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5643         (__libc_ifunc_impl_list): Likewise.
5644         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5645         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5646         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5647         memrchr for PPC64.
5649 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5652         implementation.
5653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5654         (__libc_ifunc_impl_list): Likewise.
5655         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5656         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5657         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5658         memchr for PPC64.
5660 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5663         implementation.
5664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5665         (__libc_ifunc_impl_list): Likewise.
5666         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5667         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5668         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5669         mempcpy for PPC64.
5671 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5673         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5674         avoid cretion of __bzero symbol.
5675         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5676         Likewise.
5677         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5678         Likewise.
5679         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5680         Likewise.
5681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5682         multiarch implementations.
5683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5684         (__libc_ifunc_impl_list): Likewise.
5685         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5686         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5687         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5688         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5689         bzero for PPC32.
5690         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5691         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5692         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5693         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5694         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5695         memset for PPC64.
5696         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5698 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5700         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5702         implementations.
5703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5704         (__libc_ifunc_impl_list): Likewise.
5705         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5706         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5707         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5708         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5709         memcmp for PPC64.
5711 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5714         multiarch for POWER/PPC64.
5715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5716         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5717         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5718         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5719         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5720         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5721         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5722         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5723         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5724         memcpy for PPC64.
5726 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5728         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5729         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5730         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5731         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5732         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5733         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5734         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5735         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5736         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5737         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5738         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5739         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5740         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5741         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5742         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5751 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5753         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5755 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5757         * benchtests/Makefile (bench): Add exp2 and log2.
5758         (LDLIBS-bench-exp2): Add -lm.
5759         (LDLIBS-bench-log2): Likewise.
5760         * benchtests/exp2-inputs: New inputs file.
5761         * benchtests/log2-inputs: New inputs file.
5762         * benchtests/log-inputs: Add new inputs.
5763         * benchtests/tan-inputs: Likewise.
5765 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5767         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5768         definition...
5769         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5770         csloww1, csloww2): ... from here.
5772         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5773         instead of structures.
5774         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5775         (POLYNOMIAL): Likewise.
5776         (TAYLOR_SLOW): Likewise.
5777         (__sin): Likewise.
5778         (__cos): Likewise.
5779         (slow1): Likewise.
5780         (slow2): Likewise.
5781         (sloww): Likewise.
5782         (sloww1); Likewise.
5783         (sloww2): Likewise.
5784         (bsloww1): Likewise.
5785         (bsloww2): Likewise.
5786         (cslow2): Likewise.
5787         (csloww): Likewise.
5788         (csloww1): Likewise.
5789         (csloww2): Likewise.
5791 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5793         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5794         (__malloc_assert, __libc_realloc, __libc_calloc,
5795         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5796         memcpy and memset.
5797         * malloc/hooks.c (realloc_check): Likewise.
5799 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5801         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5802         * malloc/arena.c: Remove PER_THREAD conditional.
5803         [!PER_THREAD]: Remove code.
5804         (ptmalloc_unlock_all2): Likewise.
5805         (ptmalloc_init): Likewise.
5806         (_int_new_arena): Likewise.
5807         (arena_get2): Likewise.
5808         * malloc/hooks.c (__malloc_get_state): Likewise.
5809         (__malloc_set_state): Likewise.
5810         * malloc/malloc.c: Likewise.
5811         (struct malloc_state): Likewise.
5812         (struct malloc_par): Likewise.
5813         (__libc_realloc): Likewise.
5814         (__libc_mallopt): Likewise.
5816 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5818         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5820 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5822         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5823         macro to a function.  Check for zero perturb_byte.
5824         (_int_malloc, _int_free): Remove zero perturb_byte checks.
5826 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5828         * malloc/malloc.c: (force_reg): Remove.
5829         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5830         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5831         force_reg by atomic_forced_read.
5832         * malloc/arena.c (ptmalloc_init): Likewise.
5833         * malloc/hooks.c (top_check): Likewise.
5835 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5839 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
5841         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5843 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
5845         * math/auto-libm-test-in: Add tests of lgamma.
5846         * math/auto-libm-test-out: Regenerated.
5847         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5848         (M_LOG_2_SQRT_PIl): Likewise.
5849         (lgamma_test_data): Use AUTO_TESTS_f_f1.
5850         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5851         mpfr_f_f1.
5852         (func_calc_desc): Add mpfr_f_f1 union field.
5853         (ARGS1): New macro.
5854         (ARGS2): Likewise.
5855         (ARGS3): Likewise.
5856         (ARGS4): Likewise.
5857         (RET1): Likewise.
5858         (RET2): Likewise.
5859         (CALC): Likewise.
5860         (FUNC): Likewise.
5861         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5862         (test_functions): Add lgamma.
5863         (calc_generic_results): Handle mpfr_f_f1.
5864         * sysdeps/i386/fpu/libm-test-ulps: Update.
5865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5867 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5869         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5870         __mpn_add_n for PowerPC64/POWER7.
5871         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5872         __mpn_sub_n for PowerPC64/POWER7.
5874 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5876         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5877         __mpn_addmul_1 for PowerPC64.
5878         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5879         __mpn_submul_1 for PowerPC64.
5880         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5881         for PowerPC64.
5882         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5883         for PowerPC64.
5885 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
5887         [BZ #15089]
5888         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5890 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5892         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5894 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5896         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5897         add multiarch folders.
5898         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5899         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5900         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5901         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5902         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5903         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5904         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5905         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5906         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5907         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5908         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5916 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5919         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5921         New file.
5922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5923         New file.
5924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5925         multiarch __ieee754_hypot for PowerPC32.
5926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5927         New file.
5928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5929         New file.
5930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5931         multiarch __ieee754_hypotf for PowerPC32.
5933 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5935         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5936         long_double_symbol only if __logbl is defined.
5937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5938         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5939         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5940         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5941         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5942         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5943         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5944         path for implementation.
5945         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5946         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5948         logb, and logbl multiarch implementations for PowerPC32.
5949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5950         file.
5951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5952         file.
5953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5954         multiarch logb for PowerPC32.
5955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5956         file.
5957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5958         file.
5959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5960         multiarch logbf for PowerPC32.
5961         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5963         file.
5964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5965         multiarch logbl implementation for PowerPC32.
5967 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5970         and modff multiarch implementations.
5971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5972         New file.
5973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5974         New file.
5975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5976         multiarch modf for PowerPC32.
5977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5978         New file.
5979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5980         New file.
5981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5982         multiarch modff for PowerPC32.
5984 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5987         and lrintf multiarch implementations.
5988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5989         New file.
5990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5991         New file.
5992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5993         multiarch lrint for PowerPC32.
5994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5995         file: multiarch lrintf for PowerPC32.
5997 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6000         and lroundf multiarch implementations.
6001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6002         New file.
6003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6004         New file.
6005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6006         New file.
6007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6008         multiarch lround for PowerPC32.
6009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6010         file: multiarch lroundf for PowerPC32.
6012 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6015         copysign and copysignf multiarch implementations.
6016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6017         New file.
6018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6019         New file.
6020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6021         file: multiarch copysign for PowerPC32.
6022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6023         file: multiarch copysignf for PowerPC32.
6025 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6028         and truncf multiarch implementations.
6029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6030         New file.
6031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6032         file.
6033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6034         multiarch trunc for PowerPC32.
6035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6036         New file.
6037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6038         New file.
6039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6040         multiarch truncf for PowerPC32.
6042 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6045         and roundf multiarch implementations.
6046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6047         New file.
6048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6049         file.
6050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6051         multiarch round for PowerPC32.
6052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6053         New file.
6054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6055         New file.
6056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6057         multiarch roundf for PowerPC32.
6059 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6062         and floorf multiarch implementations.
6063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6064         New file.
6065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6066         file.
6067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6068         multiarch floor for PowerPC32.
6069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6070         New file.
6071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6072         New file.
6073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6074         multiarch floorf for PowerPC32.
6076 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6079         and ceilf multiarch implementations.
6080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6081         New file.
6082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6083         file.
6084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6085         multiarch ceil for PowerPC32.
6086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6087         New file.
6088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6089         file.
6090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6091         multiarch ceilf for PowerPC32.
6093 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6095         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6096         is defined.
6097         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6098         FINITEF is defined.
6099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6100         and finitef multiarch implementations.
6101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6102         New file.
6103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6104         file.
6105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6106         multiarch finite for PowerPC32.
6107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6108         New file.
6109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6110         file: multiarch finitef for PowerPC32.
6112 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6115         and isinff multiarch implementations.
6116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6117         file.
6118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6119         file.
6120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6121         multiarch isinf for PowerPC32.
6122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6123         New file.
6124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6125         multiarch isinff for PowerPC32.
6127 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6129         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6130         alias when __isnan is defined.
6131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6132         and isnanf multiarch implementations.
6133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6134         file.
6135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6136         file.
6137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6138         file.
6139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6140         file.
6141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6142         multiarch isnan for PowerPC32.
6143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6144         New file.
6145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6146         New file.
6147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6148         multiarch isnanf for PowerPC32.
6150 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6153         and sqrtf multiarch implementations.
6154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6155         file.
6156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6157         file.
6158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6159         multiarch sqrt for PowerPC32.
6160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6161         file.
6162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6163         file.
6164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6165         multiarch sqrtf for PowerPC32.
6167 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6170         and llroundf multiarch implementations.
6171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6172         New file.
6173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6174         New file.
6175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6176         New file.
6177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6178         file: multiarch llround for PowerPC32.
6179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6180         file: multiarch llroundf for PowerPC32.
6182 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6185         multiarch PowerPC32 fpu implementations.
6186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6187         New file.
6188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6189         New file.
6190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6191         multiarch llrint for PowerPC32.
6192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6193         New file.
6194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6195         New file.
6196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6197         file.
6199 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6203 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6205         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6206         file.
6207         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6208         file.
6209         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6210         file.
6211         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6212         multiarch wordcopy for PPC32.
6213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6214         wordcopy objects.
6215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6216         (__libc_ifunc_impl_list): Likewise.
6217         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6218         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6219         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6220         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6221         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6222         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6224 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6226         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6228         file.
6229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6230         file.
6231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6232         file.
6233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6234         multiarch wcscpy for PPC32.
6235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6236         multiarch objects.
6237         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6238         (__libc_ifunc_impl_list): Likewise.
6239         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6240         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6241         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6242         sysdeps/powerpc/power6/wcscpy.c.
6244 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6246         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6247         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6248         file.
6249         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6250         file.
6251         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6252         file.
6253         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6254         multiarch wcsrchr for PPC32.
6255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6256         multiarch objects.
6257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6258         (__libc_ifunc_impl_list): Likewise.
6259         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6260         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6261         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6262         sysdeps/powerpc/power6/wcsrchr.c.
6264 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6266         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6267         file.
6268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6269         file.
6270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6272         multiarch wcschr for PPc32.
6273         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6274         multiarch objects.
6275         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6276         (__libc_ifunc_impl_list): Likewise.
6277         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6278         * sysdeps/powerpc/power6/wcschr.c: ... to here.
6279         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6280         sysdeps/powerpc/power6/wcschr.c.
6282 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6284         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6285         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6286         file.
6287         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6288         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6289         file: multiarch strchr for PPC32.
6290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6291         multiarch objects.
6292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6293         (__libc_ifunc_impl_list): Likewise.
6295 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6297         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6298         name.
6299         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6300         file.
6301         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6302         file.
6303         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6304         multiarch strchrnul for PPC32.
6305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6306         multiarch objects.
6307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6308         (__libc_ifunc_impl_list): Likewise.
6310 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6313         file.
6314         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6315         multiarch strncasecmp for PPC32.
6316         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6317         file.
6318         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6319         multiarch strncasecmp_l for PPC32.
6320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6321         strncasecmp multiarch objects.
6322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6323         (__libc_ifunc_impl_list): Likewise.
6325 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6327         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6328         file.
6329         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6330         multiarch strncasecmp for PPC32.
6331         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6332         New file.
6333         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6334         multiarch strcasecmp_l for PPC32.
6335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6336         multiarch objects.
6337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6338         (__libc_ifunc_impl_list): Likewise.
6340 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6342         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6343         file.
6344         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6345         file.
6346         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6347         multiarch strncmp for PPC32.
6348         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6349         multiarch objects.
6350         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6351         (__libc_ifunc_impl_list): Likewise.
6353 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6355         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6356         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6357         file.
6358         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6359         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6361         multiarch objects.
6362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6363         (__libc_ifunc_impl_list): Likewise.
6365 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6367         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6368         file.
6369         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6370         file.
6371         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6372         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6373         multiarch objects.
6374         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6375         (__libc_ifunc_impl_list): Likewise.
6377 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6379         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6380         file.
6381         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6382         file.
6383         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6384         multiarch rawmemchr for PPC32.
6385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6386         multiarch objects.
6387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6388         (__libc_ifunc_impl_list): Likewise.
6390 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6392         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6393         file.
6394         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6395         file.
6396         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6397         file: memrchr multiarch for PPC32.
6398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6399         multiarch objects.
6400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6401         (__libc_ifunc_impl_list): Likewise.
6403 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6405         * string/memchr.c (__memchr): Using macro to redefine symbol name.
6406         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6407         file.
6408         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6409         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6410         multiarch memchr for PPC32.
6411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6412         multiarch objects.
6413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6414         (__libc_ifunc_impl_list): Likewise.
6416 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6418         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6419         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6420         file.
6421         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6422         file.
6423         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6424         file: multiarch mempcpy for PPC32.
6425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6426         multiarch objects.
6427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6428         (__libc_ifunc_impl_list): Likewise.
6430 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6432         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6433         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6434         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6435         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6436         multiarch bzero for PPC32.
6437         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6438         file.
6439         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6440         file.
6441         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6442         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6443         file: multiarch memset for PPC32.
6444         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6446         memset multiarch objects.
6447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6448         (__libc_ifunc_impl_list): Likewise.
6450 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6452         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6453         file.
6454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6456         memcmp for PPC32.
6457         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6459         multiarch objects.
6460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6461         (__libc_ifunc_impl_list): Likewise.
6463 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6466         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6467         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6468         file.
6469         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6470         file.
6471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6472         file.
6473         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6474         multiarch memcpy for PPC32.
6475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6476         multiarch objects.
6477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6478         (__libc_ifunc_impl_list): Likewise.
6480 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6482         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6483         support multiarch for POWER/PPC32.
6484         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6485         Likewise.
6486         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6488         Implies file to make multiarch folder appers before the fpu and
6489         default folder for power4 configuration.
6491 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6493         * scripts/bench.pl: Append volatile keyword to type.
6495 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6497         * sysdeps/sh/sotruss-lib.c: New file.
6498         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6500 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6504 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
6506         [BZ #6810]
6507         * math/w_tgamma.c: Include <errno.h>.
6508         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
6509         * math/w_tgammaf.c: Include <errno.h>.
6510         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
6511         * math/w_tgammal.c: Include <errno.h>.
6512         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
6513         * math/auto-libm-test-in: Do not allow missing errno on tgamma
6514         underflow.  Add more tgamma tests.
6515         * math/auto-libm-test-out: Regenerated.
6516         * sysdeps/i386/fpu/libm-test-ulps: Update.
6517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6519         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6520         sin, sinh, tan, tanh, tgamma, y0 and y1.
6521         * math/auto-libm-test-out: Regenerated.
6522         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6523         (TEST_COND_x86): Likewise.
6524         (M_E2l): Remove macro.
6525         (M_E3l): Likewise.
6526         (M_2_SQRT_PIl): Likewise.
6527         (M_SQRT_PIl): Likewise.
6528         (M_1_DIV_El): Likewise.
6529         (log_test_data): Use AUTO_TESTS_f_f.
6530         (log10_test_data): Likewise.
6531         (log1p_test_data): Likewise.
6532         (log2_test_data): Likewise.
6533         (sin_test_data): Likewise.
6534         (sin_tonearest_test_data): Likewise.
6535         (sin_towardzero_test_data): Likewise.
6536         (sin_downward_test_data): Likewise.
6537         (sin_upward_test_data): Likewise.
6538         (sinh_test_data): Likewise.
6539         (sinh_tonearest_test_data): Likewise.
6540         (sinh_towardzero_test_data): Likewise.
6541         (sinh_downward_test_data): Likewise.
6542         (sinh_upward_test_data): Likewise.
6543         (tan_test_data): Likewise.
6544         (tan_tonearest_test_data): Likewise.
6545         (tan_towardzero_test_data): Likewise.
6546         (tan_downward_test_data): Likewise.
6547         (tan_upward_test_data): Likewise.
6548         (tanh_test_data): Likewise.
6549         (tgamma_test_data): Likewise.
6550         (y0_test_data): Likewise.
6551         (y1_test_data): Likewise.
6552         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6553         (special_real_inputs): Add pi/4.
6554         * sysdeps/i386/fpu/libm-test-ulps: Update.
6555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6557 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6559         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6560         "longjmp_target" static probes.
6561         (__longjmp): Rename to __longjmp_symbol.
6562         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6563         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6564         on which longjmp to generate.
6565         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6566         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6567         probe.
6568         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6569         (__sigjmp_save): Rename to __sigjmp_save_symbol.
6570         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6571         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6572         and __sigjmp_save_symbol based on which sigsetjmp to generated.
6573         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6575         __longjmp_symbol based on which __longjmp to generate.
6576         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6577         probe.
6578         (setjmp): Rename to setjmp_symbol.
6579         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6580         (_setjmp): Rename to _setjmp_symbol.
6581         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6582         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6583         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6584         which setjmp to generate.
6585         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6586         "longjmp_target" static probes.
6588 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6590         * benchtests/README: Add note about output arguments.
6591         * benchtests/bench-sincos.c: Remove file.
6592         * benchtests/sincos-inputs: New file.
6593         * scripts/bench.pl: Identify output arguments and define
6594         static variables for them.
6596         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6598         [BZ #15941]
6599         * Makefile (INSTALL): Add install-plain.texi as the primary
6600         dependency.
6601         * manual/install-plain.texi: New file.
6602         * manual/install.texi: Include node directive only for
6603         non-plaintext output.
6605 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
6607         * stdlib/longlong.h: Update from GCC.
6609         [BZ #6807]
6610         [BZ #15901]
6611         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6612         * math/w_j0f.c (y0f): Likewise.
6613         * math/w_j0l.c (__y0l): Likewise.
6614         * math/w_j1.c (y1): Likewise.
6615         * math/w_j1f.c (y1f): Likewise.
6616         * math/w_j1l.c (__y1l): Likewise
6617         * math/w_jn.c (yn): Likewise.
6618         * math/w_jnf.c (ynf): Likewise.
6619         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6620         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
6621         value for Bessel function domain errors outside _SVID_ mode.
6622         Adjust sign of return value for yn (negative integer, 0).
6623         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6624         by zero in return for negative x and set sign appropriately for
6625         negative n.
6626         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6627         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6628         * math/libm-test.inc (y0_test_data): Add more tests and adjust
6629         expectations in error cases.
6630         (y1_test_data): Likewise.
6631         (yn_test_data): Likewise.
6632         * sysdeps/i386/fpu/libm-test-ulps: Update.
6633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6635 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6637         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6638         "64" to "64-v1".  Add "64-v2".
6639         (abi-64-options): Rename to ...
6640         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
6641         (abi-64-condition): Rename to ...
6642         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
6643         (abi-64-ld-soname): Rename to ...
6644         (abi-64-v1-ld-soname): ... this.
6645         (abi-64-v2-options): Define.
6646         (abi-64-v2-condition): Likewise.
6647         (abi-64-v2-ld-soname): Likewise.
6648         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6649         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6654 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6655             Alan Modra  <amodra@gmail.com>
6657         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6658         New versions for use with the ELFv2 ABI.
6659         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6660         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6661         declaration.
6662         (struct La_ppc64v2_retval): Likewise.
6663         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6664         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6665         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6666         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6667         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6668         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6669         Do not save or restore CR.
6670         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6671         (_dl_profile_resolve): Do no save or restore CR.  Support extended
6672         return values for ELFv2 ABI.  Fix location of FPR return registers.
6673         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6674         updated values for _CALL_ELF == 2.
6675         (La_regs, La_retval, int_retval): Likewise.
6677 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6679         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6680         (FRAME_MIN_SIZE_PARM): Likewise.
6681         (FRAME_BACKCHAIN): Likewise.
6682         (FRAME_CR_SAVE): Likewise.
6683         (FRAME_LR_SAVE): Likewise.
6684         (FRAME_TOC_SAVE): Likewise.
6685         (FRAME_PARM_SAVE): Likewise.
6686         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6687         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6688         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6689         (call_mcount_parm_offset): New macro.
6690         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6691         (PROF): Use symbolic stack frame offsets.
6692         (TAIL_CALL_SYSCALL_ERROR): Likewise.
6693         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6694         Redefine in terms of FRAME_MIN_SIZE.
6695         (_dl_runtime_resolve): Use symbolic stack frame offsets.
6696         (_dl_profile_resolve): Likewise.  Update comment.
6697         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6698         symbols stack frame offsets.
6699         (__sigsetjmp): Likewise.
6700         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6701         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6702         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6703         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6706         (FRAME_BACKCHAIN): Remove.
6707         (FRAME_CR_SAVE): Likewise.
6708         (FRAME_LR_SAVE): Likewise.
6709         (FRAME_COMPILER_DW): Likewise.
6710         (FRAME_LINKER_DW): Likewise.
6711         (FRAME_TOC_SAVE): Likewise.
6712         (FRAME_PARM_SAVE): Likewise.
6713         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6714         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6715         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6717         (CHECK_SP): Use symbolic stack frame offsets.
6718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6719         zone" instead of caller's parameter save area for temp storage.
6720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6721         Likewise.  Also, use symbolic stack frame offsets.
6722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6723         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6724         our own stack frame instead of the caller's.
6725         (__socket): Use symbolic stack frame offsets.
6727 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6728             Alan Modra  <amodra@gmail.com>
6730         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6731         Define.
6732         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6733         PPC64_LOCAL_ENTRY_OFFSET): Define.
6734         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6735         New function.
6736         (elf_machine_fixup_plt): Call it.
6737         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
6738         reloc arguments.
6739         (elf_machine_rela): Update call to elf_machine_plt_conflict.
6740         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6741         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6742         r2 before calling target.
6744 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6745             Alan Modra  <amodra@gmail.com>
6747         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6748         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6749         versions of macros to support ELFv2 ABI.
6750         (LOCALENTRY): New macro.
6751         (ENTRY, EALIGN): Use it.
6752         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6753         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6754         fall through into ENTRY entry point.
6755         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6756         Only define if _CALL_ELF != 2.
6758         (elf_machine_matches_host): Verify ABI version matches.
6759         (RTLD_START): Use LOCALENTRY.
6760         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6761         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6762         (PLT_ENTRY_WORDS): New macro.
6763         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6764         (elf_machine_runtime_setup): Support ELFv2 ABI.
6765         (elf_machine_fixup_plt): Likewise.
6766         (elf_machine_plt_conflict): Likewise.
6767         (resolve_ifunc): Likewise.
6768         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6769         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6770         Likewise.
6771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6772         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6774         (makecontext): Support ELFv2 ABI.
6775         * elf/elf.h (EF_PPC64_ABI): Define.
6777 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6779         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6780         New assembler macro.
6781         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6782         [ASSEMBLER] (ENTRY): ... but instead here ...
6783         [ASSEMBLER] (EALIGN): ... and here.
6784         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6785         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6786         [!ASSEMBLER] (ENTRY_2): Use it.
6787         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6788         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
6789         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6790         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6791         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6793         Use PPC64_LOAD_FUNCPTR.
6795 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6797         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6799 2013-12-04  Alan Modra  <amodra@gmail.com>
6801         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6802         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6803         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6804         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6806         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6807         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6808         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6809         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6810         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6811         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6813 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6816         (__makecontext): Fix incorrect CFI when backtracing out of
6817         context created via makecontext.
6818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6819         (__setcontext): Fix incorrect CFI during switch to new context.
6820         (__novec_setcontext): Likewise.
6822 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6824         [BZ #4772]
6825         * time/strptime_l.c (__strptime_internal): Allow modifiers
6826         in strptime.
6827         * time/tst-strptime.c (day_tests): Add testcase.
6830 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6832         * scripts/bench.pl: Skip over blank lines.
6834 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6836         [BZ #926]
6837         * manual/time.texi (Calendar Time): Clarify what timezone functions
6838         use.
6840 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6844 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6846         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6847         implementation.
6848         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6849         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6850         * debug/memset_chk.c (__memset_chk): Likewise.
6851         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6852         * debug/strncpy_chk.c: Likewise.
6854 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6856         [BZ #15268]
6857         [BZ #15425]
6858         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6859         (__ieee754_exp): For possibly underflowing results, check size of
6860         result and force underflow exception if required.
6861         * math/auto-libm-test-in: Add more tests of exp.
6862         * math/auto-libm-test-out: Regenerated.
6863         * sysdeps/i386/fpu/libm-test-ulps: Update.
6864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6866         [BZ #16283]
6867         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6868         * math/w_exp2f.c (__exp2f): Likewise.
6869         * math/w_exp2l.c (__exp2l): Likewise.
6870         * math/auto-libm-test-in: Do not allow missing errno on exp2
6871         underflow.
6872         * math/auto-libm-test-out: Regenerated.
6874 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
6876         [BZ #16274]
6877         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6878         handle filename validation.
6879         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6880         (do_open): Delete.
6882 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6884         [BZ #6786]
6885         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6886         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6887         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6888         <float.h>.
6889         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6890         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6891         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6892         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6893         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6894         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6895         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6896         * math/auto-libm-test-in: Don't allow missing errno from erfc.
6897         Add more erfc tests.
6898         * math/auto-libm-test-out: Regenerated.
6899         * sysdeps/i386/fpu/libm-test-ulps: Update.
6900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6902         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6903         exp2, expm1, j0 and j1.
6904         * math/auto-libm-test-out: Regenerated.
6905         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6906         (erfc_test_data): Likewise.
6907         (exp_test_data): Likewise.
6908         (exp_tonearest_test_data): Likewise.
6909         (exp_towardzero_test_data): Likewise.
6910         (exp_downward_test_data): Likewise.
6911         (exp_upward_test_data): Likewise.
6912         (exp10_test_data): Likewise.
6913         (exp2_test_data): Likewise.
6914         (expm1_test_data): Likewise.
6915         (j0_test_data): Likewise.
6916         (j1_test_data): Likewise.
6917         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6918         (input_flag_type): Add flag_xfail_rounding.
6919         (input_flags): Add xfail-rounding.
6920         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6921         (output_for_one_input_case): Handle flag_xfail_rounding.
6922         * sysdeps/i386/fpu/libm-test-ulps: Update.
6923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6925 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
6927         [BZ #16289]
6928         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6929         division by 0.
6931 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6933         [BZ #16195]
6934         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6935         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6936         (STAP_PROBE0): New macro.
6937         (STAP_PROBE1): Likewise.
6938         (STAP_PROBE2): Likewise.
6939         (STAP_PROBE3): Likewise.
6940         (STAP_PROBE4): Likewise.
6942 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
6944         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6946 2013-12-02  Steve Ellcey  <sellcey@mips.com>
6948         * benchtests/Makefile (bench): Add sqrt.
6949         (LDLIBS-bench-sqrt): New.
6950         * benchtests/sqrt-input: New.
6952 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
6954         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6955         (GAIH_EAI): Likewise.
6956         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6957         (gaih_inet): Likewise.
6958         (getaddrinfo): Don't use GAIH_EAI.
6960         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6961         (struct gaih): Remove definition.
6963 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6965         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6966         Use HERRNOP directly.
6968 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6972 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
6974         * math/gen-auto-libm-tests.c (test_functions): Add more
6975         single-argument functions.
6976         (special_fill_pi_2): New function.
6977         (special_fill_minus_pi_2): Likewise.
6978         (special_fill_pi_6): Likewise.
6979         (special_fill_minus_pi_6): Likewise.
6980         (special_fill_pi_3): Likewise.
6981         (special_fill_2pi_3): Likewise.
6982         (special_fill_e): Likewise.
6983         (special_fill_1_e): Likewise.
6984         (special_fill_e_minus_1): Likewise.
6985         (special_real_inputs): Add more special inputs.
6986         (output_for_one_input_case): Do not require ERANGE on underflow to
6987         zero if round-to-nearest result does not underflow to zero, unless
6988         exact results required.
6989         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6990         atan, atanh, cbrt, cos and cosh.
6991         * math/auto-libm-test-out: Regenerated.
6992         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6993         (acos_tonearest_test_data): Likewise.
6994         (acos_towardzero_test_data): Likewise.
6995         (acos_downward_test_data): Likewise.
6996         (acos_upward_test_data): Likewise.
6997         (acosh_test_data): Likewise.
6998         (asin_test_data): Likewise.
6999         (asin_tonearest_test_data): Likewise.
7000         (asin_towardzero_test_data): Likewise.
7001         (asin_upward_test_data): Likewise.
7002         (asinh_test_data): Likewise.
7003         (atan_test_data): Likewise.
7004         (atanh_test_data): Likewise.
7005         (cbrt_test_data): Likewise.
7006         (cos_test_data): Likewise.
7007         (cos_tonearest_test_data): Likewise.
7008         (cos_towardzero_test_data): Likewise.
7009         (cos_downward_test_data): Likewise.
7010         (cos_upward_test_data): Likewise.
7011         (cosh_test_data): Likewise.
7012         (cosh_tonearest_test_data): Likewise.
7013         (cosh_towardzero_test_data): Likewise.
7014         (cosh_downward_test_data): Likewise.
7015         (cosh_upward_test_data): Likewise.
7016         * sysdeps/i386/fpu/libm-test-ulps: Update.
7017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7019 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
7021         [BZ #6787]
7022         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7023         * math/w_exp10f.c (__exp10f): Likewise.
7024         * math/w_exp10l.c (__exp10l): Likewise.
7025         * math/libm-test.inc (exp10_test_data): Add more tests and expect
7026         errno settings in existing tests.
7028         [BZ #14032]
7029         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7030         precision control set to double precision.
7031         * sysdeps/i386/fpu/w_sqrt.c: New file.
7032         * math/auto-libm-test-in: Add more tests.
7033         * math/auto-libm-test-out: Update.
7035         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7036         (sqrt_test_tonearest): New function.
7037         (sqrt_towardzero_test_data): New variable.
7038         (sqrt_test_towardzero): New function.
7039         (sqrt_downward_test_data): New variable.
7040         (sqrt_test_downward): New function.
7041         (sqrt_upward_test_data): New variable.
7042         (sqrt_test_upward): New function.
7043         (main): Call the new functions.
7045         * math/gen-auto-libm-tests.c: New file.
7046         * math/auto-libm-test-in: Likewise.
7047         * math/auto-libm-test-out: New generated file.
7048         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7049         variables.
7050         (%beautify): Add generated representations of zero.
7051         (top level): Set $auto_input and call parse_auto_input.
7052         (beautify): Remove trailing "f" from hex float constants.
7053         (parse_args): Handle XFAIL_TEST.
7054         (convert_condition): New function.
7055         (or_value): Likewise.
7056         (or_cond_value): Likewise.
7057         (generate_testfile): Handle AUTO_TESTS_* lines.
7058         (parse_auto_input): New function.
7059         * math/libm-test.inc (XFAIL_TEST): New macro.
7060         (ERRNO_UNCHANGED): Update value.
7061         (ERRNO_EDOM): Likewise.
7062         (ERRNO_ERANGE): Likewise.
7063         (IGNORE_RESULT): Likewise.
7064         (TEST_COND_flt_32): New macro.
7065         (TEST_COND_dbl_64): Likewise.
7066         (TEST_COND_ldbl_96_intel): Likewise.
7067         (TEST_COND_ldbl_96_m68k): Likewise.
7068         (TEST_COND_ldbl_128): Likewise.
7069         (TEST_COND_ldbl_128ibm): Likewise.
7070         (TEST_COND_long32): Likewise.
7071         (TEST_COND_long64): Likewise.
7072         (TEST_COND_before_rounding): Likewise.
7073         (TEST_COND_after_rounding): Likewise.
7074         (enable_test): Handle XFAIL_TEST flag.
7075         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7076         with finite results.
7077         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7078         auto-libm-test-out.
7080 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7081             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7083         [BZ #16214]
7084         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7085         __tls_get_addr_internal instead of __tls_get_offset in order to
7086         avoid GOT pointer dependency.  Make rtld export
7087         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7088         __tls_get_addr since we are a __tls_get_offset platform.
7089         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7090         GOT pointer being set up before.
7091         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7093 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
7095         * manual/math.texi (Errors in Math Functions): Document accuracy
7096         goals.
7098         [BZ #15004]
7099         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7100         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7101         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7102         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7103         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7104         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7105         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7106         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7107         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7108         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7109         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7110         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7111         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7112         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7113         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7114         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7116         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7117         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7118         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7119         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7120         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7121         Likewise.
7122         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7123         Likewise.
7124         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7125         Likewise.
7126         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7127         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7128         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7129         atomic-feupdateenv and flt-rounds.
7130         * sysdeps/powerpc/nofpu/Versions (libc): Add
7131         __atomic_feholdexcept, __atomic_feclearexcept,
7132         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7133         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7134         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7135         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7136         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7137         here.
7138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7139         Update.
7141         * manual/arith.texi (FP Exceptions): Document that exceptions may
7142         not be raised when matherr is used.
7143         (Math Error Reporting): Document overflow in directed rounding
7144         modes.  Document that errno may not be set when finite values are
7145         returned on overflow.  Document intent to set errno on underflow
7146         only for underflow to zero.
7148         [BZ #16271]
7149         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7150         round-to-nearest then adjust result for other rounding modes.
7151         * include/fenv.h (fegetround): Use libm_hidden_proto.
7152         * math/fegetround.c (fegetround): Use libm_hidden_def.
7153         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7154         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7155         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7156         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7157         Likewise.
7158         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7159         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7160         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7161         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7163 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7165         [BZ #16077]
7166         * nss/Versions (libnss_files): Add
7167         _nss_files_gethostbyname3_r.
7168         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7169         New function.
7170         (HOST_DB_LOOKUP): Remove macro.
7171         (_nss_files_gethostbyname_r): Implement function without the
7172         HOST_DB_LOOKUP macro.
7173         (_nss_files_gethostbyname2_r): Likewise.
7175 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
7177         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7179 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
7181         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7182         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7183         warning.
7185 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7187         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7188         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7189         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7190         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7191         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7192         __fe_nomask_env_priv and attribute_hidden.
7193         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7194         (libc_feupdateenv_test_ppc): Likewise.
7195         (libc_feresetround_ppc): Likewise.
7196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7197         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7198         compat_symbol macro.
7199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7200         (__fe_nomask_env): Likewise.
7201         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7203 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7205         * string/Makefile: Remove ifunc tests.
7206         * string/test-string.h: Define TEST_IFUNC.
7207         * string/test-bcopy-ifunc.c: Remove.
7208         * string/test-bzero-ifunc.c: Likewise.
7209         * string/test-memccpy-ifunc.c: Likewise.
7210         * string/test-memchr-ifunc.c: Likewise.
7211         * string/test-memcmp-ifunc.c: Likewise.
7212         * string/test-memcpy-ifunc.c: Likewise.
7213         * string/test-memmem-ifunc.c: Likewise.
7214         * string/test-memmove-ifunc.c: Likewise.
7215         * string/test-mempcpy-ifunc.c: Likewise.
7216         * string/test-memrchr-ifunc.c: Likewise.
7217         * string/test-memset-ifunc.c: Likewise.
7218         * string/test-rawmemchr-ifunc.c: Likewise.
7219         * string/test-stpcpy-ifunc.c: Likewise.
7220         * string/test-stpncpy-ifunc.c: Likewise.
7221         * string/test-strcasecmp-ifunc.c: Likewise.
7222         * string/test-strcasestr-ifunc.c: Likewise.
7223         * string/test-strcat-ifunc.c: Likewise.
7224         * string/test-strchr-ifunc.c: Likewise.
7225         * string/test-strchrnul-ifunc.c: Likewise.
7226         * string/test-strcmp-ifunc.c: Likewise.
7227         * string/test-strcpy-ifunc.c: Likewise.
7228         * string/test-strcspn-ifunc.c: Likewise.
7229         * string/test-strlen-ifunc.c: Likewise.
7230         * string/test-strncasecmp-ifunc.c: Likewise.
7231         * string/test-strncat-ifunc.c: Likewise.
7232         * string/test-strncmp-ifunc.c: Likewise.
7233         * string/test-strncpy-ifunc.c: Likewise.
7234         * string/test-strnlen-ifunc.c: Likewise.
7235         * string/test-strpbrk-ifunc.c: Likewise.
7236         * string/test-strrchr-ifunc.c: Likewise.
7237         * string/test-strspn-ifunc.c: Likewise.
7238         * string/test-strstr-ifunc.c: Likewise.
7240 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7242         * benchtests/Makefile: Remove ifunc tests.
7243         * benchtests/bench-string.h: Define TEST_IFUNC.
7244         * benchtests/bench-bcopy-ifunc.c: Remove.
7245         * benchtests/bench-bzero-ifunc.c: Likewise.
7246         * benchtests/bench-memccpy-ifunc.c: Likewise.
7247         * benchtests/bench-memchr-ifunc.c: Likewise.
7248         * benchtests/bench-memcmp-ifunc.c: Likewise.
7249         * benchtests/bench-memcpy-ifunc.c: Likewise.
7250         * benchtests/bench-memmem-ifunc.c: Likewise.
7251         * benchtests/bench-memmove-ifunc.c: Likewise.
7252         * benchtests/bench-mempcpy-ifunc.c: Likewise.
7253         * benchtests/bench-memrchr-ifunc.c: Likewise.
7254         * benchtests/bench-memset-ifunc.c: Likewise.
7255         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7256         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7257         * benchtests/bench-stpcpy-ifunc.c: Likewise.
7258         * benchtests/bench-stpncpy-ifunc.c: Likewise.
7259         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7260         * benchtests/bench-strcasestr-ifunc.c: Likewise.
7261         * benchtests/bench-strcat-ifunc.c: Likewise.
7262         * benchtests/bench-strchr-ifunc.c: Likewise.
7263         * benchtests/bench-strchrnul-ifunc.c: Likewise.
7264         * benchtests/bench-strcmp-ifunc.c: Likewise.
7265         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7266         * benchtests/bench-strcpy-ifunc.c: Likewise.
7267         * benchtests/bench-strcspn-ifunc.c: Likewise.
7268         * benchtests/bench-strlen-ifunc.c: Likewise.
7269         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7270         * benchtests/bench-strncat-ifunc.c: Likewise.
7271         * benchtests/bench-strncmp-ifunc.c: Likewise.
7272         * benchtests/bench-strncpy-ifunc.c: Likewise.
7273         * benchtests/bench-strnlen-ifunc.c: Likewise.
7274         * benchtests/bench-strpbrk-ifunc.c: Likewise.
7275         * benchtests/bench-strrchr-ifunc.c: Likewise.
7276         * benchtests/bench-strsep-ifunc.c: Likewise.
7277         * benchtests/bench-strspn-ifunc.c: Likewise.
7278         * benchtests/bench-strstr-ifunc.c: Likewise.
7280 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7282         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7284 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7286         * resolv/netdb.h: Use __glibc_reserved instead __unused.
7287         * rt/aio.h: Likewise.
7288         * sysdeps/gnu/bits/utmp.h: Likewise.
7289         * sysdeps/gnu/bits/utmpx.h: Likewise.
7290         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7291         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7292         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7293         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7294         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7295         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7296         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7297         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7298         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7299         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7300         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7301         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7302         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7304         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7305         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7306         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7307         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7308         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7309         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7310         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7311         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7312         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7313         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7314         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7315         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7316         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7317         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7318         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7319         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7320         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7321         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7322         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7323         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7324         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7325         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7326         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7327         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7328         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7329         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7330         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7331         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7333 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
7335         [BZ #16245]
7336         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7337         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7339 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
7341         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7342         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7343         Likewise.
7345 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7347         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7348         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7349         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7350         (__fesetround): Remove define.
7351         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7352         rounding and exceptions handling.
7353         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7354         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7355         (__fe_nomask_env): Likewise.
7356         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7357         __fegetround instead of fegetround.
7358         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7359         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7361 2013-11-21  Roland McGrath  <roland@hack.frob.com>
7363         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7364         it's there.
7366         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7368 2013-11-21  Meador Inge  <meadori@codesourcery.com>
7370         [BZ #11157]
7371         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7372         (encrypt_r): Likewise.
7373         * malloc/obstack.h (obstack_free): Likewise.
7374         * posix/unistd.h (encrypt): Likewise.
7376 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7378         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7379         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7380         DL_CALL_DT_FINI() that call the functions directly.
7381         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7382         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7383         * elf/dl-fini.c: Likewise.
7385 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
7387         * malloc/hooks.c (memalign_check): Add alignment rounding.
7388         * malloc/malloc.c (_mid_memalign): New function.
7389         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7390         Implement by calling _mid_memalign.
7391         * manual/probes.texi (Memory Allocation Probes): Remove
7392         memory_valloc_retry and memory_pvalloc_retry.
7394 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7396         * locale/programs/locarchive.c (open_archive): Add const
7397         qualifier to ARCHIVEFNAME and copy default fname to
7398         DEFAULT_FNAME.
7400         [BZ #15601]
7401         * libio/tst-widetext.input: Rename Oriya to Odia.
7402         * locale/iso-639.def: Likewise.
7404         * manual/probes.texi (Mathematical Function Probes): Add
7405         documentation for sin, cos, asin and acos probes.
7406         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7407         (__sin32): Add slowasin probe.
7408         (__cos32): Add slowacos probe.
7409         (__mpsin): Add slowsin probe.
7410         (__mpcos): Add slowcos probe.
7412 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
7414         [BZ #15483]
7415         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7416         thread-local __sim_exceptions_thread and global
7417         __sim_exceptions_global.
7418         (__sim_disabled_exceptions): Change to thread-local
7419         __sim_disabled_exceptions_thread and global
7420         __sim_disabled_exceptions_global.
7421         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7422         and global __sim_round_mode_global.
7423         (__simulate_exceptions): Use thread-local floating-point state and
7424         set global state from it as needed.
7425         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7426         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7427         __sim_round_mode_thread.
7428         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7429         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7430         and global __sim_exceptions_global.
7431         (__sim_disabled_exceptions): Change to thread-local
7432         __sim_disabled_exceptions_thread and global
7433         __sim_disabled_exceptions_global.
7434         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7435         and global __sim_round_mode_global.
7436         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7437         (SIM_SET_GLOBAL): Likewise.
7438         * sysdeps/powerpc/soft-fp/sfp-machine.h
7439         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7440         __sim_round_mode_thread.
7441         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7442         __sim_disabled_exceptions_thread.
7443         (__sim_exceptions): Change to __sim_exceptions_thread.
7444         (__sim_disabled_exceptions): Change to
7445         __sim_disabled_exceptions_thread.
7446         (__sim_round_mode): Change to __sim_round_mode_thread.
7447         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7448         thread-local floating-point state and set global state from it as
7449         needed.
7450         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7451         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7452         (__sim_disabled_exceptions): Remove extern declaration.
7453         (feenableexcept): Use thread-local floating-point state and set
7454         global state from it as needed.
7455         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7456         extern declaration.
7457         (__sim_disabled_exceptions): Likewise.
7458         (__sim_round_mode): Likewise.
7459         (__fegetenv): Use thread-local floating-point state.
7460         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7461         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7462         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7463         floating-point state and set global state from it as needed.
7464         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7465         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7466         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7467         Likewise.
7468         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7469         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7470         Likewise.
7471         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7472         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7473         Use __sim_round_mode_thread.
7474         * math/test-fenv-tls.c: New file.
7475         * math/Makefile (tests): Add test-fenv-tls.
7476         ($(objpfx)test-fenv-tls): Depend on
7477         $(common-objpfx)nptl/libpthread.so.
7479 2013-11-19  Andreas Schwab  <schwab@suse.de>
7481         * locale/programs/locale.c (show_info): Decode wordarray elements.
7482         * locale/categories.def (LC_MONETARY): Add element for
7483         _NL_MONETARY_CRNCYSTR.
7484         * locale/C-monetary.c (conversion_rate): New variable.
7485         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7486         element.
7488 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
7490         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7491         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7493 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7495         * elf/Makefile (tst-auxv): New test.
7496         * elf/tst-auxv.c: New
7497         * elf/rtld.c (dl_main): Adjust AT_EXECFN
7499 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
7501         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7502         (hidden_proto): Caller changed.
7503         (hidden_tls_proto): New macro.
7504         (libc_hidden_tls_proto): Likewise.
7505         (rtld_hidden_tls_proto): Likewise.
7506         (libm_hidden_tls_proto): Likewise.
7507         (libresolv_hidden_tls_proto): Likewise.
7508         (librt_hidden_tls_proto): Likewise.
7509         (libdl_hidden_tls_proto): Likewise.
7510         (libnss_files_hidden_tls_proto): Likewise.
7511         (libnsl_hidden_tls_proto): Likewise.
7512         (libnss_nisplus_hidden_tls_proto): Likewise.
7513         (libutil_hidden_tls_proto): Likewise.
7515 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
7517         [BZ #10253]
7518         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7519         (decompose_rpath): Defer expansion to fillin_rpath.
7520         (_dl_init_paths): Pass linkmap to fillin_rpath.
7522 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7524         * benchtests/Makefile: Add strsep.
7525         * benchtests/bench-strsep.c: New file: strsep benchtest.
7526         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7528 2013-11-18  Andreas Schwab  <schwab@suse.de>
7530         * locale/programs/locale.c (show_info) [case byte]: Check for
7531         '\377' instead of '\177'.
7532         * locale/C-monetary.c (not_available): Always use "\377".
7533         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7534         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
7535         detect unavailable sign_posn locale elements.
7536         * locale/localeconv.c (__localeconv): For grouping and
7537         mon_grouping handle "\177" and "\377" like no grouping.
7538         (INT_ELEM): New macro.  Use it to set all numeric members.
7539         * locale/programs/ld-monetary.c (monetary_read)
7540         <tok_mon_grouping>: Normalize single -1 to the empty string.
7541         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7542         Likewise.
7544 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7546         [BZ #16055]
7547         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7548         when we match (nil).
7549         * stdio-common/tst-sscanf.c (struct test): Add testcase.
7551 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
7553         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7554         (NO_TEST_INLINE): Update value.
7555         (ERRNO_UNCHANGED): Likewise.
7556         (ERRNO_EDOM): Likewise.
7557         (ERRNO_ERANGE): Likewise.
7558         (IGNORE_RESULT): Likewise.
7559         (check_float_internal): Check signs of NaN results if
7560         TEST_NAN_SIGN used.
7561         (check_complex): Pass TEST_NAN_SIGN flag through to second
7562         check_float_internal call.
7563         (copysign_test_data): Add tests with quiet NaNs as second
7564         argument.  Use TEST_NAN_SIGN.
7565         (fabs_test_data): Add test of negative quiet NaN argument.  Use
7566         TEST_NAN_SIGN.
7567         (signbit_test_data): Add tests of quiet NaN argument.
7568         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7570         * math/gen-libm-test.pl (show_exceptions): Take extra argument
7571         $ignore_result.
7572         (parse_args): Handle function results specified as IGNORE.
7573         * math/libm-test.inc (IGNORE_RESULT): New macro.
7574         (check_float_internal): Do not check numerical result if flag
7575         IGNORE_RESULT set.
7576         (check_complex): Pass through IGNORE_RESULT to second
7577         check_float_internal call.
7578         (check_int): Do not check numerical result if flag IGNORE_RESULT
7579         set.
7580         (check_long): Likewise.
7581         (check_bool): Likewise.
7582         (check_longlong): Likewise.
7583         (lrint_test_data): Add tests of infinite and NaN arguments.
7584         (lrint_tonearest_test_data): Likewise.
7585         (lrint_towardzero_test_data): Likewise.
7586         (lrint_downward_test_data): Likewise.
7587         (lrint_upward_test_data): Likewise.
7588         (llrint_test_data): Likewise.
7589         (llrint_tonearest_test_data): Likewise.
7590         (llrint_towardzero_test_data): Likewise.
7591         (llrint_downward_test_data): Likewise.
7592         (llrint_upward_test_data): Likewise.
7593         (lround_test_data): Likewise.
7594         (llround_test_data): Likewise.
7596         * math/libm-test.inc (NO_TEST_INLINE): New macro.
7597         (ERRNO_UNCHANGED): Update value.
7598         (ERRNO_EDOM): Likewise.
7599         (ERRNO_ERANGE): Likewise.
7600         (NO_TEST_INLINE_FLOAT): New macro.
7601         (NO_TEST_INLINE_DOUBLE): Likewise.
7602         (enable_test): New function.
7603         (RUN_TEST_f_f): Check enable_test before running test.
7604         (RUN_TEST_2_f): Likewise.
7605         (RUN_TEST_fff_f): Likewise.
7606         (RUN_TEST_c_f): Likewise.
7607         (RUN_TEST_f_f1): Likewise.
7608         (RUN_TEST_fF_f1): Likewise.
7609         (RUN_TEST_fI_f1): Likewise.
7610         (RUN_TEST_ffI_f1): Likewise.
7611         (RUN_TEST_c_c): Likewise.
7612         (RUN_TEST_cc_c): Likewise.
7613         (RUN_TEST_f_i): Likewise.
7614         (RUN_TEST_f_i_tg): Likewise.
7615         (RUN_TEST_ff_i_tg): Likewise.
7616         (RUN_TEST_f_b): Likewise.
7617         (RUN_TEST_f_b_tg): Likewise.
7618         (RUN_TEST_f_l): Likewise.
7619         (RUN_TEST_f_L): Likewise.
7620         (RUN_TEST_fFF_11): Likewise.
7621         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7622         conditionals.
7623         (cosh_test_data): Likewise.
7624         (exp_test_data): Likewise.
7625         (expm1_test_data): Likewise.
7626         (hypot_test_data): Likewise.
7627         (pow_test_data): Likewise.
7628         (sinh_test_data): Likewise.
7629         (tanh_test_data): Likewise.
7630         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7631         flags argument.
7633         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7634         tests with quiet NaN input and output.
7635         (acosh_test_data): Likewise.
7636         (asin_test_data): Likewise.
7637         (asinh_test_data): Likewise.
7638         (atan_test_data): Likewise.
7639         (atanh_test_data): Likewise.
7640         (atan2_test_data): Likewise.
7641         (cbrt_test_data): Likewise.
7642         (cos_test_data): Likewise.
7643         (cosh_test_data): Likewise.
7644         (erf_test_data): Likewise.
7645         (erfc_test_data): Likewise.
7646         (exp_test_data): Likewise.
7647         (exp10_test_data): Likewise.
7648         (exp2_test_data): Likewise.
7649         (expm1_test_data): Likewise.
7650         (hypot_test_data): Likewise.
7651         (j0_test_data): Likewise.
7652         (j1_test_data): Likewise.
7653         (jn_test_data): Likewise.
7654         (lgamma_test_data): Likewise.
7655         (log_test_data): Likewise.
7656         (log10_test_data): Likewise.
7657         (log1p_test_data): Likewise.
7658         (log2_test_data): Likewise.
7659         (pow_test_data): Likewise.
7660         (scalb_test_data): Likewise.
7661         (sin_test_data): Likewise.
7662         (sincos_test_data): Likewise.
7663         (sinh_test_data): Likewise.
7664         (tan_test_data): Likewise.
7665         (tanh_test_data): Likewise.
7666         (tgamma_test_data): Likewise.
7667         (y0_test_data): Likewise.
7668         (y1_test_data): Likewise.
7669         (yn_test_data): Likewise.
7671         [BZ #16167]
7672         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7673         argument being NaN and avoid computations with second argument in
7674         that case.
7675         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7676         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7677         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7679 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
7681         * locale/iso-639.def: Add Chitwani Tharu (the).
7683 2013-11-14  Andreas Schwab  <schwab@suse.de>
7685         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7686         word instead of empty string.
7688 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7691         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7693         (__fe_nomask_env): Likewise.
7695 2013-11-13  Steve Ellcey  <sellcey@mips.com>
7697         * benchtests/bench-timing.h: Include time.h.
7699 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
7701         [BZ #15997]
7702         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7703         to 3.4.0 for x32.
7704         * sysdeps/unix/sysv/linux/configure: Regenerated.
7706 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
7708         [BZ #16151]
7709         * stdlib/strtod_l.c (round_and_return): Do not consider
7710         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7711         exponent one less than half the least subnormal exponent.
7712         * stdlib/test-strtod-round-data: Add more tests.
7713         * stdlib/tst-strtod-round.c (tests): Regenerated.
7715 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7717         [BZ #14143]
7718         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7719         (__fe_mask_env): Likewise.
7720         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7721         libm_hidden_proto and add function prototype.
7722         (__fe_mask_env): Add function prototype.
7723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7724         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7726         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7728         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7730 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7732         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7733         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7735 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7737         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7738         of htab_find_slot().
7740 2013-11-11  David S. Miller  <davem@davemloft.net>
7742         [BZ #16150]
7743         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7744         symbol in the non-vis3 case in static builds.
7745         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7746         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7747         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7748         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7750 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7752         [BZ #387]
7753         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7754         it is empty.
7756 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7758         * benchtests/Makefile: Add bench-strtod.
7759         * benchtests/bench-strtod.c: New file: strtod benchtest
7761 2013-11-11  Andreas Schwab  <schwab@suse.de>
7763         [BZ #16153]
7764         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7765         terminating NUL in key length.
7767 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7769         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7770         Add artificial ODP entry for vDSO symbol for PPC64.
7771         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7772         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7774 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7776         [BZ #15374]
7777         * nss/getent.c (services_keys): Recognize services starting with digit.
7779 2013-11-06  David S. Miller  <davem@davemloft.net>
7781         [BZ #15985]
7782         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7783         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7785 2013-11-06  Will Newton  <will.newton@linaro.org>
7787         * manual/memory.texi (Malloc Examples): Remove register
7788         keyword from examples.
7790 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
7792         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7794 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
7796         [BZ #6981]
7797         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7798         depending on [__GCC_IEC_559 > 0].
7799         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7800         depending on [__GCC_IEC_559_COMPLEX > 0].
7802 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
7804         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7805         to iso-639.def.
7807 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
7809         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7811 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
7813         [BZ #16112]
7814         * malloc/malloc (malloc_info): Do not handle first bin as
7815         special case.
7817 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
7819         * locale/iso-639.def: Add Central Nahuatl (nhn).
7821 2013-11-01  Bruno Haible  <bruno@clisp.org>
7823         [BZ #7003]
7824         * manual/math.texi (BSD Random): Specify range upper bound as
7825         in POSIX.
7827 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
7829         * locale/iso-639.def: Add Meadow Mari (mhr).
7831 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
7833         [BZ #14752], [BZ #15763]
7834         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7835         Validate name.
7836         * rt/tst_shm.c: Add test for escaping directory.
7838 2013-10-31  Andreas Schwab  <schwab@suse.de>
7840         [BZ #15917]
7841         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7842         followed by 'x' as part of digit sequence.
7843         * stdio-common/tst-sscanf.c (double_tests2): New tests.
7845 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7847         [BZ #16037]
7848         * configure.ac: allow GNU Make 4.0 and greater.
7849         * configure: Regenerated.
7851 2013-10-30  Will Newton  <will.newton@linaro.org>
7853         [BZ #16038]
7854         * malloc/hooks.c (memalign_check): Limit alignment to the
7855         maximum representable power of two.
7856         * malloc/malloc.c (__libc_memalign): Likewise.
7857         * malloc/tst-memalign.c (do_test): Add test for very
7858         large alignment values.
7859         * malloc/tst-posix_memalign.c (do_test): Likewise.
7861 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7863         [BZ #11087]
7864         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7865         (munmap_chunk): Likewise.
7866         (mremap_chunk): Likewise.
7868 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7870         [BZ #15799]
7871         * stdlib/div.c (div): Remove obsolete code.
7872         * stdlib/ldiv.c (ldiv): Likewise.
7873         * stdlib/lldiv.c (lldiv): Likewise.
7875 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7877         [BZ #16071]
7878         * nss/nss_files/files-XXX.c (get_contents_ret): New
7879         enumerator.
7880         (get_contents): New function.
7881         (internal_getent): Use it.  Expand size of LINEBUFLEN.
7883 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
7885         * configure.in: Moved to ...
7886         * configure.ac: ... here. Change reference to configure.in
7887         to configure.ac.
7888         * sysdeps/arm/preconfigure.ac: ... here.
7889         configure.in to configure.ac.
7890         * sysdeps/gnu/configure.in: Moved to ...
7891         * sysdeps/gnu/configure.ac: ... here.
7892         * sysdeps/i386/configure.in: Moved to ...
7893         * sysdeps/i386/configure.ac: ... here.
7894         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7895         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7896         * sysdeps/mach/configure.in: Moved to ...
7897         * sysdeps/mach/configure.ac: ... here.
7898         * sysdeps/mach/hurd/configure.in: Moved to ...
7899         * sysdeps/mach/hurd/configure.ac: ... here.
7900         * sysdeps/powerpc/configure.in: Moved to ...
7901         * sysdeps/powerpc/configure.ac: ... here.
7902         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7903         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7904         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7905         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7906         * sysdeps/s390/s390-32/configure.in: Moved to ...
7907         * sysdeps/s390/s390-32/configure.ac: ... here.
7908         * sysdeps/s390/s390-64/configure.in: Moved to ...
7909         * sysdeps/s390/s390-64/configure.ac: ... here.
7910         * sysdeps/sh/configure.in: Moved to ...
7911         * sysdeps/sh/configure.ac: ... here.
7912         * sysdeps/sparc/configure.in: Moved to ...
7913         * sysdeps/sparc/configure.ac: ... here.
7914         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7915         * sysdeps/unix/sysv/linux/configure.ac: ... here.
7916         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7917         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7918         * sysdeps/x86_64/configure.in: Moved to ...
7919         * sysdeps/x86_64/configure.ac: ... here.
7920         * sysdeps/x86_64/preconfigure.in: Moved to ...
7921         * sysdeps/x86_64/preconfigure.ac: ... here.
7922         * aclocal.m4: Change reference to configure.in to configure.ac.
7923         * config.h.in: Likewise.
7924         * manual/install.texi: Likewise.
7925         * manual/maint.texi: Likewise.
7926         * Makefile: Likewise.
7927         * malloc/Makefile: Likewise.
7928         * nscd/Makefile: Likewise.
7929         * Makeconfig: Change reference to configure.in and
7930         preconfigure.in to configure.ac and preconfigure.ac
7931         respectively.
7932         * INSTALL: Regenerated.
7933         * configure: Likewise.
7934         * sysdeps/gnu/configure: Likewise.
7935         * sysdeps/i386/configure: Likewise.
7936         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7937         * sysdeps/mach/configure: Likewise.
7938         * sysdeps/mach/hurd/configure: Likewise.
7939         * sysdeps/powerpc/configure: Likewise.
7940         * sysdeps/powerpc/powerpc32/configure: Likewise.
7941         * sysdeps/powerpc/powerpc64/configure: Likewise.
7942         * sysdeps/s390/s390-32/configure: Likewise.
7943         * sysdeps/s390/s390-64/configure: Likewise.
7944         * sysdeps/sh/configure: Likewise.
7945         * sysdeps/sparc/configure: Likewise.
7946         * sysdeps/unix/sysv/linux/configure: Likewise.
7947         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7948         * sysdeps/x86_64/configure: Likewise.
7949         * sysdeps/x86_64/preconfigure: Likewise.
7951 2013-10-29  Andreas Schwab  <schwab@suse.de>
7953         * stdio-common/Makefile (tst-swscanf-ENV): Define.
7955 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7957         * benchtests/pow-inputs: Add new inputs.
7959         * benchtests/exp-inputs: Add new inputs.
7961         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7962         conditional check for return value.
7963         (__cos32): Likewise.
7965 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7967         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7968         to provide a boost for large inputs with word alignment.
7969         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7970         implementation based on optimized PPC64 strcpy.
7971         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7972         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7973         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7974         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7976 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7978         [BZ #2801]
7979         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7981 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7983         [BZ #14876]
7984         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7985         * time/tst-strptime.c (day_tests): Add testcase.
7987 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7989         [BZ #14029]
7990         * manual/pattern.texi: Acknowledge that fnmatch can fail.
7992 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
7994         [BZ #16074]
7995         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7996         MAP_FAILED on error.
7998 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8000         [BZ #16072]
8001         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8002         heap for large requests.
8004 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
8006         [BZ #9954]
8007         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8008         result if the result has no associated interface.
8009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8010         interface for all 127.X.Y.Z addresses.
8012 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
8014         * locale/iso-639.def: Add Ligurian (lij)
8016 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
8018         [BZ #15825]
8019         * sunrpc/rpc_main.c: Document rpcgen -5.
8021 2013-10-19  Michael Stahl  <mstahl@redhat.com>
8023         * elf/rtld.c (do_preload): Print the reason why preloading failed.
8025 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8027         [BZ #10278]
8028         * posix/glob.c: Match only directories when trailing slash is present.
8029         * posix/tst-gnuglob.c (my_opendir): Do not open files.
8030         (main): Add testcase.
8032 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
8034         [BZ #15670]
8035         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8037 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
8039         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8040         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8041         AUTH_DES and cindex for FIPS 140-2.
8042         (DES Encryption): Add cindex FIPS 46-3.
8044         * locale/locarchive.h (struct locarhandle): Add fname.
8045         * locale/programs/localedef.c (main): Pass ARGV[remaining]
8046         if an optional argument was specified to --list-archive,
8047         otherwise NULL.
8048         * locale/programs/locarchive.c (show_archive_content): Take new
8049         argument fname and pass it via ah.fname to open_archive.
8050         * locale/programs/localedef.h: Update decl.
8051         (open_archive): If AH->fname is non-null, open that file
8052         rather than the default file name, and don't ignore ENOENT.
8053         (create_archive): Set AH.fname to NULL.
8054         (delete_locales_from_archive): Likewise.
8055         (add_locales_to_archive): Likewise.
8056         * locale/programs/locfile.c (write_all_categories): Likewise.
8058 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
8059             Aldy Hernandez  <aldyh@redhat.com>
8061         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8062         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8063         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8064         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8065         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8066         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8067         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8068         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8069         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8070         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8071         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8072         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8073         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8074         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8075         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8076         Likewise.
8077         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8078         Likewise.
8079         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8080         Likewise.
8081         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8082         Likewise.
8083         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8084         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8085         Likewise.
8086         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8087         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8088         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8089         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8090         Likewise.
8091         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8092         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8093         * sysdeps/powerpc/preconfigure: Likewise.
8094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8095         Likewise.
8096         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8097         Replace contents of file by #include of <fenv_libc.h>.
8098         * sysdeps/powerpc/soft-fp/sfp-machine.h
8099         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8100         and <sys/prctl.h>.
8101         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8102         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8105         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8106         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8108         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8109         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8110         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8111         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8112         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8114         Allow copysignl PLT reference to be missing.
8116 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
8117             Joseph Myers  <joseph@codesourcery.com
8119         [BZ #15948]
8120         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8121         single character.
8122         (add_to_tablewc): Assert sequence of wide characters is nonempty.
8124 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8126         * elf/tst-tls-dlinfo.c: Don't include tls.h.
8127         * elf/tst-tls1.c: Likewise.
8128         * elf/tst-tls10.h: Likewise.
8129         * elf/tst-tls14.c: Likewise.
8130         * elf/tst-tls2.c: Likewise.
8131         * elf/tst-tls3.c: Likewise.
8132         * elf/tst-tls4.c: Likewise.
8133         * elf/tst-tls5.c: Likewise.
8134         * elf/tst-tls6.c: Likewise.
8135         * elf/tst-tls7.c: Likewise.
8136         * elf/tst-tls8.c: Likewise.
8137         * elf/tst-tls9.c: Likewise.
8138         * elf/tst-tlsmod1.c: Likewise.
8139         * elf/tst-tlsmod13.c: Likewise.
8140         * elf/tst-tlsmod13a.c: Likewise.
8141         * elf/tst-tlsmod14a.c: Likewise.
8142         * elf/tst-tlsmod16a.c: Likewise.
8143         * elf/tst-tlsmod16b.c: Likewise.
8144         * elf/tst-tlsmod2.c: Likewise.
8145         * elf/tst-tlsmod3.c: Likewise.
8146         * elf/tst-tlsmod4.c: Likewise.
8147         * elf/tst-tlsmod5.c: Likewise.
8148         * elf/tst-tlsmod6.c: Likewise.
8150 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
8152         [BZ #12486]
8153         * malloc/malloc.c: remove checks for statistics.
8155 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8157         [BZ #15277]
8158         * inet/inet_net.c (inet_network): Detect additional invalid strings.
8159         * inet/tst-network.c: Add testcase.
8161 2013-10-17  Andreas Schwab  <schwab@suse.de>
8163         [BZ #15218]
8164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8165         to determine canonical name.
8167 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
8169         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8170         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8171         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8172         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8173         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8174         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8175         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8176         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8177         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8178         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8179         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8180         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8181         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8182         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8183         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8184         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8185         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8186         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8187         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8188         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8189         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8190         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8191         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8192         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8193         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8194         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8195         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8196         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8197         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8198         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8199         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8200         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8201         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8202         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8203         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8204         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8205         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8206         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8207         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8208         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8209         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8210         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8211         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8212         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8213         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8214         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8215         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8216         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8217         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8218         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8219         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8220         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8221         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8222         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8223         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8224         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8225         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8226         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8228 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
8230         [BZ #16041]
8231         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8232         make result into a quiet NaN.
8234 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
8236         * soft-fp/adddf3.c: Fix horizontal whitespace.
8237         * soft-fp/addsf3.c: Likewise.
8238         * soft-fp/addtf3.c: Likewise.
8239         * soft-fp/divdf3.c: Likewise.
8240         * soft-fp/divsf3.c: Likewise.
8241         * soft-fp/divtf3.c: Likewise.
8242         * soft-fp/double.h: Likewise.
8243         * soft-fp/eqdf2.c: Likewise.
8244         * soft-fp/eqsf2.c: Likewise.
8245         * soft-fp/eqtf2.c: Likewise.
8246         * soft-fp/extenddftf2.c: Likewise.
8247         * soft-fp/extended.h: Likewise.
8248         * soft-fp/extendsfdf2.c: Likewise.
8249         * soft-fp/extendsftf2.c: Likewise.
8250         * soft-fp/extendxftf2.c: Likewise.
8251         * soft-fp/fixdfdi.c: Likewise.
8252         * soft-fp/fixdfsi.c: Likewise.
8253         * soft-fp/fixdfti.c: Likewise.
8254         * soft-fp/fixsfdi.c: Likewise.
8255         * soft-fp/fixsfsi.c: Likewise.
8256         * soft-fp/fixsfti.c: Likewise.
8257         * soft-fp/fixtfdi.c: Likewise.
8258         * soft-fp/fixtfsi.c: Likewise.
8259         * soft-fp/fixtfti.c: Likewise.
8260         * soft-fp/fixunsdfdi.c: Likewise.
8261         * soft-fp/fixunsdfsi.c: Likewise.
8262         * soft-fp/fixunsdfti.c: Likewise.
8263         * soft-fp/fixunssfdi.c: Likewise.
8264         * soft-fp/fixunssfsi.c: Likewise.
8265         * soft-fp/fixunssfti.c: Likewise.
8266         * soft-fp/fixunstfdi.c: Likewise.
8267         * soft-fp/fixunstfsi.c: Likewise.
8268         * soft-fp/fixunstfti.c: Likewise.
8269         * soft-fp/floatdidf.c: Likewise.
8270         * soft-fp/floatdisf.c: Likewise.
8271         * soft-fp/floatditf.c: Likewise.
8272         * soft-fp/floatsidf.c: Likewise.
8273         * soft-fp/floatsisf.c: Likewise.
8274         * soft-fp/floatsitf.c: Likewise.
8275         * soft-fp/floattidf.c: Likewise.
8276         * soft-fp/floattisf.c: Likewise.
8277         * soft-fp/floattitf.c: Likewise.
8278         * soft-fp/floatundidf.c: Likewise.
8279         * soft-fp/floatundisf.c: Likewise.
8280         * soft-fp/floatunditf.c: Likewise.
8281         * soft-fp/floatunsidf.c: Likewise.
8282         * soft-fp/floatunsisf.c: Likewise.
8283         * soft-fp/floatunsitf.c: Likewise.
8284         * soft-fp/floatuntidf.c: Likewise.
8285         * soft-fp/floatuntisf.c: Likewise.
8286         * soft-fp/floatuntitf.c: Likewise.
8287         * soft-fp/fmadf4.c: Likewise.
8288         * soft-fp/fmasf4.c: Likewise.
8289         * soft-fp/fmatf4.c: Likewise.
8290         * soft-fp/gedf2.c: Likewise.
8291         * soft-fp/gesf2.c: Likewise.
8292         * soft-fp/getf2.c: Likewise.
8293         * soft-fp/ledf2.c: Likewise.
8294         * soft-fp/lesf2.c: Likewise.
8295         * soft-fp/letf2.c: Likewise.
8296         * soft-fp/muldf3.c: Likewise.
8297         * soft-fp/mulsf3.c: Likewise.
8298         * soft-fp/multf3.c: Likewise.
8299         * soft-fp/negdf2.c: Likewise.
8300         * soft-fp/negsf2.c: Likewise.
8301         * soft-fp/negtf2.c: Likewise.
8302         * soft-fp/op-1.h: Likewise.
8303         * soft-fp/op-2.h: Likewise.
8304         * soft-fp/op-4.h: Likewise.
8305         * soft-fp/op-8.h: Likewise.
8306         * soft-fp/op-common.h: Likewise.
8307         * soft-fp/quad.h: Likewise.
8308         * soft-fp/single.h: Likewise.
8309         * soft-fp/soft-fp.h: Likewise.
8310         * soft-fp/sqrtdf2.c: Likewise.
8311         * soft-fp/sqrtsf2.c: Likewise.
8312         * soft-fp/sqrttf2.c: Likewise.
8313         * soft-fp/subdf3.c: Likewise.
8314         * soft-fp/subsf3.c: Likewise.
8315         * soft-fp/subtf3.c: Likewise.
8316         * soft-fp/truncdfsf2.c: Likewise.
8317         * soft-fp/trunctfdf2.c: Likewise.
8318         * soft-fp/trunctfsf2.c: Likewise.
8319         * soft-fp/trunctfxf2.c: Likewise.
8320         * soft-fp/unorddf2.c: Likewise.
8321         * soft-fp/unordsf2.c: Likewise.
8322         * soft-fp/unordtf2.c: Likewise.
8324 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
8326         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8327         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8329 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
8331         * elf/dl-libc.c: Clear initfini list after freeing.
8333 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
8335         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8336         * soft-fp/addsf3.c: Likewise.
8337         * soft-fp/addtf3.c: Likewise.
8338         * soft-fp/divdf3.c: Likewise.
8339         * soft-fp/divsf3.c: Likewise.
8340         * soft-fp/divtf3.c: Likewise.
8341         * soft-fp/double.h: Likewise.
8342         * soft-fp/eqdf2.c: Likewise.
8343         * soft-fp/eqsf2.c: Likewise.
8344         * soft-fp/eqtf2.c: Likewise.
8345         * soft-fp/extenddftf2.c: Likewise.
8346         * soft-fp/extended.h: Likewise.
8347         * soft-fp/extendsfdf2.c: Likewise.
8348         * soft-fp/extendsftf2.c: Likewise.
8349         * soft-fp/extendxftf2.c: Likewise.
8350         * soft-fp/fixdfdi.c: Likewise.
8351         * soft-fp/fixdfsi.c: Likewise.
8352         * soft-fp/fixdfti.c: Likewise.
8353         * soft-fp/fixsfdi.c: Likewise.
8354         * soft-fp/fixsfsi.c: Likewise.
8355         * soft-fp/fixsfti.c: Likewise.
8356         * soft-fp/fixtfdi.c: Likewise.
8357         * soft-fp/fixtfsi.c: Likewise.
8358         * soft-fp/fixtfti.c: Likewise.
8359         * soft-fp/fixunsdfdi.c: Likewise.
8360         * soft-fp/fixunsdfsi.c: Likewise.
8361         * soft-fp/fixunsdfti.c: Likewise.
8362         * soft-fp/fixunssfdi.c: Likewise.
8363         * soft-fp/fixunssfsi.c: Likewise.
8364         * soft-fp/fixunssfti.c: Likewise.
8365         * soft-fp/fixunstfdi.c: Likewise.
8366         * soft-fp/fixunstfsi.c: Likewise.
8367         * soft-fp/fixunstfti.c: Likewise.
8368         * soft-fp/floatdidf.c: Likewise.
8369         * soft-fp/floatdisf.c: Likewise.
8370         * soft-fp/floatditf.c: Likewise.
8371         * soft-fp/floatsidf.c: Likewise.
8372         * soft-fp/floatsisf.c: Likewise.
8373         * soft-fp/floatsitf.c: Likewise.
8374         * soft-fp/floattidf.c: Likewise.
8375         * soft-fp/floattisf.c: Likewise.
8376         * soft-fp/floattitf.c: Likewise.
8377         * soft-fp/floatundidf.c: Likewise.
8378         * soft-fp/floatundisf.c: Likewise.
8379         * soft-fp/floatunsidf.c: Likewise.
8380         * soft-fp/floatunsisf.c: Likewise.
8381         * soft-fp/floatuntidf.c: Likewise.
8382         * soft-fp/floatuntisf.c: Likewise.
8383         * soft-fp/floatuntitf.c: Likewise.
8384         * soft-fp/fmadf4.c: Likewise.
8385         * soft-fp/fmasf4.c: Likewise.
8386         * soft-fp/fmatf4.c: Likewise.
8387         * soft-fp/gedf2.c: Likewise.
8388         * soft-fp/gesf2.c: Likewise.
8389         * soft-fp/getf2.c: Likewise.
8390         * soft-fp/ledf2.c: Likewise.
8391         * soft-fp/lesf2.c: Likewise.
8392         * soft-fp/letf2.c: Likewise.
8393         * soft-fp/muldf3.c: Likewise.
8394         * soft-fp/mulsf3.c: Likewise.
8395         * soft-fp/multf3.c: Likewise.
8396         * soft-fp/negdf2.c: Likewise.
8397         * soft-fp/negsf2.c: Likewise.
8398         * soft-fp/negtf2.c: Likewise.
8399         * soft-fp/op-1.h: Likewise.
8400         * soft-fp/op-2.h: Likewise.
8401         * soft-fp/op-4.h: Likewise.
8402         * soft-fp/op-8.h: Likewise.
8403         * soft-fp/op-common.h: Likewise.
8404         * soft-fp/quad.h: Likewise.
8405         * soft-fp/single.h: Likewise.
8406         * soft-fp/soft-fp.h: Likewise.
8407         * soft-fp/sqrtdf2.c: Likewise.
8408         * soft-fp/sqrtsf2.c: Likewise.
8409         * soft-fp/sqrttf2.c: Likewise.
8410         * soft-fp/subdf3.c: Likewise.
8411         * soft-fp/subsf3.c: Likewise.
8412         * soft-fp/subtf3.c: Likewise.
8413         * soft-fp/truncdfsf2.c: Likewise.
8414         * soft-fp/trunctfdf2.c: Likewise.
8415         * soft-fp/trunctfsf2.c: Likewise.
8416         * soft-fp/trunctfxf2.c: Likewise.
8417         * soft-fp/unorddf2.c: Likewise.
8418         * soft-fp/unordsf2.c: Likewise.
8419         * soft-fp/unordtf2.c: Likewise.
8421 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
8423         [BZ #15672]
8424         * misc/error.c (error_tail): Fix possible buffer overflow.
8426 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
8428         [BZ #13028]
8429         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8430         address.
8432 2013-10-14  P. J. McDermott  <pj@pehjota.net>
8434         [BZ #832]
8435         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
8436         testing pipefail option.
8438 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8440         * soft-fp/double.h: Indent preprocessor directives inside #if.
8441         * soft-fp/extended.h: Likewise.
8442         * soft-fp/op-2.h: Likewise.
8443         * soft-fp/op-4.h: Likewise.
8444         * soft-fp/op-common.h: Likewise.
8445         * soft-fp/quad.h: Likewise.
8446         * soft-fp/single.h: Likewise.
8447         * soft-fp/soft-fp.h: Likewise.
8449 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
8451         * iconv/iconv_prog.c: Fix typos.
8452         * stdio-common/psiginfo-data.h: Likewise.
8454 2013-10-12   Reuben Thomas <rrt@sc3d.org>
8456         [BZ #15764]
8457         * locale/setlocale.c: Fix typo.
8459 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8461         [BZ #16036]
8462         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8463         signaling NaN arguments.
8464         * soft-fp/unordsf2.c (__unordsf2): Likewise.
8465         * soft-fp/unordtf2.c (__unordtf2): Likewise.
8467         [BZ #14910]
8468         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8469         unordered operands.
8470         * soft-fp/gesf2.c (__gesf2): Likewise.
8471         * soft-fp/getf2.c (__getf2): Likewise.
8472         * soft-fp/ledf2.c (__ledf2): Likewise.
8473         * soft-fp/lesf2.c (__lesf2): Likewise.
8474         * soft-fp/letf2.c (__letf2): Likewise.
8476         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8477         * soft-fp/eqsf2.c (__eqsf2): Likewise.
8478         * soft-fp/eqtf2.c (__eqtf2): Likewise.
8479         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8480         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8481         * soft-fp/fixdfti.c (__fixdfti): Likewise.
8482         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8483         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8484         * soft-fp/fixsfti.c (__fixsfti): Likewise.
8485         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8486         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8487         * soft-fp/fixtfti.c (__fixtfti): Likewise.
8488         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8489         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8490         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8491         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8492         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8493         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8494         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8495         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8496         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8497         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8498         * soft-fp/floatdisf.c (__floatdisf): Likewise.
8499         * soft-fp/floatsisf.c (__floatsisf): Likewise.
8500         * soft-fp/floattidf.c (__floattidf): Likewise.
8501         * soft-fp/floattisf.c (__floattisf): Likewise.
8502         * soft-fp/floattitf.c (__floattitf): Likewise.
8503         * soft-fp/floatundidf.c (__floatundidf): Likewise.
8504         * soft-fp/floatundisf.c (__floatundisf): Likewise.
8505         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8506         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8507         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8508         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8509         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8510         * soft-fp/gesf2.c (__gesf2): Likewise.
8511         * soft-fp/getf2.c (__getf2): Likewise.
8512         * soft-fp/ledf2.c (__ledf2): Likewise.
8513         * soft-fp/lesf2.c (__lesf2): Likewise.
8514         * soft-fp/letf2.c (__letf2): Likewise.
8516         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8517         Undefine and redefine.
8518         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8519         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8520         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8521         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8522         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8523         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8524         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8525         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8526         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8527         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8528         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8529         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8530         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8531         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8532         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8534         [BZ #16032]
8535         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8536         without decrementing exponent if mantissa >= that for the
8537         denominator, not >.
8538         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8539         denominator, not >.  Decrement exponent in < case instead of
8540         incrementing in >= case.
8541         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8542         without decrementing exponent if mantissa >= that for the
8543         denominator, not >.
8545         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8546         computing saturated result for unsigned overflow.
8548 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8549             Jeff Law  <law@redhat.com>
8551         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8552         (atan2Mp): Add systemtap probe marker.
8553         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8554         (__ieee754_log): Add systemtap probe marker.
8555         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8556         (atanMp): Add systemtap probe marker.
8557         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8558         (tanMp): Add systemtap probe marker.
8559         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8560         (__slowexp): Add systemtap probe marker.
8561         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8562         (__slowpow): Add systemtap probe marker.
8563         * manual/probes.texi: Document probes.
8565 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
8567         [BZ #15362]
8568         * libio/fileops.c (_IO_new_file_write): Return count of bytes
8569         written.
8570         (_IO_new_file_xsputn): Don't return EOF if nothing has been
8571         written.
8572         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8573         written to buffer but not flushed.
8574         * libio/iofwrite_u.c:  Likewise.
8575         * libio/iopadn.c:  Return bytes returned even if EOF was
8576         encountered.
8577         * libio/iowpadn.c:  Likewise.
8578         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8579         if _IO_padn does not write the whole buffer.
8580         [!COMPILE_WPRINTF] (PAD): Likewise.
8582 2013-10-10  David S. Miller  <davem@davemloft.net>
8584         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8585         directory block.
8587 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8589         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
8590         instead of FSF address.
8591         * soft-fp/fixdfti.c: Likewise.
8592         * soft-fp/fixsfti.c: Likewise.
8593         * soft-fp/fixtfti.c: Likewise.
8594         * soft-fp/fixunsdfti.c: Likewise.
8595         * soft-fp/fixunssfti.c: Likewise.
8596         * soft-fp/fixunstfti.c: Likewise.
8597         * soft-fp/floattidf.c: Likewise.
8598         * soft-fp/floattisf.c: Likewise.
8599         * soft-fp/floattitf.c: Likewise.
8600         * soft-fp/floatuntidf.c: Likewise.
8601         * soft-fp/floatuntisf.c: Likewise.
8602         * soft-fp/floatuntitf.c: Likewise.
8603         * soft-fp/trunctfxf2.c: Likewise.
8605         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
8606         * soft-fp/fixdfti.c: Likewise.
8607         * soft-fp/fixsfti.c: Likewise.
8608         * soft-fp/fixtfti.c: Likewise.
8609         * soft-fp/fixunsdfti.c: Likewise.
8610         * soft-fp/fixunssfti.c: Likewise.
8611         * soft-fp/fixunstfti.c: Likewise.
8612         * soft-fp/floattidf.c: Likewise.
8613         * soft-fp/floattisf.c: Likewise.
8614         * soft-fp/floattitf.c: Likewise.
8615         * soft-fp/floatuntidf.c: Likewise.
8616         * soft-fp/floatuntisf.c: Likewise.
8617         * soft-fp/floatuntitf.c: Likewise.
8618         * soft-fp/trunctfxf2.c: Likewise.
8620 2013-10-10  David S. Miller  <davem@davemloft.net>
8622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8624 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
8626         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8627         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8628         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8629         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8630         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8631         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8632         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8634         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8635         for NaNs before doing comparisons on argument.
8636         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8637         Likewise.
8639 2013-10-10  Will Newton  <will.newton@linaro.org>
8641         * malloc/hooks.c (memalign_check): Ensure the value of bytes
8642         passed to _int_memalign does not overflow.
8644 2013-10-10  Torvald Riegel  <triegel@redhat.com>
8646         * scripts/bench.pl: Add include-sources directive.
8647         * benchtests/README: Update documentation.
8649 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8651         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8652         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8653         instead of FP_INIT_ROUNDMODE.
8654         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8655         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8657         [BZ #16034]
8658         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
8659         copy class of input value.
8660         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
8661         not handle exceptions.
8662         * soft-fp/negsf2.c (__negsf2): Likewise.
8663         * soft-fp/negtf2.c (__negtf2): Likewise.
8664         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8666 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
8668         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8669         semicolon.  From Linux kernel.
8671 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
8673         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8675 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
8677         [BZ #156]
8678         * manual/socket.texi: Added statement about buffer
8679         for gethostbyname2_r.
8681 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
8683         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8684         Use .p2align directive instead, throughout.
8685         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8686         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8687         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8688         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8689         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8690         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8691         * sysdeps/x86_64/strchr.S: Likewise.
8692         * sysdeps/x86_64/strrchr.S: Likewise.
8694 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8696         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8698         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8700         * sysdeps/generic/math_private.h (__mpsin1): Remove
8701         declaration.
8702         (__mpcos1): Likewise.
8703         (__mpsin): New argument __range_reduce.
8704         (__mpcos): Likewise.
8705         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8706         (slow): Use __mpsin and __mpcos.
8707         (slow1): Likewise.
8708         (slow2): Likewise.
8709         (sloww): Likewise.
8710         (sloww1): Likewise.
8711         (sloww2): Likewise.
8712         (bsloww): Likewise.
8713         (bsloww1): Likewise.
8714         (bsloww2): Likewise.
8715         (cslow2): Likewise.
8716         (csloww): Likewise.
8717         (csloww1): Likewise.
8718         (csloww2): Likewise.
8719         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8720         range_reduce.  Merge in __mpsin1.
8721         (__mpcos): Likewise.
8722         (__mpsin1): Remove.
8723         (__mpcos1): Likewise.
8725 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
8727         * locale/loadlocale.c (_nl_intern_locale_data): Use
8728         LOCFILE_ALIGNED_P.
8729         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8730         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8731         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8732         obstack data is appropriately aligned.
8733         (obstack_int32_grow_fast): Likewise.
8734         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8735         * locale/programs/locfile.c (add_locale_uint32): Likewise.
8736         (add_locale_uint32_array): Likewise.
8738 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8740         * benchtests/Makefile: Remove ARGLIST and RET variables.
8741         ($(objpfx)bench-%.c): Pass only function name to the script.
8742         * benchtests/README: Update documentation.
8743         * benchtests/acos-inputs: Add new directives.
8744         * benchtests/acosh-inputs: Likewise.
8745         * benchtests/asin-inputs: Likewise.
8746         * benchtests/asinh-inputs: Likewise.
8747         * benchtests/atan-inputs: Likewise.
8748         * benchtests/atanh-inputs: Likewise.
8749         * benchtests/cos-inputs: Likewise.
8750         * benchtests/cosh-inputs: Likewise.
8751         * benchtests/exp-inputs: Likewise.
8752         * benchtests/log-inputs: Likewise.
8753         * benchtests/pow-inputs: Likewise.
8754         * benchtests/rint-inputs: Likewise.
8755         * benchtests/sin-inputs: Likewise.
8756         * benchtests/sinh-inputs: Likewise.
8757         * benchtests/tan-inputs: Likewise.
8758         * benchtests/tanh-inputs: Likewise.
8759         * scripts/bench.pl: Add support for new directives.
8761 2013-10-07  Alan Modra  <amodra@gmail.com>
8763         * README: Fix careless merge.
8765 2013-10-05  Alan Modra  <amodra@gmail.com>
8767         * NEWS: Mention powerpc64le support and bugs fixed.
8768         * README: Both big-endian and little-endian powerpc64 supported.
8770 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8772         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8773         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8774         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8775         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8777 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
8779         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8780         match prototype.
8782 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
8784         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8785         Move -mhard-float appending from
8786         ports/sysdeps/powerpc/powerpc32/Makefile.
8787         [$(with-fp) = yes] (ASFLAGS): Likewise.
8788         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8789         * sysdeps/powerpc/nofpu: Move directory from
8790         ports/sysdeps/powerpc/nofpu.
8791         * sysdeps/powerpc/soft-fp: Move directory from
8792         ports/sysdeps/powerpc/soft-fp.
8793         * sysdeps/powerpc/powerpc32/405: Move directory from
8794         ports/sysdeps/powerpc/powerpc32/405.
8795         * sysdeps/powerpc/powerpc32/440: Move directory from
8796         ports/sysdeps/powerpc/powerpc32/440.
8797         * sysdeps/powerpc/powerpc32/464: Move directory from
8798         ports/sysdeps/powerpc/powerpc32/464.
8799         * sysdeps/powerpc/powerpc32/476: Move directory from
8800         ports/sysdeps/powerpc/powerpc32/476.
8801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8802         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8804         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8806         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8808         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8810         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8811         * README: Update for powerpc-*-linux-gnu software floating point
8812         support in libc.
8814         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8815         case to powerpc/powerpc32*.
8816         * sysdeps/unix/sysv/linux/configure: Regenerated.
8818         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8819         (_FPU_MASK_OM): Define as 0x04.
8820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8822         0x00c10080.
8823         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8824         0x0000003c.
8825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8828         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8829         getcontext_e500.
8830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8831         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8832         setcontext_e500.
8833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8834         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8835         and setcontext_e500.
8837 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
8839         * locale/iso-3166.def: Update iso-1366.def and related occurrences
8841 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8843         * manual/threads.texi (Default Thread Attributes): Fix typo.
8845 2013-10-04  Will Newton  <will.newton@linaro.org>
8847         * malloc/Makefile: Add tst-memalign.
8848         * malloc/tst-memalign.c: New file.
8850         * malloc/tst-posix_memalign.c: Add comments.
8851         (do_test): Add comments and call free on all potentially
8852         allocated pointers. Add space after cast.
8854         * malloc/tst-pvalloc.c: Add comments.
8855         (do_test): Add comments and call free on all potentially
8856         allocated pointers. Remove duplicate check for NULL pointer.
8857         Add space after cast.
8859         * malloc/tst-valloc.c: Add comments.
8860         (do_test): Add comments and call free on all potentially
8861         allocated pointers. Remove duplicate check for NULL pointer.
8862         Add space after cast.
8864 2013-10-04  Alan Modra  <amodra@gmail.com>
8866         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8867         Use stdint types in rather than __attribute__((mode())).
8868         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8870 2013-10-04  Alan Modra  <amodra@gmail.com>
8872         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8873         Correct handling of unaligned relocs for little-endian.
8874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8876 2013-10-04  Alan Modra  <amodra@gmail.com>
8878         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8879         * configure: Regenerate.
8880         * nptl/shlib-versions: Powerpc*le starts at 2.18.
8881         * shlib-versions: Likewise.
8883 2013-10-04  Alan Modra  <amodra@gmail.com>
8885         * string/tester.c (test_memrchr): Increment reported test cycle.
8887 2013-10-04  Alan Modra  <amodra@gmail.com>
8889         * string/test-memcpy.c (do_one_test): When reporting errors, print
8890         string address and don't overrun end of string.
8892 2013-10-04  Alan Modra  <amodra@gmail.com>
8894         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8895         insrdi.  Make better use of reg selection to speed exit slightly.
8896         Schedule entry path a little better.  Remove useless "are we done"
8897         checks on entry to main loop.  Handle wrapping around zero address.
8898         Correct main loop count.  Handle single left-over word from main
8899         loop inline rather than by using loop_small.  Remove extra word
8900         case in loop_small caused by wrong loop count.  Add little-endian
8901         support.
8902         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8903         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
8904         cache hint.
8905         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8906         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8907         support.  Avoid rlwimi.
8908         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8910 2013-10-04  Alan Modra  <amodra@gmail.com>
8912         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8913         insrdi.  Formatting.
8914         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8915         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8916         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8917         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8918         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8919         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8921 2013-10-04  Alan Modra  <amodra@gmail.com>
8923         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8924         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8925         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8926         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8927         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8928         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8929         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8930         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8931         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
8932         use of regs.  Use power7 mtocrf.  Tidy function tails.
8934 2013-10-04  Alan Modra  <amodra@gmail.com>
8936         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8937         Formatting.  Consistently use rXXX register defines or rN defines.
8938         Use early exit labels that avoid restoring unused non-volatile regs.
8939         Make cr field use more consistent with rWORDn compares.  Rename
8940         regs used as shift registers for unaligned loop, using rN defines
8941         for short lifetime/multiple use regs.
8942         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8943         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
8944         addi 1,1,64 to pop stack frame.  Simplify return value code.
8945         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8947 2013-10-04  Alan Modra  <amodra@gmail.com>
8949         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8950         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
8951         rather than rlwimi.
8952         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8953         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8954         little-endian support.  Correct typos.
8955         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
8956         rather than rlwimi.
8957         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
8958         in loop and entry code to keep "and." results.
8959         (strchr): Add little-endian support.  Comment.  Move cntlzd
8960         earlier in tail.
8961         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8963 2013-10-04  Alan Modra  <amodra@gmail.com>
8965         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8966         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8967         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8968         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8970 2013-10-04  Alan Modra  <amodra@gmail.com>
8972         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8973         (rTMP): Define as r11.
8974         (strcmp): Add little-endian support.  Optimise tail.
8975         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8976         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8977         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8978         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8979         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8980         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8981         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8983 2013-10-04  Alan Modra  <amodra@gmail.com>
8985         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8986         little-endian support.  Remove unnecessary "are we done" tests.
8987         Handle "s" wrapping around zero and extremely large "size".
8988         Correct main loop count.  Handle single left-over word from main
8989         loop inline rather than by using small_loop.  Correct comments.
8990         Delete "zero" tail, use "end_max" instead.
8991         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8993 2013-10-04  Alan Modra  <amodra@gmail.com>
8995         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8996         support.  Don't branch over align.
8997         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8998         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8999         support.  Rearrange tmp reg use to suit.  Comment.
9000         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9002 2013-10-04  Alan Modra  <amodra@gmail.com>
9004         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9006 2013-10-04  Alan Modra  <amodra@gmail.com>
9008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9009         conditional form of branch and link when obtaining pc.
9010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9012 2013-10-04  Alan Modra  <amodra@gmail.com>
9014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9015         HIWORD/LOWORD.
9016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9019 2013-10-04  Alan Modra  <amodra@gmail.com>
9021         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9022         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9023         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9024         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9025         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9026         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9027         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9028         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9029         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9030         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9032 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9033             Alistair Popple <alistair@ozlabs.au.ibm.com>
9034             Alan Modra <amodra@gmail.com>
9036         [BZ #15723]
9037         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9038         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9039         _dl_hwcap access for little-endian.
9040         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
9041         destroy vmx regs when saving unaligned.
9042         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9043         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
9044         destroy vmx regs when saving unaligned.
9046 2013-10-04  Alan Modra  <amodra@gmail.com>
9048         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9049         Don't use a union to pack hi/low value.
9051 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9053         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9054         for little-endian.
9055         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9056         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9057         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9058         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9059         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9061 2013-10-04  Alan Modra  <amodra@gmail.com>
9063         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9064         constants to usual value for .cst8 section, and remove redundant
9065         high address load.
9066         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9067         constant for 0x1p52.  Load little-endian words of double from
9068         correct stack offsets.
9070 2013-10-04  Alan Modra  <amodra@gmail.com>
9072         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9073         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9074         words of double from correct stack offsets.
9075         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9076         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9077         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9078         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9079         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9080         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9081         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9082         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9083         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9084         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9085         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9086         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9087         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9088         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9089         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9090         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9091         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9093 2013-10-04  Alan Modra  <amodra@gmail.com>
9095         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9096         64-bit int/double union.
9097         (_FPU_SETCW): Likewise.
9098         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9099         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9101 2013-10-04  Alan Modra  <amodra@gmail.com>
9103         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9104         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9106 2013-10-04  Alan Modra  <amodra@gmail.com>
9108         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9109         use vector int constants.
9110         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9112 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9114         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9115         array with long long.
9116         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9117         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9118         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9119         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9120         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9121         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9122         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9123         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9124         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9125         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9126         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9127         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9128         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9130 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
9132         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9133         (__signbit): Likewise.  Correct for little-endian.
9134         (__signbitl): Call __signbit.
9135         (lrint): Correct for little-endian.
9136         (lrintf): Call lrint.
9138 2013-10-04  Alan Modra  <amodra@gmail.com>
9140         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9141         union 32-bit int array member with 64-bit int array.
9142         (t515, tm256): Double rather than long double.
9143         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9145 2013-10-04  Alan Modra  <amodra@gmail.com>
9147         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9148         Delete.
9149         (IEEE854_LONG_DOUBLE_BIAS): Delete.
9150         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9151         version of math_ldbl.h.
9153 2013-10-04  Alan Modra  <amodra@gmail.com>
9155         [BZ #15734], [BZ #15735]
9156         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9157         all uses of ieee875 long double macros and unions.  Simplify test
9158         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
9159         ldbl_extract_mantissa value for ix,iy exponents.  Properly
9160         normalize after ldbl_extract_mantissa, and don't add hidden bit
9161         already handled.  Don't treat low word of ieee854 mantissa like
9162         low word of IBM long double and mask off bit when testing for
9163         zero.
9164         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9165         all uses of ieee875 long double macros and unions.  Simplify tests
9166         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
9167         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
9168         two1022, instead use their values.  Recognise that tests for large
9169         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
9170         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9171         Rewrite all uses of ieee875 long double macros and unions.  Simplify
9172         test for 0.0L and nan.  Correct negation.
9173         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9174         ieee875 long double macros and unions.  Correct output for large
9175         magnitude x.  Correct absolute value calculation.
9176         (__erfcl): Likewise.
9177         * math/libm-test.inc: Add tests for errors discovered in IBM long
9178         double versions of fmodl, remainderl, erfl and erfcl.
9180 2013-10-04  Alan Modra  <amodra@gmail.com>
9182         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9183         all uses of ieee854 long double macros and unions.  Simplify tests
9184         for long doubles that are fully specified by the high double.
9185         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9186         Likewise.
9187         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9188         Remove dead code too.
9189         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9190         (__ieee754_ynl): Likewise.
9191         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9192         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9193         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9194         Remove dead code too.
9195         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9196         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9197         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9198         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9199         Simplify.
9200         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9201         Simplify.
9202         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9203         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9204         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9205         Comment on variable precision.
9206         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9207         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9208         Likewise.
9209         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9210         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9211         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9212         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9213         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9215 2013-10-04  Alan Modra  <amodra@gmail.com>
9217         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9218         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9219         all uses of ieee854 long double macros and unions.
9220         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9221         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9222         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9223         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9224         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9225         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9226         Likewise.
9227         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9228         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9229         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9230         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9231         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9232         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9233         Simplify sign and nan test too.
9234         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9235         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9236         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9237         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9238         Likewise.
9239         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9240         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9241         Likewise.
9242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9243         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9244         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9245         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9246         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9247         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9249 2013-10-04  Alan Modra  <amodra@gmail.com>
9251         * stdio-common/printf_size.c (__printf_size): Don't use
9252         union ieee854_long_double in fpnum union.
9253         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
9254         signbit macro to retrieve sign from long double.
9255         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9256         retrieve sign from long double.
9257         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9258         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9259         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9260         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9261         * math/test-misc.c (main): Don't use union ieee854_long_double.
9263 2013-10-04  Alan Modra  <amodra@gmail.com>
9265         [BZ #15680]
9266         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9267         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9268         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9269         calculation.  Remove unnecessary test for denormal exponent.
9270         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9271         Correct handling of denormals.  Avoid undefined shift behaviour.
9272         Correct normalisation of low mantissa when low double is denormal.
9273         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9274         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
9275         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9276         Correct normalisation of low mantissa.  Test for overflow of high
9277         mantissa and normalise.
9278         (ldbl_nearbyint): Use more readable constant for two52.
9279         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9280         (__mpn_construct_long_double): Fix test for overflow of high
9281         mantissa and correct normalisation.  Avoid undefined shift.
9283 2013-10-04  Alan Modra  <amodra@gmail.com>
9285         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9286         (union ibm_extended_long_double): Define as an array of ieee754_double.
9287         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9288         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9289         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9290         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9291         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9292         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9294         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9295         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9296         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9297         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9299 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
9301         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9302         page size instead of calling getpagesize.
9304         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9305         (LOCFILE_ALIGN_MASK): Likewise.
9306         (LOCFILE_ALIGN_UP): Likewise.
9307         (LOCFILE_ALIGNED_P): Likewise.
9308         * locale/programs/ld-collate.c (collate_output): Use the new
9309         macros instead of __alignof__ (int32_t).
9310         * locale/weight.h (findidx): Likewise.
9312 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
9314         [BZ #431]
9315         * manual/string.texi: Fix strncat and wcsncat.
9317 2013-10-03  Brooks Moses  <bmoses@google.com>
9319         [BZ #15915]
9320         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9321         * Makerules: ...here, and adjust associated comments.
9323 2013-10-02  Will Newton  <will.newton@linaro.org>
9325         * malloc/Makefile: Add tst-pvalloc.
9326         * malloc/tst-pvalloc.c: New file.
9328 2013-10-02  Will Newton  <will.newton@linaro.org>
9330         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9331         improve test coverage.
9333 2013-10-02  Will Newton  <will.newton@linaro.org>
9335         * malloc/Makefile: Add tst-posix_memalign.
9336         * malloc/tst-posix_memalign.c: New file.
9338 2013-10-01  Eric Blake  <eblake@redhat.com>
9340         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9341         Use __THROWNL rather than __THROW on static functions.
9343 2013-09-30  Petr Machata  <pmachata@redhat.com>
9345         * elf/elf.h (R_AARCH64_ABS16): New macro.
9346         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9347         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9348         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9349         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9350         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9351         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9352         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9353         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9354         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9355         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9356         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9357         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9358         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9359         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9360         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9361         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9362         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9363         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9364         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9365         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9366         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9367         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9368         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9369         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9370         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9371         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9372         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9373         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9374         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9375         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9376         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9377         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9378         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9379         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9380         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9381         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9382         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9383         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9384         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9385         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9386         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9387         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9388         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9389         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9390         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9391         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9392         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9393         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9394         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9395         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9396         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9397         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9398         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9399         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9400         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9401         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9402         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9403         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9404         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9405         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9406         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9407         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9408         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9409         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9410         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9411         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9412         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9413         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9414         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9415         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9416         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9417         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9418         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9419         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9420         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9421         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9422         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9423         (R_AARCH64_TLSDESC_LDR): Likewise.
9424         (R_AARCH64_TLSDESC_ADD): Likewise.
9425         (R_AARCH64_TLSDESC_CALL): Likewise.
9427 2013-09-30  Andreas Schwab  <schwab@suse.de>
9429         [BZ #15048]
9430         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9431         the nss database lookup.
9432         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9435 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
9437         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9439 2013-09-28  P. J. McDermott  <pj@pehjota.net>
9441         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9442         ${Bash-specific parameter/pattern/string} parameter expansion.
9443         * sysdeps/unix/make-syscalls.sh: Likewise.
9445 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9447         * sysdeps/sh/stackguard-macros.h: New file.
9449 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
9451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9453         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9454         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9455         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9456         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9458 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9460         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9461         Fix thread ID register.
9463 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
9465         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9466         [POSIX || UNIX98]: Require rather than permitting all symbols from
9467         <time.h>.
9468         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9469         element of struct sched_param.
9470         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9471         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9472         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9473         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9474         constant.
9476 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
9478         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9479         argument calculation.
9481 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9483         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9484         Expect macro.
9485         [POSIX] (pthread_attr_t): Do not require type.
9486         [POSIX] (pthread_cond_t): Likewise.
9487         [POSIX] (pthread_condattr_t): Likewise.
9488         [POSIX] (pthread_key_t): Likewise.
9489         [POSIX] (pthread_mutex_t): Likewise.
9490         [POSIX] (pthread_mutexattr_t): Likewise.
9491         [POSIX] (pthread_once_t): Likewise.
9492         [POSIX] (pthread_t): Likewise.
9493         [POSIX-based standards] (pthread_atfork): Expect function.
9495 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9496             Richard Sandiford  <richard@codesourcery.com>
9498         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9499         (swap_endianness_p): New extern variable.
9500         (set_big_endian): New inline function.
9501         (maybe_swap_uint32): Likewise.
9502         (maybe_swap_uint32_array): Likewise.
9503         (maybe_swap_uint32_obstack): Likewise.
9504         * locale/programs/locfile.c: Include <stdbool.h>.
9505         (swap_endianness_p): New variable.
9506         (add_locale_uint32): Call maybe_swap_uint32.
9507         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9508         (write_locale_data): Call maybe_swap_uint32_array.
9509         * locale/programs/ld-collate.c (obstack_int32_grow): Call
9510         maybe_swap_uint32.
9511         (obstack_int32_grow_fast): Likewise.
9512         (output_weightwc): Call maybe_swap_uint32_obstack.
9513         (collate_output): Likewise.
9514         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9515         (OPT_LITTLE_ENDIAN): Likewise.
9516         (options): Add --little-endian and --big-endian options.
9517         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9518         * locale/programs/locarchive.c: Include "locfile.h".
9519         (GET): New macro.
9520         (SET): Likewise.
9521         (INC): Likewise.
9522         (create_archive): Use the new macros to access fields of
9523         structures directly mapped from or written to locale archives.
9524         (oldlocrecentcmp): Likewise.
9525         (enlarge_archive): Likewise.
9526         (insert_name): Likewise.
9527         (add_alias): Likewise.
9528         (add_locale): Likewise.
9529         (delete_locales_from_archive): Likewise.
9530         (show_archive_content): Likewise.
9531         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
9532         locale data.
9534 2013-09-24  Roland McGrath  <roland@hack.frob.com>
9536         * manual/freemanuals.texi: Updated from (newly) canonical copy at
9537         http://www.gnu.org/doc/freemanuals.texi.
9538         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9540 2013-09-24  Will Newton  <will.newton@linaro.org>
9542         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9543         macro.
9545 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
9547         * locale/hashval.h (compute_hashval): Interpret bytes of key as
9548         unsigned char.
9550 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
9552         * manual/threads.texi (POSIX Threads): Fix a typo.
9554 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9556         [BZ #14547]
9557         * string/tst-strcoll-overflow.c: New test case.
9558         * string/Makefile (xtests): Add tst-strcoll-overflow.
9559         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9560         cache if string sizes may cause integer overflow.
9562         [BZ #14547]
9563         * string/strcoll_l.c (coll_seq): New members rule, idx,
9564         save_idx and back_us.
9565         (get_next_seq_nocache): New function.
9566         (do_compare_nocache): New function.
9567         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9568         when malloc fails.
9570 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
9572         [BZ #15754]
9573         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9574         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9575         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9577         [BZ #15754]
9578         * elf/Makefile (tests): Add tst-ptrguard1.
9579         (tests-static): Add tst-ptrguard1-static.
9580         (tst-ptrguard1-ARGS): Define.
9581         (tst-ptrguard1-static-ARGS): Define.
9582         * elf/tst-ptrguard1.c: New file.
9583         * elf/tst-ptrguard1-static.c: New file.
9584         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9585         * sysdeps/i386/stackguard-macros.h: Likewise.
9586         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9587         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9588         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9589         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9590         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9591         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9593 2013-09-23  Hector Marco  <hecmargi@upv.es>
9594             Ismael Ripoll  <iripoll@disca.upv.es>
9595             Carlos O'Donell  <carlos@redhat.com>
9597         [BZ #15754]
9598         * sysdeps/generic/stackguard-macros.h: Define
9599         __pointer_chk_guard_local and POINTER_CHK_GUARD.
9600         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9601         Define __pointer_chk_guard_local.
9602         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9603         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9605 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
9607         [BZ #15859]
9608         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9610 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
9612         * include/string.h (__ffs): Declare as hidden.
9613         * string/ffs.c (__ffs): Define as hidden.
9614         * sysdeps/i386/ffs.c (__ffs): Likewise.
9615         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9616         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9617         * sysdeps/s390/ffs.c (__ffs): Likewise.
9618         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9620 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
9622         * NEWS: Mention malloc probes.
9624         * malloc/arena.c (new_heap): New memory_heap_new probe.
9625         (grow_heap): New memory_heap_more probe.
9626         (shrink_heap): New memory_heap_less probe.
9627         (heap_trim): New memory_heap_free probe.
9628         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9629         (systrim): New memory_sbrk_less probe.
9630         * manual/probes.texi: Document them.
9632         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9633         * manual/probes.texi: Document it.
9635         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9636         (__libc_realloc): Add memory_realloc_retry probe.
9637         (__libc_memalign): Add memory_memalign_retry probe.
9638         (__libc_valloc): Add memory_valloc_retry probe.
9639         (__libc_pvalloc): Add memory_pvalloc_retry probe.
9640         (__libc_calloc): Add memory_calloc_retry probe.
9641         * manual/probes.texi: Document them.
9643         * malloc/arena.c (get_free_list): Add probe
9644         memory_arena_reuse_free_list.
9645         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9646         and memory_arena_reuse.
9647         (arena_get2) [!PER_THREAD]: Likewise.
9648         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9649         memory_arena_reuse_realloc.
9650         * manual/probes.texi: Document them.
9652         * malloc/malloc.c (__libc_free): Add
9653         memory_mallopt_free_dyn_thresholds probe.
9654         (__libc_mallopt): Add multiple memory_mallopt probes.
9655         * manual/probes.texi: Document them.
9657         * malloc/malloc.c: Include stap-probe.h.
9658         (__libc_mallopt): Add memory_mallopt probe.
9659         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9660         * manual/probes.texi: New.
9661         * manual/Makefile (chapters): Add probes.
9662         * manual/threads.texi: Set next node.
9664 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
9666         [BZ #15963, #13985]
9667         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9668         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9669         Add `Chinese' to `nan' entry name.
9671 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9673         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9674         (POLYNOMIAL): Likewise.
9675         (TAYLOR_SINCOS): Likewise.
9676         (TAYLOR_SLOW): Likewise.
9677         (__sin): Use TAYLOR_SINCOS.
9678         (__cos): Likewise.
9679         (slow): Use TAYLOR_SLOW.
9680         (sloww): Likewise.
9681         (bsloww): Likewise.
9682         (csloww): Likewise.
9684 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9686         * stdlib/strtod_l.c: Fix buffer overrun.
9688 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9690         * benchtests/Makefile (bench): Add sincos.
9691         * benchtests/bench-sincos.c: New file.
9693         * math/libm-test.inc (cos_test_data): New test inputs.
9694         (sin_test_data): Likewise.
9696         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9697         macro.
9698         (__sin): Use it.
9699         (__cos): Likewise.
9700         (slow1): Likewise.
9701         (slow2): Likewise.
9702         (sloww1): Likewise.
9703         (sloww2): Likewise.
9704         (bsloww1): Likewise.
9705         (bsloww2): Likewise.
9706         (cslow2): Likewise.
9707         (csloww1): Likewise.
9708         (csloww2): Likewise.
9710         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9711         function.
9712         (__sin): Use it.
9713         (__cos): Likewise.
9715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9716         gotos.
9717         (__cos): Likewise.
9719 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
9721         * config.h.in (HAVE_MIPS_NAN2008): New macro.
9722         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9723         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9724         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9725         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9726         * elf/cache.c (print_entry): Handle the new cache flags.
9728 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9729             Aldy Hernandez  <aldyh@redhat.com>
9731         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9732         Change condition to [_SOFT_FLOAT].
9733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9744         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9745         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9747         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9748         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9749         declaration.
9751 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9753         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9754         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9755         (__longjmp): Use LOAD_GP to load saved GPRs.
9756         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9757         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9758         (__sigsetjmp): Use SAVE_GP to save GPRs.
9760         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9761         Do not append -msoft-float.
9762         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9764 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9766         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9768 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
9770         [BZ #15966]
9771         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9772         (_FPU_GETCW): Use initial "__" on variable and field names but not
9773         on macro parameter name.
9774         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
9775         parentheses around reference to macro parameter.
9777 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
9779         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9780         prototype.
9781         (ctype_startup): Use uint32_t in cast and sizeof for
9782         ctype->charnames.
9784 2013-09-11  Jia Liu  <proljc@gmail.com>
9786         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9787         __daddr_t_defined.
9788         [__FreeBSD__]: Likewise.
9790 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9792         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9793         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9794         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9795         (strchr): Remove __strchr_sse42 ifunc selection.
9796         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9797         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9799 2013-09-11  Will Newton  <will.newton@linaro.org>
9801         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9802         parameter to RES. Remove hardcoded 1000 value.
9803         * benchtests/bench-skeleton.c (main): Pass RES parameter
9804         to TIMING_INIT and multiply result by 1000.
9806 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9810 2013-09-11  Andreas Schwab  <schwab@suse.de>
9812         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9813         if not defined.
9814         (O_TMPFILE) [__USE_GNU]: Define.
9815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9816         Define.
9818 2013-09-11  Will Newton  <will.newton@linaro.org>
9820         [BZ #15857]
9821         * malloc/malloc.c (__libc_memalign): Check the value of bytes
9822         does not overflow.
9824 2013-09-11  Will Newton  <will.newton@linaro.org>
9826         [BZ #15856]
9827         * malloc/malloc.c (__libc_valloc): Check the value of bytes
9828         does not overflow.
9830 2013-09-11  Will Newton  <will.newton@linaro.org>
9832         [BZ #15855]
9833         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9834         does not overflow.
9836 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
9838         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9839         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9840         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9841         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9842         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9844 2013-09-10  Allan McRae  <allan@archlinux.org>
9846         [BZ #15748]
9847         * manual/arith.texi (Parsing of Floats): Clarify
9848         cross-reference.
9850         [BZ #15849]
9851         * manual/install.texi (Running make install): Mention
9852         --enable-pt-chown.
9853         * INSTALL: Regenerated.
9855 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
9857         * csu/init-first.c (_init): Remove the !SHARED condition around
9858         FPU control word initialization.
9859         * elf/dl-support.c (_dl_fpu_control): New variable.
9860         (_dl_aux_init) <AT_FPUCW>: Initialize it.
9861         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9862         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9863         * math/test-fpucw-static.c: New file.
9864         * math/test-fpucw-ieee.c: New file.
9865         * math/test-fpucw-ieee-static.c: New file.
9866         * math/Makefile (tests): Add `test-fpucw-ieee' and
9867         `$(tests-static)'.
9868         (tests-static): New variable.
9869         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9870         dependency to...
9871         [($(build-shared),yes)]
9872         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9873         ... this.
9874         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9875         New dependency.
9877 2013-09-09  Allan McRae  <allan@archlinux.org>
9879         [BZ #15939]
9880         * manual/string.texi (Collation Functions): Fix typo in
9881         strcoll example.
9882         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9884         [BZ #15893]
9885         * stdlib/isomac.c (get_null_defines): Fix memory leak.
9887         [BZ #15892]
9888         * libio/memstream.c (open_memstream): Fix memory leak.
9889         * libio/wmemstream.c (open_wmemstream): Likewise.
9891         [BZ #15895]
9892         * nscd/netgroupcache.c: Fix nesting of ifdefs.
9894 2013-09-09  Will Newton  <will.newton@linaro.org>
9896         * malloc/Makefile: Add tst-realloc to tests.
9897         * malloc/tst-realloc.c: New file.
9899 2013-09-09  Allan McRae  <allan@archlinux.org>
9901         [BZ #15844]
9902         * COPYING: Update from GNU website to fix FSF address.
9903         * COPYING.LIB: Likewise.
9905 2013-09-06  David S. Miller  <davem@davemloft.net>
9907         * po/zh_TW.po: Update Chinese (traditional) translation from
9908         translation project.
9910 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
9911             Joseph Myers  <joseph@codesourcery.com>
9913         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9914         "localeinfo.h".
9915         (obstack_chunk_alloc): New macro.
9916         (obstack_chunk_free): Likewise.
9917         (record_offset): New function.
9918         (init_locale_data): Likewise.
9919         (align_locale_data): Likewise.
9920         (add_locale_empty): Likewise.
9921         (add_locale_raw_data): Likewise.
9922         (add_locale_raw_obstack): Likewise.
9923         (add_locale_string): Likewise.
9924         (add_locale_wstring): Likewise.
9925         (add_locale_uint32): Likewise.
9926         (add_locale_uint32_array): Likewise.
9927         (add_locale_char): Likewise.
9928         (start_locale_structure): Likewise.
9929         (end_locale_structure): Likewise.
9930         (start_locale_prelude): Likewise.
9931         (end_locale_prelude): Likewise.
9932         (write_locale_data): Take locale_file structure rather than an
9933         iovec.
9934         * locale/programs/locfile.h: Include "obstack.h".
9935         (struct locale_file): Change to store locale file contents instead
9936         of header.
9937         (init_locale_data): New prototype.
9938         (align_locale_data): Likewise.
9939         (add_locale_empty): Likewise.
9940         (add_locale_raw_data): Likewise.
9941         (add_locale_raw_obstack): Likewise.
9942         (add_locale_string): Likewise.
9943         (add_locale_wstring): Likewise.
9944         (add_locale_uint32): Likewise.
9945         (add_locale_uint32_array): Likewise.
9946         (add_locale_char): Likewise.
9947         (start_locale_structure): Likewise.
9948         (end_locale_structure): Likewise.
9949         (start_locale_prelude): Likewise.
9950         (end_locale_prelude): Likewise.
9951         (write_locale_data): Update prototype.
9952         * locale/programs/3level.h (struct TABLE): Remove result field.
9953         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9954         Use new locale_file interface.
9955         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9956         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9957         * locale/programs/ld-address.c (address_output): Use new
9958         locale_file interface.
9959         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9960         NO_ADD_LOCALE.
9961         (collate_finish): Don't call collseq_table_finalize.
9962         (collate_output): Use new locale_file interface.
9963         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9964         in file.
9965         (NO_FINALIZE): Change to NO_ADD_LOCALE.
9966         (TABLE): Move defines earlier in file.
9967         (ELEMENT): Likewise.
9968         (DEFAULT): Likewise.
9969         (wctrans_table_add): Move macro and inline function earlier in
9970         file.
9971         (struct wctype_table): Move type earlier in file.
9972         (add_locale_wctype_table): New static prototype.
9973         (struct locale_ctype_t): Use logical types instead of struct iovec
9974         pointers for members.
9975         (ctype_output): Use new locale_file interface.
9976         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
9977         new locale_file interface.
9978         (allocate_arrays): Update for use of new locale_file interface.
9979         * locale/programs/ld-identification.c (identification_output): Use
9980         new locale_file interface.
9981         * locale/programs/ld-measurement.c (measurement_output): Likewise.
9982         * locale/programs/ld-messages.c (messages_output): Likewise.
9983         * locale/programs/ld-monetary.c (monetary_output): Likewise.
9984         * locale/programs/ld-name.c (name_output): Likewise.
9985         * locale/programs/ld-numeric.c (numeric_output): Likewise.
9986         * locale/programs/ld-paper.c (paper_output): Likewise.
9987         * locale/programs/ld-telephone.c (telephone_output): Likewise.
9988         * locale/programs/ld-time.c (time_output): Likewise.
9990 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9992         * benchtests/Makefile: Add memrchr benchmark.
9993         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9994         benchmark as memrchr.
9995         * benchtests/bench-memrchr-ifunc.c: New file.
9996         * benchtests/bench-memrchr.c: New file.
9998 2013-09-06   Will Newton  <will.newton@linaro.org>
10000         * benchtests/Makefile (string-bench): Add memcpy.
10002 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
10003             Cong Wang  <amwang@redhat.com>
10005         [BZ #15850]
10006         * sysdeps/unix/sysv/linux/bits/in.h
10007         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10008         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10009         before __USE_KERNEL_IPV6_DEFS uses.
10010         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10011         IPPROTO_BEETPH.
10012         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10013         sockaddr_in6, or ipv6_mreq.
10015 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10017         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10018         memory access for final bytes in some large inputs.
10019         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10021 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10023         * string/test-memrchr.c: New file.
10024         * string/test-memrchr-ifunc.c: New file.
10025         * string/Makefile: Add new memrchr testcase.
10027 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
10029         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10030         fanotify_init returns EPERM.
10032 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10034         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10035         errors.
10036         (top level): Treat second token from macro or constant entries for
10037         allowed headers as allowed.
10038         * include/complex.h: Condition internal declarations on
10039         [!_ISOMAC].
10040         * include/fenv.h: Condition include of <stdbool.h> and internal
10041         declarations on [!_ISOMAC].
10043 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
10045         [BZ #15923]
10046         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10048 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
10050         * configure.in (--enable-versioning): Remove configure option.
10051         (libc_cv_asm_symver_directive): Remove configure test.
10052         (libc_cv_ld_version_script_option): Likewise.
10053         (VERSIONING): Remove variable and AC_SUBST.
10054         (DO_VERSIONING): Remove AC_DEFINE.
10055         * configure: Regenerated.
10056         * config.h.in (DO_VERSIONING): Remove macro.
10057         * Makerules [$(versioning) = yes]: Change conditionals to
10058         [$(build-shared) = yes].
10059         * config.make.in (versioning): Remove variable.
10060         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10061         [$(build-shared) = yes].
10062         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10063         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10064         * elf/Makefile [$(versioning) = yes]: Change conditionals to
10065         [$(build-shared) = yes].
10066         * extra-lib.mk [$(versioning) = yes]: Likewise.
10067         * hurd/Makefile [$(versioning) = yes]: Likewise.
10068         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10069         [SHARED].
10070         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10071         [SHARED].
10072         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10073         [SHARED && !NO_HIDDEN].
10074         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10075         [SHARED].
10076         [SHARED && DO_VERSIONING]: Likewise..
10077         * libio/Makefile [$(versioning) = yes]: Change conditionals to
10078         [$(build-shared) = yes].
10079         * manual/install.texi (--disable-versioning): Remove
10080         documentation.
10081         * INSTALL: Regenerated.
10082         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10083         to [SHARED].
10084         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10085         [$(build-shared) = yes].
10086         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10087         * sysdeps/i386/i686/multiarch/strstr-c.c
10088         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10089         [SHARED && !NO_HIDDEN].
10090         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10091         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10092         * sysdeps/powerpc/powerpc32/dl-machine.c
10093         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10094         * sysdeps/powerpc/powerpc32/sysdep.h
10095         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10096         to [SHARED && PIC && !NO_HIDDEN].
10097         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10098         conditional to [SHARED].
10100 2013-09-04   Will Newton  <will.newton@linaro.org>
10102         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10103         * benchtests/bench-string.h: Include bench-timing.h instead
10104         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10105         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10106         call to HP_TIMING_DIFF_INIT.
10107         * benchtests/bench-memccpy.c: Use bench-timing.h macros
10108         instead of hp-timing.h macros.
10109         * benchtests/bench-memchr.c: Likewise.
10110         * benchtests/bench-memcmp.c: Likewise.
10111         * benchtests/bench-memcpy.c: Likewise.
10112         * benchtests/bench-memmem.c: Likewise.
10113         * benchtests/bench-memmove.c: Likewise.
10114         * benchtests/bench-memset.c: Likewise.
10115         * benchtests/bench-rawmemchr.c: Likewise.
10116         * benchtests/bench-strcasecmp.c: Likewise.
10117         * benchtests/bench-strcasestr.c: Likewise.
10118         * benchtests/bench-strcat.c: Likewise.
10119         * benchtests/bench-strchr.c: Likewise.
10120         * benchtests/bench-strcmp.c: Likewise.
10121         * benchtests/bench-strcpy.c: Likewise.
10122         * benchtests/bench-strcpy_chk.c: Likewise.
10123         * benchtests/bench-strlen.c: Likewise.
10124         * benchtests/bench-strncasecmp.c: Likewise.
10125         * benchtests/bench-strncat.c: Likewise.
10126         * benchtests/bench-strncmp.c: Likewise.
10127         * benchtests/bench-strncpy.c: Likewise.
10128         * benchtests/bench-strnlen.c: Likewise.
10129         * benchtests/bench-strpbrk.c: Likewise.
10130         * benchtests/bench-strrchr.c: Likewise.
10131         * benchtests/bench-strspn.c: Likewise.
10132         * benchtests/bench-strstr.c: Likewise.
10134 2013-09-04  Will Newton  <will.newton@linaro.org>
10136         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10138 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
10140         [BZ #15427]
10141         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10142         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10143         * math/libm-test.inc (lgamma_test_data): Add more tests.
10144         * sysdeps/i386/fpu/libm-test-ulps: Update.
10145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10147 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
10149         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10151         Add ifunc.
10152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10153         Add strcmp-sse2-unaligned
10154         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10156 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10158         * Versions.def (libc): Add GLIBC_2.19.
10160 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
10162         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10163         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10165 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
10167         [BZ #14155]
10168         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10169         intermediate calculations in recurrence.
10170         (__ieee754_ynf): Likewise.
10171         * math/libm-test.inc (jn_test_data): Do not allow spurious
10172         underflow exception.  Add more tests.
10173         (yn_test_data): Add more tests.
10174         * sysdeps/i386/fpu/libm-test-ulps: Update.
10175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10177 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
10179         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10181 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10183         * csu/init-first.c: Fix then/than typos.
10184         * locale/programs/ld-collate.c: Likewise.
10185         * locale/programs/linereader.h: Likewise.
10186         * manual/charset.texi: Likewise.
10187         * manual/filesys.texi: Likewise.
10188         * manual/stdio.texi: Likewise.
10189         * manual/string.texi: Likewise.
10190         * stdlib/fmtmsg.c: Likewise.
10191         * sysdeps/i386/stpncpy.S: Likewise.
10192         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10193         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10194         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10195         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10197 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10199         * elf/dl-open.c: Fix typos.
10200         * iconvdata/gbbig5.c: Likewise.
10201         * iconvdata/iso-2022-jp.c: Likewise.
10202         * iconv/gconv_int.h: Likewise.
10203         * iconv/loop.c: Likewise.
10204         * nis/rpcsvc/nis.h: Likewise.
10205         * resolv/ns_name.c: Likewise.
10206         * stdio-common/vfscanf.c: Likewise.
10207         * streams/stropts.h: Likewise.
10208         * sunrpc/rpc_thread.c: Likewise.
10209         * sysdeps/i386/strpbrk.S: Likewise.
10210         * sysdeps/ieee754/k_standard.c: Likewise.
10211         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10212         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10213         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10214         * sysdeps/mach/hurd/profil.c: Likewise.
10215         * sysdeps/s390/dl-procinfo.h: Likewise.
10216         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10217         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10218         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10219         * sysdeps/x86_64/dl-trampoline.S: Likewise.
10220         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10222 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
10224         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10227 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
10229         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10230         aix specific files.
10231         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10232         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10233         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10234         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10235         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10236         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10237         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10238         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10240 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10241             Roland McGrath  <roland@hack.frob.com>
10243         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10244         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10246 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10248         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10249         __executable_start symbol instead of _start.
10251 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10253         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10254         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10255         Move macros to...
10256         * sysdeps/gnu/ldsodefs.h: ... this new file.
10258         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10259         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10260         instead of ELFOSABI_LINUX.
10262         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10263         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10264         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10265         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10266         Likewise.
10267         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10268         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10269         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10270         Likewise.
10271         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10272         (ibm_extended_long_double): Add ieee_nan member.
10273         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10274         (do_test): New function.
10276         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10277         TEST_TRUNC.
10278         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10279         functions, renamed from truncdfsf_test, trunctfsf_test,
10280         trunctfdf_test.
10281         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10282         functions.
10283         (do_test): Run all these.
10285 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
10287         * argp/argp-help.c: Fix typos.
10288         * argp/argp-parse.c: Likewise.
10289         * debug/backtracesyms.c: Likewise.
10290         * elf/elf.h: Likewise.
10291         * malloc/malloc.c: Likewise.
10292         * nis/nis_print.c: Likewise.
10293         * resolv/res_comp.c: Likewise.
10294         * stdlib/stdlib.h: Likewise.
10295         * sunrpc/clnt_tcp.c: Likewise.
10296         * sunrpc/clnt_udp.c: Likewise.
10297         * sunrpc/clnt_unix.c: Likewise.
10298         * sysdeps/unix/bsd/ptsname.c: Likewise.
10299         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10300         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10302         Likewise.
10303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10304         Likewise.
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10306         Likewise.
10307         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10309 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10311         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10314 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
10316         [BZ #15897]
10317         * dlfcn/Makefile (tests): Add bug-dl-leaf.
10318         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10319         ($(objpfx)bug-dl-leaf): New rule.
10320         ($(objpfx)bug-dl-leaf.so): Likewise.
10321         ($(objpfx)bug-dl-leaf.out): Likewise.
10322         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10323         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10324         * dlfcn/bug-dl-leaf.c: New test.
10325         * dlfcn/bug-dl-leaf-lib.c: Likewise.
10326         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10327         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10328         (dlclose): Likewise.
10329         (dlmopen): Likewise.
10331 2013-08-27  Roland McGrath  <roland@hack.frob.com>
10333         * include/netdb.h [!_ISOMAC]:
10334         Don't include <tls.h>.
10335         (h_errno, __libc_h_errno): Move declaration and macros out of
10336         [_LIBC_REENTRANT].
10338         * include/resolv.h [_RESOLV_H_]:
10339         Don't include <tls.h>.
10340         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10341         * resolv/res_libc.c: Don't include <tls.h>.
10342         (_res): Use __attribute__ ((nocommon)) in place of
10343         __attribute__ ((section (".bss"))).
10345         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10346         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10348         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10350         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10351         only under [SIOCGIFCONF && SIOCGIFNETMASK].
10353         * resolv/res_mkquery.c: Include <sys/time.h>.
10355         * inet/ifreq.c: Moved to ...
10356         * sysdeps/unix/ifreq.c: ... here.
10357         * inet/ifreq.c: New file, true stub version.
10359         * socket/sa_len.c: New file.
10360         * socket/Makefile (aux): Add it.
10361         * sysdeps/unix/sysv/linux/Makefile
10362         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10363         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10364         and #include <socket/sa_len.c>.
10365         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10366         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10368         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10369         * bits/socket.h: ... here.
10371         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10372         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10373         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10375 2013-08-27  Andreas Schwab  <schwab@suse.de>
10377         [BZ #15736]
10378         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10379         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10380         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10381         * string/test-strcasecmp.c (test_main): Run tests in several
10382         locales.
10383         * string/test-strncasecmp.c (test_main): Likewise.
10385         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10386         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10387         to __strcasecmp_nonascii and __strncasecmp_nonascii.
10388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10389         (__strncasecmp_ssse3) [PIC]: Likewise.
10391 2013-08-26  Roland McGrath  <roland@hack.frob.com>
10393         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10395         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10396         instead of explicitly declaring xdecrypt.
10397         * nis/nss_nis/nis-publickey.c: Likewise.
10399 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10401         [BZ #15890]
10402         * nscd/aicache.c: Include res_hconf.h.
10403         (addhstaiX): Initialize res_hconf.
10405 2013-08-26  Andreas Schwab  <schwab@suse.de>
10407         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10408         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10410 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10412         * nscd/aicache.c (addhstaiX): Fix indentation.
10414 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
10416         * configure.ac: Quote $build_pt_chown test.
10417         * configure: Regenerated.
10419 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
10421         [BZ #15532]
10422         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10423         * math/s_cexpf.c (__cexpf): Likewise.
10424         * math/s_cexpl.c (__cexpl): Likewise.
10425         * math/libm-test.inc (cexp_test_data): Correct expected return
10426         value for NaN + i0.  Add another test.
10428 2013-08-22  David S. Miller  <davem@davemloft.net>
10430         * po/ca.po: Update Catalan translation from translation project.
10431         * po/uk.po: Add Ukrainian translations from translation project.
10433 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
10435         [BZ #15797]
10436         * math/s_fdim.c (__fdim): Check for infinite arguments if result
10437         is infinite, not alongside NaN test.
10438         * math/s_fdimf.c (__fdimf): Likewise.
10439         * math/s_fdiml.c (__fdiml): Likewise.
10440         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
10441         errno is unchanged.
10443 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
10445         * argp/argp-help.c: Fix typos.
10446         * crypt/speeds.c: Likewise.
10447         * csu/check_fds.c: Likewise.
10448         * elf/dl-load.c: Likewise.
10449         * elf/dl-open.c: Likewise.
10450         * elf/reldep3.c: Likewise.
10451         * elf/reldep.c: Likewise.
10452         * elf/sprof.c: Likewise.
10453         * iconv/iconv_charmap.c: Likewise.
10454         * iconv/skeleton.c: Likewise.
10455         * iconv/strtab.c: Likewise.
10456         * io/lockf64.c: Likewise.
10457         * libio/libioP.h: Likewise.
10458         * resolv/gai_notify.c: Likewise.
10459         * resolv/ns_name.c: Likewise.
10460         * resolv/ns_samedomain.c: Likewise.
10461         * resolv/res_send.c: Likewise.
10462         * stdlib/random.c: Likewise.
10463         * sunrpc/rpc/xdr.h: Likewise.
10464         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10465         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10466         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10467         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10468         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10469         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10470         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10471         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10472         * sysdeps/mach/hurd/check_fds.c: Likewise.
10473         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10474         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10475         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10476         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10477         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10478         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10479         * sysdeps/pthread/aio_notify.c: Likewise.
10480         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10481         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10482         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10483         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10484         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10486 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10488         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10489         version if bit_Slow_SSE4_2 is set.
10490         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10491         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10493 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10495         [BZ #15867]
10496         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10497         trampoline stack frame information.
10498         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10499         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10500         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10501         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10502         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10503         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10504         (_libc_vdso_platform_setup): Initialize the signal trampolines.
10505         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10506         sa_flags value.
10507         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10508         interrupting a syscall and set with option SA_SIGINFO.
10510 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10512         [BZ #15531]
10513         * math/s_cproj.c (__cproj): Only return an infinity if one part of
10514         argument is infinite.
10515         * math/s_cprojf.c (__cprojf): Likewise.
10516         * math/s_cprojl.c (__cprojl): Likewise.
10517         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10518         * math/libm-test.inc (cproj_test_data): Add more tests.
10520         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10522         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10523         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10524         size.  Use __ffs to determine corresponding shift.
10526 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10527             Roland McGrath  <roland@hack.frob.com>
10529         * Makefile (INSTALL): Remove trailing blank lines from output of
10530         makeinfo.
10532 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10534         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10535         Align 32 bit compat elf_greg to 8 bytes.
10537 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10539         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10541 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10543         * string/strcoll_l.c (coll_seq): New structure.
10544         (get_next_seq_cached): New function.
10545         (get_next_seq): New function.
10546         (do_compare): New function.
10547         (STRCOLL): Use GNU style definition.  Simplify implementation
10548         by using get_next_seq, get_next_seq_cached and do_compare.
10550 2013-08-16  Florian Weimer  <fweimer@redhat.com>
10552         [BZ #14699]
10553         CVE-2013-4237
10554         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10555         member.
10556         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10557         member.
10558         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10559         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10560         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
10561         conditional.
10562         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10563         GETDENTS_64BIT_ALIGNED.
10564         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10565         * manual/filesys.texi (Reading/Closing Directory): Document
10566         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
10567         strongly.
10568         * manual/conf.texi (Limits for Files): Add portability note to
10569         NAME_MAX, PATH_MAX.
10570         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10572 2013-08-13  Andreas Schwab  <schwab@suse.de>
10574         [BZ #15749]
10575         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10576         of fabs.
10577         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10578         LDBL_MAX_EXP >= 16384]: Add tests for it.
10580 2013-08-12  David S. Miller  <davem@davemloft.net>
10582         * version.h (RELEASE): Set to "development".
10583         (VERSION): Set to "2.18.90".
10584         * NEWS: Add 2.19 section.
10586 2013-08-03  David S. Miller  <davem@davemloft.net>
10588         * po/ko.po: Update Korean translation from translation project.
10590 2013-08-01  David S. Miller  <davem@davemloft.net>
10592         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
10593         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10594         Bilka.
10596 2013-07-30  David S. Miller  <davem@davemloft.net>
10598         * po/fr.po: Update French translation from translation project.
10600 2013-07-28  David S. Miller  <davem@davemloft.net>
10602         * po/cs.po: Update Czech translation from translation project.
10604         * po/sv.po: Update Swedish translation from translation project.
10606 2013-07-27  David S. Miller  <davem@davemloft.net>
10608         * po/eo.po: Update Esperanto translation from translation project.
10610         * po/vi.po: Update Vietnamese translation from translation project.
10612         * po/de.po: Update German translation from translation project.
10614 2013-07-26  David S. Miller  <davem@davemloft.net>
10616         * po/bg.po: Update Bulgarian translation from translation project.
10618         * po/nl.po: Update Dutch translation from translation project.
10619         * po/pl.po: Update Polish translation from translation project.
10620         * po/ru.po: Update Russian translation from translation project.
10622 2013-07-24  David S. Miller  <davem@davemloft.net>
10624         * po/libc.pot: Update.
10626 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10628         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10629         variable page size.
10630         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10631         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10632         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10634 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10636         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10638 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10639             Andreas Schwab  <schwab@suse.de>
10640             Roland McGrath  <roland@hack.frob.com>
10641             Joseph Myers  <joseph@codesourcery.com>
10642             Carlos O'Donell  <carlos@redhat.com>
10644         [BZ #15755]
10645         * config.h.in: Define HAVE_PT_CHOWN.
10646         * config.make.in (build-pt-chown): New variable.
10647         * configure.in (--enable-pt_chown): New configure option.
10648         * configure: Regenerate.
10649         * login/Makefile: Include Makeconfig.  Build pt_chown only if
10650         build-pt-chown is enabled.
10651         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10652         pt_chown to fix pty ownership.
10653         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10654         CLOSE_ALL_FDS.
10655         * manual/install.texi (Configuring and compiling): Mention
10656         --enable-pt_chown. Add @findex for grantpt.
10657         * INSTALL: Regenerate.
10659 2013-07-20  David S. Miller  <davem@davemloft.net>
10661         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10662         difference between 32-bit and 64-bit.
10664 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
10666         [BZ #15711]
10667         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10668         Avoid system header dependency with -ffreestanding.
10669         ($(objpfx)bits/syscall%d): Likewise.
10671 2013-07-13  David S. Miller  <davem@davemloft.net>
10673         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10674         underflows from atanl/atan2l due to bug 15319.
10675         (casinh_test_data): Likewise.
10677 2013-07-07  David S. Miller  <davem@davemloft.net>
10679         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10681 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
10683         * sysdeps/i386/fpu/libm-test-ulps: Update.
10684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10686 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10688         * configure.in (--enable-lock-elision): Fix message text.
10689         * INSTALL: Regenerate.
10690         * configure: Regenerate.
10692 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10696 2013-07-03  Andreas Jaeger  <aj@suse.de>
10698         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10699         define.
10700         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10701         (ptrace_peeksiginfo_args): Add.
10702         (__ptrace_peeksiginfo_flags): Add.
10703         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10704         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10705         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10707 2013-07-03  Allan McRae  <allan@archlinux.org>
10709         * sysdeps/i386/fpu/libm-test-ulps: Update.
10711 2013-07-02  David S. Miller  <davem@davemloft.net>
10713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10715 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
10717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10719 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10721         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10724 2013-07-02  Andi Kleen <ak@linux.intel.com>
10726         * config.h.in (ENABLE_LOCK_ELISION): Add.
10727         * configure.in (--enable-lock-elision): Add option.
10728         * manual/install.texi: Document --enable lock elision.
10729         * configure: Regenerate
10730         * INSTALL: Regenerate.
10732 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10734         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10735         SSE4.2 strcasecmp for libc.a.
10736         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10738 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10740         [BZ #13304]
10741         * soft-fp/op-common.h (_FP_FMA): New macro.
10742         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10743         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
10744         (_FP_MUL_MEAT_1_imm): ... here.
10745         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
10746         (_FP_MUL_MEAT_1_wide): ... here.
10747         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
10748         (_FP_MUL_MEAT_1_hard): ... here.
10749         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10750         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
10751         (_FP_MUL_MEAT_2_wide): ... here.
10752         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
10753         (_FP_MUL_MEAT_2_wide_3mul): ... here.
10754         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
10755         (_FP_MUL_MEAT_2_gmp): ... here.
10756         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10757         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
10758         (_FP_MUL_MEAT_4_wide): ... here.
10759         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
10760         (_FP_MUL_MEAT_4_gmp): ... here.
10761         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10762         (_FP_WFRACBITS_DW_S): Likewise.
10763         (_FP_WFRACXBITS_DW_S): Likewise.
10764         (_FP_HIGHBIT_DW_S): Likewise.
10765         (FP_FMA_S): Likewise.
10766         (_FP_FRAC_HIGH_DW_S): Likewise.
10767         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10768         (_FP_WFRACBITS_DW_D): Likewise.
10769         (_FP_WFRACXBITS_DW_D): Likewise.
10770         (_FP_HIGHBIT_DW_D): Likewise.
10771         (FP_FMA_D): Likewise.
10772         (_FP_FRAC_HIGH_DW_D): Likewise.
10773         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10774         (_FP_WFRACBITS_DW_E): Likewise.
10775         (_FP_WFRACXBITS_DW_E): Likewise.
10776         (_FP_HIGHBIT_DW_E): Likewise.
10777         (FP_FMA_E): Likewise.
10778         (_FP_FRAC_HIGH_DW_E): Likewise.
10779         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10780         (_FP_WFRACBITS_DW_Q): Likewise.
10781         (_FP_WFRACXBITS_DW_Q): Likewise.
10782         (_FP_HIGHBIT_DW_Q): Likewise.
10783         (FP_FMA_Q): Likewise.
10784         (_FP_FRAC_HIGH_DW_Q): Likewise.
10785         * soft-fp/fmasf4.c: New file.
10786         * soft-fp/fmadf4.c: Likewise.
10787         * soft-fp/fmatf4.c: Likewise.
10789 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10792         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10793         Silvermont.
10794         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10795         macro.
10796         (index_Slow_SSE4_2): Likewise.
10797         (index_Prefer_PMINUB_for_stringop): Likewise.
10798         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10799         bit_Slow_SSE4_2 is set.
10800         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10801         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10803 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10805         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10806         rtld_global._dl_hwcap2.
10807         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10808         POWER8.
10809         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10810         POWER8 feature descriptions defined in _dl_hwcap2.
10811         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10812         string handling for POWER8 feature bits.
10813         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10814         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10815         _dl_powerpc_cap_flags.
10816         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10817         * sysdeps/powerpc/rtld-global-offsets.sym
10818         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10819         _dl_hwcap2 in the rtld_global_ro structure.
10821 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10823         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10824         hardware capabilities in support of AT_HWCAP2.
10825         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10826         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10827         GLRO(dl_hwcap2).
10828         (_dl_show_auxv): Add support for calling _dl_procinfo to display
10829         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10830         explicitly the unknown a_type display mechanism is used.
10831         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10832         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10833         struct member.
10834         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10835         to macro prototype for AT_HWCAP2 support.
10836         * sysdeps/i386/dl-procinfo.h: Likewise.
10837         * sysdeps/s390/dl-procinfo.h: Likewise.
10838         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10839         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
10840         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
10841         return -1 for unknown a_type display fallback.
10842         * sysdeps/sparc/dl-procinfo.h: Likewise.
10843         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10844         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10846 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
10848         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10849         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10851 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
10853         [BZ #12492]
10854         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10855         mprotect making __stack_prot writable.
10857 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
10858             Joseph Myers  <joseph@codesourcery.com>
10860         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10861         as being properly aligned.
10863 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
10865         * dlfcn/modstatic5.c: New file.
10866         * dlfcn/tststatic5.c: New file.
10867         * dlfcn/Makefile (tests): Add tststatic5.
10868         (tests-static): Likewise.
10869         (modules-names): Add modstatic5.
10870         (tststatic5-ENV): New variable.
10871         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10873         [BZ #15022]
10874         * elf/dl-support.c (_dl_main_map): New variable.
10875         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10876         (_dl_nns, _dl_load_adds): Set to 1.
10877         (_dl_initial_searchlist): Refer to _dl_main_map.
10878         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10879         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10880         call to _dl_get_origin.
10881         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10882         around call_map.
10883         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10884         * dlfcn/modstatic3.c: New file.
10885         * dlfcn/tststatic3.c: New file.
10886         * dlfcn/tststatic4.c: New file.
10887         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10888         (tests-static): Likewise.
10889         (modules-names): Add modstatic3.
10890         (tststatic3-ENV, tststatic4-ENV): New variables.
10891         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10892         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10894 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
10896         * configure.in (CC): Require GCC version 4.4 or later.
10897         * configure: Regenerated.
10898         * manual/install.texi (Tools for Compilation): Update GCC version
10899         requirement.
10900         * INSTALL: Regenerated.
10902 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10904         [BZ #15674]
10905         * string/test-memcmp.c (check2): New.
10906         (main): Call check2.
10908         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10910 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
10912         [BZ #15022]
10913         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10914         over to...
10915         (dl_open_worker) [!SHARED]: ... here.
10917 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10919         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10921 2013-06-25  Richard Henderson  <rth@redhat.com>
10923         * locale/programs/locarchive.c: Include <libc-internal.h>
10925 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
10927         * manual/texinfo.tex: Update to version 2013-06-21.17, with
10928         trailing whitespace removed.
10930 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10932         [BZ #10283]
10933         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10934         * locale/programs/locarchive.c: Include libc-mmap.h.
10935         (prepare_address_space): Take two new outputs (the mmap base and len).
10936         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
10937         values.
10938         (create_archive): Declare new mmap base and len values for
10939         prepare_address_space, and store the result in ah.
10940         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10941         (enlarge_archive): If ah->mmap_base is not NULL, use that and
10942         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10943         Declare new mmap base and len values for
10944         prepare_address_space, and store the result in new_ah.
10945         (open_archive): Declare new mmap base and len values for
10946         prepare_address_space, and store the result in ah.
10947         (close_archive): If ah->mmap_base is not NULL, use that and
10948         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10949         * sysdeps/generic/libc-mmap.h: New file.
10951 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10953         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10954         (ALIGN_UP): Likewise.
10955         (PTR_ALIGN_DOWN): Likewise.
10956         (PTR_ALIGN_UP): Likewise.
10958 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10960         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10961         entry mapped to PPC_PLATFORM_POWER8.
10962         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10963         POWER8.
10964         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10965         (_dl_string_platform): Add case for exporting platform position for
10966         POWER8.
10967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10968         search path to sysdeps/powerpc/powerpc32/power8 directory.
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10970         search path to sysdeps/powerpc/powerpc64/power8 directory.
10971         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10972         power7 directories.
10973         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10974         power7 directories.
10976 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10978         * INSTALL: Regenerate.
10980         * nscd/connections.c (nscd_init): Fix comment.
10982 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
10984         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10986         [BZ #15667]
10987         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10988         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10990 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10992         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10993         DL_DST_REQ_STATIC.
10994         (DL_DST_REQ_STATIC): Remove macro.
10996 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
10998         [BZ #7006]
10999         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11000         with a shift of 0 bits.
11002 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
11004         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11005         $(tststatic-ENV).
11007 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11009         [BZ #15655]
11010         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11012 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11014         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11015         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11016         accepts -fno-tree-loop-distribute-patterns.
11017         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11018         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11019         recursive call.
11020         * string/memset.c (memset): Likewise.
11021         * string/test-memmove.c (simple_memmove): Disable loop transformation
11022         to library calls.
11023         * string/test-memset.c (simple_memset): Likewise.
11024         * benchtests/bench-memmove.c (simple_memmove): Likewise.
11025         * benchtests/bench-memset.c (simple_memset): Likewise.
11026         * configure: Regenerated.
11028 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
11030         * math/test-misc.c (main): Ignore fesetround failure when failures
11031         of subsequent rounding tests would be ignored.
11033         [BZ #15654]
11034         * math/fedisblxcpt.c (fedisableexcept): Return 0.
11035         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11036         * math/fegetenv.c (__fegetenv): Return 0.
11037         * math/fegetexcept.c (fegetexcept): Return 0.
11038         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11039         FE_TONEAREST.
11040         * math/feholdexcpt.c (feholdexcept): Return 0.
11041         * math/fesetenv.c (__fesetenv): Return 0.
11042         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11043         argument FE_TONEAREST.
11044         * math/feupdateenv.c (__feupdateenv): Return 0.
11045         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11047 2013-06-18  Roland McGrath  <roland@hack.frob.com>
11049         * elf/rtld-Rules (rtld-compile-command.S): New variable.
11050         (rtld-compile-command.s, rtld-compile-command.c): New variables.
11051         ($(objpfx)rtld-%.os rules): Use them.
11053 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11055         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11056         fields.
11058 2013-06-17  Roland McGrath  <roland@hack.frob.com>
11060         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11061         length of target pattern, then descending length of dependency pattern.
11062         * configure.in (AWK): Require gawk 3.1.2 or newer.
11063         * manual/install.texi (Tools for Compilation): Say that we do.
11064         * configure: Regenerated.
11066         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11067         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11068         * scripts/sysd-rules.awk: ... this new script.
11069         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11070         than a glob-style pattern.
11072 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
11074         * math/test-misc.c (main): Do not treat incorrectly rounded
11075         conversions as failure unless ROUNDING_TESTS passes.
11077 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
11079         [BZ #15631]
11080         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11081         restore exception state around main square root computation, then
11082         check for inexactness explicitly.
11084         * math/libm-test.inc (fma_test_data): Add another test.
11086 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11088         * manual/threads.texi (Non-POSIX Extensions): New document
11089         node.  Document pthread_getattr_default_np and
11090         pthread_setattr_default_np.
11092         * Versions.def (libpthread): Add GLIBC_2.18.
11093         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11095         Likewise.
11096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11097         Likewise.
11098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11099         Likewise.
11100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11101         Likewise.
11102         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11103         Likewise.
11104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11105         Likewise.
11106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11107         Likewise.
11108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11109         Likewise.
11110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11111         Likewise.
11113 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11116         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11118 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11119             H.J. Lu  <hjl.tools@gmail.com>
11121         [BZ #15627]
11122         * sysdeps/x86_64/rtld-memset.c: Remove file.
11123         * sysdeps/x86_64/rtld-memset.S: New file.
11125 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
11127         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11128         (test_in_one_mode): Take arguments for whether the rounding mode
11129         is supported for each floating-point type.
11130         (do_test): Pass new arguments to test_in_one_mode using
11131         ROUNDING_TESTS.
11133 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11135         * posix/tst-waitid.c (do_test): Distinguish different instances of
11136         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
11137         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11138         before entering the kernel for waitpid.
11140 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11142         * NEWS: Fix note on clock function precision.  Text by Roland
11143         McGrath.
11145 2013-06-13  Roland McGrath  <roland@hack.frob.com>
11147         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11148         it into place only when and if the sanity check passes.
11150 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
11152         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11153         output for whether conversion result is exact.  Take argument
11154         indicating whether type is IBM long double.
11155         (round_for_all): Change need_exact field to ibm_ld.
11156         * stdlib/tst-strtod-round.c (struct exactness): New type.
11157         (struct test): Change bool ld_ok field to struct exactness exact.
11158         (TEST): Update all definitions for change to field.
11159         (tests): Regenerate array contents.
11160         (test_in_one_mode): Take pointer to new field instead of old ld_ok
11161         field value.  Check for IBM long double here.
11162         (do_test): Update calls to test_in_one_mode.
11164 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11166         [BZ #12515]
11167         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11168         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11170 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11172         [BZ #15605]
11173         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11174         generated by the compiler on loop optimizations.
11175         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11176         general definitions.
11178 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
11180         * math/bug-nextafter.c: Include <math-tests.h>.
11181         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11182         the relevant type.
11183         * math/bug-nexttoward.c: Include <math-tests.h>.
11184         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11185         the relevant type.
11186         * math/test-misc.c: Include <math-tests.h>.
11187         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11188         the relevant type.
11190 2013-06-12  Andreas Jaeger  <aj@suse.de>
11192         * po/ia.po: Update Interlingua translation from translation
11193         project.
11195 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11197         * include/fenv.h: Include stdbool.h.
11198         (struct rm_ctx): New structure.
11199         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11200         Define macro.
11201         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11202         (SET_RESTORE_ROUNDF): Likewise.
11203         (SET_RESTORE_ROUNDL): Likewise.
11204         (SET_RESTORE_ROUND_NOEX): Likewise.
11205         (SET_RESTORE_ROUND_NOEXF): Likewise.
11206         (SET_RESTORE_ROUND_NOEXL): Likewise.
11207         (SET_RESTORE_ROUND_53BIT): Likewise.
11208         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11209         (libc_feresetround_noexf_ctx): Likewise.
11210         (libc_feresetround_noexl_ctx): Likewise.
11211         (libc_feholdsetround_53bit_ctx): Likewise.
11212         (libc_feresetround_53bit_ctx): Likewise.
11213         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11214         (libc_feholdexcept_setround_sse_ctx): New function.
11215         (libc_fesetenv_sse_ctx): Likewise.
11216         (libc_feupdateenv_sse_ctx): Likewise.
11217         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11218         (libc_feholdexcept_setround_387_ctx): Likewise.
11219         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11220         (libc_feholdsetround_387_prec_ctx): Likewise.
11221         (libc_feholdsetround_387_ctx): Likewise.
11222         (libc_feholdsetround_387_53bit_ctx): Likewise.
11223         (libc_feholdsetround_sse_ctx): Likewise.
11224         (libc_feresetround_sse_ctx): Likewise.
11225         (libc_feresetround_387_ctx): Likewise.
11226         (libc_feupdateenv_387_ctx): Likewise.
11227         (libc_feholdexcept_setroundf_ctx): Define macro.
11228         (libc_fesetenvf_ctx): Likewise.
11229         (libc_feupdateenvf_ctx): Likewise.
11230         (libc_feholdsetroundf_ctx): Likewise.
11231         (libc_feresetroundf_ctx): Likewise.
11232         (libc_feholdexcept_setround_ctx): Likewise.
11233         (libc_fesetenv_ctx): Likewise.
11234         (libc_feupdateenv_ctx): Likewise.
11235         (libc_feholdsetround_ctx): Likewise.
11236         (libc_feresetround_ctx): Likewise.
11237         (libc_feholdexcept_setroundl_ctx): Likewise.
11238         (libc_feupdateenvl_ctx): Likewise.
11239         (libc_feholdsetroundl_ctx): Likewise.
11240         (libc_feresetroundl_ctx): Likewise.
11241         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11242         (libc_feresetround_53bit_ctx): Likewise.
11244 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11246         * locale/iso-639.def: Convert to UTF-8.
11248 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
11250         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11251         (EXCEPTION_TESTS_double): Likewise.
11252         (EXCEPTION_TESTS_long_double): Likewise.
11253         (EXCEPTION_TESTS): Likewise.
11254         * math/libm-test.inc (test_exceptions): Only test exceptions if
11255         EXCEPTION_TESTS (FLOAT).
11257 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11259         * benchtests/Makefile (string-bench): Add strcpy_chk and
11260         stpcpy_chk.
11261         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11262         * benchtests/bench-stpcpy_chk.c: New file.
11263         * benchtests/bench-strcpy_chk-ifunc.c: New file.
11264         * benchtests/bench-strcpy_chk.c: New file.
11265         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11266         code.
11267         (do_test): Likewise.
11269 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11271         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11272         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11273         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11274         with tabs where appropriate.
11275         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11276         dl-procinfo.h.
11277         [PPC_PLATFORM_PPC440]: Likewise.
11278         [PPC_PLATFORM_PPC464]: Likewise.
11279         [PPC_PLATFORM_PPC476]: Likewise.
11280         (_dl_string_platform): Add support for detecting ppc405, ppc440,
11281         ppc464, and ppc476 platform strings merging from ports/
11282         dl-procinfo.h.
11284 2013-06-11  Andreas Schwab  <schwab@suse.de>
11286         [BZ #14991]
11287         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11288         (from_ucs4_idx): Regenerate.
11289         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11290         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11291         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11292         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11293         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11294         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11295         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11296         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11297         from FROM_LOOP and TO_LOOP specific macros.
11298         (BODY): Handle combining characters.
11299         * iconvdata/BIG5HKSCS.irreversible: Update.
11300         * iconvdata/BIG5HKSCS.precomposed: New file.
11301         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11302         characters.
11303         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11305 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11307         * include/sys/time.h: Fix indentation and add copyright header.
11309         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11310         (do_test): Likewise.
11311         * string/test-memchr.c (do_one_test): Likewise.
11312         (do_test): Likewise.
11313         * string/test-memcmp.c (do_one_test): Likewise.
11314         (do_test): Likewise.
11315         * string/test-memcpy.c (do_one_test): Likewise.
11316         (do_test): Likewise.
11317         * string/test-memmem.c (do_one_test): Likewise.
11318         (do_test): Likewise.
11319         (do_random_tests): Likewise.
11320         * string/test-memmove.c (do_one_test): Likewise.
11321         (do_test): Likewise.
11322         * string/test-memset.c (do_one_test): Likewise.
11323         (do_test): Likewise.
11324         * string/test-rawmemchr.c (do_one_test): Likewise.
11325         (do_test): Likewise.
11326         * string/test-strcasecmp.c (do_one_test): Likewise.
11327         (do_test): Likewise.
11328         * string/test-strcasestr.c (do_one_test): Likewise.
11329         (do_test): Likewise.
11330         * string/test-strcat.c (do_one_test): Likewise.
11331         (do_test): Likewise.
11332         * string/test-strchr.c (do_one_test): Likewise.
11333         (do_test): Likewise.
11334         * string/test-strcmp.c (do_one_test): Likewise.
11335         (do_test): Likewise.
11336         * string/test-strcpy.c (do_one_test): Likewise.
11337         (do_test): Likewise.
11338         * string/test-string.h: Likewise.
11339         (test_init): Likewise.
11340         * string/test-strlen.c (do_one_test): Likewise.
11341         (do_test): Likewise.
11342         * string/test-strncasecmp.c (do_one_test): Likewise.
11343         (do_test): Likewise.
11344         * string/test-strncat.c (do_one_test): Likewise.
11345         (do_test): Likewise.
11346         * string/test-strncmp.c (do_one_test): Likewise.
11347         (do_test_limit): Likewise.
11348         (do_test): Likewise.
11349         * string/test-strncpy.c (do_one_test): Likewise.
11350         (do_test): Likewise.
11351         * string/test-strnlen.c (do_one_test): Likewise.
11352         (do_test): Likewise.
11353         * string/test-strpbrk.c (do_one_test): Likewise.
11354         (do_test): Likewise.
11355         * string/test-strrchr.c (do_one_test): Likewise.
11356         (do_test): Likewise.
11357         * string/test-strspn.c (do_one_test): Likewise.
11358         (do_test): Likewise.
11359         * string/test-strstr.c (do_one_test): Likewise.
11360         (do_test): Likewise.
11362         * benchtests/Makefile (string-bench): Add string benchmarks.
11363         * benchtests/bench-bcopy-ifunc.c: New file.
11364         * benchtests/bench-bcopy.c: New file.
11365         * benchtests/bench-bzero-ifunc.c: New file.
11366         * benchtests/bench-bzero.c: New file.
11367         * benchtests/bench-memccpy-ifunc.c: New file.
11368         * benchtests/bench-memccpy.c: New file.
11369         * benchtests/bench-memchr-ifunc.c: New file.
11370         * benchtests/bench-memchr.c: New file.
11371         * benchtests/bench-memcmp-ifunc.c: New file.
11372         * benchtests/bench-memcmp.c: New file.
11373         * benchtests/bench-memmem-ifunc.c: New file.
11374         * benchtests/bench-memmem.c: New file.
11375         * benchtests/bench-memmove-ifunc.c: New file.
11376         * benchtests/bench-memmove.c: New file.
11377         * benchtests/bench-mempcpy-ifunc.c: New file.
11378         * benchtests/bench-mempcpy.c: New file.
11379         * benchtests/bench-memset-ifunc.c: New file.
11380         * benchtests/bench-memset.c: New file.
11381         * benchtests/bench-rawmemchr-ifunc.c: New file.
11382         * benchtests/bench-rawmemchr.c: New file.
11383         * benchtests/bench-stpcpy-ifunc.c: New file.
11384         * benchtests/bench-stpcpy.c: New file.
11385         * benchtests/bench-stpncpy-ifunc.c: New file.
11386         * benchtests/bench-stpncpy.c: New file.
11387         * benchtests/bench-strcasecmp-ifunc.c: New file.
11388         * benchtests/bench-strcasecmp.c: New file.
11389         * benchtests/bench-strcasestr-ifunc.c: New file.
11390         * benchtests/bench-strcasestr.c: New file.
11391         * benchtests/bench-strcat-ifunc.c: New file.
11392         * benchtests/bench-strcat.c: New file.
11393         * benchtests/bench-strchr-ifunc.c: New file.
11394         * benchtests/bench-strchr.c: New file.
11395         * benchtests/bench-strchrnul-ifunc.c: New file.
11396         * benchtests/bench-strchrnul.c: New file.
11397         * benchtests/bench-strcmp-ifunc.c: New file.
11398         * benchtests/bench-strcmp.c: New file.
11399         * benchtests/bench-strcpy-ifunc.c: New file.
11400         * benchtests/bench-strcpy.c: New file.
11401         * benchtests/bench-strcspn-ifunc.c: New file.
11402         * benchtests/bench-strcspn.c: New file.
11403         * benchtests/bench-strlen-ifunc.c: New file.
11404         * benchtests/bench-strlen.c: New file.
11405         * benchtests/bench-strncasecmp-ifunc.c: New file.
11406         * benchtests/bench-strncasecmp.c: New file.
11407         * benchtests/bench-strncat-ifunc.c: New file.
11408         * benchtests/bench-strncat.c: New file.
11409         * benchtests/bench-strncmp-ifunc.c: New file.
11410         * benchtests/bench-strncmp.c: New file.
11411         * benchtests/bench-strncpy-ifunc.c: New file.
11412         * benchtests/bench-strncpy.c: New file.
11413         * benchtests/bench-strnlen-ifunc.c: New file.
11414         * benchtests/bench-strnlen.c: New file.
11415         * benchtests/bench-strpbrk-ifunc.c: New file.
11416         * benchtests/bench-strpbrk.c: New file.
11417         * benchtests/bench-strrchr-ifunc.c: New file.
11418         * benchtests/bench-strrchr.c: New file.
11419         * benchtests/bench-strspn-ifunc.c: New file.
11420         * benchtests/bench-strspn.c: New file.
11421         * benchtests/bench-strstr-ifunc.c: New file.
11422         * benchtests/bench-strstr.c: New file.
11424         * benchtests/Makefile: Disable parallel execution of targets.
11425         (string-bench): Add memcpy.
11426         (benchset): New variable to store a list of benchmark sets.
11427         (bench-func): Renamed from bench.
11428         (bench-set): New target.
11429         (bench): Depend on bench-func and bench-set.
11430         * benchtests/README: Add section on benchmark sets.
11431         * benchtests/bench-memcpy-ifunc.c: New file.
11432         * benchtests/bench-memcpy.c: New file.
11433         * benchtests/bench-string.h: New file.
11435 2013-06-11  Andreas Schwab  <schwab@suse.de>
11437         [BZ #15577]
11438         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11439         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11440         values in the triple.
11441         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11442         terminator in the group key.
11444 2013-06-11  Andreas Jaeger  <aj@suse.de>
11446         * po/zh_TW.po: Update Chinese (traditional) translation from
11447         translation project.
11449 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11451         * include/time.h (__clock_gettime): Add libc_hidden_proto.
11452         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11453         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
11454         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11455         (clock_getcpuclockid): Likewise.
11456         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11457         Add weak_alias and libc_hidden_def.
11458         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11459         * rt/clock_gettime.c (clock_gettime): Rename to
11460         __clock_gettime.  Add weak_alias and libc_hidden_def.
11461         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11462         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11463         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
11464         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11465         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11466         Likewise.
11467         * rt/clock_settime.c (clock_settime): Rename to
11468         __clock_settime.  Add weak_alias and libc_hidden_def.
11469         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11471 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
11473         * mach/err_boot.sub: Remove trailing whitespace.
11474         * mach/err_ipc.sub: Likewise.
11475         * mach/err_mach.sub: Likewise.
11477         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11478         (ROUNDING_TESTS_double): Likewise.
11479         (ROUNDING_TESTS_long_double): Likewise.
11480         (ROUNDING_TESTS): Likewise.
11481         * math/libm-test.inc: Include <math-tests.h>.
11482         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11483         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11484         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11485         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11487 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11489         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11490         of assigning.
11492 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
11494         * sysdeps/gnu/errlist.awk: Do not generate space at end of
11495         otherwise empty TRANS lines.
11496         * sysdeps/gnu/errlist.c: Regenerated.
11498         * catgets/gencat.c (error_print): Use (void) in function
11499         definition.
11500         * crypt/crypt_util.c (__init_des): Likewise.
11501         * crypt/speeds.c (Stop): Likewise.
11502         (main): Likewise.
11503         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11504         * inet/ruserpass.c (token): Likewise.
11505         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11506         * intl/localealias.c (extend_alias_table): Likewise.
11507         * intl/plural-exp.c (init_germanic_plural): Likewise.
11508         * libio/fcloseall.c (__fcloseall): Likewise.
11509         * libio/genops.c (_IO_flush_all): Likewise.
11510         (_IO_flush_all_linebuffered): Likewise.
11511         (_IO_cleanup): Likewise.
11512         (_IO_iter_begin): Likewise.
11513         (_IO_iter_end): Likewise.
11514         (_IO_list_lock): Likewise.
11515         (_IO_list_unlock): Likewise.
11516         (_IO_list_resetlock): Likewise.
11517         * libio/getchar.c (getchar): Likewise.
11518         * libio/getchar_u.c (getchar_unlocked): Likewise.
11519         * libio/getwchar.c (getwchar): Likewise.
11520         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11521         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11522         * login/getpt.c (__getpt): Likewise.
11523         * login/tst-utmp.c (main): Likewise.
11524         * malloc/hooks.c (__malloc_check_init): Likewise.
11525         * malloc/malloc.c (__malloc_stats): Likewise.
11526         * malloc/mtrace.c (tr_break): Likewise.
11527         (mtrace): Likewise.
11528         (muntrace): Likewise.
11529         * misc/fstab.c (endfsent): Likewise.
11530         * misc/getclktck.c (__getclktck): Likewise.
11531         * misc/getdtsz.c (__getdtablesize): Likewise.
11532         * misc/gethostid.c (gethostid): Likewise.
11533         * misc/getpagesize.c (__getpagesize): Likewise.
11534         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11535         (__get_nprocs): Likewise.
11536         (__get_phys_pages): Likewise.
11537         (__get_avphys_pages): Likewise.
11538         * misc/getttyent.c (getttyent): Likewise.
11539         (setttyent): Likewise.
11540         (endttyent): Likewise.
11541         * misc/getusershell.c (getusershell): Likewise.
11542         (endusershell): Likewise.
11543         (setusershell): Likewise.
11544         (initshells): Likewise.
11545         * misc/hsearch.c (__hdestroy): Likewise.
11546         * misc/sync.c (sync): Likewise.
11547         * misc/syslog.c (closelog_internal): Likewise.
11548         (closelog): Likewise.
11549         * misc/ttyslot.c (ttyslot): Likewise.
11550         * misc/vhangup.c (vhangup): Likewise.
11551         * posix/fork.c (__fork): Likewise.
11552         * posix/getegid.c (__getegid): Likewise.
11553         * posix/geteuid.c (__geteuid): Likewise.
11554         * posix/getgid.c (__getgid): Likewise.
11555         * posix/getpid.c (__getpid): Likewise.
11556         * posix/getppid.c (__getppid): Likewise.
11557         * posix/getuid.c (__getuid): Likewise.
11558         * posix/pause.c (pause): Likewise.
11559         * posix/setpgrp.c (setpgrp): Likewise.
11560         * posix/setsid.c (__setsid): Likewise.
11561         * posix/test-vfork.c (noop): Likewise.
11562         * resolv/gethnamaddr.c (_endhtent): Likewise.
11563         (_gethtent): Likewise.
11564         (ht_endhostent): Likewise.
11565         (gethostent): Likewise.
11566         (dns_service): Likewise.
11567         * stdlib/drand48.c (drand48): Likewise.
11568         * stdlib/lrand48.c (lrand48): Likewise.
11569         * stdlib/mrand48.c (mrand48): Likewise.
11570         * stdlib/rand.c (rand): Likewise.
11571         * stdlib/random.c (__random): Likewise.
11572         * stdlib/setenv.c (clearenv): Likewise.
11573         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11574         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11575         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11576         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11577         (__get_nprocs): Likewise.
11578         (__get_phys_pages): Likewise.
11579         (__get_avphys_pages): Likewise.
11580         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11581         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11582         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11583         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11584         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11585         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11586         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11587         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11588         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11589         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11590         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11591         * sysdeps/mach/hurd/sync.c (sync): Likewise.
11592         * sysdeps/posix/clock.c (clock): Likewise.
11593         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11594         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11595         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11596         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11597         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11598         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11599         (__get_nprocs_conf): Likewise.
11600         (__get_phys_pages): Likewise.
11601         (__get_avphys_pages): Likewise.
11602         * time/clock.c (clock): Likewise.
11603         * time/tzset.c (__tzname_max): Likewise.
11605 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
11607         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11608         (__bswap_32): Do not use "register".
11609         * crypt/crypt.c (_ufc_doit_r): Likewise.
11610         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11611         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11612         * gmon/gmon.c (__monstartup): Likewise.
11613         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11614         * hurd/hurdmalloc.c (more_memory): Likewise.
11615         (malloc): Likewise.
11616         (free): Likewise.
11617         (realloc): Likewise.
11618         (malloc_fork_prepare): Likewise.
11619         (malloc_fork_parent): Likewise.
11620         (malloc_fork_child): Likewise.
11621         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11622         (_svcauth_des): Likewise.
11623         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11624         * inet/inet_net.c (inet_network): Likewise.
11625         * inet/inet_netof.c (inet_netof): Likewise.
11626         * inet/rcmd.c (__validuser2_sa): Likewise.
11627         * io/fts.c (fts_open): Likewise.
11628         (fts_load): Likewise.
11629         (fts_close): Likewise.
11630         (fts_read): Likewise.
11631         (fts_children): Likewise.
11632         (fts_build): Likewise.
11633         (fts_stat): Likewise.
11634         (fts_sort): Likewise.
11635         (fts_alloc): Likewise.
11636         (fts_lfree): Likewise.
11637         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11638         (_IO_file_xsgetn): Likewise.
11639         (_IO_file_xsgetn_mmap): Likewise.
11640         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11641         (_IO_cookie_write): Likewise.
11642         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11643         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11644         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11645         * malloc/obstack.c (_obstack_begin): Likewise.
11646         (_obstack_begin_1): Likewise.
11647         (_obstack_newchunk): Likewise.
11648         (_obstack_allocated_p): Likewise.
11649         (obstack_free): Likewise.
11650         (_obstack_memory_used): Likewise.
11651         * misc/getttyent.c (getttynam): Likewise.
11652         (getttyent): Likewise.
11653         (skip): Likewise.
11654         (value): Likewise.
11655         * misc/getusershell.c (initshells): Likewise.
11656         * misc/syslog.c (__vsyslog_chk): Likewise.
11657         * misc/ttyslot.c (ttyslot): Likewise.
11658         * nis/nis_hash.c (__nis_hash): Likewise.
11659         * posix/fnmatch_loop.c (FCT): Likewise.
11660         * posix/getconf.c (print_all): Likewise.
11661         (main): Likewise.
11662         * posix/getopt.c (exchange): Likewise.
11663         * posix/glob.c (globfree): Likewise.
11664         (prefix_array): Likewise.
11665         (__glob_pattern_type): Likewise.
11666         * resolv/arpa/nameser.h (NS_GET16): Likewise.
11667         (NS_GET32): Likewise.
11668         (NS_PUT16): Likewise.
11669         (NS_PUT32): Likewise.
11670         * resolv/gethnamaddr.c (getanswer): Likewise.
11671         (gethostbyname2): Likewise.
11672         (gethostbyaddr): Likewise.
11673         (_gethtent): Likewise.
11674         (_gethtbyname2): Likewise.
11675         (_gethtbyaddr): Likewise.
11676         * resolv/ns_print.c (dst_s_get_int16): Likewise.
11677         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11678         * resolv/res_init.c (__res_vinit): Likewise.
11679         (net_mask): Likewise.
11680         * resolv/res_mkquery.c (outchar): Likewise.
11681         (PRINT): Likewise.
11682         * stdio-common/printf_fp.c (outchar): Likewise.
11683         (PRINT): Likewise.
11684         * stdio-common/printf_fphex.c (outchar): Likewise.
11685         (PRINT): Likewise.
11686         * stdio-common/printf_size.c (outchar): Likewise.
11687         (PRINT): Likewise.
11688         * stdio-common/test_rdwr.c (main): Likewise.
11689         * stdio-common/tfformat.c (matches): Likewise.
11690         * stdio-common/vfprintf.c (outchar): Likewise.
11691         (printf_unknown): Likewise.
11692         (buffered_vfprintf): Likewise.
11693         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11694         * stdio-common/xbug.c (AppendToBuffer): Likewise.
11695         (ReadFile): Likewise.
11696         * stdlib/qsort.c (SWAP): Likewise.
11697         (_quicksort): Likewise.
11698         * stdlib/setenv.c (__add_to_environ): Likewise.
11699         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11700         * stdlib/strtol_l.c (__strtol_l): Likewise.
11701         * stdlib/tst-strtod.c (main): Likewise.
11702         * stdlib/tst-strtol.c (main): Likewise.
11703         * stdlib/tst-strtoll.c (main): Likewise.
11704         * string/bits/string2.h (__strcmp_cc): Likewise.
11705         (__strcmp_cg): Likewise.
11706         (__strcspn_c1): Likewise.
11707         (__strcspn_c2): Likewise.
11708         (__strcspn_c3): Likewise.
11709         (__strspn_c1): Likewise.
11710         (__strspn_c2): Likewise.
11711         (__strspn_c3): Likewise.
11712         (__strsep_1c): Likewise.
11713         (__strsep_2c): Likewise.
11714         (__strsep_3c): Likewise.
11715         * string/memccpy.c (__memccpy): Likewise.
11716         * string/stpcpy.c (__stpcpy): Likewise.
11717         * string/strcmp.c (strcmp): Likewise.
11718         * string/strrchr.c (strrchr): Likewise.
11719         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11720         Likewise.
11721         * sysdeps/mach/hurd/getcwd.c
11722         (_hurd_canonicalize_directory_name_internal): Likewise.
11723         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11724         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11725         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11726         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11727         Likewise, in both definitions.
11728         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11729         definitions.
11730         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11731         64] (__bswap_64): Likewise.
11732         * time/test_time.c (main): Likewise.
11733         * time/tzfile.c (__tzfile_read): Likewise.
11734         (__tzfile_compute): Likewise.
11735         * time/tzset.c (__tzset_parse_tz): Likewise.
11736         (tzset_internal): Likewise.
11737         (compute_change): Likewise.
11738         * wcsmbs/wcscat.c (__wcscat): Likewise.
11739         * wcsmbs/wcschr.c (wcschr): Likewise.
11740         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11741         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11742         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11743         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11744         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11745         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11746         * wcsmbs/wmemchr.c (wmemchr): Likewise.
11747         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11748         * wcsmbs/wmemset.c (wmemset): Likewise.
11750 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
11752         * scripts/config.guess: Update to version 2013-05-16.
11753         * scripts/config.sub: Update to version 2013-04-24.
11754         * scripts/install-sh: Update to version 2011-11-20.07.
11755         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11756         * scripts/move-if-change: Update to version 2012-01-06 07:23.
11758 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
11760         * debug/fgetws_u_chk.c: Fix leading whitespaces.
11761         * elf/sln.c: Likewise.
11762         * hurd/hurd/ioctl.h: Likewise.
11763         * hurd/hurdmalloc.c: Likewise.
11764         * hurd/xattr.c: Likewise.
11765         * include/shlib-compat.h: Likewise.
11766         * inet/ruserpass.c: Likewise.
11767         * libio/iofgets_u.c: Likewise.
11768         * libio/iofgetws_u.c: Likewise.
11769         * locale/programs/ld-identification.c: Likewise.
11770         * locale/programs/ld-time.c: Likewise.
11771         * mach/msg-destroy.c: Likewise.
11772         * nss/nss_files/files-netgrp.c: Likewise.
11773         * resolv/res_data.c: Likewise.
11774         * soft-fp/op-1.h: Likewise.
11775         * soft-fp/op-2.h: Likewise.
11776         * soft-fp/op-4.h: Likewise.
11777         * soft-fp/op-common.h: Likewise.
11778         * stdio-common/printf_fphex.c: Likewise.
11779         * stdlib/strtod_l.c: Likewise.
11780         * sunrpc/rpc/clnt.h: Likewise.
11781         * sysdeps/generic/framestate.c: Likewise.
11782         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11783         * sysdeps/i386/bsd-setjmp.S: Likewise.
11784         * sysdeps/i386/__longjmp.S: Likewise.
11785         * sysdeps/i386/setjmp.S: Likewise.
11786         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11787         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11788         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11789         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11790         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11791         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11792         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11793         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11794         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11795         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11796         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11797         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11798         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11799         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11800         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11801         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11802         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11803         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11804         * sysdeps/ieee754/support.c: Likewise.
11805         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11806         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11807         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11808         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11809         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11810         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11811         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11812         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11813         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11814         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11815         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11816         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11817         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11818         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11819         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11820         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11821         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11824 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
11826         * posix/transbug.c: Remove executable mode.
11828 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
11830         * crypt/speeds.c: Remove trailing whitespace.
11831         * dlfcn/default.c: Likewise.
11832         * elf/ifuncdep2.c: Likewise.
11833         * elf/ifuncmain1.c: Likewise.
11834         * elf/ifuncmain1vis.c: Likewise.
11835         * elf/testobj.h: Likewise.
11836         * elf/tst-stackguard1.c: Likewise.
11837         * gmon/sys/gmon.h: Likewise.
11838         * hurd/hurdmsg.c: Likewise.
11839         * hurd/new-fd.c: Likewise.
11840         * hurd/ports-get.c: Likewise.
11841         * iconvdata/ibm1008_420.c: Likewise.
11842         * inet/tst-getni1.c: Likewise.
11843         * inet/tst-getni2.c: Likewise.
11844         * libio/ioungetc.c: Likewise.
11845         * libio/wfiledoalloc.c: Likewise.
11846         * manual/libm-err-tab.pl: Likewise.
11847         * math/w_dremf.c: Likewise.
11848         * misc/ftruncate.c: Likewise.
11849         * posix/bug-glob2.c: Likewise.
11850         * posix/tst-pcre.c: Likewise.
11851         * posix/wait4.c: Likewise.
11852         * resolv/README: Likewise.
11853         * resolv/res_debug.h: Likewise.
11854         * resolv/tst-inet_ntop.c: Likewise.
11855         * setjmp/bug269-setjmp.c: Likewise.
11856         * soft-fp/extended.h: Likewise.
11857         * soft-fp/op-1.h: Likewise.
11858         * soft-fp/op-2.h: Likewise.
11859         * soft-fp/op-4.h: Likewise.
11860         * soft-fp/op-8.h: Likewise.
11861         * soft-fp/testit.c: Likewise.
11862         * stdio-common/bug16.c: Likewise.
11863         * stdlib/random.c: Likewise.
11864         * sunrpc/rpcsvc/rquota.x: Likewise.
11865         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11866         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11867         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11868         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11869         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11870         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11871         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11872         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11873         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11874         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11875         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11876         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11877         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11878         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11879         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11880         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11881         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11882         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11883         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11884         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11885         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11886         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11887         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11888         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11889         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11890         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11891         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11892         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11893         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11894         * sysdeps/ieee754/s_lib_version.c: Likewise.
11895         * sysdeps/mach/hurd/check_fds.c: Likewise.
11896         * sysdeps/mach/hurd/getsockname.c: Likewise.
11897         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11898         * sysdeps/mach/hurd/recvfrom.c: Likewise.
11899         * sysdeps/powerpc/bits/link.h: Likewise.
11900         * sysdeps/powerpc/dl-procinfo.c: Likewise.
11901         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11902         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11903         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11904         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11905         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11906         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11907         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11908         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11909         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11910         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11911         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11912         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11913         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11914         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11915         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11916         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11917         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11918         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11919         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11920         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11921         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11922         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11923         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11924         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11925         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11926         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11927         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11928         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11929         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11930         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11931         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11932         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11933         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11934         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11935         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11936         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11937         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11938         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11939         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11940         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11941         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11942         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11943         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11944         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11945         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11946         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11947         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11948         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11949         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11950         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11951         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11952         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11953         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11954         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11955         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11956         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11957         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11958         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11959         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11960         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11961         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11962         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11963         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11964         * sysdeps/powerpc/sysdep.h: Likewise.
11965         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11966         * sysdeps/s390/s390-64/sub_n.S: Likewise.
11967         * sysdeps/sh/dl-trampoline.S: Likewise.
11968         * sysdeps/sh/memset.S: Likewise.
11969         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11970         * sysdeps/sh/strlen.S: Likewise.
11971         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11972         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11973         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11974         * sysdeps/sparc/sparc32/rem.S: Likewise.
11975         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11976         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11977         * sysdeps/sparc/sparc32/strchr.S: Likewise.
11978         * sysdeps/sparc/sparc32/udiv.S: Likewise.
11979         * sysdeps/sparc/sparc32/urem.S: Likewise.
11980         * sysdeps/sparc/sparc64/add_n.S: Likewise.
11981         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11982         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11983         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11984         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11985         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11986         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11987         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11988         * sysdeps/unix/bsd/times.c: Likewise.
11989         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11990         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11994         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11995         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11996         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11997         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11998         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11999         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12000         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12001         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12002         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12003         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12004         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12005         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12006         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12007         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12008         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12009         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12010         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12011         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12012         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12013         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12014         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12015         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12016         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12017         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12018         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12019         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12020         * sysdeps/x86_64/strcspn.S: Likewise.
12022 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12024         * locale/C-translit.h: Revert #include <stdint.h> because this is a
12025         generated file.  Regenerate properly from gen-translit.pl.
12026         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
12027         locale/C-translit.h.
12029 2013-06-05  Andreas Schwab  <schwab@suse.de>
12031         [BZ #15100]
12032         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12033         week as 6 instead of -1.
12034         * time/tst-strptime.c (day_tests): Add test case.
12036 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12038         * sysdeps/generic/math_private.h
12039         (libc_feholdexcept_setround_53bit): Replace with
12040         libc_feholdsetround_53bit.
12041         (libc_feupdateenv_53bit): Replace with
12042         libc_feresetround_53bit.
12043         (SET_RESTORE_ROUND_53BIT): Adjust.
12045 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12047         * string/test-strchrnul.c: Add copyright header.
12049         * posix/tst-getaddrinfo4.c: Increase test timeout.
12051 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
12053         [BZ #15536]
12054         * math/libm-test.inc (MAX_EXP): Remove
12055         (MIN_EXP): Define.
12056         (ulp): Use MIN_EXP - MANT_DIG.
12057         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12059 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
12061         * po/be.po: Revert last change.
12062         * po/zh_CN.po: Likewise.
12063         * po/header.pot: Likewise.
12065 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
12067         * Makefile ($(common-objpfx)linkobj/libc.so): Define
12068         link-libc-deps to empty as target-specific variable.
12069         * Makerules (link-libc-args): New variable.
12070         (libc-for-link): Likewise.
12071         (link-libc-deps): Likewise.
12072         (lib%.so): Depend on $(link-libc-deps).  Link with
12073         $(link-libc-args).
12074         (build-module): Link with $(link-libc-args).
12075         (build-module-asneeded): Likewise.
12076         (build-module-helper-objlist): Filter out $(link-libc-deps) from
12077         list of objects.
12078         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12079         target-specific variable.
12080         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12081         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12082         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12083         libc.
12084         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12085         libc and ld.so.
12086         ($(objpfx)libpcprofile.so): Likewise.
12087         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12088         libc_nonshared.a.
12089         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12090         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12091         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12092         $(link-libc-deps).
12093         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12094         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12095         * login/Makefile ($(objpfx)libutil.so): Likewise.
12096         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12097         * math/Makefile ($(objpfx)libm.so): Likewise.
12098         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12099         $(objpfx)libnsl.so): Define libc-for-link as target-specific
12100         variable instead of depending directly on libc.
12101         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12102         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12103         $(link-libc-deps).
12104         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12105         libc.
12106         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12107         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12108         ($(objpfx)libanl.so): Likewise.
12109         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12110         ld.so.
12111         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12112         $(link-libc-deps).
12113         * sysdeps/i386/fpu/Makefile: Remove file.
12114         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12115         ($(objpfx)libm.so): Remove dependency on ld.so.
12117 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
12119         [BZ # 15553]
12120         * nis/yp_xdr.c (XDRMAXNAME): Define.
12121         (XDRMAXRECORD): Define.
12122         (xdr_domainname): Use XDRMAXNAME.
12123         (xdr_mapname): Likewise.
12124         (xdr_peername): Likewise.
12125         (xdr_keydat): Use XDRMAXRECORD.
12126         (xdr_valdat): Likewise.
12128 2013-05-30  Jeff Law  <law@redhat.com>
12130         [BZ #14256]
12131         * manual/errno.texi (ESTALE): Update to account for more than
12132         just NFS file systems.
12133         * sysdeps/gnu/errlist.c: Regenerated.
12135 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12137         [BZ #15465]
12138         * elf/Makefile (tests): Add tst-null-argv.
12139         (modules-names):  Add tst-null-argv-lib.
12140         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12141         (tst-null-argv-ENV): Set environment for tst-null-argv.
12142         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12143         (RTLD_PROGNAME): New macro.
12144         * elf/tst-null-argv.c: New test case.
12145         * elf/tst-null-argv-lib.c: Library for test case.
12146         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12147         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12148         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12149         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12150         * elf/dl-init.c (call_init): Likewise.
12151         (_dl_init): Likewise.
12152         * elf/dl-load.c (print_search_path): Likewise.
12153         (_dl_map_object): Likewise.
12154         * elf/dl-lookup.c (do_lookup_x): Likewise.
12155         (add_dependency): Likewise.
12156         (_dl_lookup_symbol_x): Likewise.
12157         (_dl_debug_bindings): Likewise.
12158         * elf/dl-open.c (_dl_show_scope): Likewise.
12159         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12160         * elf/dl-version.c (match_symbol): Likewise.
12161         (_dl_check_map_versions): Likewise.
12162         * elf/rtld.c (dl_main): Likewise.
12163         (print_unresolved): Use RTLD_PROGNAME.
12164         (print_missing_version): Likewise.
12165         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12166         (elf_machine_rela): Likewise.
12167         * sysdeps/powerpc/powerpc32/dl-machine.c
12168         (__process_machine_rela): Likewise.
12169         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12170         Likewise.
12171         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12172         Likewise.
12173         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12174         Likewise.
12175         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12176         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12177         Likewise.
12178         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12179         Likewise.
12180         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12182 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
12184         * po/be.po: Add descriptive title.
12185         * po/zh_CN.po: Likewise.
12186         * po/header.pot: Likewise.
12188 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
12190         * locale/programs/locarchive.c (create_archive): Inlucde fname in
12191         error message.
12192         (enlarge_archive): Likewise.
12194 2013-05-28  Ben North  <ben@redfrontdoor.org>
12196         * manual/arith.texi (frexp): It is the magnitude of the return
12197         value which lies in [0.5, 1), not the return value itself.
12199 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12203 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
12205         * stdio-common/bug26.c (main): Correct fscanf template.
12207         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12208         declare _dl_skip_args.
12210         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12211         Don't declare.
12213         * manual/platform.texi: Add missing @end deftypefun.
12215 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12217         [BZ #15529]
12218         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12219         bit of mantissa of 2^16382.
12220         * math/libm-test.inc (hypot_test_data): Add more tests.
12222         * math/libm-test.inc: Add drem and pow10 to list of tested
12223         functions.
12224         (pow10_test): New function.
12225         (drem_test): Likewise.
12226         (drem_test_tonearest): Likewise.
12227         (drem_test_towardzero): Likewise.
12228         (drem_test_downward): Likewise.
12229         (drem_test_upward): Likewise.
12230         (main): Call the new functions.
12232         * math/libm-test.inc (finite_test_data): Remove.
12233         (finite_test): Run tests from isfinite_test_data.
12234         (gamma_test_data): Remove.
12235         (gamma_test): Run tests from lgamma_test_data.
12236         * sysdeps/i386/fpu/libm-test-ulps: Update.
12237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12239 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12241         * manual/platform.texi: Add PowerPC PPR function set documentation.
12242         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12243         implementation.
12245 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
12247         * math/libm-test.inc (MAX_EXP): Define.
12248         (ULPDIFF): Define.
12249         (ulp): New function.
12250         (check_float_internal): Use ULPDIFF.
12251         (cpow_test): Disable failing test.
12252         (check_ulp): Test ulp() implemetnation.
12253         (main): Call check_ulp before starting tests.
12255 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12257         * math/gen-libm-test.pl (generate_testfile): Do not handle
12258         START_DATA and END_DATA.
12259         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12260         END_DATA.
12261         (acos_tonearest_test_data): Likewise.
12262         (acos_towardzero_test_data): Likewise.
12263         (acos_downward_test_data): Likewise.
12264         (acos_upward_test_data): Likewise.
12265         (acosh_test_data): Likewise.
12266         (asin_test_data): Likewise.
12267         (asin_tonearest_test_data): Likewise.
12268         (asin_towardzero_test_data): Likewise.
12269         (asin_downward_test_data): Likewise.
12270         (asin_upward_test_data): Likewise.
12271         (asinh_test_data): Likewise.
12272         (atan_test_data): Likewise.
12273         (atanh_test_data): Likewise.
12274         (atan2_test_data): Likewise.
12275         (cabs_test_data): Likewise.
12276         (cacos_test_data): Likewise.
12277         (cacosh_test_data): Likewise.
12278         (carg_test_data): Likewise.
12279         (casin_test_data): Likewise.
12280         (casinh_test_data): Likewise.
12281         (catan_test_data): Likewise.
12282         (catanh_test_data): Likewise.
12283         (cbrt_test_data): Likewise.
12284         (ccos_test_data): Likewise.
12285         (ccosh_test_data): Likewise.
12286         (ceil_test_data): Likewise.
12287         (cexp_test_data): Likewise.
12288         (cimag_test_data): Likewise.
12289         (clog_test_data): Likewise.
12290         (clog10_test_data): Likewise.
12291         (conj_test_data): Likewise.
12292         (copysign_test_data): Likewise.
12293         (cos_test_data): Likewise.
12294         (cos_tonearest_test_data): Likewise.
12295         (cos_towardzero_test_data): Likewise.
12296         (cos_downward_test_data): Likewise.
12297         (cos_upward_test_data): Likewise.
12298         (cosh_test_data): Likewise.
12299         (cosh_tonearest_test_data): Likewise.
12300         (cosh_towardzero_test_data): Likewise.
12301         (cosh_downward_test_data): Likewise.
12302         (cosh_upward_test_data): Likewise.
12303         (cpow_test_data): Likewise.
12304         (cproj_test_data): Likewise.
12305         (creal_test_data): Likewise.
12306         (csin_test_data): Likewise.
12307         (csinh_test_data): Likewise.
12308         (csqrt_test_data): Likewise.
12309         (ctan_test_data): Likewise.
12310         (ctan_tonearest_test_data): Likewise.
12311         (ctan_towardzero_test_data): Likewise.
12312         (ctan_downward_test_data): Likewise.
12313         (ctan_upward_test_data): Likewise.
12314         (ctanh_test_data): Likewise.
12315         (ctanh_tonearest_test_data): Likewise.
12316         (ctanh_towardzero_test_data): Likewise.
12317         (ctanh_downward_test_data): Likewise.
12318         (ctanh_upward_test_data): Likewise.
12319         (erf_test_data): Likewise.
12320         (erfc_test_data): Likewise.
12321         (exp_test_data): Likewise.
12322         (exp_tonearest_test_data): Likewise.
12323         (exp_towardzero_test_data): Likewise.
12324         (exp_downward_test_data): Likewise.
12325         (exp_upward_test_data): Likewise.
12326         (exp10_test_data): Likewise.
12327         (exp2_test_data): Likewise.
12328         (expm1_test_data): Likewise.
12329         (fabs_test_data): Likewise.
12330         (fdim_test_data): Likewise.
12331         (finite_test_data): Likewise.
12332         (floor_test_data): Likewise.
12333         (fma_test_data): Likewise.
12334         (fma_towardzero_test_data): Likewise.
12335         (fma_downward_test_data): Likewise.
12336         (fma_upward_test_data): Likewise.
12337         (fmax_test_data): Likewise.
12338         (fmin_test_data): Likewise.
12339         (fmod_test_data): Likewise.
12340         (fpclassify_test_data): Likewise.
12341         (frexp_test_data): Likewise.
12342         (gamma_test_data): Likewise.
12343         (hypot_test_data): Likewise.
12344         (ilogb_test_data): Likewise.
12345         (isfinite_test_data): Likewise.
12346         (isgreater_test_data): Likewise.
12347         (isgreaterequal_test_data): Likewise.
12348         (isinf_test_data): Likewise.
12349         (isless_test_data): Likewise.
12350         (islessequal_test_data): Likewise.
12351         (islessgreater_test_data): Likewise.
12352         (isnan_test_data): Likewise.
12353         (isnormal_test_data): Likewise.
12354         (issignaling_test_data): Likewise.
12355         (isunordered_test_data): Likewise.
12356         (j0_test_data): Likewise.
12357         (j1_test_data): Likewise.
12358         (jn_test_data): Likewise.
12359         (ldexp_test_data): Likewise.
12360         (lgamma_test_data): Likewise.
12361         (lrint_test_data): Likewise.
12362         (lrint_tonearest_test_data): Likewise.
12363         (lrint_towardzero_test_data): Likewise.
12364         (lrint_downward_test_data): Likewise.
12365         (lrint_upward_test_data): Likewise.
12366         (llrint_test_data): Likewise.
12367         (llrint_tonearest_test_data): Likewise.
12368         (llrint_towardzero_test_data): Likewise.
12369         (llrint_downward_test_data): Likewise.
12370         (llrint_upward_test_data): Likewise.
12371         (log_test_data): Likewise.
12372         (log10_test_data): Likewise.
12373         (log1p_test_data): Likewise.
12374         (log2_test_data): Likewise.
12375         (logb_test_data): Likewise.
12376         (logb_downward_test_data): Likewise.
12377         (lround_test_data): Likewise.
12378         (llround_test_data): Likewise.
12379         (modf_test_data): Likewise.
12380         (nearbyint_test_data): Likewise.
12381         (nextafter_test_data): Likewise.
12382         (nexttoward_test_data): Likewise.
12383         (pow_test_data): Likewise.
12384         (pow_tonearest_test_data): Likewise.
12385         (pow_towardzero_test_data): Likewise.
12386         (pow_downward_test_data): Likewise.
12387         (pow_upward_test_data): Likewise.
12388         (remainder_test_data): Likewise.
12389         (remainder_tonearest_test_data): Likewise.
12390         (remainder_towardzero_test_data): Likewise.
12391         (remainder_downward_test_data): Likewise.
12392         (remainder_upward_test_data): Likewise.
12393         (remquo_test_data): Likewise.
12394         (rint_test_data): Likewise.
12395         (rint_tonearest_test_data): Likewise.
12396         (rint_towardzero_test_data): Likewise.
12397         (rint_downward_test_data): Likewise.
12398         (rint_upward_test_data): Likewise.
12399         (round_test_data): Likewise.
12400         (scalb_test_data): Likewise.
12401         (scalbn_test_data): Likewise.
12402         (scalbln_test_data): Likewise.
12403         (signbit_test_data): Likewise.
12404         (sin_test_data): Likewise.
12405         (sin_tonearest_test_data): Likewise.
12406         (sin_towardzero_test_data): Likewise.
12407         (sin_downward_test_data): Likewise.
12408         (sin_upward_test_data): Likewise.
12409         (sincos_test_data): Likewise.
12410         (sinh_test_data): Likewise.
12411         (sinh_tonearest_test_data): Likewise.
12412         (sinh_towardzero_test_data): Likewise.
12413         (sinh_downward_test_data): Likewise.
12414         (sinh_upward_test_data): Likewise.
12415         (sqrt_test_data): Likewise.
12416         (tan_test_data): Likewise.
12417         (tan_tonearest_test_data): Likewise.
12418         (tan_towardzero_test_data): Likewise.
12419         (tan_downward_test_data): Likewise.
12420         (tan_upward_test_data): Likewise.
12421         (tanh_test_data): Likewise.
12422         (tgamma_test_data): Likewise.
12423         (trunc_test_data): Likewise.
12424         (y0_test_data): Likewise.
12425         (y1_test_data): Likewise.
12426         (yn_test_data): Likewise.
12427         (significand_test_data): Likewise.
12429         * math/gen-libm-test.pl (@functions): Remove variable.
12430         (generate_testfile): Don't handle START and END lines.
12431         * math/libm-test.inc (START): New macro.
12432         (END): Likewise.
12433         (END_COMPLEX): Likewise.
12434         (acos_test): Use END macro without arguments.
12435         (acos_test_tonearest): Likewise.
12436         (acos_test_towardzero): Likewise.
12437         (acos_test_downward): Likewise.
12438         (acos_test_upward): Likewise.
12439         (acosh_test): Likewise.
12440         (asin_test): Likewise.
12441         (asin_test_tonearest): Likewise.
12442         (asin_test_towardzero): Likewise.
12443         (asin_test_downward): Likewise.
12444         (asin_test_upward): Likewise.
12445         (asinh_test): Likewise.
12446         (atan_test): Likewise.
12447         (atanh_test): Likewise.
12448         (atan2_test): Likewise.
12449         (cabs_test): Likewise.
12450         (cacos_test): Use END_COMPLEX macro without arguments.
12451         (cacosh_test): Likewise.
12452         (carg_test): Use END macro without arguments.
12453         (casin_test): Use END_COMPLEX macro without arguments.
12454         (casinh_test): Likewise.
12455         (catan_test): Likewise.
12456         (catanh_test): Likewise.
12457         (cbrt_test): Use END macro without arguments.
12458         (ccos_test): Use END_COMPLEX macro without arguments.
12459         (ccosh_test): Likewise.
12460         (ceil_test): Use END macro without arguments.
12461         (cexp_test): Use END_COMPLEX macro without arguments.
12462         (cimag_test): Use END macro without arguments.
12463         (clog_test): Use END_COMPLEX macro without arguments.
12464         (clog10_test): Likewise.
12465         (conj_test): Likewise.
12466         (copysign_test): Use END macro without arguments.
12467         (cos_test): Likewise.
12468         (cos_test_tonearest): Likewise.
12469         (cos_test_towardzero): Likewise.
12470         (cos_test_downward): Likewise.
12471         (cos_test_upward): Likewise.
12472         (cosh_test): Likewise.
12473         (cosh_test_tonearest): Likewise.
12474         (cosh_test_towardzero): Likewise.
12475         (cosh_test_downward): Likewise.
12476         (cosh_test_upward): Likewise.
12477         (cpow_test): Use END_COMPLEX macro without arguments.
12478         (cproj_test): Likewise.
12479         (creal_test): Use END macro without arguments.
12480         (csin_test): Use END_COMPLEX macro without arguments.
12481         (csinh_test): Likewise.
12482         (csqrt_test): Likewise.
12483         (ctan_test): Likewise.
12484         (ctan_test_tonearest): Likewise.
12485         (ctan_test_towardzero): Likewise.
12486         (ctan_test_downward): Likewise.
12487         (ctan_test_upward): Likewise.
12488         (ctanh_test): Likewise.
12489         (ctanh_test_tonearest): Likewise.
12490         (ctanh_test_towardzero): Likewise.
12491         (ctanh_test_downward): Likewise.
12492         (ctanh_test_upward): Likewise.
12493         (erf_test): Use END macro without arguments.
12494         (erfc_test): Likewise.
12495         (exp_test): Likewise.
12496         (exp_test_tonearest): Likewise.
12497         (exp_test_towardzero): Likewise.
12498         (exp_test_downward): Likewise.
12499         (exp_test_upward): Likewise.
12500         (exp10_test): Likewise.
12501         (exp2_test): Likewise.
12502         (expm1_test): Likewise.
12503         (fabs_test): Likewise.
12504         (fdim_test): Likewise.
12505         (finite_test): Likewise.
12506         (floor_test): Likewise.
12507         (fma_test): Likewise.
12508         (fma_test_towardzero): Likewise.
12509         (fma_test_downward): Likewise.
12510         (fma_test_upward): Likewise.
12511         (fmax_test): Likewise.
12512         (fmin_test): Likewise.
12513         (fmod_test): Likewise.
12514         (fpclassify_test): Likewise.
12515         (frexp_test): Likewise.
12516         (gamma_test): Likewise.
12517         (hypot_test): Likewise.
12518         (ilogb_test): Likewise.
12519         (isfinite_test): Likewise.
12520         (isgreater_test): Likewise.
12521         (isgreaterequal_test): Likewise.
12522         (isinf_test): Likewise.
12523         (isless_test): Likewise.
12524         (islessequal_test): Likewise.
12525         (islessgreater_test): Likewise.
12526         (isnan_test): Likewise.
12527         (isnormal_test): Likewise.
12528         (issignaling_test): Likewise.
12529         (isunordered_test): Likewise.
12530         (j0_test): Likewise.
12531         (j1_test): Likewise.
12532         (jn_test): Likewise.
12533         (ldexp_test): Likewise.
12534         (lgamma_test): Likewise.
12535         (lrint_test): Likewise.
12536         (lrint_test_tonearest): Likewise.
12537         (lrint_test_towardzero): Likewise.
12538         (lrint_test_downward): Likewise.
12539         (lrint_test_upward): Likewise.
12540         (llrint_test): Likewise.
12541         (llrint_test_tonearest): Likewise.
12542         (llrint_test_towardzero): Likewise.
12543         (llrint_test_downward): Likewise.
12544         (llrint_test_upward): Likewise.
12545         (log_test): Likewise.
12546         (log10_test): Likewise.
12547         (log1p_test): Likewise.
12548         (log2_test): Likewise.
12549         (logb_test): Likewise.
12550         (logb_test_downward): Likewise.
12551         (lround_test): Likewise.
12552         (llround_test): Likewise.
12553         (modf_test): Likewise.
12554         (nearbyint_test): Likewise.
12555         (nextafter_test): Likewise.
12556         (nexttoward_test): Likewise.
12557         (pow_test): Likewise.
12558         (pow_test_tonearest): Likewise.
12559         (pow_test_towardzero): Likewise.
12560         (pow_test_downward): Likewise.
12561         (pow_test_upward): Likewise.
12562         (remainder_test): Likewise.
12563         (remainder_test_tonearest): Likewise.
12564         (remainder_test_towardzero): Likewise.
12565         (remainder_test_downward): Likewise.
12566         (remainder_test_upward): Likewise.
12567         (remquo_test): Likewise.
12568         (rint_test): Likewise.
12569         (rint_test_tonearest): Likewise.
12570         (rint_test_towardzero): Likewise.
12571         (rint_test_downward): Likewise.
12572         (rint_test_upward): Likewise.
12573         (round_test): Likewise.
12574         (scalb_test): Likewise.
12575         (scalbn_test): Likewise.
12576         (scalbln_test): Likewise.
12577         (signbit_test): Likewise.
12578         (sin_test): Likewise.
12579         (sin_test_tonearest): Likewise.
12580         (sin_test_towardzero): Likewise.
12581         (sin_test_downward): Likewise.
12582         (sin_test_upward): Likewise.
12583         (sincos_test): Likewise.
12584         (sinh_test): Likewise.
12585         (sinh_test_tonearest): Likewise.
12586         (sinh_test_towardzero): Likewise.
12587         (sinh_test_downward): Likewise.
12588         (sinh_test_upward): Likewise.
12589         (sqrt_test): Likewise.
12590         (tan_test): Likewise.
12591         (tan_test_tonearest): Likewise.
12592         (tan_test_towardzero): Likewise.
12593         (tan_test_downward): Likewise.
12594         (tan_test_upward): Likewise.
12595         (tanh_test): Likewise.
12596         (tgamma_test): Likewise.
12597         (trunc_test): Likewise.
12598         (y0_test): Likewise.
12599         (y1_test): Likewise.
12600         (yn_test): Likewise.
12601         (significand_test): Likewise.
12603 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
12605         [BZ #15381]
12606         * libio/genops.c (_IO_no_init): Initialize wide struct info.
12608 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12610         [BZ #14894]
12611         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12612         __ppc_mdoio and __ppc_mdoom.
12613         * manual/platform.texi: Document new functions __ppc_yield,
12614         __ppc_mdoio and __ppc_mdoom.
12616 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
12618         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12619         (main): Mention "tls" pseudo-hwcap is legacy.
12620         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12622 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12624         * math/gen-libm-test.pl (parse_args): Output only string of
12625         arguments as text for test name, not full call or descriptions of
12626         tests for extra outputs.
12627         (generate_testfile): Do not pass function name to parse_args.
12628         Generate this_func variable from START.
12629         * math/libm-test.inc (struct test_f_f_data): Rename test_name
12630         field to arg_str.
12631         (struct test_ff_f_data): Likewise.
12632         (test_ff_f_data_nexttoward): Likewise.
12633         (struct test_fi_f_data): Likewise.
12634         (struct test_fl_f_data): Likewise.
12635         (struct test_if_f_data): Likewise.
12636         (struct test_fff_f_data): Likewise.
12637         (struct test_c_f_data): Likewise.
12638         (struct test_f_f1_data): Likewise.  Remove field extra_name.
12639         (struct test_fF_f1_data): Likewise.
12640         (struct test_ffI_f1_data): Likewise.
12641         (struct test_c_c_data): Rename test_name field to arg_str.
12642         (struct test_cc_c_data): Likewise.
12643         (struct test_f_i_data): Likewise.
12644         (struct test_ff_i_data): Likewise.
12645         (struct test_f_l_data): Likewise.
12646         (struct test_f_L_data): Likewise.
12647         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
12648         and extra2_name.
12649         (COMMON_TEST_SETUP): New macro.
12650         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12651         (COMMON_TEST_CLEANUP): Likewise.
12652         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12653         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
12654         macros.
12655         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12656         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
12657         macros.
12658         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12659         (RUN_TEST_fff_f): Take argument string.  Call new setup and
12660         cleanup macros.
12661         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12662         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
12663         macros.
12664         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12665         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
12666         macros.
12667         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12668         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
12669         cleanup macros.
12670         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12671         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
12672         cleanup macros.
12673         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12674         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
12675         cleanup macros.
12676         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12677         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
12678         macros.
12679         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12680         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
12681         macros.
12682         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12683         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
12684         macros.
12685         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12686         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
12687         cleanup macros.
12688         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12689         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
12690         cleanup macros.
12691         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12692         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
12693         macros.
12694         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12695         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
12696         cleanup macros.
12697         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12698         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
12699         macros.
12700         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12701         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
12702         macros.
12703         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12704         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
12705         cleanup macros.
12706         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12708 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12710         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12711         to _sifields.sigfault.
12712         (si_addr_lsb): Define new macro.
12713         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12714         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12715         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12717 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
12719         [BZ #15441]
12720         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12721         returns -1.
12722         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12723         null return -1.
12724         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12725         loading the domain.
12727 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12729         * math/gen-libm-test.pl (parse_args): Do not include expected
12730         result in test name.
12731         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12732         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12733         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12734         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12735         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12738 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12740         * benchtests/Makefile: Sort function entries.
12742         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12743         tanh, asinh, acosh, atanh.
12744         * benchtests/acos-inputs: New file.
12745         * benchtests/acosh-inputs: New file.
12746         * benchtests/asin-inputs: New file.
12747         * benchtests/asinh-inputs: New file.
12748         * benchtests/atanh-inputs: New file.
12749         * benchtests/cosh-inputs: New file.
12750         * benchtests/log-inputs: New file.
12751         * benchtests/sinh-inputs: New file.
12752         * benchtests/tanh-inputs: New file.
12754 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
12756         [BZ #15339]
12757         * posix/tst-getaddrinfo4.c: New test.
12758         * posix/Makefile (tests): Add it.
12760 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12762         [BZ #15339]
12763         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12764         when no services were used.
12765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12766         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12768 2013-05-21  Andreas Schwab  <schwab@suse.de>
12770         [BZ #15014]
12771         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12772         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12773         successful.
12774         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12775         redundant variable declarations and reallocation of buffer when
12776         parsing as IPv6 address.  Always set NSS status when called from
12777         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
12778         buffer too small.  Correct computation of needed size.
12779         * nss/Makefile (tests): Add test-digits-dots.
12780         * nss/test-digits-dots.c: New test.
12782 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12784         * benchtests/Makefile: Remove instructions for adding
12785         benchmark tests.
12786         * benchtests/README: New file to explain how to execute and
12787         enhance the benchmark tests.
12789 2013-05-21  Andreas Schwab  <schwab@suse.de>
12791         [BZ #15493]
12792         * setjmp/Makefile (tests): Add tst-sigsetjmp.
12793         * setjmp/tst-sigsetjmp.c: New test.
12795 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12797         * sysdeps/x86_64/memset.S (memset): New implementation.
12798         (__bzero): Likewise.
12799         (__memset_tail): New function.
12801 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12803         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12804         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12805         __memcpy_sse2_unaligned ifunc selection.
12806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12807         Add memcpy-sse2-unaligned.S.
12808         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12809         Add: __memcpy_sse2_unaligned.
12811 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
12813         [BZ #15490]
12814         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12815         math_force_eval before restoring floating-point envrionment.
12816         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12817         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12818         Likewise.
12819         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12820         <math_private.h>.
12821         (__nearbyintl): Use math_force_eval before restoring
12822         floating-point environment.
12823         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12825         * math/gen-libm-test.pl (special_functions): Remove.
12826         (parse_args): Don't handle TEST_extra.  Handle functions with no
12827         return value.
12828         * math/libm-test.inc (struct test_sincos_data): Replace with
12829         struct test_fFF_11_data.
12830         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12831         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12832         (sincos_test_data): Change element type to struct
12833         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
12834         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12835         RUN_TEST_LOOP_sincos.
12836         * math/README.libm-test: Don't mention special handling of
12837         individual functions.
12838         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12839         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12840         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12841         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12842         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12845         * math/gen-libm-test.pl (get_variable): Remove function.
12846         (parse_args): Don't show pointer parameters to call in test
12847         names.  Use "extra output N" in test names for extra outputs
12848         rather than naming variables.
12850 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
12852         [BZ #15488]
12853         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12854         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12855         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12856         double tests.
12857         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12858         disable.
12859         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12860         check_long_double.
12862         * math/gen-libm-test.pl (@tests): Remove variable.
12863         ($count): Likewise.
12864         (new_test): Remove function.
12865         (show_exceptions): New function.
12866         (special_functions): Use show_exceptions instead of new_test.
12867         (parse_args): Likewise.
12868         (generate_testfile): Pass only function name in generated call to
12869         print_max_error or print_complex_max_error.
12870         (get_ulps): Do not handle complex tests specially.
12871         (output_test): Rename to ...
12872         (get_all_ulps_for_test): ... this.  Return a string rather than
12873         printing to a file.  Require ulps to be present.
12874         (output_ulps): Generate arrays rather than #defines.
12875         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12876         (struct ulp_data): New type.
12877         (BUILD_COMPLEX_ULP): Remove macro.
12878         (compare_ulp_data): New function.
12879         (find_ulps): Likewise.
12880         (find_test_ulps): Likewise.
12881         (find_function_ulps): Likewise.
12882         (find_complex_function_ulps): Likewise.
12883         (print_max_error): Determine allowed ulps using
12884         find_function_ulps.
12885         (print_complex_max_error): Determine allowed ulps using
12886         find_complex_function_ulps.
12887         (check_float_internal): Determine max ulps using find_test_ulps.
12888         (check_float): Do not take max_ulp parameter.  Update call to
12889         check_float_internal.
12890         (check_complex): Likewise.
12891         (check_int): Do not take max_ulp parameter.
12892         (check_long): Likewise.
12893         (check_bool): Likewise.
12894         (check_longlong): Likewise.
12895         (struct test_f_f_data): Remove max_ulp field.
12896         (struct test_ff_f_data): Likewise.
12897         (struct test_ff_f_data_nexttoward): Likewise.
12898         (struct test_fi_f_data): Likewise.
12899         (struct test_fl_f_data): Likewise.
12900         (struct test_if_f_data): Likewise.
12901         (struct test_fff_f_data): Likewise.
12902         (struct test_c_f_data): Likewise.
12903         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12904         (struct test_fF_f1_data): Likewise.
12905         (struct test_ffI_f1_data): Likewise.
12906         (struct test_c_c_data): Remove max_ulp field.
12907         (struct test_cc_c_data): Likewise.
12908         (struct test_f_i_data): Likewise.
12909         (struct test_ff_i_data): Likewise.
12910         (struct test_f_l_data): Likewise.
12911         (struct test_f_L_data): Likewise.
12912         (struct test_sincos_data): Likewise.
12913         (RUN_TEST_f_f): Do not handle ulps.
12914         (RUN_TEST_LOOP_f_f): Likewise.
12915         (RUN_TEST_2_f): Likewise.
12916         (RUN_TEST_LOOP_2_f): Likewise.
12917         (RUN_TEST_fff_f): Likewise.
12918         (RUN_TEST_LOOP_fff_f): Likewise.
12919         (RUN_TEST_c_f): Likewise.
12920         (RUN_TEST_LOOP_c_f): Likewise.
12921         (RUN_TEST_f_f1): Likewise.
12922         (RUN_TEST_LOOP_f_f1): Likewise.
12923         (RUN_TEST_fF_f1): Likewise.
12924         (RUN_TEST_LOOP_fF_f1): Likewise.
12925         (RUN_TEST_fI_f1): Likewise.
12926         (RUN_TEST_LOOP_fI_f1): Likewise.
12927         (RUN_TEST_ffI_f1): Likewise.
12928         (RUN_TEST_LOOP_ffI_f1): Likewise.
12929         (RUN_TEST_c_c): Likewise.
12930         (RUN_TEST_LOOP_c_c): Likewise.
12931         (RUN_TEST_cc_c): Likewise.
12932         (RUN_TEST_LOOP_cc_c): Likewise.
12933         (RUN_TEST_f_i): Likewise.
12934         (RUN_TEST_LOOP_f_i): Likewise.
12935         (RUN_TEST_f_i_tg): Likewise.
12936         (RUN_TEST_LOOP_f_i_tg): Likewise.
12937         (RUN_TEST_ff_i_tg): Likewise.
12938         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12939         (RUN_TEST_f_b): Likewise.
12940         (RUN_TEST_LOOP_f_b): Likewise.
12941         (RUN_TEST_f_b_tg): Likewise.
12942         (RUN_TEST_LOOP_f_b_tg): Likewise.
12943         (RUN_TEST_f_l): Likewise.
12944         (RUN_TEST_LOOP_f_l): Likewise.
12945         (RUN_TEST_f_L): Likewise.
12946         (RUN_TEST_LOOP_f_L): Likewise.
12947         (RUN_TEST_sincos): Likewise.
12948         (RUN_TEST_LOOP_sincos): Likewise.
12950 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
12952         [BZ #15480]
12953         [BZ #15485]
12954         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12955         main case of finite arguments, set rounding mode to FE_TONEAREST
12956         and discard exceptions.
12957         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12958         exceptions.
12959         (remainder_tonearest_test_data): New variable.
12960         (remainder_test_tonearest): New function.
12961         (remainder_towardzero_test_data): New variable.
12962         (remainder_test_towardzero): New function.
12963         (remainder_downward_test_data): New variable.
12964         (remainder_test_downward): New function.
12965         (remainder_upward_test_data): New variable.
12966         (remainder_test_upward): New function.
12967         (main): Call the new test functions.
12969         * math/libm-test.inc (struct test_f_f1_data): Remove field
12970         extra_init.
12971         (struct test_fF_f1_data): Likewise.
12972         (struct test_ffI_f1_data): Likewise.
12973         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
12974         based on value of EXTRA_EXPECTED.
12975         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12976         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
12977         EXTRA_VAR based on value of EXTRA_EXPECTED.
12978         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12979         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
12980         EXTRA_VAR based on value of EXTRA_EXPECTED.
12981         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12982         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
12983         EXTRA_VAR based on value of EXTRA_EXPECTED.
12984         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12985         * math/gen-libm-test.pl (parse_args): Don't output initializers
12986         for extra output values.
12988         * math/libm-test.inc (check_int): Expect result to be exactly
12989         equal to expected value and do not handle ulps.
12990         (check_long): Likewise.
12991         (check_longlong): Likewise.
12993         * math/libm-test.inc (ceil_test_data): Test for "inexact"
12994         exceptions.
12995         (cimag_test_data): Likewise.
12996         (conj_test_data): Likewise.
12997         (copysign_test_data): Likewise.
12998         (cproj_test_data): Likewise.
12999         (creal_test_data): Likewise.
13000         (fabs_test_data): Likewise.
13001         (fdim_test_data): Likewise.
13002         (finite_test_data): Likewise.
13003         (floor_test_data): Likewise.
13004         (fmax_test_data): Likewise.
13005         (fmin_test_data): Likewise.
13006         (fmod_test_data): Likewise.
13007         (fpclassify_test_data): Likewise.
13008         (frexp_test_data): Likewise.
13009         (ilogb_test_data): Likewise.
13010         (isfinite_test_data): Likewise.
13011         (isgreater_test_data): Likewise.
13012         (isgreaterequal_test_data): Likewise.
13013         (isinf_test_data): Likewise.
13014         (isless_test_data): Likewise.
13015         (islessequal_test_data): Likewise.
13016         (islessgreater_test_data): Likewise.
13017         (isnan_test_data): Likewise.
13018         (isnormal_test_data): Likewise.
13019         (issignaling_test_data): Likewise.
13020         (isunordered_test_data): Likewise.
13021         (ldexp_test_data): Likewise.
13022         (lrint_test_data): Likewise.
13023         (lrint_test_data) [TEST_FLOAT]: Disable one test.
13024         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13025         (lrint_tonearest_test_data): Test for "inexact" exceptions.
13026         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13027         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13028         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13029         test input.
13030         (lrint_towardzero_test_data): Test for "inexact" exceptions.
13031         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13032         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13033         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13034         that test input.
13035         (lrint_downward_test_data): Test for "inexact" exceptions.
13036         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13037         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13038         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13039         test input.
13040         (lrint_upward_test_data): Test for "inexact" exceptions.
13041         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13042         test input.
13043         (llrint_test_data): Test for "inexact" exceptions.
13044         (llrint_test_data) [TEST_FLOAT]: Disable one test.
13045         (llrint_tonearest_test_data): Test for "inexact" exceptions.
13046         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13047         (llrint_towardzero_test_data): Test for "inexact" exceptions.
13048         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13049         (llrint_downward_test_data): Test for "inexact" exceptions.
13050         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13051         (llrint_upward_test_data): Test for "inexact" exceptions.
13052         (logb_test_data): Likewise.
13053         (logb_downward_test_data): Likewise.
13054         (nextafter_test_data): Likewise.
13055         (nexttoward_test_data): Likewise.
13056         (remainder_test_data): Likewise.
13057         (remquo_test_data): Likewise.
13058         (scalbn_test_data): Likewise.
13059         (scalbln_test_data): Likewise.
13060         (signbit_test_data): Likewise.
13061         (sqrt_test_data): Likewise.
13062         (significand_test_data): Likewise.
13064 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13066         [BZ #15424]
13067         * benchtests/bench-modf.c (struct args): Mark arg0 as
13068         volatile.
13069         * scripts/bench.pl: Mark members of struct args as volatile.
13071 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13073         [BZ # 15497]
13074         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13075         negative infinity on POWER6 or lower.
13076         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13078 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13080         [BZ #15442]
13081         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13082         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13083         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13084         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13085         (_FP_SETQNAN): New macro.
13086         (_FP_SETQNAN_SEMIRAW): Likewise.
13087         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13088         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13089         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13090         (FP_EXTEND): Use _FP_FRAC_SNANP.
13091         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13092         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13093         into account.
13094         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13095         New macro.
13096         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13097         Likewise.
13099 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13101         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13102         with DIVIDE_BY_ZERO_EXCEPTION.
13103         (gamma_test_data): Likewise.
13104         (lgamma_test_data): Likewise.
13105         (log_test_data): Likewise.
13106         (log10_test_data): Likewise.
13107         (log2_test_data): Likewise.
13108         (tgamma_test_data): Likewise.
13110         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13111         (acos_test_tonearest): Likewise.
13112         (acos_test_towardzero): Likewise.
13113         (acos_test_downward): Likewise.
13114         (acos_test_upward): Likewise.
13115         (acosh_test): Likewise.
13116         (asin_test): Likewise.
13117         (asin_test_tonearest): Likewise.
13118         (asin_test_towardzero): Likewise.
13119         (asin_test_downward): Likewise.
13120         (asin_test_upward): Likewise.
13121         (asinh_test): Likewise.
13122         (atan_test): Likewise.
13123         (atanh_test): Likewise.
13124         (atan2_test): Likewise.
13125         (cabs_test): Likewise.
13126         (cacos_test): Likewise.
13127         (cacosh_test): Likewise.
13128         (casin_test): Likewise.
13129         (casinh_test): Likewise.
13130         (catan_test): Likewise.
13131         (catanh_test): Likewise.
13132         (cbrt_test): Likewise.
13133         (ccos_test): Likewise.
13134         (ccosh_test): Likewise.
13135         (cexp_test): Likewise.
13136         (clog_test): Likewise.
13137         (clog10_test): Likewise.
13138         (cos_test): Likewise.
13139         (cos_test_tonearest): Likewise.
13140         (cos_test_towardzero): Likewise.
13141         (cos_test_downward): Likewise.
13142         (cos_test_upward): Likewise.
13143         (cosh_test): Likewise.
13144         (cosh_test_tonearest): Likewise.
13145         (cosh_test_towardzero): Likewise.
13146         (cosh_test_downward): Likewise.
13147         (cosh_test_upward): Likewise.
13148         (cpow_test): Likewise.
13149         (csin_test): Likewise.
13150         (csinh_test): Likewise.
13151         (csqrt_test): Likewise.
13152         (ctan_test): Likewise.
13153         (ctan_test_tonearest): Likewise.
13154         (ctan_test_towardzero): Likewise.
13155         (ctan_test_downward): Likewise.
13156         (ctan_test_upward): Likewise.
13157         (ctanh_test): Likewise.
13158         (ctanh_test_tonearest): Likewise.
13159         (ctanh_test_towardzero): Likewise.
13160         (ctanh_test_downward): Likewise.
13161         (ctanh_test_upward): Likewise.
13162         (erf_test): Likewise.
13163         (erfc_test): Likewise.
13164         (exp_test): Likewise.
13165         (exp_test_tonearest): Likewise.
13166         (exp_test_towardzero): Likewise.
13167         (exp_test_downward): Likewise.
13168         (exp_test_upward): Likewise.
13169         (exp10_test): Likewise.
13170         (exp2_test): Likewise.
13171         (expm1_test): Likewise.
13172         (fmod_test): Likewise.
13173         (gamma_test): Likewise.
13174         (hypot_test): Likewise.
13175         (j0_test): Likewise.
13176         (j1_test): Likewise.
13177         (jn_test): Likewise.
13178         (lgamma_test): Likewise.
13179         (log_test): Likewise.
13180         (log10_test): Likewise.
13181         (log1p_test): Likewise.
13182         (log2_test): Likewise.
13183         (logb_test_downward): Likewise.
13184         (pow_test): Likewise.
13185         (pow_test_tonearest): Likewise.
13186         (pow_test_towardzero): Likewise.
13187         (pow_test_downward): Likewise.
13188         (pow_test_upward): Likewise.
13189         (remainder_test): Likewise.
13190         (remquo_test): Likewise.
13191         (sin_test): Likewise.
13192         (sin_test_tonearest): Likewise.
13193         (sin_test_towardzero): Likewise.
13194         (sin_test_downward): Likewise.
13195         (sin_test_upward): Likewise.
13196         (sincos_test): Likewise.
13197         (sinh_test): Likewise.
13198         (sinh_test_tonearest): Likewise.
13199         (sinh_test_towardzero): Likewise.
13200         (sinh_test_downward): Likewise.
13201         (sinh_test_upward): Likewise.
13202         (sqrt_test): Likewise.
13203         (tan_test): Likewise.
13204         (tan_test_tonearest): Likewise.
13205         (tan_test_towardzero): Likewise.
13206         (tan_test_downward): Likewise.
13207         (tan_test_upward): Likewise.
13208         (tanh_test): Likewise.
13209         (tgamma_test): Likewise.
13210         (y0_test): Likewise.
13211         (y1_test): Likewise.
13212         (yn_test): Likewise.
13214         * math/gen-libm-test.pl (adjust_arg): Remove function.
13215         (special_function): Remove argument $in_func.  Only handle
13216         generating output for tables of tests, not inside functions.
13217         (parse_args): Likewise.
13218         (generate_testfile): Remove variable $in_func.  Update call to
13219         parse_args.
13220         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13221         (MINUS_ZERO_INIT): Rename macro to minus_zero.
13222         (PLUS_INFTY_INIT): Rename macro to plus_infty.
13223         (MINUS_INFTY_INIT): Rename macro to minus_infty.
13224         (QNAN_VALUE_INIT): Rename macro to qnan_value.
13225         (MAX_VALUE_INIT): Rename macro to max_value.
13226         (MIN_VALUE_INIT): Rename macro to min_value.
13227         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13228         (plus_zero): Remove variable.
13229         (minus_zero): Likewise.
13230         (plus_infty): Likewise.
13231         (minus_infty): Likewise.
13232         (qnan_value): Likewise.
13233         (max_value): Likewise.
13234         (min_value): Likewise.
13235         (min_subnorm_value): Likewise.
13237 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13239         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13240         uint64_t or uint32_t usage.
13241         * crypt/sha256-block.c: Likewise.
13242         * crypt/sha256-crypt.c: Likewise.
13243         * crypt/sha256.c: Likewise.
13244         * crypt/sha512-block.c: Likewise.
13245         * crypt/sha512-crypt.c: Likewise.
13246         * crypt/sha512.c: Likewise.
13247         * debug/backtrace-tst.c: Likewise.
13248         * debug/pcprofiledump.c: Likewise.
13249         * elf/cache.c: Likewise.
13250         * elf/dl-cache.c: Likewise.
13251         * elf/dl-misc.c: Likewise.
13252         * elf/dl-profile.c: Likewise.
13253         * elf/dl-support.c: Likewise.
13254         * elf/ldconfig.c: Likewise.
13255         * elf/sprof.c: Likewise.
13256         * iconv/dummy-repertoire.c: Likewise.
13257         * iconv/iconv_charmap.c: Likewise.
13258         * iconv/skeleton.c: Likewise.
13259         * iconvdata/8bit-generic.c: Likewise.
13260         * iconvdata/cp737.h: Likewise.
13261         * iconvdata/cp775.h: Likewise.
13262         * iconvdata/ibm1008.h: Likewise.
13263         * iconvdata/ibm1025.h: Likewise.
13264         * iconvdata/ibm1046.h: Likewise.
13265         * iconvdata/ibm1097.h: Likewise.
13266         * iconvdata/ibm1112.h: Likewise.
13267         * iconvdata/ibm1122.h: Likewise.
13268         * iconvdata/ibm1123.h: Likewise.
13269         * iconvdata/ibm1124.h: Likewise.
13270         * iconvdata/ibm1129.h: Likewise.
13271         * iconvdata/ibm1130.h: Likewise.
13272         * iconvdata/ibm1132.h: Likewise.
13273         * iconvdata/ibm1133.h: Likewise.
13274         * iconvdata/ibm1137.h: Likewise.
13275         * iconvdata/ibm1140.h: Likewise.
13276         * iconvdata/ibm1141.h: Likewise.
13277         * iconvdata/ibm1142.h: Likewise.
13278         * iconvdata/ibm1143.h: Likewise.
13279         * iconvdata/ibm1144.h: Likewise.
13280         * iconvdata/ibm1145.h: Likewise.
13281         * iconvdata/ibm1146.h: Likewise.
13282         * iconvdata/ibm1147.h: Likewise.
13283         * iconvdata/ibm1148.h: Likewise.
13284         * iconvdata/ibm1149.h: Likewise.
13285         * iconvdata/ibm1153.h: Likewise.
13286         * iconvdata/ibm1154.h: Likewise.
13287         * iconvdata/ibm1155.h: Likewise.
13288         * iconvdata/ibm1156.h: Likewise.
13289         * iconvdata/ibm1157.h: Likewise.
13290         * iconvdata/ibm1158.h: Likewise.
13291         * iconvdata/ibm1160.h: Likewise.
13292         * iconvdata/ibm1161.h: Likewise.
13293         * iconvdata/ibm1162.h: Likewise.
13294         * iconvdata/ibm1163.h: Likewise.
13295         * iconvdata/ibm1164.h: Likewise.
13296         * iconvdata/ibm1166.h: Likewise.
13297         * iconvdata/ibm1167.h: Likewise.
13298         * iconvdata/ibm12712.h: Likewise.
13299         * iconvdata/ibm1390.h: Likewise.
13300         * iconvdata/ibm1399.h: Likewise.
13301         * iconvdata/ibm16804.h: Likewise.
13302         * iconvdata/ibm4517.h: Likewise.
13303         * iconvdata/ibm4899.h: Likewise.
13304         * iconvdata/ibm4909.h: Likewise.
13305         * iconvdata/ibm4971.h: Likewise.
13306         * iconvdata/ibm5347.h: Likewise.
13307         * iconvdata/ibm803.h: Likewise.
13308         * iconvdata/ibm856.h: Likewise.
13309         * iconvdata/ibm901.h: Likewise.
13310         * iconvdata/ibm902.h: Likewise.
13311         * iconvdata/ibm9030.h: Likewise.
13312         * iconvdata/ibm9066.h: Likewise.
13313         * iconvdata/ibm921.h: Likewise.
13314         * iconvdata/ibm922.h: Likewise.
13315         * iconvdata/ibm9448.h: Likewise.
13316         * iconvdata/isiri-3342.h: Likewise.
13317         * iconvdata/jis0201.h: Likewise.
13318         * include/link.h: Likewise.
13319         * include/netdb.h: Likewise.
13320         * inet/check_native.c: Likewise.
13321         * inet/check_pf.c: Likewise.
13322         * inet/getipv4sourcefilter.c: Likewise.
13323         * inet/getnameinfo.c: Likewise.
13324         * inet/getsourcefilter.c: Likewise.
13325         * inet/htonl.c: Likewise.
13326         * inet/setipv4sourcefilter.c: Likewise.
13327         * inet/setsourcefilter.c: Likewise.
13328         * inet/test-inet6_opt.c: Likewise.
13329         * inet/tst-network.c: Likewise.
13330         * locale/C-collate.c: Likewise.
13331         * locale/C-ctype.c: Likewise.
13332         * locale/C-time.c: Likewise.
13333         * locale/C-translit.h: Likewise.
13334         * locale/loadarchive.c: Likewise.
13335         * locale/programs/3level.h: Likewise.
13336         * locale/programs/charmap.c: Likewise.
13337         * locale/programs/charmap.h: Likewise.
13338         * locale/programs/ld-address.c: Likewise.
13339         * locale/programs/ld-collate.c: Likewise.
13340         * locale/programs/ld-ctype.c: Likewise.
13341         * locale/programs/ld-identification.c: Likewise.
13342         * locale/programs/ld-measurement.c: Likewise.
13343         * locale/programs/ld-messages.c: Likewise.
13344         * locale/programs/ld-monetary.c: Likewise.
13345         * locale/programs/ld-name.c: Likewise.
13346         * locale/programs/ld-numeric.c: Likewise.
13347         * locale/programs/ld-paper.c: Likewise.
13348         * locale/programs/ld-telephone.c: Likewise.
13349         * locale/programs/ld-time.c: Likewise.
13350         * locale/programs/linereader.c: Likewise.
13351         * locale/programs/locale.c: Likewise.
13352         * locale/programs/locarchive.c: Likewise.
13353         * locale/programs/locfile.h: Likewise.
13354         * locale/programs/repertoire.c: Likewise.
13355         * locale/programs/simple-hash.c: Likewise.
13356         * locale/programs/simple-hash.h: Likewise.
13357         * malloc/memusage.c: Likewise.
13358         * malloc/memusagestat.c: Likewise.
13359         * nis/nis_defaults.c: Likewise.
13360         * nis/nis_hash.c: Likewise.
13361         * nis/nis_print.c: Likewise.
13362         * nis/nis_xdr.c: Likewise.
13363         * nscd/connections.c: Likewise.
13364         * nscd/hstcache.c: Likewise.
13365         * nscd/nscd_gethst_r.c: Likewise.
13366         * nscd/nscd_getserv_r.c: Likewise.
13367         * nscd/nscd_helper.c: Likewise.
13368         * nscd/servicescache.c: Likewise.
13369         * nss/makedb.c: Likewise.
13370         * nss/nss_db/db-XXX.c: Likewise.
13371         * nss/nss_db/db-initgroups.c: Likewise.
13372         * nss/nss_db/db-netgrp.c: Likewise.
13373         * nss/nss_files/files-network.c: Likewise.
13374         * nss/nss_files/files-parse.c: Likewise.
13375         * posix/bug-regex5.c: Likewise.
13376         * posix/fnmatch_loop.c: Likewise.
13377         * posix/regcomp.c: Likewise.
13378         * posix/regexec.c: Likewise.
13379         * posix/tst-rfc3484-2.c: Likewise.
13380         * posix/tst-rfc3484-3.c: Likewise.
13381         * posix/tst-rfc3484.c: Likewise.
13382         * resolv/nss_dns/dns-canon.c: Likewise.
13383         * resolv/nss_dns/dns-network.c: Likewise.
13384         * resolv/res_init.c: Likewise.
13385         * resolv/res_mkquery.c: Likewise.
13386         * resolv/tst-aton.c: Likewise.
13387         * stdlib/cxa_atexit.c: Likewise.
13388         * stdlib/cxa_finalize.c: Likewise.
13389         * stdlib/gen-fpioconst.c: Likewise.
13390         * stdlib/strtol_l.c: Likewise.
13391         * string/tst-endian.c: Likewise.
13392         * sunrpc/auth_des.c: Likewise.
13393         * sunrpc/clnt_udp.c: Likewise.
13394         * sunrpc/rtime.c: Likewise.
13395         * sunrpc/svcauth_des.c: Likewise.
13396         * sunrpc/xdr.c: Likewise.
13397         * sunrpc/xdr_intXX_t.c: Likewise.
13398         * sunrpc/xdr_rec.c: Likewise.
13399         * sysdeps/generic/ldconfig.h: Likewise.
13400         * sysdeps/generic/ldsodefs.h: Likewise.
13401         * sysdeps/generic/memusage.h: Likewise.
13402         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13403         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13404         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13405         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13406         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13407         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13408         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13409         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13410         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13411         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13412         * sysdeps/posix/getaddrinfo.c: Likewise.
13413         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13414         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13415         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13416         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13417         * sysdeps/powerpc/test-gettimebase.c: Likewise.
13418         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13419         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13420         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13421         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13422         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13423         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13424         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13425         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13426         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13427         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13428         * sysdeps/x86_64/dl-tls.h: Likewise.
13429         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13430         * time/alt_digit.c: Likewise.
13431         * time/era.c: Likewise.
13432         * wcsmbs/tst-c16c32-1.c: Likewise.
13434 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13436         * math/libm-test.inc (struct test_sincos_data): New type.
13437         (RUN_TEST_LOOP_sincos): New macro.
13438         (sincos_test_data): New variable.
13439         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13441 2013-05-16  Richard Henderson  <rth@redhat.com>
13443         * math/atest-exp2.c (LIMB64): New macro.
13444         (CONSTSZ): New macro.
13445         (mp_exp1, mp_exp_m1, mp_log2): New variables.
13446         (hexdig): Move ...
13447         (print_mpn_fp): ... to function scope.
13448         (read_mpn_hex): Remove.
13449         (get_log2): Remove.
13450         (exp2_mpn): Use mp_log2.
13451         (main): Use mp_exp1.
13453 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13455         * math/libm-test.inc: Remove comment about not testing "inexact"
13456         exceptions.
13457         (INEXACT_EXCEPTION): New macro.
13458         (NO_INEXACT_EXCEPTION): Likewise.
13459         (INVALID_EXCEPTION_OK): Update value.
13460         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13461         (OVERFLOW_EXCEPTION_OK): Likewise.
13462         (UNDERFLOW_EXCEPTION_OK): Likewise.
13463         (IGNORE_ZERO_INF_SIGN): Likewise.
13464         (ERRNO_UNCHANGED): Likewise.
13465         (ERRNO_EDOM): Likewise.
13466         (ERRNO_ERANGE): Likewise.
13467         (test_exceptions): Handle testing "inexact" exceptions.
13468         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13469         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13470         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13471         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13472         INEXACT_EXCEPTION.
13473         (rint_towardzero_test_data): Likewise.
13474         (rint_downward_test_data): Likewise.
13475         (rint_upward_test_data): Likewise.
13477         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13478         with OVERFLOW_EXCEPTION.
13479         (exp10_test_data): Likewise.
13480         (exp2_test_data): Likewise.
13481         (expm1_test_data): Likewise.
13482         (lgamma_test_data): Likewise.
13483         (pow_test_data): Likewise.
13484         (tgamma_test_data): Likewise.
13485         (yn_test_data): Remove duplicate test of overflow.
13487         * math/libm-test.inc (struct test_cc_c_data): New type.
13488         (RUN_TEST_LOOP_cc_c): New macro.
13489         (cpow_test_data): New variable.
13490         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13492         * math/libm-test.inc (struct test_f_L_data): New type.
13493         (RUN_TEST_LOOP_f_L): New macro.
13494         (llrint_test_data): New variable.
13495         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13496         (llrint_tonearest_test_data): New variable.
13497         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13498         (llrint_towardzero_test_data): New variable.
13499         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13500         (llrint_downward_test_data): New variable.
13501         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13502         (llrint_upward_test_data): New variable.
13503         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13504         (llround_test_data): New variable.
13505         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13507 2013-05-13  Peter Collingbourne  <pcc@google.com>
13509         * math/atest-exp2.c (get_log2): Remove const attribute.
13511 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13513         * math/libm-test.inc (struct test_f_l_data): New type.
13514         (RUN_TEST_LOOP_f_l): New macro.
13515         (lrint_test_data): New variable.
13516         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13517         (lrint_tonearest_test_data): New variable.
13518         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13519         (lrint_towardzero_test_data): New variable.
13520         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13521         (lrint_downward_test_data): New variable.
13522         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13523         (lrint_upward_test_data): New variable.
13524         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13525         (lround_test_data): New variable.
13526         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13528 2013-05-15  Peter Collingbourne  <pcc@google.com>
13530         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13531         (EXTRACT_WORDS64) Use where appropriate.
13532         (INSERT_WORDS64) Likewise.
13534         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13535         constraints with x constraints.
13536         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13538         * malloc/obstack.c (_obstack_compat): Add initializer.
13540 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13542         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13543         si_trapno and add si_addr_lsb to _sifields.sigfault.
13544         (si_trapno): Remove macro.
13545         (si_addr_lsb): Define new macro.
13546         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13548 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13550         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13551         instead of TEST_f_l.
13552         (llrint_test_tonearest): Likewise.
13553         (llrint_test_towardzero): Likewise.
13554         (llrint_test_downward): Likewise.
13555         (llrint_test_upward): Likewise.
13556         (llround_test): Likewise.
13558         * math/libm-test.inc (struct test_f_i_data): Add comment.
13559         (RUN_TEST_LOOP_f_b): New macro.
13560         (RUN_TEST_LOOP_f_b_tg): Likewise.
13561         (finite_test_data): New variable.
13562         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13563         (isfinite_test_data): New variable.
13564         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13565         (isinf_test_data): New variable.
13566         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13567         (isnan_test_data): New variable.
13568         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13569         (isnormal_test_data): New variable.
13570         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13571         (issignaling_test_data): New variable.
13572         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13573         (signbit_test_data): New variable.
13574         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13576         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13577         with INVALID_EXCEPTION.
13578         (acosh_test_data): Likewise.
13579         (asin_test_data): Likewise.
13580         (atanh_test_data): Likewise.
13581         (fmod_test_data): Likewise.
13582         (log_test_data): Likewise.
13583         (log10_test_data): Likewise.
13584         (log2_test_data): Likewise.
13585         (pow_test_data): Likewise.
13586         (sqrt_test_data): Likewise.
13587         (y0_test_data): Likewise.
13588         (y1_test_data): Likewise.
13589         (yn_test_data): Likewise.
13591         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13592         function contents.
13594         * math/libm-test.inc (struct test_ff_i_data): New type.
13595         (RUN_TEST_LOOP_ff_i_tg): New macro.
13596         (isgreater_test_data): New variable.
13597         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13598         (isgreaterequal_test_data): New variable.
13599         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13600         (isless_test_data): New variable.
13601         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13602         (islessequal_test_data): New variable.
13603         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13604         (islessgreater_test_data): New variable.
13605         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13606         (isunordered_test_data): New variable.
13607         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13609 2013-05-14  David S. Miller  <davem@davemloft.net>
13611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13613 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
13615         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13617         * math/libm-test.inc (struct test_fF_f1_data): Change type of
13618         extra_test to int.
13619         (struct test_f_i_data): Change type of max_ulp to int.
13621         * math/libm-test.inc (test_ffI_f1_data): New type.
13622         (RUN_TEST_LOOP_ffI_f1): New macro.
13623         (remquo_test_data): New variable.
13624         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13626         * setjmp/tst-setjmp-fp.c: New file.
13627         * setjmp/Makefile (tests): Add tst-setjmp-fp.
13628         (link-libm): New variable.
13629         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13631         * math/libm-test.inc (struct test_f_i_data): New type.
13632         (RUN_TEST_LOOP_f_i): New macro.
13633         (RUN_TEST_LOOP_f_i_tg): Likewise.
13634         (fpclassify_test_data): New variable.
13635         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13636         (ilogb_test_data): New variable.
13637         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13639         * math/libm-test.inc (scalbln_test): Correct function name in END
13640         call.
13642         * math/libm-test.inc (struct test_f_f1_data): Add comment.
13643         (RUN_TEST_LOOP_fI_f1): New macro.
13644         (frexp_test_data): New variable.
13645         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13647         * math/libm-test.inc (struct test_fF_f1_data): New type.
13648         (RUN_TEST_LOOP_fF_f1): New macro.
13649         (modf_test_data): New variable.
13650         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13652         * math/libm-test.inc (struct test_f_f1_data): New type.
13653         (RUN_TEST_LOOP_f_f1): New macro.
13654         (gamma_test_data): New variable.
13655         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13656         (lgamma_test_data): New variable.
13657         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13659 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
13661         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13662         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13663         (main): Comment "tls" pseudo-hwcap.
13665 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
13667         * math/libm-test.inc (struct test_fl_f_data): New type.
13668         (RUN_TEST_LOOP_fl_f): New variable.
13669         (scalbln_test_data): New variable.
13670         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13672         * math/libm-test.inc (struct test_fi_f_data): New type.
13673         (RUN_TEST_LOOP_fi_f): New macro.
13674         (ldexp_test_data): New variable.
13675         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13676         (scalbn_test_data): New variable.
13677         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13679         * math/libm-test.inc (struct test_c_f_data): New type.
13680         (RUN_TEST_LOOP_c_f): New macro.
13681         (cabs_test_data): New variable.
13682         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13683         (carg_test_data): New variable.
13684         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13685         (cimag_test_data): New variable.
13686         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13687         (creal_test_data): New variable.
13688         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13690         * math/libm-test.inc (struct test_if_f_data): New type.
13691         (RUN_TEST_LOOP_if_f): New macro.
13692         (jn_test_data): New variable.
13693         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13694         (yn_test_data): New variable.
13695         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13697         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13699 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13701         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13702         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13704 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13706         * benchtests/Makefile (CPPFLAGS-nonlib): Add
13707         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13708         (bench-deps): Add bench-timing.h.
13709         * benchtests-bench-skeleton.c: Include bench-timing.h.
13710         (main): Use TIMING_* macros instead of clock_gettime.
13711         * benchtests/bench-timing.h: New file.
13713         [BZ #14582]
13714         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13715         Renamed from _LIB_VERSION.
13716         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13718 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
13720         * math/libm-test.inc (struct test_fff_f_data): New type.
13721         (RUN_TEST_LOOP_fff_f): New macro.
13722         (fma_test_data): New variable.
13723         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13724         (fma_towardzero_test_data): New variable.
13725         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13726         (fma_downward_test_data): New variable.
13727         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13728         (fma_upward_test_data): New variable.
13729         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13731         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13732         (struct test_c_c_data): New type.
13733         (RUN_TEST_LOOP_c_c): New macro.
13734         (cacos_test_data): New variable.
13735         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13736         (cacosh_test_data): New variable.
13737         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13738         (casin_test_data): New variable.
13739         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13740         (casinh_test_data): New variable.
13741         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13742         (catan_test_data): New variable.
13743         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13744         (catanh_test_data): New variable.
13745         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13746         (ccos_test_data): New variable.
13747         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13748         (ccosh_test_data): New variable.
13749         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13750         (cexp_test_data): New variable.
13751         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13752         (clog_test_data): New variable.
13753         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13754         (clog10_test_data): New variable.
13755         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13756         (conj_test_data): New variable.
13757         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13758         (cproj_test_data): New variable.
13759         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13760         (csin_test_data): New variable.
13761         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13762         (csinh_test_data): New variable.
13763         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13764         (csqrt_test_data): New variable.
13765         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13766         (ctan_test_data): New variable.
13767         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13768         (ctan_tonearest_test_data): New variable.
13769         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13770         (ctan_towardzero_test_data): New variable.
13771         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13772         (ctan_downward_test_data): New variable.
13773         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13774         (ctan_upward_test_data): New variable.
13775         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13776         (ctanh_test_data): New variable.
13777         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13778         (ctanh_tonearest_test_data): New variable.
13779         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13780         (ctanh_towardzero_test_data): New variable.
13781         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13782         (ctanh_downward_test_data): New variable.
13783         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13784         (ctanh_upward_test_data): New variable.
13785         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13786         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13787         of BUILD_COMPLEX.
13789         * math/libm-test.inc (struct test_ff_f_data): New type.
13790         (struct test_ff_f_data_nexttoward): Likewise.
13791         (RUN_TEST_LOOP_2_f): New macro.
13792         (RUN_TEST_LOOP_ff_f): Likewise.
13793         (atan2_test_data): New variable.
13794         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13795         (copysign_test_data): New variable.
13796         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13797         (fdim_test_data): New variable.
13798         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13799         (fmax_test_data): New variable.
13800         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13801         (fmin_test_data): New variable.
13802         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13803         (fmod_test_data): New variable.
13804         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13805         (hypot_test_data): New variable.
13806         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13807         (nextafter_test_data): New variable.
13808         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13809         (nexttoward_test_data): New variable.
13810         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13811         (pow_test_data): New variable.
13812         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13813         (pow_tonearest_test_data): New variable.
13814         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13815         (pow_towardzero_test_data): New variable.
13816         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13817         (pow_downward_test_data): New variable.
13818         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13819         (pow_upward_test_data): New variable.
13820         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13821         (remainder_test_data): New variable.
13822         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13823         (scalb_test_data): New variable.
13824         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13825         * sysdeps/i386/fpu/libm-test-ulps: Update.
13827 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
13829         * math/libm-test.inc (fma_test): Use max_value instead of local
13830         variable fltmax.
13831         (nextafter_test): Likewise.
13833         * math/libm-test.inc (acos_towardzero_test_data): New variable.
13834         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13835         (acos_downward_test_data): New variable.
13836         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13837         (acos_upward_test_data): New variable.
13838         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13839         (acosh_test_data): New variable.
13840         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13841         (asin_test_data): New variable.
13842         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13843         (asin_tonearest_test_data): New variable.
13844         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13845         (asin_towardzero_test_data): New variable.
13846         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13847         (asin_downward_test_data): New variable.
13848         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13849         (asin_upward_test_data): New variable.
13850         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13851         (asinh_test_data): New variable.
13852         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13853         (atan_test_data): New variable.
13854         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13855         (atanh_test_data): New variable.
13856         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13857         (cbrt_test_data): New variable.
13858         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13859         (ceil_test_data): New variable.
13860         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13861         (cos_test_data): New variable.
13862         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13863         (cos_tonearest_test_data): New variable.
13864         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13865         (cos_towardzero_test_data): New variable.
13866         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13867         (cos_downward_test_data): New variable.
13868         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13869         (cos_upward_test_data): New variable.
13870         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13871         (cosh_test_data): New variable.
13872         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13873         (cosh_tonearest_test_data): New variable.
13874         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13875         (cosh_towardzero_test_data): New variable.
13876         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13877         (cosh_downward_test_data): New variable.
13878         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13879         (cosh_upward_test_data): New variable.
13880         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13881         (erf_test_data): New variable.
13882         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13883         (erfc_test_data): New variable.
13884         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13885         (exp_test_data): New variable.
13886         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13887         (exp_tonearest_test_data): New variable.
13888         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13889         (exp_towardzero_test_data): New variable.
13890         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13891         (exp_downward_test_data): New variable.
13892         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13893         (exp_upward_test_data): New variable.
13894         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13895         (exp10_test_data): New variable.
13896         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13897         (exp2_test_data): New variable.
13898         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13899         (expm1_test_data): New variable.
13900         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13901         (fabs_test_data): New variable.
13902         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13903         (floor_test_data): New variable.
13904         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13905         (j0_test_data): New variable.
13906         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13907         (j1_test_data): New variable.
13908         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13909         (log_test_data): New variable.
13910         (log_test): Run tests with RUN_TEST_LOOP_f_f.
13911         (log10_test_data): New variable.
13912         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13913         (log1p_test_data): New variable.
13914         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13915         (log2_test_data): New variable.
13916         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13917         (logb_test_data): New variable.
13918         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13919         (logb_downward_test_data): New variable.
13920         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13921         (nearbyint_test_data): New variable.
13922         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13923         (rint_test_data): New variable.
13924         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13925         (rint_tonearest_test_data): New variable.
13926         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13927         (rint_towardzero_test_data): New variable.
13928         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13929         (rint_downward_test_data): New variable.
13930         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13931         (rint_upward_test_data): New variable.
13932         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13933         (round_test_data): New variable.
13934         (round_test): Run tests with RUN_TEST_LOOP_f_f.
13935         (sin_test_data): New variable.
13936         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13937         (sin_tonearest_test_data): New variable.
13938         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13939         (sin_towardzero_test_data): New variable.
13940         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13941         (sin_downward_test_data): New variable.
13942         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13943         (sin_upward_test_data): New variable.
13944         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13945         (sinh_test_data): New variable.
13946         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13947         (sinh_tonearest_test_data): New variable.
13948         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13949         (sinh_towardzero_test_data): New variable.
13950         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13951         (sinh_downward_test_data): New variable.
13952         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13953         (sinh_upward_test_data): New variable.
13954         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13955         (sqrt_test_data): New variable.
13956         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13957         (tan_test_data): New variable.
13958         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13959         (tan_tonearest_test_data): New variable.
13960         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13961         (tan_towardzero_test_data): New variable.
13962         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13963         (tan_downward_test_data): New variable.
13964         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13965         (tan_upward_test_data): New variable.
13966         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13967         (tanh_test_data): New variable.
13968         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13969         (tgamma_test_data): New variable.
13970         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13971         (trunc_test_data): New variable.
13972         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13973         (y0_test_data): New variable.
13974         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13975         (y1_test_data): New variable.
13976         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13977         (significand_test_data): New variable.
13978         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13980 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
13982         [BZ #12387]
13983         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13985 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13987         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13989 2013-05-10  Andreas Jaeger  <aj@suse.de>
13991         [BZ #15448]
13992         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13993         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13995 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13997         * math/gen-libm-test.pl (adjust_arg): New function.
13998         (special_functions): Handle generating output in both functions
13999         and arrays.
14000         (parse_args): Likewise.
14001         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
14002         $in_func argument to parse_args.
14003         * math/libm-test.inc (struct test_f_f_data): New type.
14004         (IF_ROUND_INIT_): New macro.
14005         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14006         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14007         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14008         (IF_ROUND_INIT_FE_UPWARD): Likewise.
14009         (ROUND_RESTORE_): Likewise.
14010         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14011         (ROUND_RESTORE_FE_TONEAREST): Likewise.
14012         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14013         (ROUND_RESTORE_FE_UPWARD): Likewise.
14014         (RUN_TEST_LOOP_f_f): New macro.
14015         (acos_test_data): New variable.
14016         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14017         (acos_tonearest_test_data): New variable.
14018         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14020 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14022         * benchtests/bench-skeleton.c (startup): Fix coding style.
14024 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
14026         [BZ #6809]
14027         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14028         negative infinity argument.
14029         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14030         negative infinity argument.
14031         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14032         negative infinity argument.
14033         * math/libm-test.inc (tgamma_test): Expect errno to be set for
14034         domain errors.
14036 2013-05-10  Florian Weimer  <fweimer@redhat.com>
14038         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14039         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14040         * iconv/iconv_prog.c (main): Likewise.
14041         * locale/programs/charmap-dir.c (charmap_readdir)
14042         (fopen_uncompressed): Likewise.
14043         * locale/programs/locfile.c (siblings_uncached)
14044         (write_locale_data): Use lstat64 instead of lstat.
14045         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14046         stat.
14048 2013-05-10  Andreas Jaeger  <aj@suse.de>
14050         [BZ #15395]
14051         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14052         localization.
14053         Include <locale.h>.
14055 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
14057         * elf/dl-close.c (_dl_close_worker): Add comments.
14059 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
14061         [BZ #15359]
14062         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14063         high part of pi/2.
14064         (__ieee754_rem_pio2l): Update comments.
14066         [BZ #15429]
14067         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14068         high part of pi/2.
14069         (__ieee754_rem_pio2l): Update comments.
14071         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14072         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14074         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14075         M_PI_4l.
14077         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14078         (M_PI_34_LOG10El): Likewise.
14079         (M_PI2_LOG10El): Likewise.
14080         (M_PI4_LOG10El): Likewise.
14081         (M_PI_LOG10El): Likewise.
14083 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14087 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
14089         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14090         (MINUS_ZERO_INIT): Likewise.
14091         (PLUS_INFTY_INIT): Likewise.
14092         (MINUS_INFTY_INIT): Likewise.
14093         (QNAN_VALUE_INIT): Likewise.
14094         (MAX_VALUE_INIT): Likewise.
14095         (MIN_VALUE_INIT): Likewise.
14096         (MIN_SUBNORM_VALUE_INIT): Likewise.
14097         (plus_zero): Initialize with PLUS_ZERO_INIT.
14098         (minus_zero): Initialize with MINUS_ZERO_INIT.
14099         (plus_infty): Initialize with PLUS_INFTY_INIT.
14100         (minus_infty): Initialize with MINUS_INFTY_INIT.
14101         (qnan_value): Initialize with QNAN_VALUE_INIT.
14102         (max_value): Initialize with MAX_VALUE_INIT.
14103         (min_value): Initialize with MIN_VALUE_INIT.
14104         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14106         * math/libm-test.inc (RUN_TEST_if_f): New macro.
14107         (jn_test): Use TEST_if_f instead of TEST_ff_f.
14108         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14109         (yn_test): Use TEST_if_f instead of TEST_ff_f.
14111         * math/libm-test.inc (RUN_TEST_f_f): New macro.
14112         (RUN_TEST_2_f): Likewise.
14113         (RUN_TEST_ff_f): Likewise.
14114         (RUN_TEST_fi_f): Likewise.
14115         (RUN_TEST_fl_f): Likewise.
14116         (RUN_TEST_fff_f): Likewise.
14117         (RUN_TEST_c_f): Likewise.
14118         (RUN_TEST_f_f1): Likewise.
14119         (RUN_TEST_fF_f1): Likewise.
14120         (RUN_TEST_fI_f1): Likewise.
14121         (RUN_TEST_ffI_f1): Likewise.
14122         (RUN_TEST_c_c): Likewise.
14123         (RUN_TEST_cc_c): Likewise.
14124         (RUN_TEST_f_i): Likewise.
14125         (RUN_TEST_f_i_tg): Likewise.
14126         (RUN_TEST_ff_i_tg): Likewise.
14127         (RUN_TEST_f_b): Likewise.
14128         (RUN_TEST_f_b_tg): Likewise.
14129         (RUN_TEST_f_l): Likewise.
14130         (RUN_TEST_f_L): Likewise.
14131         (RUN_TEST_sincos): Likewise.
14132         * math/gen-libm-test.pl (new_test): Take new argument to indicate
14133         whether to show exceptions.  Do not include ");\n" in return
14134         value.
14135         (special_functions): Output call to RUN_TEST_sincos instead of
14136         check_float calls.  Update calls to new_test.
14137         (parse_args): Output call to single RUN_TEST_* macro instead of
14138         check_* calls and other assignments.  Update calls to new_test.
14140         [BZ #2546]
14141         [BZ #2560]
14142         [BZ #5159]
14143         [BZ #15426]
14144         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14145         input to result for tgamma overflow.
14146         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14147         (gamma_coeff): New variable.
14148         (NCOEFF): New macro.
14149         (gamma_positive): New function.
14150         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14151         underflow here.  Use gamma_positive instead of exp (lgamma) for
14152         other arguments.
14153         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14154         (gamma_coeff): New variable.
14155         (NCOEFF): New macro.
14156         (gammaf_positive): New function.
14157         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14158         underflow here.  Use gamma_positive instead of exp (lgamma) for
14159         other arguments.
14160         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14161         (gamma_coeff): New variable.
14162         (NCOEFF): New macro.
14163         (gammal_positive): New function.
14164         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14165         underflow here.  Use gamma_positive instead of exp (lgamma) for
14166         other arguments.
14167         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14168         (gamma_coeff): New variable.
14169         (NCOEFF): New macro.
14170         (gammal_positive): New function.
14171         (__ieee754_gammal_r): Handle positive infinity, overflow and
14172         underflow here.  Handle NaN the same as positive infinity.  Remove
14173         check x < 0xffffffff for negative integers.  Use gamma_positive
14174         instead of exp (lgamma) for other arguments.
14175         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14176         (gamma_coeff): New variable.
14177         (NCOEFF): New macro.
14178         (gammal_positive): New function.
14179         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14180         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14181         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14182         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14183         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14184         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14185         * sysdeps/generic/math_private.h (__gamma_productf): New
14186         prototype.
14187         (__gamma_product): Likewise.
14188         (__gamma_productl): Likewise.
14189         * math/Makefile (libm-calls): Add gamma_product.
14190         * math/libm-test.inc (tgamma_test): Add more tests.
14191         * sysdeps/i386/fpu/libm-test-ulps: Update.
14192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14194 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
14196         * benchtests/bench-skeleton.c (main): Preheat CPU.
14198 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
14200         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14202 2013-05-07  Roland McGrath  <roland@hack.frob.com>
14204         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14205         and _dl_skip_args_internal.
14207 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
14209         * manual/message.texi (Message Translation): Talk about users.
14210         Message to key mapping impacts design.
14212 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14214         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14216         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14218         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14219         * sysdeps/wordsize-64/glob64.c: ... here.
14221         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14222         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14223         New macros.
14225         * debug/getlogin_r_chk.c: Moved to ...
14226         * login/getlogin_r_chk.c: ... here.
14227         * debug/Makefile (routines): Move getlogin_r_chk to ...
14228         * login/Makefile (routines): ... here.
14229         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14230         * login/Versions (libc: GLIBC_2.4): ... here.
14232         * io/poll.c (__poll): Renamed from poll.
14233         Add libc_hidden_def.
14234         (poll): Define as weak alias.
14236         * debug/ptsname_r_chk.c: Moved to ...
14237         * login/ptsname_r_chk.c: ... here.
14238         * debug/Makefile (routines): Move ptsname_r_chk to ...
14239         * login/Makefile (routines): ... here.
14240         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14241         * login/Versions (libc: GLIBC_2.4): ... here.
14243         * posix/getlogin.c: Moved to ...
14244         * login/getlogin.c: ... here.
14245         * posix/getlogin_r.c: Moved to ...
14246         * login/getlogin_r.c: ... here.
14247         * posix/getlogin_r.c: Moved to ...
14248         * login/getlogin_r.c: ... here.
14249         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14250         * login/Makefile (routines): ... here.
14251         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14252         * login/Versions (libc: GLIBC_2.0): ... here.
14254         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14255         (setrlimit): Define as weak alias.
14257         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14258         Call __ names for open, ftruncate, and close.
14259         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14260         (truncate): Define as weak alias.
14262 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
14264         * math/gen-libm-test.pl (parse_args): Initialize x before each
14265         test of frexp, modf and remquo.
14267         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14268         test signgam value.
14270 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14272         [BZ #15418]
14273         [BZ #15419]
14274         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14275         internal tests.
14276         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14278 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14280         * elf/dl-writev.h: New file.
14281         * elf/dl-misc.c: Include it.
14282         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14283         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14285 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
14287         * math/libm-test.inc (noXFails): Remove variable.
14288         (noXPasses): Likewise.
14289         (BUILD_COMPLEX_INT): Remove macro.
14290         (print_screen): Remove xfail argument.
14291         (print_screen_max_error): Likewise.
14292         (update_stats): Likewise.
14293         (print_max_error): Likewise.  Update calls to other affected
14294         functions.
14295         (print_complex_max_error): Likewise.
14296         (test_single_exception): Update calls to print_screen.
14297         (test_single_errno): Likewise.
14298         (check_float_internal): Remove xfail argument.  Update calls to
14299         other affected functions.
14300         (check_float): Likewise.
14301         (check_complex): Likewise.
14302         (check_int): Likewise.
14303         (check_long): Likewise.
14304         (check_bool): Likewise.
14305         (check_longlong): Likewise.
14306         (main): Don't print noXFails and noXPasses.
14307         * math/gen-libm-test.pl (top level): Don't mention expected
14308         failure handling in comment.
14309         (new_test): Don't handle expected failures.
14310         (parse_args): Don't mention expected failure handling in comment.
14311         (generate_testfile): Don't handle expected failures.
14312         (parse_ulps): Likewise.
14313         (print_ulps_file): Likewise.
14314         (get_failure): Remove function.
14315         (output_test): Don't handle expected failures.
14316         * make/README.libm-test: Don't mention expected failure handling.
14318         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
14319         (minus_zero): Likewise.
14320         (plus_infty): Likewise.
14321         (minus_infty): Likewise.
14322         (qnan_value): Likewise.
14323         (max_value): Likewise.
14324         (min_value): Likewise.
14325         (min_subnorm_value): Likewise.
14326         (initialize): Do not initialize those variables dynamically.
14328 2013-05-03  Roland McGrath  <roland@hack.frob.com>
14330         * io/open.c (__open_2): Moved to ...
14331         * io/open_2.c: ... this new file.
14332         * io/open64.c (__open64_2): Moved to ...
14333         * io/open64_2.c: ... this new file.
14334         * io/openat.c (__openat_2): Moved to ...
14335         * io/openat_2.c: ... this new file.
14336         * io/openat64.c (__openat64_2): Moved to ...
14337         * io/openat64_2.c: ... this new file.
14338         * io/Makefile (routines): Add them.
14339         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14340         * sysdeps/unix/sysv/linux/open_2.c: File removed.
14341         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14342         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14343         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14344         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14345         (__openat64): Add hidden_ver.
14346         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14347         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14349         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14350         Separately conditionalize setting of GLRO(dl_sysinfo) so
14351         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14352         as well, but the actual setting is only under [NEED_DL_SYSINFO].
14354 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14356         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14357         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14358         definition.
14359         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14360         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14361         (_libc_vdso_platform_setup): Add __vdso_time initialization.
14362         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14363         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14365 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
14367         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14368         test signgam value.
14370         * math/libm-test.inc (hypot_test): Do not use
14371         IGNORE_ZERO_INF_SIGN.
14373 2013-05-03  Andreas Jaeger  <aj@suse.de>
14375         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14376         Linux 3.9.
14377         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14378         (PF_MAX): Adjust for VSOCK change.
14380 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14384 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
14386         [BZ #15264]
14387         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14388         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14389         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14391 2013-05-02  David S. Miller  <davem@davemloft.net>
14393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14395 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
14397         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14399 2013-05-01  Roland McGrath  <roland@hack.frob.com>
14401         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14403 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
14405         [BZ #14952]
14406         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14407         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14408         Use __attribute__ ((__gnu_inline__)).
14409         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14410         Don't use __attribute__ ((__gnu_inline__)).
14412 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
14414         [BZ #15423]
14415         * math/s_catan.c (__catan): Handle small real or imaginary part of
14416         input specially to avoid spurious underflow.
14417         * math/s_catanf.c (__catanf): Likewise.
14418         * math/s_catanh.c (__catanh): Likewise.
14419         * math/s_catanhf.c (__catanhf): Likewise.
14420         * math/s_catanhl.c (__catanhl): Likewise.
14421         * math/s_catanl.c (__catanl): Likewise.
14422         * math/libm-test.inc (catan_test): Add more tests.
14423         (catanh_test): Likewise.
14424         * sysdeps/i386/fpu/libm-test-ulps: Update.
14425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14427 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14431 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
14433         [BZ #15416]
14434         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14435         accurately for denominator in atan2.
14436         * math/s_catanf.c (__catanf): Likewise.
14437         * math/s_catanh.c (__catanh): Likewise.
14438         * math/s_catanhf.c (__catanhf): Likewise.
14439         * math/s_catanhl.c (__catanhl): Likewise.
14440         * math/s_catanl.c (__catanl): Likewise.
14441         * math/libm-test.inc (catan_test): Add more tests.
14442         (catanh_test): Likewise.
14443         * sysdeps/i386/fpu/libm-test-ulps: Update.
14444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14446 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14448         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14450         * benchtests/Makefile (bench): Remove slow benchmarks.
14451         * benchtests/atan-inputs: Add slow benchmark inputs.
14452         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14453         (BENCH_FUNC): Accept variant offset.
14454         (VARIANT): Define.
14455         * benchtests/bench-skeleton.c (main): Run benchmark for each
14456         variant.
14457         * benchtests/cos-inputs: Add slow benchmark inputs.
14458         * benchtests/exp-inputs: Likewise.
14459         * benchtests/pow-inputs: Likewise.
14460         * benchtests/sin-inputs: Likewise.
14461         * benchtests/slowatan-inputs: Remove.
14462         * benchtests/slowatan.c: Remove.
14463         * benchtests/slowcos-inputs: Remove.
14464         * benchtests/slowcos.c: Remove.
14465         * benchtests/slowexp-inputs: Remove.
14466         * benchtests/slowexp.c: Remove.
14467         * benchtests/slowpow-inputs: Remove.
14468         * benchtests/slowpow.c: Remove.
14469         * benchtests/slowsin-inputs: Remove.
14470         * benchtests/slowsin.c: Remove.
14471         * benchtests/slowtan-inputs: Remove.
14472         * benchtests/slowtan.c: Remove.
14473         * benchtests/tan-inputs: Add slow benchmark inputs.
14474         * scripts/bench.pl: Parse comments and directives.
14476         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
14477         in CPPFLAGS.
14478         ($(objpfx)bench-%.c): Remove *-ITER.
14479         * benchtests/bench-modf.c: Remove definition of ITER.
14480         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14481         (main): Loop for DURATION seconds instead of fixed number of
14482         iterations.
14483         * scripts/bench.pl: Don't expect iterations in parameters.
14485 2013-04-29  Roland McGrath  <roland@hack.frob.com>
14487         * io/fchdir.c (__fchdir): Renamed from fchdir.
14488         (fchdir): Define as weak alias.
14490 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14492         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14493         (ERRNO_EDOM): Likewise.
14494         (ERRNO_ERANGE): Likewise.
14495         (noErrnoTests): New variable.
14496         (init_max_error): Set errno to 0.
14497         (test_single_errno): New function.
14498         (test_errno): Likewise.
14499         (check_float_internal): Call test_errno.  Set errno to 0.
14500         (check_complex): Refer to errno tests in comment.
14501         (check_int): Call test_errno.  Set errno to 0.
14502         (check_long): Likewise.
14503         (check_bool): Likewise.
14504         (check_longlong): Likewise.
14505         (cos_test): Use ERRNO_* flags for errno tests instead of
14506         check_int.
14507         (expm1_test): Likewise.
14508         (fmod_test): Likewise.
14509         (ilogb_test): Likewise.
14510         (lgamma_test): Likewise.
14511         (pow_test): Likewise.
14512         (remainder_test): Likewise.
14513         (sin_test): Likewise.
14514         (tan_test): Likewise.
14515         (yn_test): Likewise.
14516         (initialize): Set errno to 0.
14517         (main): Print number of errno tests.
14518         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14520 2013-04-29  Andreas Jaeger  <aj@suse.de>
14522         [BZ #15084]
14523         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14524         and RES_USEVC.
14526         [BZ #15085]
14527         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14528         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14529         unimplemented.
14531         [BZ #15380]
14532         * stdlib/random.c (__initstate): Return NULL if
14533         __initstate fails.
14535         [BZ #15086]
14536         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14537         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14538         RES_SNGLKUPREOP.
14540 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14544 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14546         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14547         of individual tests.
14548         (casin_test): Likewise.
14549         (casinh_test): Likewise.
14551 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
14553         [BZ #15409]
14554         * math/s_catan.c (__catan): Handle arguments with large real or
14555         imaginary part separately without squaring.
14556         * math/s_catanf.c (__catanf): Likewise.
14557         * math/s_catanh.c (__catanh): Likewise.
14558         * math/s_catanhf.c (__catanhf): Likewise.
14559         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14560         and redefine.
14561         (__catanhl): Handle arguments with large real or imaginary part
14562         separately without squaring.
14563         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14564         and redefine.
14565         (__catanl): Handle arguments with large real or imaginary part
14566         separately without squaring.
14567         * math/libm-test.inc (catan_test): Add more tests.
14568         (catanh_test): Likewise.
14569         * sysdeps/i386/fpu/libm-test-ulps: Update.
14570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14572 2013-04-27  Andreas Jaeger  <aj@suse.de>
14574         [BZ #15007]
14575         * stdlib/stdlib.h: Update guards for qecvt.
14576         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14577         <stdlib.h>.
14579 2013-04-27  Allan McRae  <allan@archlinux.org>
14581         * sysdeps/i386/fpu/libm-test-ulps: Update.
14583 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
14585         [BZ #15406]
14586         * math/s_catan.c: Include <float.h>.
14587         (__catan): Ensure underflow exception occurs for underflowed
14588         result.
14589         * math/s_catanf.c: Include <float.h>.
14590         (__catanf): Ensure underflow exception occurs for underflowed
14591         result.
14592         * math/s_catanh.c: Include <float.h>.
14593         (__catanh): Ensure underflow exception occurs for underflowed
14594         result.
14595         * math/s_catanhf.c: Include <float.h>.
14596         (__catanhf): Ensure underflow exception occurs for underflowed
14597         result.
14598         * math/s_catanhl.c: Include <float.h>.
14599         (__catanhl): Ensure underflow exception occurs for underflowed
14600         result.
14601         * math/s_catanl.c: Include <float.h>.
14602         (__catanl): Ensure underflow exception occurs for underflowed
14603         result.
14604         * math/libm-test.inc (catan_test): Add more tests.
14605         (catanh_test): Likewise.
14607         [BZ #15405]
14608         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14609         underflowed result.
14610         * math/s_ccoshf.c (__ccoshf): Likewise.
14611         * math/s_ccoshl.c (__ccoshl): Likewise.
14612         * math/s_csin.c (__csin): Likewise.
14613         * math/s_csinf.c (__csinf): Likewise.
14614         * math/s_csinh.c (__csinh): Likewise.
14615         * math/s_csinhf.c (__csinhf): Likewise.
14616         * math/s_csinhl.c (__csinhl): Likewise.
14617         * math/s_csinl.c (__csinl): Likewise.
14618         * math/libm-test.inc (ccos_test): Add more tests.
14619         (ccosh_test): Likewise.
14620         (csin_test): Likewise.
14621         (csinh_test): Likewise.
14623 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14625         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14626         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14627         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14628         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14629         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14630         powerpc/power5+/fpu folders.
14631         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14634 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14638 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
14640         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14641         additions to variable.
14642         [$(config-machine) = x86_64] (modules-names): Likewise.
14643         ($(objpfx)tst-audit3): Remove dependency.
14644         ($(objpfx)tst-audit3.out): Likewise.
14645         ($(objpfx)tst-audit4): Likewise.
14646         ($(objpfx)tst-audit4.out): Likewise.
14647         ($(objpfx)tst-audit5): Likewise.
14648         ($(objpfx)tst-audit5.out): Likewise.
14649         ($(objpfx)tst-audit6): Likewise.
14650         ($(objpfx)tst-audit6.out): Likewise.
14651         ($(objpfx)tst-audit7): Likewise.
14652         ($(objpfx)tst-audit7.out): Likewise.
14653         (tst-audit3-ENV): Remove variable.
14654         (tst-audit4-ENV): Likewise.
14655         (tst-audit5-ENV): Likewise.
14656         (tst-audit6-ENV): Likewise.
14657         (tst-audit7-ENV): Likewise.
14658         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14659         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14660         addition to variable.
14661         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14662         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14663         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14664         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14665         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14666         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14667         tst-audit3, tst-audit4 and tst-audit5.
14668         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14669         tst-audit6 and tst-audit7.
14670         [$(subdir) = elf] (modules-names): Add audit modules for those
14671         tests.
14672         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14673         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14674         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14675         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14676         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14677         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14678         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14679         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14680         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14681         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14682         [$(subdir) = elf] (tst-audit3-ENV): New variable.
14683         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14684         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14685         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14686         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14687         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14688         Likewise.
14689         [$(subdir) = elf && $(config-cflags-avx) = yes]
14690         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14691         [$(subdir) = elf && $(config-cflags-avx) = yes]
14692         (CFLAGS-tst-auditmod4a.c): Likewise.
14693         [$(subdir) = elf && $(config-cflags-avx) = yes]
14694         (CFLAGS-tst-auditmod4b.c): Likewise.
14695         [$(subdir) = elf && $(config-cflags-avx) = yes]
14696         (CFLAGS-tst-auditmod6b.c): Likewise.
14697         [$(subdir) = elf && $(config-cflags-avx) = yes]
14698         (CFLAGS-tst-auditmod6c.c): Likewise.
14699         [$(subdir) = elf && $(config-cflags-avx) = yes]
14700         (CFLAGS-tst-auditmod7b.c): Likewise.
14701         * elf/tst-audit3.c: Move to ...
14702         * sysdeps/x86_64/tst-audit3.c: ... here.
14703         * elf/tst-audit4.c: Move to ...
14704         * sysdeps/x86_64/tst-audit4.c: ... here.
14705         * elf/tst-audit5.c: Move to ...
14706         * sysdeps/x86_64/tst-audit5.c: ... here.
14707         * elf/tst-audit6.c: Move to ...
14708         * sysdeps/x86_64/tst-audit6.c: ... here.
14709         * elf/tst-audit7.c: Move to ...
14710         * sysdeps/x86_64/tst-audit7.c: ... here.
14711         * elf/tst-auditmod3a.c: Move to ...
14712         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14713         * elf/tst-auditmod3b.c: Move to ...
14714         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14715         * elf/tst-auditmod4a.c: Move to ...
14716         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14717         * elf/tst-auditmod4b.c: Move to ...
14718         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14719         * elf/tst-auditmod5a.c: Move to ...
14720         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14721         * elf/tst-auditmod5b.c: Move to ...
14722         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14723         * elf/tst-auditmod6a.c: Move to ...
14724         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14725         * elf/tst-auditmod6b.c: Move to ...
14726         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14727         * elf/tst-auditmod6c.c: Move to ...
14728         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14729         * elf/tst-auditmod7a.c: Move to ...
14730         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14731         * elf/tst-auditmod7b.c: Move to ...
14732         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14734 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
14736         [BZ #15366]
14737         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14738         define unconditionally.
14739         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14740         define unconditionally.
14741         (INT8_C, INT16_C, etc.): Likewise.
14743 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
14745         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14746         __ehdr_start with hidden visibility.
14748         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14750 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
14752         * math/libm-test.inc (cos_test): Use accurate hex constants.
14753         (sincost_test): Likewise.
14755 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
14757         * math/libm-test.inc (catan_test): Add more tests.
14758         (catanh_test): Likewise.
14760         * math/s_catanf.c (__catanf): Use suffixed floating-point
14761         constants.
14762         * math/s_catanhf.c (__catanhf): Likewise.
14763         * math/s_catanhl.c (__catanhl): Likewise.
14764         * math/s_catanl.c (__catanl): Likewise.
14766         [BZ #15394]
14767         * math/s_catan.c (__catan): Calculate imaginary part of result
14768         with log1p not log unless computing log of number close to 0.
14769         * math/s_catanf.c (__catanf): Likewise.
14770         * math/s_catanl.c (__catanl): Likewise.
14771         * math/s_catanh.c (__catanh): Calculate real part of result with
14772         log1p not log unless computing log of number close to 0.
14773         * math/s_catanhf.c (__catanhf): Likewise.
14774         * math/s_catanhl.c (__catanhl): Likewise.
14775         * math/libm-test.inc (catan_test): Add more tests.
14776         (catanh_test): Likewise.
14777         * sysdeps/i386/fpu/libm-test-ulps: Update.
14778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14780 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14782         * benchtests/Makefile: Mention files in which fast and slow
14783         paths of math functions are implemented.
14785 2013-04-23  Roland McGrath  <roland@hack.frob.com>
14787         * sysdeps/posix/timespec_get.c: New file.
14789 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14791         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14792         POWER.
14793         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14794         for POWER.
14795         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14796         powerpc/power5/fpu folders.
14797         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14798         * benchtests/Makefile: Add modf testcase.
14799         * benchtests/bench-modf.c: New file: Benchmark test for mo
14801 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14803         [BZ #14888]
14804         * time/Makefile (tests): Add tst-strptime-whitespace.
14805         * time/strptime_l.c (get_number): Use ISSPACE.
14806         (__strptime_internal): Likewise.
14807         * time/tst-strptime-whitespace.c: New test case.
14809 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
14811         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14812         member.
14813         (_nss_files_init): Set it here.
14815 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
14817         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14818         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14819         unsigned.
14821 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
14823         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14825 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14827         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14828         size just once.
14830 2013-04-21  David S. Miller  <davem@davemloft.net>
14832         * po/ru.po: Update Russion translation from translation project.
14834 2013-04-17  Adam Conrad  <adconrad@0c3.net>
14836         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14837         and setfsgid.
14839 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
14841         * configure.in: Remove i386 configure warning. Remove i386 case.
14842         * configure: Regenerate.
14843         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14844         Add example to error message.
14845         * sysdeps/i386/configure: Regenerate.
14847 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14849         * benchtests/Makefile (bench): Add cos, tan, slowcos and
14850         slowtan.
14851         * benchtests/cos-inputs: New file.
14852         * benchtests/slowcos-inputs: New file.
14853         * benchtests/slowcos.c: New file.
14854         * benchtests/slowtan-inputs: New file.
14855         * benchtests/slowtan.c: New file.
14856         * benchtests/tan-inputs: New file.
14858 2013-04-16  Roland McGrath  <roland@hack.frob.com>
14860         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14861         considered kosher.
14863 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14865         * benchtests/Makefile: Include cppflags-iterator.mk to add
14866         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14868         * Makefile.in (bench-clean): New target.
14869         * benchtests/Makefile (bench-clean): Likewise.
14871 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
14873         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14875 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
14877         * stdio-common/tstdiomisc.c: Fix coding-style violation.
14879 2013-04-15  Andreas Schwab  <schwab@suse.de>
14881         * nscd/grpcache.c (cache_addgr): Properly check for short write.
14882         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14883         * nscd/pwdcache.c (cache_addpw): Likewise.
14884         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
14885         more than recsize.
14887 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14889         * benchtests/Makefile (bench): Write all output to
14890         bench-out.tmp together.
14892 2013-04-15  Andreas Schwab  <schwab@suse.de>
14894         * nscd/nscd.c (main): Don't fork again after closing files.
14896 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14898         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14900         * benchtests/Rules (bench-deps): Collect dependencies into a
14901         single variable.  Add Makefile to dependencies.
14902         ($(objpfx)bench-%.c): Depend on bench-deps.
14904 2013-04-12  Roland McGrath  <roland@hack.frob.com>
14905             Xavier Roche  <roche+kml2@exalead.com>
14907         [BZ #15361]
14908         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14909         just that it's a file descriptor.
14910         * manual/llio.texi (Synchronizing AIO Operations): Update description
14911         for EBADF error from aio_fsync.
14913 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14915         * Rules (bench): Move target definition...
14916         * benchtests/Makefile: ... here.
14918 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
14920         * math/libm-test.inc (cos_test): Fix PI/2 test.
14921         (sincos_test): Likewise.
14922         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14923         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14925 2013-04-11  Andreas Schwab  <schwab@suse.de>
14927         [BZ #13988]
14928         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14929         accept exponent character only when digits were seen.
14930         * stdio-common/Makefile (tests): Add bug26.
14931         * stdio-common/bug26.c: New file.
14933         [BZ #14293]
14934         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14935         non-freeable.
14937 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14939         * Makeconfig (rtld-prefix): Define built linker prefix.
14940         * Rules (run-bench): Use it.
14941         * math/Makefile (run-regen-ulps): Likewise.
14943         * Rules (bench): Remove eval.
14945 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14946             Roland McGrath  <roland@hack.frob.com>
14947             Ondrej Bilka  <neleai@seznam.cz>
14949         [BZ #15346]
14950         * time/getdate.c: Include ctype.h and alloca.h.
14951         (__getdate_r): Trim leading and trailing spaces of input.
14952         * time/tst-getdate.c (tests): Add tests with leading and
14953         trailing spaces.
14955 2013-04-08  Roland McGrath  <roland@hack.frob.com>
14957         [BZ #14280]
14958         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14959         when computing value.
14961 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14963         * math/README.libm-test (How can I generate "libm-test-ulps"?):
14964         Use testrun.sh to run libm tests.
14966         [BZ #15309]
14967         * elf/dl-open.c (dl_open_worker): memset all of seen array.
14969 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
14971         [BZ #15264]
14972         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14974 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14976         * Makefile.in (regen-ulps): New target.
14977         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14978         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14979         [ifneq (no,$(PERL)] (regen-ulps): New target.
14980         [ifeq (no,$(PERL)] (regen-ulps): New target.
14981         * math/libm-test.inc (ulps_file_name): Define.
14982         (output_dir): New variable.
14983         (options): Add "output-dir" option.
14984         (parse_opt): Handle 'o' case.
14985         (main): If output_dir is non-NULL use it as a prefix
14986         otherwise use "".
14987         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14989 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14991         [BZ #10060, #10062]
14992         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14993         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14994         fail configure if __sync_val_compare_and_swap is not inlined.
14995         * sysdeps/i386/configure: Regenerate.
14996         * configure.in: Build for i686 when configured for i386.
14997         * configure: Regenerate.
14998         * README: Remove i386 reference.
15000 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
15002         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15003         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15005 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
15007         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15008         (lmsnanval): New variables.
15009         (F): Add conversion tests.
15010         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15011         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15013         * stdio-common/tstdiomisc.c (F): Properly collect individual
15014         tests' results.
15016         [BZ #14686, #15336]
15017         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15018         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15019         Instead, use input NaN values or generate a qNaN by arithmetic
15020         operation.  Also fix bugs to comply with the standard.
15021         * math/libm-test.inc (remainder_test): Add more tests.
15023         [BZ #15335, #15342]
15024         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15025         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15026         input NaN values or generate a qNaN by arithmetic operation.
15028         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15029         unreachable code.
15031         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15032         definitions.
15034 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
15036         [BZ #14478]
15037         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15038         underflowed result.
15039         * math/s_cexpf.c (__cexpf): Likewise.
15040         * math/s_cexpl.c (__cexpl): Likewise.
15041         * math/libm-test.inc (cexp_test): Add more tests.
15043 2013-04-03  Andreas Schwab  <schwab@suse.de>
15045         [BZ #15330]
15046         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15047         order arrays from heap if bigger than alloca cutoff.
15049 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
15051         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15052         (SNAN_TESTS_double): Refer to GCC PR56831.
15053         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15054         GCC PR56828.
15056 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15058         * Rules (bench): Move bench.out after the run is complete.
15060         * Rules (bench): Echo currently running benchmark.
15062         * benchtests/Makefile (bench): Add atan and slowatan.
15063         * benchtests/atan-inputs: New file.
15064         * benchtests/slowatan-inputs: New file.
15065         * benchtests/slowatan.c: New file.
15067         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15068         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15069         its value.
15071         [BZ #15305]
15072         * sysdeps/unix/sysv/linux/kernel-features.h
15073         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15074         __ASSUME_XFS_RESTRICTED_CHOWN.
15075         * sysdeps/unix/sysv/linux/pathconf.c
15076         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15077         Save and restore errno.
15079 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
15081         [BZ #15327]
15082         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15083         arguments using __kernel_casinh.
15084         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15085         arguments using __kernel_casinhf.
15086         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15087         arguments using __kernel_casinhl.
15088         * math/libm-test.inc (cacosh_test): Add more tests.
15089         * sysdeps/i386/fpu/libm-test-ulps: Update.
15090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15092 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15094         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15095         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15097         * bench/Makefile (bench): Add sin and slowsin.
15098         * benchtests/sin-inputs: New file.
15099         * benchtests/slowsin-inputs: New file.
15100         * benchtests/slowsin.c: New file.
15102         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15103         (bench): Add slowexp and slowpow.
15104         (exp-ITER): Increase iterations.
15105         (pow-ITER): Likewise.
15106         * benchtests/exp-inputs: Change input.
15107         * benchtests/pow-inputs: Likewise.
15108         * benchtests/slowexp-inputs: New file.
15109         * benchtests/slowexp.c: New file.
15110         * benchtests/slowpow-inputs: New file.
15111         * benchtests/slowpow.c: New file.
15113 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15115         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15116         instructions.
15117         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15118         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15119         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15120         * benchtests/Makefile: Add rint benchtest.
15121         * benchtests/rint-inputs: Input for rint benchtest.
15123 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
15125         * Versions.def (libm): Add GLIBC_2.18.
15126         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15127         hidden libm prototypes.
15128         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15129         * math/Makefile (libm-calls): Add s_issignaling.
15130         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15131         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
15132         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15133         declaration.
15134         * math/math.h [__USE_GNU] (issignaling): New macro.
15135         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15136         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15137         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15138         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15139         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15140         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15141         * manual/arith.texi (issignaling): New section.
15142         * manual/libm-err-tab.pl (@all_functions): Update comment.
15143         * math/gen-libm-test.pl (parse_args): Apply special handling for
15144         issignaling.
15145         * math/libm-test.inc (print_float, issignaling_test): New
15146         functions.
15147         (check_float_internal): Add issignaling checks.
15148         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15149         default definition.
15150         * sysdeps/powerpc/math-tests.h: New file.
15151         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15152         tests.
15153         * math/test-snan.c (TEST_FUNC): Likewise.
15155 2013-03-30  David S. Miller  <davem@davemloft.net>
15157         * po/de.po: Update from translation team.
15159 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
15161         [BZ #10357]
15162         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15163         imaginary part less than 1.0 and real part less than 0.5
15164         specially.
15165         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15166         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15167         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15168         (cacos_test): Add more tests.
15169         (casin_test): Likewise.
15170         (casinh_test): Likewise.
15171         * sysdeps/i386/fpu/libm-test-ulps: Update.
15172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15174 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15176         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15177         ONE with its value.
15179         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15180         (__pow_mp): Replace ONE and MONE with their values.
15181         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15182         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15183         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15184         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15185         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15186         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15188         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15190         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15191         (__pow_mp): Replace ZERO and MZERO with their values.
15192         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15193         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15194         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15195         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15196         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15197         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15198         (__sqr): Likewise.
15200         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15202         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15204 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15206         * include/stdlib.h [!SHARED] (__call_tls_dtors):
15207         Declare with __attribute__ ((weak)).
15208         * stdlib/exit.c (__libc_atexit) [!SHARED]:
15209         Call __call_tls_dtors only if it's not NULL.
15211 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15213         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15214         didn't do it already, then set _dl_phdr and _dl_phnum based on the
15215         magic __ehdr_start linker symbol if it's defined.
15216         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15217         them up here if it was already done.
15219         * elf/dl-support.c (_dl_phdr): Make pointer to const.
15220         (_dl_aux_init): Use const in cast when setting it.
15221         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15222         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15223         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15225         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15226         Declare them here.
15227         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15228         * csu/libc-tls.c: Nor here.
15229         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15231         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15232         (__libc_message): Never call vsyslog.
15234 2013-03-28  Alan Modra  <amodra@gmail.com>
15236         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15237         Define as empty.
15238         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15239         Likewise.
15241 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15243         [BZ #15214]
15244         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15245         underflow.
15246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15248 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15250         [BZ #15304]
15251         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15252         Don't add gid passed as argument.
15254         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15256 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
15258         [BZ #15307]
15259         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15260         imaginary part between 1.0 and 1.5 and real part less than 0.5
15261         specially.
15262         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15263         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15264         * math/libm-test.inc (cacos_test): Add more tests.
15265         (casin_test): Likewise.
15266         (casinh_test): Likewise.
15267         * sysdeps/i386/fpu/libm-test-ulps: Update.
15268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15270 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15272         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15273         constants.
15274         (norm): Likewise.
15275         (denorm): Likewise.
15276         (__dbl_mp): Likewise.
15277         (add_magnitudes): Likewise.
15278         (sub_magnitudes): Likewise.
15279         (__add): Likewise.
15280         (__sub): Likewise.
15281         (__mul): Likewise.
15282         (__sqr): Likewise.
15283         (__inv): Likewise.
15284         (__dvd): Likewise.
15286         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15287         commented code.
15288         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15289         (__dubcos): Likewise.
15290         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15291         (__ieee754_acos): Likewise.
15292         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15293         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15294         (__exp1): Likewise.
15295         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15296         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15297         (log1): Likewise.
15298         (my_log2): Likewise.
15299         (checkint): Likewise.
15300         * sysdeps/ieee754/dbl-64/e_remainder.c
15301         (__ieee754_remainder): Likewise.
15302         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15304         (bsloww): Likewise.
15305         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15307         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15308         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15309         MANTISSA_STORE_T to store computations on mantissa.  Use
15310         macros for rounding and division.
15311         (denorm): Likewise.
15312         (__dbl_mp): Likewise.
15313         (add_magnitudes): Likewise.
15314         (sub_magnitudes): Likewise.
15315         (__mul): Likewise.
15316         (__sqr): Likewise.
15317         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15318         powers of two in terms of TWOPOW macro.
15319         (mp_no): Make type of mantissa as MANTISSA_T.
15320         [!RADIXI]: Define RADIXI.
15321         [!TWO52]: Define TWO52.
15322         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15324 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15326         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15327         llroundl symbol when building for PPC32.
15329 2013-03-24  Mark H Weaver  <mhw@netris.org>
15331         * manual/arith.texi (Normalization Functions): Fix prototypes for
15332         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15334 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15336         [BZ #13889]
15337         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15338         high value to check if expl overflow.
15339         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15340         to check for underflow and overflow.
15341         * math/libm-test.inc: Add exp test.
15343 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
15345         [BZ #11120]
15346         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15347         with NOT_IN_libc.
15349 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15351         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15352         symbol.
15354 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15356         * math/gen-libm-test.pl (parse_args, special_functions): Properly
15357         wrap blocks consisting of several statements.
15359         * sysdeps/generic/math-tests.h: New file.
15360         * sysdeps/i386/fpu/math-tests.h: Likewise.
15361         * math/test-snan.c: Include it.
15362         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15364 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15366         [BZ #15285]
15367         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15368         (__ieee754_j0l): Do not improve calculations using cos of twice
15369         input for inputs above LDBL_MAX / 2.0L.
15370         (__ieee754_y0l): Likewise.
15371         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15372         (__ieee754_j1l): Do not improve calculations using cos of twice
15373         input for inputs above LDBL_MAX / 2.0L.
15374         (__ieee754_y1l): Likewise.
15375         * math/libm-test.inc (j0_test): Add another test.
15376         (j1_test): Likewise.
15377         (y0_test): Likewise.
15378         (y1_test): Likewise.
15379         * sysdeps/i386/fpu/libm-test-ulps: Update.
15381 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15383         * Rules ($(objpfx)bench-%.c): Include code from a C source
15384         file.
15386 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15388         [BZ #15287]
15389         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15390         imaginary part 1.0 and real part less than 0.5 specially.
15391         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15392         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15393         * math/libm-test.inc (cacos_test): Add more tests.
15394         (casin_test): Likewise.
15395         (casinh_test): Likewise.
15396         * sysdeps/i386/fpu/libm-test-ulps: Update.
15397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15399 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15401         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15402         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15404 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
15406         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15407         * config.make.in (config-cflags-sse4): Remove variable.
15408         (config-cflags-avx): Likewise.
15409         (config-cflags-sse2avx): Likewise.
15410         (config-cflags-novzeroupper): Likewise.
15411         (config-asflags-i686): Likewise.
15412         (have-mfma4): Likewise.
15413         (have-as-vis3): Likewise.
15414         (MIG): Likewise.
15415         * configure.in (MIG): Do not AC_SUBST.
15416         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15417         (libc_cv_cc_sse4): Do not AC_SUBST.
15418         (libc_cv_cc_avx): Likewise.
15419         (libc_cv_cc_sse2avx): Likewise.
15420         (libc_cv_cc_novzeroupper): Likewise.
15421         (libc_cv_cc_fma4): Likewise.
15422         (libc_cv_as_i686): Likewise.
15423         (libc_cv_sparc_as_vis3): Likewise.
15424         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15425         LIBC_CONFIG_VAR.
15426         (config-asflags-i686): Likewise.
15427         (config-cflags-avx): Likewise.
15428         (config-cflags-sse2avx): Likewise.
15429         (have-mfma4): Likewise.
15430         (config-cflags-novzeroupper): Likewise.
15431         * sysdeps/mach/configure.in (MIG): Likewise.
15432         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15433         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15434         LIBC_CONFIG_VAR.
15435         (config-cflags-avx): Likewise.
15436         (config-cflags-sse2avx): Likewise.
15437         (have-mfma4): Likewise.
15438         (config-cflags-novzeroupper): Likewise.
15439         * configure: Regenerated.
15440         * sysdeps/i386/configure: Likewise.
15441         * sysdeps/mach/configure: Likewise.
15442         * sysdeps/sparc/configure: Likewise.
15443         * sysdeps/x86_64/configure: Likewise.
15445 2013-03-20  Roland McGrath  <roland@hack.frob.com>
15447         [BZ #14812]
15448         * locale/programs/localedef.c (options): Put N_ translation marker
15449         on argument names, not just descriptions.
15451 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15453         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15455 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
15457         [BZ #14176]
15458         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15460 2013-03-19  Roland McGrath  <roland@hack.frob.com>
15462         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15463         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15464         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15465         [!BEFORE_ABORT] (before_abort): New function.
15466         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15467         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15468         (writev_for_fatal): New function.
15469         (WRITEV_FOR_FATAL): New macro; call that.
15470         (backtrace_and_maps): New function.
15471         (BEFORE_ABORT): New macro; call that.
15472         (struct str_list): Type removed.
15473         (__libc_message, __libc_fatal): Functions removed.
15474         Include <sysdeps/posix/libc_fatal.c> instead.
15476 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
15478         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15479         constants.
15480         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15481         double constants.
15483 2013-03-19  Andreas Schwab  <schwab@suse.de>
15485         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15486         * sysdeps/gnu/configure: Regenerate.
15488         * configure.in: Substitute libc_cv_rtlddir.
15489         * configure: Regenerate.
15490         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15491         * Makeconfig (rtlddir, inst_rtlddir): New variables.
15492         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15493         * elf/Makefile (install-others, CFLAGS-interp.c)
15494         (ldso_install, common-ldd-rewrite): Likewise.
15495         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15496         $(inst_slibdir)/$(rtld-installed-name).
15497         * scripts/rellns-sh: Add -p option.
15498         * Makerules (make-shlib-link): Use rellns-sh to get relative name
15499         for source.
15501 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15503         * manual/nptl.texi: Renamed to ...
15504         * manual/threads.texi: ... this.
15505         * manual/Makefile (chapters): Update.
15507 2013-03-18  Roland McGrath  <roland@hack.frob.com>
15509         [BZ #14812]
15510         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15511         on argument names, not just descriptions.
15512         * malloc/memusagestat.c (options): Likewise.
15513         * nss/getent.c (options): Likewise.
15515 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
15517         [BZ #14812]
15518         * iconv/iconv_prog.c (options): Put N_ translation marker
15519         on argument names, not just descriptions.
15520         * iconv/iconvconfig.c (options): Likewise.
15522 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
15524         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15525         implementation which is faster on all x86_64 architectures.
15526         Tested on AMD, Intel Nehalem, SNB, IVB.
15527         * sysdeps/x86_64/strnlen.S: Likewise.
15529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15530         Remove all multiarch strlen and strnlen versions.
15531         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15532         Remove strlen and strnlen related parts.
15534         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15535         Inline strlen part.
15536         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15538         * sysdeps/x86_64/multiarch/strlen.S: Remove.
15539         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15540         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15541         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15542         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15543         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15545 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
15547         * manual/memory.texi (Malloc Tunable Parameters):
15548         Sort parameters alphabetically. Add comments for missing entries.
15550 2013-03-17  David S. Miller  <davem@davemloft.net>
15552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15554 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
15556         [BZ #15283]
15557         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15558         for arguments at most half maximum finite value.
15559         * math/libm-test.inc (j0_test): Add more tests.
15560         (j1_test): Likewise.
15561         (y0_test): Likewise.
15562         (y1_test): Likewise.
15563         * sysdeps/i386/fpu/libm-test-ulps: Update.
15564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15566         [BZ #14155]
15567         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15568         1 / x and functions P and Q for arguments above 0x1p256L.
15569         (__ieee754_y0l): Likewise.
15570         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15571         (__ieee754_y1l): Likewise.
15572         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15573         (j1_test): Likewise.
15574         (y0_test): Likewise.
15575         (y1_test): Likewise.
15577 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
15579         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15580         variable.
15582 2013-03-15  Roland McGrath  <roland@hack.frob.com>
15584         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15585         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15586         zero since it's initialized to EXEC_PAGESIZE.
15588         * sysdeps/unix/sysv/linux/ldsodefs.h
15589         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15590         * sysdeps/generic/ldsodefs.h: ... here.
15592 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
15594         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15596         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15597         math/test-snan.c.
15598         * math/test-snan.c: Renamed from
15599         sysdeps/powerpc/fpu/test-powerpc-snan.c.
15600         * math/Makefile (tests): Add test-snan.
15601         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15602         test-powerpc-snan.
15604         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15605         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
15606         functions.
15607         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
15608         __builtin_nan family of functions.
15609         * math/libm-test.inc (initialize): Initialize qnan_value with
15610         __builtin_nan family of functions.
15611         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15612         Remove variables.
15613         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15614         Remove functions.
15615         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
15616         storage class.  Initialize qNaN_var and sNaN_var with
15617         __builtin_nan and __builtin_nans families of functions,
15618         respectively.
15620         * math/libm-test.inc (acosh_test): Also test with qNaN input.
15621         (sqrt_test): Remove duplicate test with qNaN input.
15622         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15623         (round_test, signbit_test, significand_test): Note missing +/-Inf
15624         as well as qNaN tests.
15626         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15627         qNaN_var.  Fix a few strings, too.
15628         * math/libm-test.inc (nan_value): Rename to qnan_value.
15629         * math/gen-libm-test.pl (%beautify): Adjust to that.
15630         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15631         * math/test-misc.c (main): Likewise.
15632         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15633         to __qnan_bytes, and __qnan_union, respectively.
15634         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15635         Likewise.
15636         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15637         and lqnanval, respectively.
15638         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15639         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15640         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15641         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15643         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15644         * math/test-misc.c (main) [__x86_64__]: Enable test for long
15645         doubles.
15647         * math/test-misc.c (main): Fix copy'n'pastos.
15648         * misc/tst-efgcvt.c (special): Likewise.
15650         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15651         Remove declarations.
15653 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15655         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15656         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15657         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15658         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15660 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15662         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15663         macro to return vdso values correctly in IFUNC implementations.
15664         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15665         Optimization by using IFUNC.
15667 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15668             Richard Henderson  <rth@redhat.com>
15669             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15671         * Makefile.in (bench): New target.
15672         * NEWS: Mention the benchmark framework.
15673         * Rules (bench): Likewise.
15674         (binaries-bench): Generate binaries for functions to
15675         benchmark.
15676         * benchtests/Makefile: New makefile for benchmark tests.
15677         * benchtests/bench-skeleton.c: New skeleton file for benchmark
15678         programs.
15679         * benchtests/exp-inputs: New input file for EXP function.
15680         * benchtests/pow-inputs: New input file for POW function.
15681         * scripts/bench.pl: New script to generate source files for
15682         benchmark programs.
15684 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15686         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15687         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15688         computations on mantissa.  Use macros for rounding and
15689         division.
15690         (denorm): Likewise.
15691         (__dbl_mp): Likewise.
15692         (add_magnitudes): Likewise.
15693         (sub_magnitudes): Likewise.
15694         (__mul): Likewise.
15695         (__sqr): Likewise.
15696         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15697         powers of two in terms of TWOPOW macro.
15698         (mp_no): Make type of mantissa as MANTISSA_T.
15699         [!RADIXI]: Define RADIXI.
15700         [!TWO52]: Define TWO52.
15701         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15703         * manual/nptl.texi (cindex): Modify threads to pthreads.
15705 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
15707         * sysdeps/x86_64/preconfigure: Regenerated.
15709 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
15711         [BZ #14155]
15712         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15713         0x1p28 and above.
15714         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15715         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15716         0x1p28 and above.
15717         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15718         * math/libm-test.inc (j0_test): Do not allow one spurious
15719         underflow exception.
15720         (y1_test): Likewise.
15722 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15724         * manual/Makefile (chapters): Add nptl.
15725         * manual/debug.texi (Debugging Support): Add link to Threads
15726         chapter.
15727         * manual/nptl.texi: New file.
15729         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15731 2013-03-14  Petr Baudis  <pasky@ucw.cz>
15733         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15734         for non-NULL pointer before the memory validity test. Pointed
15735         out by Holger Brunck <holger.brunck@keymile.com>.
15737 2013-03-13  Andreas Schwab  <schwab@suse.de>
15739         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15740         instead of .os.
15742 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
15744         * timezone/zic.c: Update from tzcode 2013b.
15746 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
15748         * manual/install.texi (Configuring and compiling):
15749         Mention i686 and i586.
15750         * INSTALL: Regenerate.
15752 2013-03-12  Roland McGrath  <roland@hack.frob.com>
15754         * sysdeps/init_array/elf-init.c: New file.
15755         * csu/elf-init.c
15756         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15757         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15759         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15760         __gmon_start__ as global, but as static with a .preinit_array pointer.
15761         * sysdeps/init_array/gmon-start.c: New file.  Use that.
15762         * sysdeps/init_array/crti.S: New file, empty except for comments.
15763         * sysdeps/init_array/crtn.S: Likewise.
15765 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
15767         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15768         definining bcopy.
15769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15770         Remove Prefer_SSE_for_memop.
15771         * sysdeps/x86_64/multiarch/init-arch.h: Remove
15772         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15773         HAS_PREFER_SSE_FOR_MEMOP.
15774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15775         memset-x86-64.
15776         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15777         Remove bzero, memset ifunc support.
15778         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15779         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15780         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15781         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15783 2013-03-11  Andreas Schwab  <schwab@suse.de>
15785         [BZ #15234]
15786         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15787         by SHLIB_COMPAT.
15788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15789         (GLIBC_2.16): Remove pthread_atfork.
15791 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15793         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15794         (ptestcases.h): Likewise.
15796 2013-03-08  Roland McGrath  <roland@hack.frob.com>
15798         * Makeconfig ($(common-objpfx)config.status): Depend on
15799         sysdeps/*/preconfigure{,.in} too.
15801 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
15803         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15804         (__free_hook): Use void * instead of __malloc_ptr_t.
15805         (__malloc_hook): Likewise.
15806         (__realloc_hook): Likewise.
15807         (__memalign_hook): Likewise.
15808         (__after_morecore_hook): Likewise.
15809         * malloc/arena.c (save_malloc_hook): Likewise.
15810         (save_free_hook): Likewise.
15811         * malloc/hooks.c (malloc_hook_ini): Likewise.
15812         (realloc_hook_ini): Likewise.
15813         (memalign_hook_ini): Likewise.
15814         * malloc/malloc.c (malloc_hook_ini): Likewise.
15815         (realloc_hook_ini): Likewise.
15816         (memalign_hook_ini): Likewise.
15817         (__free_hook): Likewise.
15818         (__malloc_hook): Likewise.
15819         (__realloc_hook): Likewise.
15820         (__memalign_hook): Likewise.
15821         (__libc_malloc): Likewise.
15822         (__libc_free): Likewise.
15823         (__libc_realloc): Likewise.
15824         (__libc_memalign): Likewise.
15825         (__libc_valloc): Likewise.
15826         (__libc_pvalloc): Likewise.
15827         (__libc_calloc): Likewise.
15828         (__posix_memalign): Likewise.
15829         * malloc/morecore.c (__sbrk): Likewise.
15830         (__default_morecore): Likewise.
15832         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15834         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15835         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15836         __malloc_ptrdiff_t.
15838         * malloc/malloc.h (__malloc_size_t): Remove macro.
15839         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15840         __malloc_size_t.
15841         (old_memalign_hook): Likewise.
15842         (old_realloc_hook): Likewise.
15843         (struct hdr): Likewise.
15844         (flood): Likewise.
15845         (mallochook): Likewise.
15846         (memalignhook): Likewise.
15847         (reallochook): Likewise.
15848         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15849         (tr_old_realloc_hook): Likewise.
15850         (tr_old_memalign_hook): Likewise.
15851         (tr_mallochook): Likewise.
15852         (tr_reallochook): Likewise.
15853         (tr_memalignhook): Likewise.
15855 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15857         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15858         default_ldbl_pack and using as default implementation.
15859         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15860         implementation.
15861         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15862         redundant definition.
15863         (ldbl_insert_mantissa): Likewise.
15864         (ldbl_canonicalize): Likewise.
15865         (ldbl_nearbyint): Likewise.
15866         (ldbl_pack): Rename to ldbl_pack_ppc.
15867         (ldbl_unpack): Rename to ldbl_unpack_ppc.
15868         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15869         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15871 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15874         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15875         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15876         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15878         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15879         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15880         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15882 2013-03-07  Andreas Jaeger  <aj@suse.de>
15884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15885         bits/mman-linux.h.
15887 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15889         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15890         Include mpa.h and declare __MPEXP.
15891         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15892         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15893         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15894         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15895         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15896         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15897         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15899         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15900         (__slowpow): Use long double EXPL and LOGL functions to
15901         compute POW.
15902         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15903         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15904         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15905         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15906         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15907         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15910         intermediate variable to calculate exponent.
15911         (__sqr): Likewise.
15912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15913         Likewise.
15914         (__sqr): Likewise.
15916         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15917         [!NO__SQR]: Define __sqr.
15918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15919         and NO__SQR.  Remove all code except __mul and __sqr.  Include
15920         sysdeps/ieee754/dbl-64/mpa.c.
15921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15923         [BZ #12723]
15924         * posix/Makefile (tests): Add tst-pathconf.
15925         * posix/tst-pathconf.c: New test case.
15926         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15927         _PC_PIPE_BUF.
15928         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15930 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
15932         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15934 2013-03-06  Andreas Jaeger  <aj@suse.de>
15936         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15937         definition via __MAP_ANONYMOUS.
15939         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15940         it's not part of Linux headers.
15942         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15943         (MAP_HUGE_MASK): Define.
15945         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15946         Define.
15947         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15948         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15949         Define.
15950         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15951         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15952         Define.
15953         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15954         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15955         Define.
15956         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15958         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15959         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15960         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15961         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15962         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15963         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15965         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15966         Handle f2fs.
15968         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15969         Handle f2fs and efivarfs.
15971         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15972         f2fs.
15974         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15975         (EFIVARFS_MAGIC): Add.
15976         (F2FS_LINK_MAX): Add.
15978 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15980         * stdio-common/vfprintf.c: Replace __builtin_expect with
15981         __glibc_unlikely.
15983 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
15985         [BZ #13550]
15986         * sysdeps/generic/bp-sym.h: Remove file.
15987         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15988         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15989         <bp-sym.h> and <bp-asm.h>.
15990         (__longjmp): Don't use BP_SYM.
15991         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15992         and <bp-asm.h>.
15993         (memcpy): Don't use BP_SYM.
15994         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15995         <bp-sym.h> and <bp-asm.h>.
15996         (memcpy): Don't use BP_SYM.
15997         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15998         <bp-asm.h>.
15999         (memcpy): Don't use BP_SYM.
16000         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16001         <bp-asm.h>.
16002         (memset): Don't use BP_SYM.
16003         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16004         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16005         (__bzero): Don't use BP_SYM.
16006         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16007         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16008         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16009         <bp-sym.h> and <bp-asm.h>.
16010         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16011         pointers.
16012         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16013         <bp-sym.h> and <bp-asm.h>.
16014         (memcpy): Don't use BP_SYM.
16015         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16016         <bp-sym.h> and <bp-asm.h>.
16017         (memset): Don't use BP_SYM.
16018         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16019         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16020         (__bzero): Don't use BP_SYM.
16021         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16022         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16023         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16024         <bp-sym.h> and <bp-asm.h>.
16025         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16026         pointers.
16027         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16028         <bp-sym.h> and <bp-asm.h>.
16029         (memcpy): Don't use BP_SYM.
16030         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16031         <bp-sym.h> and <bp-asm.h>.
16032         (memset): Don't use BP_SYM.
16033         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16034         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16035         (__bzero): Don't use BP_SYM.
16036         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16037         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16038         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16039         <bp-sym.h> and <bp-asm.h>.
16040         (__memchr): Don't use BP_SYM.
16041         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16042         <bp-sym.h> and <bp-asm.h>.
16043         (memcmp): Don't use BP_SYM.  Remove comment about bounded
16044         pointers.
16045         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16046         <bp-sym.h> and <bp-asm.h>.
16047         (memcpy): Don't use BP_SYM.
16048         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16049         <bp-sym.h> and <bp-asm.h>.
16050         (__mempcpy): Don't use BP_SYM.
16051         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16052         <bp-sym.h> and <bp-asm.h>.
16053         (__memrchr): Don't use BP_SYM.
16054         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16055         <bp-sym.h> and <bp-asm.h>.
16056         (memset): Don't use BP_SYM.
16057         (__bzero): Likewise.
16058         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16059         <bp-sym.h> and <bp-asm.h>.
16060         (__rawmemchr): Don't use BP_SYM.
16061         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16062         <bp-sym.h> and <bp-asm.h>.
16063         (__STRCMP): Don't use BP_SYM.
16064         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16065         <bp-sym.h> and <bp-asm.h>.
16066         (strchr): Don't use BP_SYM.
16067         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16068         <bp-sym.h> and <bp-asm.h>.
16069         (__strchrnul): Don't use BP_SYM.
16070         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16071         <bp-sym.h> and <bp-asm.h>.
16072         (strlen): Don't use BP_SYM.
16073         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16074         <bp-sym.h> and <bp-asm.h>.
16075         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16076         pointers.
16077         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16078         <bp-sym.h> and <bp-asm.h>.
16079         (__strnlen): Don't use BP_SYM.
16080         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16081         <bp-sym.h> and <bp-asm.h>.
16082         (__GI__setjmp): Don't use BP_SYM.
16083         (_setjmp): Likewise.
16084         (__sigsetjmp): Likewise.
16085         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16086         (L(start_addresses)): Don't use BP_SYM.
16087         (_start): Likewise.
16088         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16089         <bp-asm.h>.
16090         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16091         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16092         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16093         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16094         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16095         <bp-asm.h>.
16096         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16097         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
16098         about bounded pointers.
16099         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16100         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16101         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16102         <bp-asm.h>.
16103         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16104         about bounded pointers.  Remove GKM FIXME comments.
16105         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16106         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16107         <bp-asm.h>.
16108         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16109         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
16110         Remove GKM FIXME comments.
16111         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16112         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16113         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16114         <bp-asm.h>.
16115         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
16116         about bounded pointers.  Remove GKM FIXME comment.
16117         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16118         and <bp-asm.h>.
16119         (strncmp): Don't use BP_SYM.  Remove comment about bounded
16120         pointers.
16121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16122         <bp-sym.h> and <bp-asm.h>.
16123         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16125         <bp-sym.h> and <bp-asm.h>.
16126         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16127         comment.
16129 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16131         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16132         call free(NULL).
16134 2013-03-05  David S. Miller  <davem@davemloft.net>
16136         * po/es.po: Update from translation team.
16138 2013-03-05  Andreas Jaeger  <aj@suse.de>
16140         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16141         <bits/mman-linux.h>.
16142         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16143         is fine.
16144         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16145         <bits/mman-linux.h> to end of file.
16146         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16147         is fine.
16148         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16149         <bits/mman-linux.h> to end of file.
16150         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16151         is fine.
16152         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16153         <bits/mman-linux.h> to end of file.
16155         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16156         (MCL_CURRENT, MCL_FUTURE): Define here.
16158 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16160         [BZ #15232]
16161         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16162         attribute_hidden.
16163         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16165 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16167         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16168         fourth parameter needed for rt_sigprocmask syscall.
16169         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16170         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16171         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16172         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16173         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16174         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16176 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
16178         [BZ #13550]
16179         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16180         comment about bounded pointers.
16181         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16182         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16184 2013-03-04  Andreas Jaeger  <aj@suse.de>
16186         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16187         common definitions.
16189         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16190         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16191         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16192         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16193         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16194         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16196 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16198         [BZ #15055]
16199         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16200         __ieee754_sqrl instead of __sqrl.
16202 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
16204         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16205         * sysdeps/powerpc/fpu_control.h: ... here.
16206         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16207         * sysdeps/powerpc/bits/fenvinline.h: ... here.
16208         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16209         * sysdeps/powerpc/bits/mathinline.h: ... here.
16211 2013-03-01  Roland McGrath  <roland@hack.frob.com>
16213         * elf/dl-hwcaps.c (_dl_important_hwcaps):
16214         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16215         to just [NEED_DL_SYSINFO_DSO].
16216         * elf/dl-support.c: Likewise.
16217         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16218         * elf/rtld.c (dl_main): Likewise.
16219         * elf/setup-vdso.h (setup_vdso): Likewise.
16220         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16221         * sysdeps/unix/sysv/linux/dl-sysdep.c
16222         (_dl_discover_osversion): Likewise.
16224 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
16226         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16227         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16229 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16231         * NEWS: Mention libm performance improvements and non-x86 PI
16232         futex support.
16234         * csu/libc-start.c (__pthread_initialize_minimal): Change
16235         function arguments.
16236         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16238 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
16240         [BZ #13550]
16241         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16242         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16243         <bp-sym.h> and <bp-asm.h>.
16244         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16245         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16246         and <bp-asm.h>.
16247         (memcpy): Don't use BP_SYM.
16248         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16249         <bp-asm.h>.
16250         (__mpn_add_n): Don't use BP_SYM.
16251         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16252         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16253         and <bp-asm.h>.
16254         (__mpn_addmul_1): Don't use BP_SYM.
16255         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16256         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16257         <bp-sym.h>.
16258         (_setjmp): Don't use BP_SYM.
16259         (__novmx_setjmp): Likewise.
16260         (__GI__setjmp): Likewise.
16261         (__vmx_setjmp): Likewise.
16262         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16263         <bp-sym.h>.
16264         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16265         (__bzero): Don't use BP_SYM.
16266         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16267         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16268         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16269         <bp-sym.h> and <bp-asm.h>.
16270         (memcpy): Don't use BP_SYM.
16271         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16272         <bp-sym.h> and <bp-asm.h>.
16273         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16274         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16275         <bp-sym.h> and <bp-asm.h>.
16276         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16277         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16278         <bp-asm.h>.
16279         (__mpn_lshift): Don't use BP_SYM.
16280         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16281         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16282         <bp-asm.h>.
16283         (memset): Don't use BP_SYM.
16284         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16285         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16286         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16287         <bp-asm.h>.
16288         (__mpn_mul_1): Don't use BP_SYM.
16289         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16290         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16291         <bp-sym.h> and <bp-asm.h>.
16292         (memcmp): Don't use BP_SYM.
16293         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16294         <bp-sym.h> and <bp-asm.h>.
16295         (memcpy): Don't use BP_SYM.
16296         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16297         <bp-sym.h> and <bp-asm.h>.
16298         (memset): Don't use BP_SYM.
16299         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16300         <bp-sym.h> and <bp-asm.h>.
16301         (strncmp): Don't use BP_SYM.
16302         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16303         <bp-sym.h> and <bp-asm.h>.
16304         (memcpy): Don't use BP_SYM.
16305         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16306         <bp-sym.h> and <bp-asm.h>.
16307         (memset): Don't use BP_SYM.
16308         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16309         <bp-sym.h> and <bp-asm.h>.
16310         (__memchr): Don't use BP_SYM.
16311         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16312         <bp-sym.h> and <bp-asm.h>.
16313         (memcmp): Don't use BP_SYM.
16314         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16315         <bp-sym.h> and <bp-asm.h>.
16316         (memcpy): Don't use BP_SYM.
16317         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16318         <bp-sym.h> and <bp-asm.h>.
16319         (__mempcpy): Don't use BP_SYM.
16320         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16321         <bp-sym.h> and <bp-asm.h>.
16322         (__memrchr): Don't use BP_SYM.
16323         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16324         <bp-sym.h> and <bp-asm.h>.
16325         (memset): Don't use BP_SYM.
16326         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16327         <bp-sym.h> and <bp-asm.h>.
16328         (__rawmemchr): Don't use BP_SYM.
16329         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16330         <bp-sym.h> and <bp-asm.h>.
16331         (__STRCMP): Don't use BP_SYM.
16332         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16333         <bp-sym.h> and <bp-asm.h>.
16334         (strchr): Don't use BP_SYM.
16335         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16336         <bp-sym.h> and <bp-asm.h>.
16337         (__strchrnul): Don't use BP_SYM.
16338         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16339         <bp-sym.h> and <bp-asm.h>.
16340         (strlen): Don't use BP_SYM.
16341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16342         <bp-sym.h> and <bp-asm.h>.
16343         (strncmp): Don't use BP_SYM.
16344         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16345         <bp-sym.h> and <bp-asm.h>.
16346         (__strnlen): Don't use BP_SYM.
16347         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16348         <bp-asm.h>.
16349         (__mpn_rshift): Don't use BP_SYM.
16350         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16351         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16352         <bp-sym.h> and <bp-asm.h>.
16353         (__sigsetjmp): Don't use BP_SYM.
16354         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16355         (L(start_addresses)): Don't use BP_SYM.
16356         (_start): Likewise.
16357         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16358         <bp-asm.h>.
16359         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16360         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16361         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16362         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16363         <bp-asm.h>.
16364         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16365         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16366         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16367         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16368         <bp-asm.h>.
16369         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16370         comments.
16371         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16372         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16373         <bp-asm.h>.
16374         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
16375         FIXME comments.
16376         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16377         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16378         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16379         <bp-asm.h>.
16380         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16381         comment.
16382         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16383         and <bp-asm.h>.
16384         (strncmp): Don't use BP_SYM,
16385         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16386         <bp-asm.h>.
16387         (__mpn_sub_n): Don't use BP_SYM.
16388         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16389         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16390         and <bp-asm.h>.
16391         (__mpn_submul_1): Don't use BP_SYM.
16392         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16394         <bp-sym.h> and <bp-asm.h>.
16395         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16397         <bp-sym.h> and <bp-asm.h>.
16398         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16399         comment.
16401 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16404         Use ZK to minimize writes to Z.
16405         (sub_magnitudes): Simplify code a bit.
16406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16407         Use ZK to minimize writes to Z.
16408         (sub_magnitudes): Simplify code a bit.
16410 2013-02-27  Roland McGrath  <roland@hack.frob.com>
16412         * csu/gmon-start.c: Add special exception to license text.
16414 2013-02-27  Richard Henderson  <rth@redhat.com>
16416         * scripts/config.guess: Update from config.git.
16417         * scripts/config.sub: Likewise.
16419 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16421         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16423         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16425         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16427         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16429         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16431 2013-02-26  Roland McGrath  <roland@hack.frob.com>
16433         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16434         [$(build-shared = yes].
16436 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16438         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16439         (__mul): Reduce iterations for calculating mantissa.
16441         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16442         MPTWO.
16443         (__mpranred): Likewise.
16445         [BZ #15160]
16446         * malloc/memusagestat.c (main): Draw graphs for heap and stack
16447         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16449 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
16451         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16452         Define __attribute__.
16454 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16456         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16457         unused.
16458         * posix/regex_internal.h (__attribute): Remove.
16459         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16460         (re_string_context_at): Likewise.
16461         (bitset_not): Use __attribute__ and mark function as possibly
16462         unused.
16463         (bitset_merge): Likewise.
16464         (bitset_mask): Likewise.
16465         (re_string_char_size_at): Likewise.
16466         (re_string_wchar_at): Likewise.
16467         (re_string_elem_size_at): Likewise.
16469 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16471         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16472         code.
16473         (cc32): Likewise.
16475         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16476         (__acr): Likewise.
16477         (__cpy): Likewise.
16478         (norm): Likewise.
16479         (denorm): Likewise.
16480         (__dbl_mp): Likewise.
16481         (add_magnitudes): Likewise.
16482         (sub_magnitudes): Likewise.
16483         (__mul): Likewise.
16484         (__inv): Likewise.
16486         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16487         style.
16489         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16490         style.
16492         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16493         code.
16495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16496         up changes with default code.
16497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16498         Likewise.
16500 2013-02-24  Allan McRae  <allan@archlinux.org>
16502         * manual/socket.texi (The Internet Namespace): Order menu items
16503         to match that in the file.
16505         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16506         node listing of the info page menu.
16508 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
16510         [BZ #13550]
16511         * sysdeps/i386/bp-asm.h: Remove file.
16512         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16513         (PARMS): Do not use macros from bp-asm.h.
16514         (S1): Likewise.
16515         (S2): Likewise.
16516         (SIZE): Likewise.
16517         (__mpn_add_n): Do not use BP_SYM
16518         * sysdeps/i386/addmul_1.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         (SIZE): Likewise.
16523         (__mpn_addmul_1): Do not use BP_SYM
16524         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16525         "bp-asm.h".
16526         (PARMS): Do not use macros from bp-asm.h.
16527         (SIGMSK): Likewise.
16528         (_setjmp): Likewise.  Do not use BP_SYM.
16529         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16530         "bp-asm.h".
16531         (PARMS): Do not use macros from bp-asm.h.
16532         (SIGMSK): Likewise.
16533         (setjmp): Likewise.  Do not use BP_SYM.
16534         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16535         "bp-asm.h".
16536         (PARMS): Do not use macros from bp-asm.h.
16537         (__frexp): Do not use BP_SYM.
16538         (frexp): Likewise.
16539         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16540         "bp-asm.h".
16541         (PARMS): Do not use macros from bp-asm.h.
16542         (__frexpf): Do not use BP_SYM.
16543         (frexpf): Likewise.
16544         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16545         "bp-asm.h".
16546         (PARMS): Do not use macros from bp-asm.h.
16547         (__frexpl): Do not use BP_SYM.
16548         (frexpl): Likewise.
16549         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16550         "bp-asm.h".
16551         (PARMS): Do not use macros from bp-asm.h.
16552         (__remquo): Do not use BP_SYM.
16553         (remquo): Likewise.
16554         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16555         "bp-asm.h".
16556         (PARMS): Do not use macros from bp-asm.h.
16557         (__remquof): Do not use BP_SYM.
16558         (remquof): Likewise.
16559         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16560         "bp-asm.h".
16561         (PARMS): Do not use macros from bp-asm.h.
16562         (__remquol): Do not use BP_SYM.
16563         (remquol): Likewise.
16564         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16565         "bp-asm.h".
16566         (PARMS): Do not use macros from bp-asm.h.
16567         (DEST): Likewise.
16568         (SRC): Likewise.
16569         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
16570         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16571         "bp-asm.h".
16572         (PARMS): Do not use macros from bp-asm.h.
16573         (strlen): Do not use BP_SYM.
16574         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16575         "bp-asm.h".
16576         (PARMS): Do not use macros from bp-asm.h.
16577         (S1): Likewise.
16578         (S2): Likewise.
16579         (SIZE): Likewise.
16580         (__mpn_add_n): Do not use BP_SYM.
16581         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16582         "bp-asm.h".
16583         (PARMS): Do not use macros from bp-asm.h.
16584         (S1): Likewise.
16585         (SIZE): Likewise.
16586         (__mpn_addmul_1): Do not use BP_SYM.
16587         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16588         weak_alias.
16589         (bzero): Likewise.
16590         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16591         "bp-asm.h".
16592         (PARMS): Do not use macros from bp-asm.h.
16593         (S): Likewise.
16594         (SIZE): Likewise.
16595         (__mpn_lshift): Do not use BP_SYM.
16596         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16597         "bp-asm.h".
16598         (PARMS): Do not use macros from bp-asm.h.
16599         (DEST): Likewise.
16600         (SRC): Likewise.
16601         (LEN): Likewise.
16602         (memcpy): Likewise.  Do not use BP_SYM.
16603         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16604         libc_hidden_def and weak_alias.
16605         (mempcpy): Do not use BP_SYM in weak_alias.
16606         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16607         "bp-asm.h".
16608         (PARMS): Do not use macros from bp-asm.h.
16609         (DEST): Likewise.
16610         (LEN): Likewise.
16611         [!BZERO_P] (CHR): Likewise.
16612         (memset): Likewise.  Do not use BP_SYM.
16613         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16614         "bp-asm.h".
16615         (PARMS): Do not use macros from bp-asm.h.
16616         (S1): Likewise.
16617         (SIZE): Likewise.
16618         (__mpn_mul_1): Do not use BP_SYM.
16619         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16620         "bp-asm.h".
16621         (PARMS): Do not use macros from bp-asm.h.
16622         (S): Likewise.
16623         (SIZE): Likewise.
16624         (__mpn_rshift): Do not use BP_SYM.
16625         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16626         "bp-asm.h".
16627         (PARMS): Do not use macros from bp-asm.h.
16628         (STR): Likewise.
16629         (CHR): Likewise.
16630         (strchr): Likewise.  Do not use BP_SYM.
16631         (index): Do not use BP_SYM in weak_alias.
16632         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16633         "bp-asm.h".
16634         (PARMS): Do not use macros from bp-asm.h.
16635         (DEST): Likewise.
16636         (SRC): Likewise.
16637         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
16638         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16639         "bp-asm.h".
16640         (PARMS): Do not use macros from bp-asm.h.
16641         (strlen): Do not use BP_SYM.
16642         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16643         "bp-asm.h".
16644         (PARMS): Do not use macros from bp-asm.h.
16645         (S1): Likewise.
16646         (S2): Likewise.
16647         (SIZE): Likewise.
16648         (__mpn_sub_n): Do not use BP_SYM.
16649         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16650         "bp-asm.h".
16651         (PARMS): Do not use macros from bp-asm.h.
16652         (S1): Likewise.
16653         (SIZE): Likewise.
16654         (__mpn_submul_1): Do not use BP_SYM.
16655         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16656         "bp-asm.h".
16657         (PARMS): Do not use macros from bp-asm.h.
16658         (S1): Likewise.
16659         (S2): Likewise.
16660         (SIZE): Likewise.
16661         (__mpn_add_n): Do not use BP_SYM.
16662         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16663         weak_alias.
16664         (bzero): Likewise.
16665         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16666         "bp-asm.h".
16667         (PARMS): Do not use macros from bp-asm.h.
16668         (BLK2): Likewise.
16669         (LEN): Likewise.
16670         (memcmp): Do not use BP_SYM.
16671         (bcmp): Do not use BP_SYM in weak_alias.
16672         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16673         "bp-asm.h".
16674         (PARMS): Do not use macros from bp-asm.h.
16675         (DEST): Likewise.
16676         (SRC): Likewise.
16677         (LEN): Likewise.
16678         (memcpy): Likewise.  Do not use BP_SYM.
16679         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16680         "bp-asm.h".
16681         (PARMS): Do not use macros from bp-asm.h.
16682         (DEST): Likewise.
16683         (SRC): Likewise.
16684         (LEN): Likewise.
16685         (memmove): Likewise.  Do not use BP_SYM.
16686         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16687         "bp-asm.h".
16688         (PARMS): Do not use macros from bp-asm.h.
16689         (DEST): Likewise.
16690         (SRC): Likewise.
16691         (LEN): Likewise.
16692         (__mempcpy): Likewise.  Do not use BP_SYM.
16693         (mempcpy): Do not use BP_SYM in weak_alias.
16694         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16695         "bp-asm.h".
16696         (PARMS): Do not use macros from bp-asm.h.
16697         (DEST): Likewise.
16698         (LEN): Likewise.
16699         [!BZERO_P] (CHR): Likewise.
16700         (memset): Likewise.  Do not use BP_SYM.
16701         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16702         "bp-asm.h".
16703         (PARMS): Do not use macros from bp-asm.h.
16704         (STR2): Likewise.
16705         (strcmp): Do not use BP_SYM.
16706         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16707         "bp-asm.h".
16708         (PARMS): Do not use macros from bp-asm.h.
16709         (STR): Likewise.
16710         (DELIM): Likewise.
16711         [USE_AS_STRTOK_R] (SAVE): Likewise.
16712         (FUNCTION): Likewise.  Do not use BP_SYM.
16713         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16714         aliases.
16715         (strtok_r): Likewise.
16716         (__GI___strtok_r): Likewise.
16717         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16718         (PARMS): Do not use macros from bp-asm.h.
16719         (S): Likewise.
16720         (SIZE): Likewise.
16721         (__mpn_lshift): Do not use BP_SYM.
16722         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16723         (PARMS): Do not use macros from bp-asm.h.
16724         (STR): Likewise.
16725         (CHR): Likewise.
16726         (__memchr): Do not use BP_SYM.
16727         (memchr): Do not use BP_SYM in weak_alias.
16728         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16729         (PARMS): Do not use macros from bp-asm.h.
16730         (BLK2): Likewise.
16731         (LEN): Likewise.
16732         (memcmp): Do not use BP_SYM.
16733         (bcmp): Do not use BP_SYM in weak_alias.
16734         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16735         (PARMS): Do not use macros from bp-asm.h.
16736         (S1): Likewise.
16737         (SIZE): Likewise.
16738         (__mpn_mul_1): Do not use BP_SYM.
16739         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16740         "bp-asm.h".
16741         (PARMS): Do not use macros from bp-asm.h.
16742         (STR): Likewise.
16743         (CHR): Likewise.
16744         (__rawmemchr): Do not use BP_SYM.
16745         (rawmemchr): Do not use BP_SYM in weak_alias.
16746         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16747         (PARMS): Do not use macros from bp-asm.h.
16748         (S): Likewise.
16749         (SIZE): Likewise.
16750         (__mpn_rshift): Do not use BP_SYM.
16751         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16752         (PARMS): Do not use macros from bp-asm.h.
16753         (SIGMSK): Likewise.
16754         (__sigsetjmp): Likewise.  Do not use BP_SYM.
16755         * sysdeps/i386/start.S: Do not include "bp-sym.h".
16756         (_start): Do not use BP_SYM.
16757         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16758         (PARMS): Do not use macros from bp-asm.h.
16759         (DEST): Likewise.
16760         (SRC): Likewise.
16761         (__stpcpy): Likewise.  Do not use BP_SYM.
16762         (stpcpy): Do not use BP_SYM in weak_alias.
16763         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16764         "bp-asm.h".
16765         (PARMS): Do not use macros from bp-asm.h.
16766         (DEST): Likewise.
16767         (SRC): Likewise.
16768         (LEN): Likewise.
16769         (__stpncpy): Likewise.  Do not use BP_SYM.
16770         (stpncpy): Do not use BP_SYM in weak_alias.
16771         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16772         (PARMS): Do not use macros from bp-asm.h.
16773         (STR): Likewise.
16774         (CHR): Likewise.
16775         (strchr): Likewise.  Do not use BP_SYM.
16776         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16777         "bp-asm.h".
16778         (PARMS): Do not use macros from bp-asm.h.
16779         (STR): Likewise.
16780         (CHR): Likewise.
16781         (__strchrnul): Likewise.  Do not use BP_SYM.
16782         (strchrnul): Do not use BP_SYM in weak_alias.
16783         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16784         "bp-asm.h".
16785         (PARMS): Do not use macros from bp-asm.h.
16786         (STOP): Likewise.
16787         (strcspn): Do not use BP_SYM.
16788         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16789         "bp-asm.h".
16790         (PARMS): Do not use macros from bp-asm.h.
16791         (STR): Likewise.
16792         (STOP): Likewise.
16793         (strpbrk): Likewise.  Do not use BP_SYM.
16794         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16795         "bp-asm.h".
16796         (PARMS): Do not use macros from bp-asm.h.
16797         (STR): Likewise.
16798         (CHR): Likewise.
16799         (strrchr): Likewise.  Do not use BP_SYM.
16800         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16801         (PARMS): Do not use macros from bp-asm.h.
16802         (SKIP): Likewise.
16803         (strspn): Do not use BP_SYM.
16804         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16805         (PARMS): Do not use macros from bp-asm.h.
16806         (STR): Likewise.
16807         (DELIM): Likewise.
16808         (SAVE): Likewise.
16809         (FUNCTION): Likewise.  Do not use BP_SYM.
16810         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16811         aliases.
16812         (strtok_r): Likewise.
16813         (__GI___strtok_r): Likewise.
16814         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16815         (PARMS): Do not use macros from bp-asm.h.
16816         (S1): Likewise.
16817         (S2): Likewise.
16818         (SIZE): Likewise.
16819         (__mpn_sub_n): Do not use BP_SYM.
16820         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16821         "bp-asm.h".
16822         (PARMS): Do not use macros from bp-asm.h.
16823         (S1): Likewise.
16824         (SIZE): Likewise.
16825         (__mpn_submul_1): Do not use BP_SYM.
16826         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16827         <bp-sym.h>.
16828         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16829         and <bp-asm.h>.
16830         (PARMS): Do not use macros from bp-asm.h.
16831         (FLAGS): Likewise.
16832         (PTID): Likewise.
16833         (TLS): Likewise.
16834         (CTID): Likewise.
16835         (__clone): Do not use BP_SYM.
16836         (clone): Do not use BP_SYM in weak_alias.
16837         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16838         and <bp-asm.h>.
16839         (PARMS): Do not use macros from bp-asm.h.
16840         (LEN): Likewise.
16841         (__mmap64): Do not use BP_SYM.
16842         (mmap64): Do not use BP_SYM in weak_alias.
16843         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16844         <bp-sym.h> and <bp-asm.h>.
16845         (PARMS): Do not use macros from bp-asm.h.
16846         (__posix_fadvise64_l64): Do not use BP_SYM.
16847         * sysdeps/unix/sysv/linux/i386/semtimedop.S
16848         (PARMS): Do not use macros from bp-asm.h.
16849         (NSOPS): Likewise.
16850         (semtimedop): Do not use BP_SYM.
16851         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16852         and <bp-asm.h>.
16854 2013-02-21  Allan McRae  <allan@archlinux.org>
16856         * manual/message.texi (Charset conversion in gettext):
16857         Move @end statement to beginning of line.
16859 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16862         static.
16863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16864         Likewise.
16866         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16867         (denorm): Likewise.
16868         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16871 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16873         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16874         tail-call to the resolved function if pltexit isn't needed.
16876 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16878         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16879         or Y being zero as being unlikely.
16880         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16881         Likewise.
16883 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
16885         * manual/nss.texi (System Databases and Name Service Switch):
16886         Remove frobnicate @pxref.
16888 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16890         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16891         __attribute__ ((unused)) to __attribute__ ((__unused__)).
16893 2013-02-20  Petr Machata  <pmachata@redhat.com>
16895         * elf/elf.h (R_ARM_TARGET1): New macro.
16896         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16897         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16898         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16899         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16900         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16901         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16902         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16903         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16904         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16905         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16906         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16907         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16908         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16909         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16910         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16911         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16912         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16913         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16914         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16915         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16916         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16917         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16918         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16919         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16920         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16921         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16922         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16923         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16924         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16925         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16926         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16927         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16928         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16929         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16930         (R_ARM_THM_GOT_BREL12): Likewise.
16931         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16932         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16933         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16934         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16935         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16936         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16937         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16938         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16939         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16941 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16943         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16944         __attribute_used__ to __attribute__ ((unused)).
16946 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16948         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16949         powerpc mpa.c.
16950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16951         comment formatting.
16952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16954 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
16956         [BZ #13550]
16957         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16958         Remove macro.
16959         (ENTER): Remove both macro definitions.
16960         (LEAVE): Likewise.
16961         (CHECK_BOUNDS_LOW): Likewise.
16962         (CHECK_BOUNDS_HIGH): Likewise.
16963         (CHECK_BOUNDS_BOTH): Likewise.
16964         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16965         (RETURN_BOUNDED_POINTER): Likewise.
16966         (RETURN_NULL_BOUNDED_POINTER): Likewise.
16967         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16968         (POP_ERRNO_LOCATION_RETURN): Likewise.
16969         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16970         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16971         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16972         macros.
16973         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16974         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16975         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16976         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16977         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16978         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16979         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16980         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16981         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16982         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16983         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16984         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16985         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16986         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16987         removed macros.
16988         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16989         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16990         macros.
16991         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16992         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16993         * sysdeps/i386/i586/memset.S (memset): Likewise.
16994         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16995         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16996         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16997         macros.
16998         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16999         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17000         Change uses of L(2) to L(out).
17001         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17002         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17003         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17004         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17005         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17006         removed macros.
17007         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17008         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17009         macros.
17010         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17011         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17012         (RETURN): Do not use macro LEAVE.
17013         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17014         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17015         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17016         * sysdeps/i386/i686/memset.S (memset): Likewise.
17017         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17018         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17019         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17020         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17021         Likewise.
17022         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17023         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
17024         L(1_2) and L(1_3) into L(1).
17025         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17026         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17027         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17028         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17029         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17030         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17031         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17032         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17033         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17034         macros.
17035         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17036         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17037         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17038         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17039         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17040         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17041         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17042         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17043         * sysdeps/i386/strcspn.S (strcspn): Likewise.
17044         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17045         * sysdeps/i386/strrchr.S (strrchr): Likewise.
17046         * sysdeps/i386/strspn.S (strspn): Likewise.
17047         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17048         conditional code.
17049         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17050         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17051         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17052         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
17053         L(1_3) into L(1_1).
17054         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17055         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17056         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17057         macros.
17058         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17060 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
17062         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17063         macro.
17065 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17067         * math/atest-exp.c (exp_mpn): Remove ROUND.
17068         * math/atest-exp2.c (exp_mpn): Likewise.
17069         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17071         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17072         * stdlib/tst-tls-atexit-lib.c: Likewise.
17073         * stdlib/tst-tls-atexit.c: Likewise.
17075 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17077         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17078         and __attribute_alloc_size__.
17080 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17082         * include/programs/xmalloc.h: Change __attribute_alloc_size to
17083         __attribute_alloc_size__.
17084         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17085         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17087 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
17089         * include/programs/xmalloc.h: New file.
17090         * catgets/gencat.c: Include it.
17091         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17092         * elf/pldd.c: Likewise.
17093         * iconv/iconv_charmap.c: Likewise.
17094         * iconv/iconvconfig.c: Likewise.
17095         * iconv/strtab.c: Likewise.
17096         * locale/programs/locale.c: Likewise.
17097         * locale/programs/localedef.h: Likewise.
17098         * locale/programs/simple-hash.c: Likewise.
17099         * nscd/nscd.h: Likewise.
17100         * nss/makedb.c: Likewise.
17101         * sysdeps/generic/ldconfig.h: Likewise.
17103 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17105         * Versions.def: Add GLIBC_2.18.
17106         * include/link.h (struct link_map): New member l_tls_dtor_count.
17107         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17108         (__call_tls_dtors): Likewise.
17109         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17110         __cxa_thread_atexit_impl.
17111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17112         Likewise.
17113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17114         Likewise.
17115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17116         Likewise.
17117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17118         Likewise.
17119         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17121         Likewise.
17122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17123         Likewise.
17124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17126         Likewise.
17127         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17128         (tests): Add test case tst-tls-atexit.
17129         (modules-names): Add shared library for tst-tls-atexit.
17130         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17131         (GLIBC_PRIVATE): Add __call_tls_dtors.
17132         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17133         for libstdc++.
17134         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17135         * stdlib/tst-tls-atexit.c: New test case.
17136         * stdlib/tst-tls-atexit-lib.c: New test case.
17138         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17140         * elf/Versions (ld): Add _dl_find_dso_for_object.
17141         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17142         * elf/dl-open.c (_dl_find_dso_for_object): New function.
17143         (dl_open_worker): Use _dl_find_dso_for_object.
17144         * elf/dl-sym.c (do_sym): Likewise.
17145         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17147 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17149         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17150         Syntactic changes only.
17151         (_dl_runtime_profile): Do a tail-call to the resolved function.
17153 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
17155         [BZ #13550]
17156         * sysdeps/x86_64/bp-asm.h: Remove file.
17157         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17158         <bp-sym.h> and <bp-asm.h>.
17159         (__clone): Do not use BP_SYM.
17160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17161         <bp-sym.h> and <bp-asm.h>.
17162         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17163         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17164         "bp-asm.h".
17165         (_setjmp): Do not use BP_SYM.
17166         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17167         "bp-asm.h".
17168         (setjmp): Do not use BP_SYM.
17169         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17170         libc_hidden_def.
17171         (mempcpy): Do not use BP_SYM in weak_alias.
17172         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17173         "bp-asm.h".
17174         (strchr): Do not use BP_SYM.
17175         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17176         "bp-asm.h".
17177         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17178         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17179         (_start): Do not use BP_SYM.
17180         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17181         "bp-asm.h".
17182         (strcat): Do not use BP_SYM.
17183         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17184         "bp-asm.h".
17185         (STRCMP): Do not use BP_SYM.
17186         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17187         "bp-asm.h".
17188         (STRCPY): Do not use BP_SYM.
17189         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17190         "bp-asm.h".
17191         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17192         "bp-asm.h".
17193         (FUNCTION): Do not use BP_SYM.
17194         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17195         weak_alias.
17196         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17198 2013-02-17  Andreas Jaeger  <aj@suse.de>
17200         * time/Versions: Sort entries.
17201         * string/Versions: Likewise.
17202         * resolv/Versions: Likewise.
17203         * posix/Versions: Likewise.
17204         * iconv/Versions: Likewise.
17205         * elf/Versions: Likewise.
17206         * wcsmbs/Versions: Likewise.
17208 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17210         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17211         loop termination condition.
17213         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17214         variable to calculate EZ.
17215         (__sqr): Likewise.
17217         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17218         the lower precision input.
17220 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
17222         [BZ #13550]
17223         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17224         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17225         (run-via-rtld-prefix): Do not handle %-bp tests.
17226         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17227         (all-object-suffixes): Remove .ob.
17228         (bppfx): Remove variable.
17229         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17230         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17231         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17232         [$(build-bounded) = yes] (libtype.ob): Likewise.
17233         * Makerules (elide-routines.ob): Remove variable.
17234         (do-tests-clean): Do not handle *-bp.out.
17235         (common-mostlyclean): Do not handle *-bp and *-bp.out.
17236         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17237         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17238         (tests): Do not include $(tests-bp.out).
17239         (xtests): Do not include $(xtests-bp.out).
17240         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17241         [$(build-bounded) = yes] ($(addprefix
17242         $(objpfx),$(binaries-bounded))): Remove rule.
17243         ($(objpfx)%-bp.out): Remove rule.
17244         * config.make.in (build-bounded): Remove variable.
17245         * crypt/Makefile [$(build-bounded) = yes]
17246         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17247         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17248         append to variable.
17249         [$(build-bounded) = yes] (install-lib): Likewise.
17250         [$(build-bounded) = yes] (generated): Likewise.
17251         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17252         Remove rule.
17253         * intl/Makefile [$(build-bounded) = yes]
17254         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17255         * math/Makefile [$(build-bounded) = yes]
17256         ($(tests:%=$(objpfx)%-bp): Likewise.
17257         * misc/Makefile [$(build-bounded) = yes]
17258         ($(objpfx)tst-tsearch-bp): Likewise.
17259         * nptl/Makeconfig (bounded-thread-library): Remove variable.
17260         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17261         Remove dependency.
17262         * string/Makefile (o-objects.ob): Remove variable.
17263         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17264         (CFLAGS-.ob): Remove variable.
17265         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17266         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17267         both definitions of variable.
17268         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17269         (ASFLAGS-.ob): Remove variable.
17271 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
17273         [BZ #13550]
17274         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17275         Remove __BOUNDED_POINTERS__ from condition.
17276         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17277         * string/bits/string2.h [!__NO_STRING_INLINES &&
17278         !__BOUNDED_POINTERS__]: Likewise.
17279         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17280         Likewise.
17281         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17282         Remove conditional code.
17283         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17284         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17285         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17286         condition.
17288         [BZ #13550]
17289         * csu/libc-start.c: Do not include <bp-sym.h>.
17290         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17291         * elf/dl-open.c: Do not include <bp-sym.h>.
17292         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17293         * math/fegetenv.c: Do not include <bp-sym.h>.
17294         (fegetenv): Do not use BP_SYM in versioned symbols.
17295         * nptl/sysdeps/pthread/bits/libc-lockP.h
17296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17297         <bp-sym.h>.
17298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17299         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17301         (__pthread_mutex_destroy): Likewise.
17302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17303         (__pthread_mutex_lock): Likewise.
17304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17305         (__pthread_mutex_trylock): Likewise.
17306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17307         (__pthread_mutex_unlock): Likewise.
17308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17309         (__pthread_mutexattr_init): Likewise.
17310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17311         (__pthread_mutexattr_destroy): Likewise.
17312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17313         (__pthread_mutexattr_settype): Likewise.
17314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17315         (__pthread_rwlock_init): Likewise.
17316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17317         (__pthread_rwlock_destroy): Likewise.
17318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17319         (__pthread_rwlock_rdlock): Likewise.
17320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17321         (__pthread_rwlock_tryrdlock): Likewise.
17322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17323         (__pthread_rwlock_wrlock): Likewise.
17324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17325         (__pthread_rwlock_trywrlock): Likewise.
17326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17327         (__pthread_rwlock_unlock): Likewise.
17328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17329         (__pthread_key_create): Likewise.
17330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17331         (__pthread_setspecific): Likewise.
17332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17333         (__pthread_getspecific): Likewise.
17334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17335         Likewise.
17336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17337         (_pthread_cleanup_push_defer): Likewise.
17338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17339         (_pthread_cleanup_pop_restore): Likewise.
17340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17341         (pthread_setcancelstate): Likewise.
17342         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17343         <bp-sym.h>.
17344         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17345         (memchr): Do not use BP_SYM in weak_alias.
17346         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17347         (fegetenv): Do not use BP_SYM in versioned symbols.
17348         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17349         (fesetenv): Do not use BP_SYM in versioned symbols.
17350         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17351         (feupdateenv): Do not use BP_SYM in versioned symbols.
17352         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17353         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17354         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17355         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17356         (open64): Do not use BP_SYM in weak_alias.
17357         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17358         (fegetenv): Do not use BP_SYM in versioned symbols.
17359         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17360         (fesetenv): Do not use BP_SYM in versioned symbols.
17361         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17362         (feupdateenv): Do not use BP_SYM in versioned symbols.
17363         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17364         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17365         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17366         (feraiseexcept): Do not use BP_SYM in versioned symbols.
17367         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17368         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17369         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17370         <bp-sym.h>.
17371         (__libc_start_main): Do not use BP_SYM.
17373 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17376         redundant return line.
17377         (norm): Likewise.
17378         (denorm): Likewise.
17379         (dbl_mp): Likewise.
17380         (sub_magnitudes): Likewise.
17381         (__add): Likewise.
17382         (__sub): Likewise.
17383         (__mul): Likewise.
17384         (__inv): Likewise.
17385         (__dvd): Likewise.
17386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17387         (norm): Likewise.
17388         (denorm): Likewise.
17389         (dbl_mp): Likewise.
17390         (sub_magnitudes): Likewise.
17391         (__add): Likewise.
17392         (__sub): Likewise.
17393         (__mul): Likewise.
17394         (__inv): Likewise.
17395         (__dvd): Likewise.
17397         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17398         instead of __mul.
17399         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17400         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17401         (cc32): Likewise.
17403         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17404         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17405         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17406         of __mul for squares.
17407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17408         function
17409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17410         Likewise.
17411         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17412         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17414 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
17416         [BZ #13550]
17417         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17418         code.
17419         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17420         prototype or function definition.  Rename ubp_* variables and
17421         parameters.  Remove argv definitions conditional on
17422         [__BOUNDED_POINTERS__].
17423         * debug/backtrace.c (__backtrace): Do not use __unbounded.
17424         * elf/dl-runtime.c (_dl_fixup): Likewise.
17425         * include/set-hooks.h (RUN_HOOK): Likewise.
17426         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17427         definition.
17428         * string/strcpy.c (strcpy): Do not use __unbounded.
17429         * sysdeps/generic/frame.h (struct layout): Likewise.
17430         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17431         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17432         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17433         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17434         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17435         (__backtrace): Likewise.
17436         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17437         use __ptrvalue.
17438         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17439         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17440         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17441         Likewise.
17442         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17443         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17444         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17445         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17446         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17447         Do not use __unbounded.
17448         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17449         Rename __unboundedrlimits parameter to rlimits in prototype.
17450         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17451         Do not use __unbounded.
17452         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17453         not use __ptrvalue.
17454         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17455         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17456         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17457         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17458         __ptrvalue or __unbounded.
17459         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17460         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17461         use __unbounded.
17462         (__new_msgctl): Do not use __ptrvalue.
17463         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17464         __unbounded.
17465         (__libc_msgrcv): Do not use __ptrvalue.
17466         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17467         startup_info): Do not use __unbounded.
17468         (__libc_start_main): Likewise.  Rename ubp_* variables and
17469         parameters.  Remove argv definitions conditional on
17470         [__BOUNDED_POINTERS__].
17471         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17472         __ptrvalue.
17473         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17474         use __unbounded.
17475         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17476         or __ptrvalue.
17477         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17478         use __unbounded.
17479         (__new_shmctl): Do not use __ptrvalue.
17480         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17481         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17482         Likewise.
17483         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17484         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17485         (__libc_sigaction): Likewise.
17486         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17487         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17488         Likewise.
17489         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17491 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
17493         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17495         * string/mempcpy.c: Implement by calling memcpy.
17497 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17499         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17502         evaluation.
17504         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17505         values in the mantissa.
17507         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17508         minimize writes to Z.
17509         (sub_magnitudes): Simplify code a bit.
17511 2013-02-12  Roland McGrath  <roland@hack.frob.com>
17513         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17514         from the message.  The linker prefixes all warnings with that already.
17516 2013-02-12  Andreas Schwab  <schwab@suse.de>
17518         [BZ #15078]
17519         * posix/regexec.c (extend_buffers): Add parameter min_len.
17520         (check_matching): Pass minimum needed length.
17521         (clean_state_log_if_needed): Likewise.
17522         (get_subexp): Likewise.
17523         * posix/Makefile (tests): Add bug-regex34.
17524         (bug-regex34-ENV): Define.
17525         * posix/bug-regex34.c: New file.
17527         [BZ #11561]
17528         * posix/regcomp.c (parse_bracket_exp): When looking up collating
17529         elements compare against the byte sequence of it, not its name.
17530         * posix/Makefile (tests): Add bug-regex35.
17531         (bug-regex35-ENV): Define.
17532         * posix/bug-regex35.c: New file.
17534 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17536         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
17537         comment.
17538         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17539         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17540         (CHECK_EOL): Add undef.
17542 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
17544         * bits/stdlib-bsearch.h: New file.
17545         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17546         * stdlib/stdlib.h: Likewise.
17548 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17550         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17551         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17552         declaration.
17553         * manual/search.texi (Array Search Function): Add missing const in
17554         lfind prototype.
17555         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17556         declaration to use rlim_t.
17557         (Basic Scheduling Functions): Remove erroneous const from
17558         sched_getparam prototype.  Remove erroneous * from
17559         sched_get_priority_max and sched_get_priority_min prototypes.
17560         (Resource Usage): Fix summary @comment on vtimes to refer to
17561         sys/vtimes.h rather than vtimes.h.
17562         Add missing *s in vtimes prototype.
17563         (Limits on Resources): Fix ulimit prototype to return long int.
17564         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17565         prototypes to use long int rather than double.
17566         (BSD Random): Fix initstate and setstate to use char *, not void *.
17567         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17568         prototype to make second argument 'struct aiocb64 *const[]'.
17569         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17570         (Status of AIO Operations): Remove erroneous const in aio_return and
17571         aio_return64 prototypes.
17572         (Synchronizing I/O): Fix sync prototype to return void.
17573         * manual/startup.texi (Suboptions): Remove an erroneous const in
17574         getsubopt prototype.
17575         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17576         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17577         use size_t rather than int.
17578         (Scanning All Users): Likewise for getpwent_r.
17579         (Setting Groups): Add missing const to setgroups prototype.
17580         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17581         * manual/socket.texi (Host Names): Fix gethostbyaddr and
17582         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17583         'const void *' rather than 'const char *'.
17584         (Host Address Functions): Likewise for inet_ntop.
17585         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17586         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17587         ssize_t for return value.
17588         (Sending Data): Likewise for send, sendto, sendmsg.
17589         (Socket Option Functions): Add a missing const in setsockopt prototype.
17590         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17591         use wchar_t for the argument.
17592         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17593         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17594         take no arguments.
17595         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17596         double/float/long double for second argument.
17597         Fix return types of significand, significandf, significandl.
17598         * manual/filesys.texi (Setting Permissions): Use mode_t for second
17599         argument in fchmod prototype.
17600         (File Owner): Use uid_t and gid_t in fchown prototype.
17601         (File Times): Add const to utimes, futimes, and lutimes prototypes.
17602         (Making Special Files): Use mode_t and dev_t in mknod prototype.
17603         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17604         use 'const struct dirent **' as argument types to CMP function pointer
17605         argument.
17606         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17607         (File Times): Fix summary magic @comment for struct utimbuf and utime
17608         to refer to utime.h, not time.h.
17609         * manual/string.texi (Argz Functions): Add missing const in
17610         argz_extract and argz_next prototypes.
17611         (Finding Tokens in a String): Likewise for basename.
17612         (String/Array Comparison): Fix typo in wcscasecmp prototype.
17613         (Copying and Concatenation): Fix typo in wmemmove prototype.
17614         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17615         (Signal Stack): Remove erroneous const in sigstack prototype.
17616         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17617         prototype.
17618         (Simple Calendar Time): Likewise for stime.
17619         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17620         prototype.
17621         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17622         say sys/sysctl.h instead.
17623         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17624         and vsyslog prototypes.
17626 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17628         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17629         Remove.
17631 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17633         * misc/sys/mman.h: Fix typo in mremap comment.
17635 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17637         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17638         the '\0' terminator.
17640 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17642         [BZ #13550]
17643         * debug/segfault.c: Don't include <bp-checks.h>.
17644         * sysdeps/generic/bp-checks.h: Remove file.
17645         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17646         (__GETDENTS): Don't use CHECK_N.
17647         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17648         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17649         (__getgroups): Don't use CHECK_N.
17650         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17651         (setgroups): Don't use CHECK_N.
17652         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17653         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17654         (__libc_msgrcv): Don't use CHECK_N.
17655         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17656         (__libc_msgsnd): Don't use CHECK_N.
17657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17658         <bp-checks.h>.
17659         (__libc_pread): Don't use CHECK_N.
17660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17661         include <bp-checks.h>.
17662         (__libc_pread64): Don't use CHECK_N.
17663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17664         include <bp-checks.h>.
17665         (__libc_pwrite): Don't use CHECK_N.
17666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17667         include <bp-checks.h>.
17668         (__libc_pwrite64): Don't use CHECK_N.
17669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17670         <bp-checks.h>.
17671         (__libc_pread): Don't use CHECK_N.
17672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17673         include <bp-checks.h>.
17674         (__libc_pread64): Don't use CHECK_N.
17675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17676         include <bp-checks.h>.
17677         (__libc_pwrite): Don't use CHECK_N.
17678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17679         include <bp-checks.h>.
17680         (__libc_pwrite64): Don't use CHECK_N.
17681         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17682         (do_pread): Don't use CHECK_N.
17683         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17684         (do_pread64): Don't use CHECK_N.
17685         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17686         (do_pwrite): Don't use CHECK_N.
17687         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17688         (do_pwrite64): Don't use CHECK_N.
17689         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17690         (__libc_readv): Don't use CHECK_N.
17691         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17692         (semop): Don't use CHECK_N.
17693         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17694         <bp-checks.h>.
17695         (semtimedop): Don't use CHECK_N.
17696         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17697         (__libc_pread): Don't use CHECK_N.
17698         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17699         <bp-checks.h>.
17700         (__libc_pread64): Don't use CHECK_N.
17701         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17702         <bp-checks.h>.
17703         (__libc_pwrite): Don't use CHECK_N.
17704         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17705         <bp-checks.h>.
17706         (__libc_pwrite64): Don't use CHECK_N.
17707         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17708         <bp-checks.h>.
17709         (__libc_msgrcv): Don't use CHECK_N.
17710         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17711         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
17712         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17713         (__libc_writev): Don't use CHECK_N.
17715 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17717         * string/strcpy.c: Removed unused variable.
17719         * Makeconfig (+sysdep-includes): Define with := rather than =.
17720         Use an existing include/ subdir of each sysdeps dir before it.
17722 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17724         * nscd/connection.c (register_traced_file): Comment function.
17725         [HAVE_INOTIFY] (union __inev): Define.
17726         [HAVE_INOTIFY] (inotify_check_files): New function.
17727         [HAVE_INOTIFY] (clear_db_cache): Likewise.
17728         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17729         clear_db_cache.
17730         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17732 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17734         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17735         loaded if not already and that a failure is permanent.
17737 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17739         [BZ #15006]
17740         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17741         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17743 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17745         [BZ #13550]
17746         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17747         (CHECK_1_NULL_OK): Likewise.
17748         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17749         (__fxstat): Do not use CHECK_1.
17750         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17751         <bp-checks.h>.
17752         (___fxstat64): Do not use CHECK_1.
17753         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17754         <bp-checks.h>.
17755         (__fxstatat): Do not use CHECK_1.
17756         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17757         <bp-checks.h>.
17758         (__fxstatat64): Do not use CHECK_1.
17759         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17760         <bp-checks.h>.
17761         (__fxstat): Do not use CHECK_1.
17762         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17763         <bp-checks.h>.
17764         (__fxstatat): Do not use CHECK_1.
17765         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17766         <bp-checks.h>.
17767         (__getresgid): Do not use CHECK_1.
17768         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17769         <bp-checks.h>.
17770         (__getresuid): Do not use CHECK_1.
17771         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17772         <bp-checks.h>.
17773         (__lxstat): Do not use CHECK_1.
17774         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17775         <bp-checks.h>.
17776         (__old_msgctl): Do not use CHECK_1.
17777         (__new_msgctl): Likewise.
17778         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17779         <bp-checks.h>.
17780         (__new_setrlimit): Do not use CHECK_1.
17781         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17782         <bp-checks.h>.
17783         (__old_shmctl): Do not use CHECK_1.
17784         (__new_shmctl): Likewise.
17785         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17786         <bp-checks.h>.
17787         (__xstat): Do not use CHECK_1.
17788         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17789         (__lxstat): Do not use CHECK_1.
17790         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17791         <bp-checks.h>.
17792         (___lxstat64): Do not use CHECK_1.
17793         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17794         (__old_msgctl): Do not use CHECK_1.
17795         (__new_msgctl): Likewise.
17796         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17797         <bp-checks.h>.
17798         (__gettimeofday): Do not use CHECK_1.
17799         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17800         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17801         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17802         <bp-checks.h>.
17803         (__gettimeofday): Do not use CHECK_1.
17804         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17805         (__old_shmctl): Do not use CHECK_1_NULL_OK.
17806         (__new_shmctl): Do not use CHECK_1.
17807         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17808         <bp-checks.h>.
17809         (do_sigtimedwait): Do not use CHECK_1.
17810         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17811         <bp-checks.h>.
17812         (do_sigwaitinfo): Do not use CHECK_1.
17813         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17814         <bp-checks.h>.
17815         (msgctl): Do not use CHECK_1.
17816         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17817         <bp-checks.h>.
17818         (shmctl): Do not use CHECK_1.
17819         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17820         (ustat): Do not use CHECK_1.
17821         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17822         <bp-checks.h>.
17823         (__fxstat): Do not use CHECK_1.
17824         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17825         <bp-checks.h>.
17826         (__fxstatat): Do not use CHECK_1.
17827         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17828         <bp-checks.h>.
17829         (__lxstat): Do not use CHECK_1.
17830         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17831         <bp-checks.h>.
17832         (__xstat): Do not use CHECK_1.
17833         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17834         (__xstat): Do not use CHECK_1.
17835         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17836         (___xstat64): Do not use CHECK_1.
17838         [BZ #13550]
17839         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17840         definitions.
17841         (CHECK_BOUNDS_HIGH): Likewise.
17842         * string/strcpy.c: Do not include <bp-checks.h>.
17843         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17845 2013-02-07  Roland McGrath  <roland@hack.frob.com>
17847         * nscd/nscd-client.h (__nscd_drop_map_ref):
17848         Add __attribute__ ((unused)).
17849         * nis/nss-nisplus.h (niserr2nss): Likewise.
17851         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17852         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17854         * csu/libc-tls.c (init_static_tls, init_slotinfo):
17855         Remove inline keyword.
17856         * include/rounding-mode.h (round_away): Likewise.
17857         * libio/wfileops.c (adjust_wide_data): Likewise.
17858         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17859         (__m128i_strloadu_tolower): Likewise.
17860         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17861         (__m128i_strloadu_tolower): Likewise.
17862         * time/mktime.c (ydhms_diff): Likewise.
17863         * locale/elem-hash.h (elem_hash): Likewise.
17864         * locale/setlocale.c (setdata): Likewise.
17865         * posix/regex_internal.h (re_string_char_size_at): Likewise.
17866         (re_string_wchar_at): Likewise.
17867         (bitset_not, bitset_merge, bitset_mask): Likewise.
17868         [!(__GNUC__ > 3)] (inline): Remove macro.
17869         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17870         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17871         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17872         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17873         * string/memcmp.c (memcmp_bytes): Likewise.
17874         * locale/programs/locarchive.c (compute_hashval): Likewise.
17875         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17876         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17877         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17878         * nss/getent.c (print_rpc, print_protocols): Likewise.
17879         (print_passwd, print_group, print_aliases): Likewise.
17880         * nis/nss-nisplus.h (niserr2nss): Likewise.
17881         * nscd/connections.c (restart_p): Likewise.
17882         Change return type to bool.
17884 2013-02-05  Roland McGrath  <roland@hack.frob.com>
17886         * Makeconfig (all-Depend-files): Add existing
17887         $(sorted-subdirs:=/Depend) files.
17888         (all-subdirs): Remove nss.
17889         * sysdeps/unix/inet/Subdirs: Add it here instead.
17890         * hesiod/Depend: New file.
17892         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17893         instead of calling alloca.
17895         * io/lseek.c (__lseek): Rename to __libc_lseek.
17896         Define __lseek as an alias.
17898         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17900 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
17902         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17903         else clause and remove check for non-standard endianness.
17905 2013-02-04  David S. Miller  <davem@davemloft.net>
17907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17909 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
17911         [BZ #13550]
17912         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17913         (__ubp_memchr): Remove prototype.
17914         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17915         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17916         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17917         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17918         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17919         Remove alias.
17920         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17921         (__ubp_memchr): Likewise.
17922         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17923         (__ubp_memchr): Likewise.
17924         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17925         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17926         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17927         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17928         CHECK_STRING.
17929         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17930         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17931         (__getcwd): Do not use CHECK_STRING.
17932         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17933         <bp-checks.h>.
17934         (__real_chown): Do not use CHECK_STRING.
17935         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17936         <bp-checks.h>.
17937         (fchownat): Do not use CHECK_STRING.
17938         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17939         CHECK_STRING.
17940         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17941         <bp-checks.h>.
17942         (__lchown): Do not use CHECK_STRING.
17943         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17944         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17945         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17946         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17948         include <bp-checks.h>.
17949         (truncate64): Do not use CHECK_STRING.
17950         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17951         <bp-checks.h>.
17952         (__real_chown): Do not use CHECK_STRING.
17953         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17954         <bp-checks.h>.
17955         (__lchown): Do not use CHECK_STRING.
17956         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17957         <bp-checks.h>.
17958         (__chown): Do not use CHECK_STRING.
17959         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17960         <bp-checks.h>.
17961         (truncate64): Do not use CHECK_STRING.
17962         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17963         Likewise.
17964         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17965         (__xmknod): Do not use CHECK_STRING.
17966         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17967         <bp-checks.h>.
17968         (__xmknodat): Do not use CHECK_STRING.
17969         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17970         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17972 2013-02-04  Andreas Schwab  <schwab@suse.de>
17974         [BZ #14142]
17975         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17976         * include/netdb.h: Likewise for h_errno.
17977         * elf/tst-stackguard1.c: Include <tls.h>.
17979 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
17981         * elf/link.h (struct link_map): Extend the l_addr comment.
17982         * include/link.h (struct link_map): Likewise.
17984 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
17986         [BZ #13550]
17987         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17988         (BOUNDED_1): Remove macro.
17989         * debug/backtrace.c: Don't include <bp-checks.h>.
17990         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17991         (__backtrace): Likewise.
17992         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17993         <bp-checks.h>.
17994         (__backtrace): Don't use BOUNDED_1.
17995         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17996         <bp-checks.h>.
17997         (__backtrace): Don't use BOUNDED_1.
17998         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17999         (__backtrace): Don't use BOUNDED_1.
18000         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18001         (shmat): Don't use BOUNDED_N.
18003 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
18005         [BZ #13550]
18006         * sysdeps/generic/bp-start.h: Remove file.
18007         * csu/libc-start.c: Don't include <bp-start.h>.
18008         (LIBC_START_MAIN): Set up __environ directly instead of using
18009         INIT_ARGV_and_ENVIRON.
18010         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18011         <bp-start.h>.
18013         [BZ #13550]
18014         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18015         definitions.
18016         (CHECK_FCNTL): Likewise.
18017         (CHECK_N_PAGES): Likewise.
18019         [BZ #13550]
18020         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18021         definitions.
18022         (CHECK_SIGSET_NULL_OK): Likewise.
18023         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18024         <bp-checks.h>.
18025         (sigpending): Don't use CHECK_SIGSET.
18026         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18027         <bp-checks.h>.
18028         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18029         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18030         <bp-checks.h>.
18031         (do_sigsuspend): Don't use CHECK_SIGSET.
18032         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18033         use CHECK_SIGSET.
18034         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18035         (do_sigwait): Don't use CHECK_SIGSET.
18036         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18037         use CHECK_SIGSET.
18038         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18039         include <bp-checks.h>.
18040         (sigpending): Don't use CHECK_SIGSET.
18041         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18042         include <bp-checks.h>.
18043         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18044         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18045         <bp-checks.h>.
18046         (sigpending): Don't use CHECK_SIGSET.
18047         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18048         <bp-checks.h>.
18049         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18051         [BZ #13550]
18052         * sysdeps/generic/bp-semctl.h: Remove file.
18053         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18054         <bp-checks.h> and <bp-semctl.h>.
18055         (__old_semctl): Don't use CHECK_SEMCTL.
18056         (__new_semctl): Likewise.
18057         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18058         and <bp-semctl.h>.
18059         (__old_semctl): Don't use CHECK_SEMCTL.
18060         (__new_semctl): Likewise.
18061         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18062         <bp-checks.h> and <bp-semctl.h>.
18063         (__old_semctl): Don't use CHECK_SEMCTL.
18064         (__new_semctl): Likewise.
18065         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18066         <bp-checks.h> and <bp-semctl.h>.
18067         (semctl): Don't use CHECK_SEMCTL.
18069         [BZ #13550]
18070         * Makerules (elide-bp-thunks): Remove variable.
18071         (elide-routines.oS): Don't use $(elide-bp-thunks).
18072         (elide-routines.os): Likewise.
18073         (elide-routines.o): Likewise.
18074         (elide-routines.op): Likewise.
18075         (elide-routines.og): Likewise.
18076         (objects): Don't use $(bp-thunks).
18077         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18078         include.
18079         (common-generated): Do not add s-proto-bp.d.
18080         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18081         (int): Likewise.
18082         (typ): Likewise.
18083         Do not generate makefile rules for bounded-pointer thunks.
18084         * sysdeps/generic/bp-thunks.h: Remove file.
18085         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18086         * sysdeps/unix/s-proto-bp.S: Likewise.
18088         [BZ #15062]
18089         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18090         parts of result separately when argument is not close to line from
18091         -i to i and one part of argument is small.
18092         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18093         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18094         * math/libm-test.inc (cacos_test): Add more tests.
18095         (casin_test): Likewise.
18096         (casinh_test): Likewise.
18097         * sysdeps/i386/fpu/libm-test-ulps: Update.
18098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18100 2013-01-31  David S. Miller  <davem@davemloft.net>
18102         * po/de.po: Update from translation team.
18104 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
18106         * time/tzfile.c: Include stdint.h for SIZE_MAX.
18108 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
18110         * configure.in (_AC_PROG_CC_C89): New definition.
18111         * configure: Regenerate.
18113         * configure.in (AC_PROG_CPP): New definition.
18114         * configure: Regenerate.
18116 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18118         * debug/tst-backtrace.h: New file.
18119         * debug/tst-backtrace2.c: Include tst-backtrace.h.
18120         (ret): Remove variable.
18121         (x): Likewise.
18122         (FAIL): Remove macro.
18123         (NO_INLINE): Likewise.
18124         (fn1): Use match function instead of strstr.
18125         * debug/tst-backtrace3.c: Include tst-backtrace.h.
18126         (ret): Remove variable.
18127         (x): Likewise.
18128         (FAIL): Remove macro.
18129         (NO_INLINE): Likewise.
18130         (fn): Use match function instead of strstr.
18131         * debug/tst-backtrace4.c: Include tst-backtrace.h.
18132         (ret): Remove variable.
18133         (x): Likewise.
18134         (FAIL): Remove macro.
18135         (NO_INLINE): Likewise.
18136         (handle_signal): Use match function instead of strstr.
18137         * debug/tst-backtrace5.c: Include tst-backtrace.h.
18138         (ret): Remove variable.
18139         (x): Likewise.
18140         (FAIL): Remove macro.
18141         (NO_INLINE): Likewise.
18142         (handle_signal): Use match function instead of strstr.
18144 2013-01-23  Roland McGrath  <roland@hack.frob.com>
18146         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18148 2013-01-23  David S. Miller  <davem@davemloft.net>
18150         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18151         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18152         argument of CAS if possible.
18153         * sysdeps/sparc/sparc64/bits/atomic.h
18154         (__arch_compare_and_exchange_val_32_acq): Likewise.
18155         (__arch_compare_and_exchange_val_64_acq): Likewise.
18157 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
18159         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18160         * sysdeps/posix/ulimit.c: ... this.
18161         Include <limits.h>.
18162         * sysdeps/unix/bsd/ulimit.c: Remove file.
18164 2013-01-23  Adam Conrad  <adconrad@0c3.net>
18166         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18167         (LDFLAGS-tst-array5): Likewise.
18169 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18171         [BZ #15036]
18172         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18173         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18174         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18175         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18177 2013-01-21  David S. Miller  <davem@davemloft.net>
18179         * sysdeps/sparc/backtrace.c: New file.
18180         * sysdeps/sparc/sparc32/backtrace.h: New file.
18181         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18182         * sysdeps/sparc/sparc64/backtrace.h: New file.
18183         * sysdeps/sparc/sparc64/backtrace.c: Delete.
18184         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18185         -funwind-tables.
18187 2013-01-21  Andreas Schwab  <schwab@suse.de>
18189         [BZ #15020]
18190         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18191         closed its stdout.
18193 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
18195         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18196         "mpa2.h".
18197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18199 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
18200             Mark Mitchell  <mark@codesourcery.com>
18201             Tom de Vries  <tom@codesourcery.com>
18202             Paul Pluzhnikov  <ppluzhnikov@google.com>
18204         * debug/tst-backtrace2.c: New file.
18205         * debug/tst-backtrace3.c: Likewise.
18206         * debug/tst-backtrace4.c: Likewise.
18207         * debug/tst-backtrace5.c: Likewise.
18208         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18209         (CFLAGS-tst-backtrace3.c): Likewise.
18210         (CFLAGS-tst-backtrace4.c): Likewise.
18211         (CFLAGS-tst-backtrace5.c): Likewise.
18212         (LDFLAGS-tst-backtrace2): Likewise.
18213         (LDFLAGS-tst-backtrace3): Likewise.
18214         (LDFLAGS-tst-backtrace4): Likewise.
18215         (LDFLAGS-tst-backtrace5): Likewise.
18216         (tests): Add new tests tst-backtrace2, tst-backtrace3,
18217         tst-backtrace4 and tst-backtrace5.
18219 2013-01-18  Anton Blanchard  <anton@samba.org>
18220             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18222         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18223         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18224         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18225         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18227         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18228         "+r" and remove output regs list as redundant.  Add explicit inline
18229         asm to specify register of return val to work around compiler codegen
18230         bug.  Remove (int) cast on return value.  Add return type parameter to
18231         use in macro so that this macro does not truncate return value for
18232         64-bit values.
18233         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18234         pass to INTERNAL_VSYSCALL_NCS.
18235         (INLINE_VSYSCALL): Add 'long int' as return type to
18236         INTERNAL_VSYSCALL_NCS macro invocation.
18237         (INTERNAL_VSYSCALL): Add 'long int' as return type to
18238         INTERNAL_VSYSCALL_NCS macro invocation.
18239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18241 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18243         [BZ #14496]
18244         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18245         Fix application of SIMD FP exception mask.
18247         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18248         mp_no from a power of two.
18249         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18250         __mpexp_twomm1.  Use __pow_mp.
18252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18253         multiplication.
18255 2013-01-17  David S. Miller  <davem@davemloft.net>
18257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18259 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18261         [BZ #15023]
18262         * include/complex.h: Condition contents on [!_COMPLEX_H].
18263         (__kernel_casinhf): New prototype.
18264         (__kernel_casinh): Likewise.
18265         (__kernel_casinhl): Likewise.
18266         * math/Makefile (libm_calls): Add k_casinh.
18267         * math/k_casinh.c: New file.
18268         * math/k_casinhf.c: Likewise.
18269         * math/k_casinhl.c: Likewise.
18270         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18271         finite nonzero arguments.
18272         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18273         finite nonzero arguments.
18274         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18275         finite nonzero arguments.
18276         * math/s_casinh.c: Do not include <float.h>.
18277         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18278         * math/s_casinhf.c: Do not include <float.h>.
18279         (__casinhf): Move code for finite nonzero arguments to
18280         k_casinhf.c.
18281         * math/s_casinhl.c: Do not include <float.h>.
18282         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18283         redefine.
18284         (__casinhl): Move code for finite nonzero arguments to
18285         k_casinhl.c.
18286         * math/libm-test.inc (cacos_test): Add more tests.
18287         * sysdeps/i386/fpu/libm-test-ulps: Update.
18288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18290 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
18292         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18293         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18294         [!HAVE_MREMAP]: Remove [defined linux] case.
18295         * malloc/arena.c: Do not include <malloc-sysdep.h>.
18297 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18299         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18301 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
18303         * elf/elf.h (R_386_SIZE32): New relocation.
18304         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18305         R_386_SIZE32.
18306         (elf_machine_rela): Likewise.
18307         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18308         R_X86_64_SIZE64 and R_X86_64_SIZE32.
18310 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18312         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18313         (FP_FAST_FMA): Do not define.
18314         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18315         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18316         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18317         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18318         !_SOFT_FLOAT]: Likewise.
18319         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18320         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18321         value.
18322         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18323         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18324         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18325         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18326         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18327         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18328         file.
18330 2013-01-16  Andreas Schwab  <schwab@suse.de>
18332         [BZ #14327]
18333         * include/stdlib.h (__mktemp): Add declaration.
18334         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18335         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18337 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18339         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18340         definitions.
18341         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18342         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18343         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18344         definitions here.
18345         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18346         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18347         definitions.
18348         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18349         and ONE.
18350         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18351         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18352         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18353         definitions.
18354         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18355         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18356         definitions.
18357         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18359         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18361 2013-01-15  David S. Miller  <davem@davemloft.net>
18363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18364         trunc{,f} to libm-sysdep_routes.
18365         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18367         file.
18368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18370         file.
18371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18372         file.
18373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18375         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18376         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18377         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18378         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18379         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18380         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18383         nearbyint{,f} to libm-sysdep_routes.
18384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18386         New file.
18387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18388         file.
18389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18390         New file.
18391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18392         file.
18393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18395         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18396         file.
18397         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18398         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18399         file.
18400         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18401         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18402         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18404         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18405         libc_feholdexcept and libc_fesetenv.
18407 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
18409         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18411 2013-01-14  David S. Miller  <davem@davemloft.net>
18413         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18414         (SPARC_ASM_VIS2_IFUNC): Likewise.
18415         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18417         use of 'siam' instruction.
18418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18419         Likewise.
18420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18421         Likewise.
18422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18423         Likewise.
18424         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18425         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18427         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18429         file.
18430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18431         file.
18432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18433         file.
18434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18435         file.
18436         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18437         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18441         new VIS2 routines.
18442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18445         Likewise.
18446         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18447         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18451         routines to libm-sysdep_routines.
18452         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18455         fdim/fdimf to libm-sysdep_routines.
18456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18457         file.
18458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18460         file.
18461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18464         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18465         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18466         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18467         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18469 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18471         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18472         to optimize copies.
18474         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18478         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18479         local variable MPTWO.
18480         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18481         Likewise.
18483 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18485         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18486         GLOB_NOESCAPE.
18488 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18490         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18492 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18494         * manual/pattern.texi (glob_t): Document gl_flags.
18495         (glob64_t): Likewise.
18497 2013-01-11  David S. Miller  <davem@davemloft.net>
18499         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18500         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18501         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
18502         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18503         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18504         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18505         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18506         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18507         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18508         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18509         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18510         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18511         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18513         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18514         sparc V9 rather than using V8 code.
18515         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18516         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18518         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18519         Move to...
18520         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18521         Here.
18523 2013-01-11  Roland McGrath  <roland@hack.frob.com>
18525         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18526         not in the main loop.
18527         * configure: Regenerated.
18529 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
18531         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18532         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18533         to just #else.
18534         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
18535         [!__GLIBC_HAVE_LONG_LONG] case.
18536         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18537         condition to just #else.
18538         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18539         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18540         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18541         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18542         unconditional.
18543         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18544         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18545         #elif condition to just #else.
18546         * sysdeps/unix/sysv/linux/sys/sysmacros.h
18547         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18548         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18549         #elif condition to just #else.
18551 2013-01-11  Steve Ellcey  <sellcey@mips.com>
18553         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18554         (EF_MIPS_ARCH_64): Fix value.
18555         (EF_MIPS_ARCH_32R2): New.
18556         (EF_MIPS_ARCH_64R2): New.
18558 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
18560         * Makeconfig (+link-pie-before-libc): New.
18561         (+link-pie-after-libc): Likewise.
18562         (+link-pie-tests): Likewise.
18563         (+link-pie): Rewritten.
18564         (link-before-libc): Remove $(config-LDFLAGS).
18565         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18566         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18567         (config-LDFLAGS): Renamed to ...
18568         (rtld-LDFLAGS): This.
18569         (rtld-tests-LDFLAGS): New macro.
18570         (link-libc-rpath-link): Likewise.
18571         (link-libc-tests-rpath-link): Likewise.
18572         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18573         (link-libc): Prepand $(link-libc-rpath-link).
18574         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18575         (test-program-prefix): New macro.
18576         (test-via-rtld-prefix): Likewise.
18577         (test-program-cmd): Likewise.
18578         (host-test-program-cmd): Likewise.
18579         * Makefile ($(common-objpfx)testrun.sh): Replace
18580         $(run-program-prefix) with $(test-program-prefix).
18581         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18582         $(rtld-LDFLAGS).
18583         ($(common-objpfx)shlib.lds): Likewise.
18584         (build-module-helper): Likewise.
18585         ($(common-objpfx)format.lds): Likewise.
18586         * Rules (binaries-pie-tests): New.
18587         (binaries-pie-notests): Likewise.
18588         (binaries-pie): Rewritten.
18589         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18590         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18591         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18592         (make-test-out): Replace $(host-built-program-cmd) with
18593         $(host-test-program-cmd).
18594         * config.make.in (build-hardcoded-path-in-tests): New variable.
18595         * configure.in (--enable-hardcoded-path-in-tests): New configure
18596         option.
18597         (hardcoded_path_in_tests): New AC_SUBST.
18598         * configure: Regenerated.
18599         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18600         $(built-program-cmd) with $(test-program-cmd).
18601         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18602         (test_program_cmd): This.
18603         * elf/Makefile ($(objpfx)order.out): Run test with
18604         $(test-program-prefix).
18605         ($(objpfx)order2.out): Likewise.
18606         ($(objpfx)tst-initorder.out): Likewise.
18607         ($(objpfx)tst-initorder2.out): Likewise.
18608         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18609         $(test-program-cmd).
18610         ($(objpfx)tst-array1-static.out): Likewise.
18611         ($(objpfx)tst-array2.out): Likewise.
18612         ($(objpfx)tst-array3.out): Likewise.
18613         ($(objpfx)tst-array4.out): Likewise.
18614         ($(objpfx)tst-array5.out): Likewise.
18615         ($(objpfx)tst-array5-static.out): Likewise.
18616         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18617         $(test-program-cmd).
18618         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18619         $(run-program-prefix) with $(test-program-prefix).
18620         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18621         (test_program_prefix): This.
18622         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18623         $(run-program-prefix) with $(test-program-prefix).
18624         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18625         (test_program_prefix): This.
18626         * iconvdata/tst-tables.sh: Likewise.
18627         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18628         $(run-program-prefix) with $(test-program-prefix).
18629         ($(objpfx)tst-translit.out): Likewise.
18630         ($(objpfx)tst-gettext2.out): Likewise.
18631         ($(objpfx)tst-gettext4.out): Likewise.
18632         ($(objpfx)tst-gettext6.out): Likewise.
18633         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18634         (test_program_prefix): This.
18635         * intl/tst-gettext2.sh: Likewise.
18636         * intl/tst-gettext4.sh  Likewise.
18637         * intl/tst-gettext6.sh: Likewise.
18638         * intl/tst-translit.sh: Likewise.
18639         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18640         with $(test-program-cmd).
18641         * libio/Makefile ($(objpfx)test-freopen.out): Replace
18642         $(run-program-prefix) with $(test-program-prefix).
18643         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18644         (test_program_prefix): This.
18645         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18646         $(run-program-prefix) with $(test-program-prefix).
18647         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18648         (test_program_prefix): This.
18649         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18650         * posix/Makefile ($(objpfx)globtest.out): Replace
18651         $(run-via-rtld-prefix) and $(test-wrapper) with
18652         $(test-program-prefix) and $(test-via-rtld-prefix).
18653         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18654         $(test-program-prefix).
18655         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18656         $(host-test-program-cmd).
18657         (tst-spawn-ARGS): Likewise.
18658         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18659         $(test-program-prefix).
18660         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18661         (test_via_rtld_prefix): This.
18662         (test_wrapper): Renamed to ...
18663         (test_program_prefix): This.
18664         (run_program_prefix): Replaced by test_program_prefix.
18665         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18666         (test_program_prefix): This.
18667         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18668         with $(host-test-program-cmd).
18669         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18670         $(run-program-prefix) with $(test-program-prefix).
18671         ($(objpfx)tst-printf.out): Likewise.
18672         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18673         $(test-program-cmd).
18674         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18675         (test_program_prefix): This.
18676         * stdio-common/tst-unbputc.sh: Likewise.
18677         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18678         $(run-program-prefix) with $(test-program-prefix).
18679         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18680         (test_program_prefix): This.
18681         * string/Makefile ($(objpfx)tst-svc.out):  Replace
18682         $(built-program-cmd) with $(test-program-cmd).
18684 2013-01-11  Andreas Jaeger  <aj@suse.de>
18686         [BZ #15003]
18687         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18688         value. Sync with Linux 3.7.
18690 2013-01-10  David S. Miller  <davem@davemloft.net>
18692         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18693         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18694         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18696 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18698         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18699         never set.
18700         * configure: Regenerated.
18702 2013-01-10  David S. Miller  <davem@davemloft.net>
18704         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18705         sparc V9 rather than using V8 code.
18706         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18707         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18709 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18711         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18712         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18713         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18714         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18715         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18716         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18717         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18718         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18719         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18720         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18721         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18722         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18723         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18724         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18725         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18726         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18727         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18728         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18729         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18730         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18731         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18732         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18733         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18734         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18735         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18736         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18737         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18739 2013-01-10  David S. Miller  <davem@davemloft.net>
18741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18743 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18745         * posix/Makefile (tests-static): New variable.
18746         (tests): Add $(tests-static).
18747         (tst-exec-static-ARGS): New variable.
18748         (tst-spawn-static-ARGS): Likewise.
18749         * posix/tst-exec-static.c: New file.
18750         * posix/tst-spawn-static.c: Likewise.
18751         * posix/tst-exec.c: Support run directly.
18752         * posix/tst-spawn.c: Likewise.
18754 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
18756         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18757         long.
18758         * math/bits/mathcalls.h (llrint): Likewise.
18759         (llround): Likewise.
18760         * stdlib/stdlib.h (struct drand48_data): Likewise.
18761         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18762         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18763         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18764         Likewise.
18765         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18766         Likewise.
18767         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18768         (elf_greg_t): Likewise.
18769         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18770         (__jmp_buf): Likewise.
18771         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18772         definitions.
18773         (llrint): Likewise, for all definitions.
18774         (llrintl): Likewise.
18776         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18777         Remove [__GNUC__] condition.
18778         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18779         condition to just [__USE_ISOC99].
18780         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18782 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18784         [BZ #14200]
18785         * sysdeps/unix/sysv/linux/x86/bits/environments.h
18786         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18787         defined.
18788         (_POSIX_V6_ILP32_OFF32): Likewise.
18789         (_XBS5_ILP32_OFF32): Likewise.
18790         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18791         (__ILP32_OFFBIG_LDFLAGS): Likewise.
18793 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18795         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18798         doubles __mpexp_twomm1.  Adjust usage.
18799         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18800         Remove.
18802 2013-01-10  Andreas Schwab  <schwab@suse.de>
18804         [BZ #14964]
18805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18806         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18808 2013-01-09  David S. Miller  <davem@davemloft.net>
18810         [BZ #15003]
18811         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18812         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18813         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18814         TCP_FASTOPEN): Define.
18815         (tcp_repair_opt): New structure.
18816         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18817         enum values.
18818         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18819         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18820         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18821         (tcp_cookie_transactions): New structure.
18823 2013-01-09  Anton Blanchard  <anton@samba.org>
18825         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18826         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18827         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18828         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18830 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
18832         * include/features.h (__USE_ANSI): Remove.
18834 2013-01-09  Roland McGrath  <roland@hack.frob.com>
18836         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18838         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18840 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18842         * sysdeps/s390/fpu/libm-test-ulps: Update.
18844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18846         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18847         (__acr): Likewise.
18848         (__cpy): Likewise.
18849         (norm): Likewise.
18850         (denorm): Likewise.
18851         (__mp_dbl): Likewise.
18852         (__dbl_mp): Likewise.
18853         (add_magnitudes): Likewise.
18854         (sub_magnitudes): Likewise.
18855         (__add): Likewise.
18856         (__sub): Likewise.
18857         (__mul): Likewise.
18858         (__inv): Likewise.
18859         (__dvd): Likewise.
18860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18861         (__acr): Likewise.
18862         (__cpy): Likewise.
18863         (norm): Likewise.
18864         (denorm): Likewise.
18865         (__mp_dbl): Likewise.
18866         (__dbl_mp): Likewise.
18867         (add_magnitudes): Likewise.
18868         (sub_magnitudes): Likewise.
18869         (__add): Likewise.
18870         (__sub): Likewise.
18871         (__mul): Likewise.
18872         (__inv): Likewise.
18873         (__dvd): Likewise.
18874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18875         (__acr): Likewise.
18876         (__cpy): Likewise.
18877         (norm): Likewise.
18878         (denorm): Likewise.
18879         (__mp_dbl): Likewise.
18880         (__dbl_mp): Likewise.
18881         (add_magnitudes): Likewise.
18882         (sub_magnitudes): Likewise.
18883         (__add): Likewise.
18884         (__sub): Likewise.
18885         (__mul): Likewise.
18886         (__inv): Likewise.
18887         (__dvd): Likewise.
18889 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
18891         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18892         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18893         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18894         2 && __USE_EXTERN_INLINES]: Likewise.
18896 2013-01-08  Andreas Jaeger  <aj@suse.de>
18898         [BZ# 14985]
18899         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18900         Remove.
18901         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18902         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18904 2013-01-07  Anton Blanchard  <anton@samba.org>
18906         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18907         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18908         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18909         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18910         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18911         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18912         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18913         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18915         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18916         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18917         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18918         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18919         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18920         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18921         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18922         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18923         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18924         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18925         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18926         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18927         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18929         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18930         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18931         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18932         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18933         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18934         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18935         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18936         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18938         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18939         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18940         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18941         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18942         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18943         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18944         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18945         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18946         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18947         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18948         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18950 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
18952         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18953         (__MALLOC_PMT): Likewise.
18954         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18955         [__GNUC__], only on [_LIBC].
18956         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18957         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18958         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18959         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18960         forward declaration.
18961         (realloc_hook_ini): Likewise.
18962         (memalign_hook_ini): Likewise.
18963         (__libc_memalign): Do not use __MALLOC_PMT in variable
18964         declaration.
18965         (__libc_valloc): Likewise.
18966         (__libc_pvalloc): Likewise.
18967         (__libc_calloc): Likewise.
18968         (__posix_memalign): Likewise.
18970         [BZ #14996]
18971         * math/s_casinh.c: Include <float.h>.
18972         (__casinh): Do not do computation with squaring and square root
18973         for large arguments.
18974         * math/s_casinhf.c: Include <float.h>.
18975         (__casinhf): Do not do computation with squaring and square root
18976         for large arguments.
18977         * math/s_casinhl.c: Include <float.h>.
18978         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18979         (__casinhl): Do not do computation with squaring and square root
18980         for large arguments.
18981         * math/libm-test.inc (casin_test): Add more tests.
18982         (casinh_test): Likewise.
18983         * sysdeps/i386/fpu/libm-test-ulps: Update.
18984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18986 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
18988         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18989         (__x86_64_raw_data_cache_size): Likewise.
18990         (__x86_64_data_cache_size_half): Likewise.
18991         (__x86_64_raw_data_cache_size_half): Likewise.
18992         (__x86_64_shared_cache_size): Likewise.
18993         (__x86_64_raw_shared_cache_size): Likewise.
18994         (__x86_64_shared_cache_size_half): Likewise.
18995         (__x86_64_raw_shared_cache_size_half): Likewise.
18996         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18997         to ...
18998         (__x86_data_cache_size): This.
18999         (__x86_64_raw_data_cache_size): Renamed to ...
19000         (__x86_raw_data_cache_size): This.
19001         (__x86_64_data_cache_size_half): Renamed to ...
19002         (__x86_data_cache_size_half): This.
19003         (__x86_64_raw_data_cache_size_half): Renamed to ...
19004         (__x86_raw_data_cache_size_half): This.
19005         (__x86_64_shared_cache_size): Renamed to ...
19006         (__x86_shared_cache_size): This.
19007         (__x86_64_raw_shared_cache_size): Renamed to ...
19008         (__x86_raw_shared_cache_size): This.
19009         (__x86_64_shared_cache_size_half): Renamed to ...
19010         (__x86_shared_cache_size_half): This.
19011         (__x86_64_raw_shared_cache_size_half): Renamed to ...
19012         (__x86_raw_shared_cache_size_half): This.
19013         * sysdeps/x86_64/memcpy.S: Updated.
19014         * sysdeps/x86_64/memset.S: Likewise.
19015         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19016         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19017         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19019 2013-01-04  David S. Miller  <davem@davemloft.net>
19021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19023 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
19025         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19026         1 to avoid redefinition warning.
19027         (__USE_GNU): Don't define.
19028         (init_signaling_nan): Protoize.
19030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19032 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19034         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19036         (__cpymn): Likewise.
19037         (norm): Remove commented code.
19038         (denorm): Likewise.
19039         (__mp_dbl): Likewise.
19040         (__inv): Likewise.
19041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19042         (__cpymn): Likewise.
19043         (norm): Remove commented code.
19044         (denorm): Likewise.
19045         (__mp_dbl): Likewise.
19046         (__inv): Likewise.
19048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19049         mp_no value for 1.0 and 2.0.
19050         (norm): Use RADIXI instead of radixi.d.
19051         (denorm): Likewise.
19052         (__mul): Use 0.0 instead of zero.d.
19053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19054         mp_no value for 1.0 and 2.0.
19055         (norm): Use RADIXI instead of radixi.d.
19056         (denorm): Likewise.
19057         (__mul): Use 0.0 instead of zero.d.
19059 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
19061         [BZ #14994]
19062         * math/s_casinh.c (__casinh): Reduce finite argument to first
19063         quadrant then set signs of results at the end.
19064         * math/s_casinhf.c (__casinhf): Likewise.
19065         * math/s_casinhl.c (__casinhl): Likewise.
19066         * math/libm-test.inc (casin_test): Add more tests.
19067         (casinh_test): Likewise.
19068         * sysdeps/i386/fpu/libm-test-ulps: Update.
19069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19071 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19073         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19075         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19077         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19078         declarations.
19079         (denorm): Likewise.
19080         (__mp_dbl): Likewise.
19081         (__inv): Likewise.
19083         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19084         and adjust the header comment.
19086         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19087         variable name from declaration.
19089 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
19091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19092         Initialize COMMON_CPUID_INDEX_7 element.
19093         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19094         (CPUID_RTM): Likewise.
19095         (HAS_RTM): Likewise.
19096         (COMMON_CPUID_INDEX_7): New enum.
19098 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
19100         [BZ #14981]
19101         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19102         size is zero, record memory as freed.
19104 2013-01-03  Andreas Jaeger  <aj@suse.de>
19106         * po/ia.po: Add new Interlingua translation.
19108 2012-01-03  Allan McRae  <allan@archlinux.org>
19110         * locale/programs/localedef.c: Fix description of '--posix' flag.
19112 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
19114         * NEWS: Update dates in second copyright notice.
19115         * README: Update copyright dates in example.
19116         * manual/libc.texinfo: Update copyright dates.
19117         * scripts/test-installation.pl: Update copyright date in --version
19118         output.
19120         * hurd/ctty-input.c: Fix copyright notice formatting.
19121         * hurd/ctty-output.c: Likewise.
19122         * hurd/dtable.c: Likewise.
19123         * hurd/hurd-raise.c: Likewise.
19124         * hurd/hurdprio.c: Likewise.
19125         * hurd/msgportdemux.c: Likewise.
19126         * misc/sys/file.h: Likewise.
19127         * misc/sys/ioctl.h: Likewise.
19128         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19129         * sysdeps/mach/hurd/chdir.c: Likewise.
19130         * sysdeps/mach/hurd/fchdir.c: Likewise.
19131         * sysdeps/mach/hurd/rename.c: Likewise.
19132         * sysdeps/mach/hurd/rmdir.c: Likewise.
19133         * sysdeps/mach/hurd/seekdir.c: Likewise.
19134         * sysdeps/mach/hurd/setsid.c: Likewise.
19135         * sysdeps/posix/wait3.c: Likewise.
19137         * All files with FSF copyright notices: Update copyright dates
19138         using scripts/update-copyrights.
19139         * intl/plural.c: Regenerated.
19140         * locale/programs/charmap-kw.h: Likewise.
19141         * locale/programs/locfile-kw.h: Likewise.
19143 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19145         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19146         four values.
19148         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19149         calculation loop and add branch prediction.
19151         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19152         check access beyond bounds of m1np.
19154         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19155         MPTWO.
19156         (__inv): Remove local variable MPTWO to use the global
19157         constant.
19158         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19159         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19160         variable MPTWO.
19161         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19162         MP3HALFS static const.
19164 2013-01-01  David S. Miller  <davem@davemloft.net>
19166         * po/ca.po: Update from translation team.
19168 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
19170         * scripts/update-copyrights: New file.
19171         * Makeconfig: Reformat copyright notice.
19172         * ctype/ctype.h: Likewise.
19173         * debug/swprintf_chk.c: Likewise.
19174         * elf/dl-cache.c: Likewise.
19175         * elf/dl-debug.c: Likewise.
19176         * elf/dl-object.c: Likewise.
19177         * grp/initgroups.c: Likewise.
19178         * hurd/Makefile: Likewise.
19179         * hurd/hurd/signal.h: Likewise.
19180         * hurd/hurdfault.c: Likewise.
19181         * hurd/hurdioctl.c: Likewise.
19182         * hurd/hurdlookup.c: Likewise.
19183         * hurd/intr-msg.c: Likewise.
19184         * iconv/gconv_open.c: Likewise.
19185         * libio/swprintf.c: Likewise.
19186         * locale/lc-ctype.c: Likewise.
19187         * locale/nl_langinfo.c: Likewise.
19188         * mach/Machrules: Likewise.
19189         * mach/Makefile: Likewise.
19190         * malloc/obstack.h: Likewise.
19191         * manual/Makefile: Likewise.
19192         * manual/tsort.awk: Likewise.
19193         * misc/bits/stab.def: Likewise.
19194         * nis/nis_print_group_entry.c: Likewise.
19195         * nis/nis_table.c: Likewise.
19196         * nis/nss_compat/compat-pwd.c: Likewise.
19197         * nis/nss_compat/compat-spwd.c: Likewise.
19198         * po/Makefile: Likewise.
19199         * posix/fnmatch.c: Likewise.
19200         * posix/regex.h: Likewise.
19201         * resolv/Makefile: Likewise.
19202         * resolv/nss_dns/dns-network.c: Likewise.
19203         * resolv/res_hconf.c: Likewise.
19204         * scripts/gen-sorted.awk: Likewise.
19205         * soft-fp/soft-fp.h: Likewise.
19206         * stdio-common/printf.h: Likewise.
19207         * stdlib/monetary.h: Likewise.
19208         * stdlib/random.c: Likewise.
19209         * stdlib/random_r.c: Likewise.
19210         * sysdeps/generic/Makefile: Likewise.
19211         * sysdeps/gnu/Makefile: Likewise.
19212         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19213         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19214         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19215         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19216         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19217         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19218         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19219         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19220         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19221         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19222         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19223         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19224         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19225         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19226         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19227         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19228         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19229         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19230         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19231         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19232         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19233         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19234         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19235         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19236         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19237         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19238         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19239         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19240         * sysdeps/mach/hurd/errnos.awk: Likewise.
19241         * sysdeps/mach/hurd/fork.c: Likewise.
19242         * sysdeps/mach/hurd/getcwd.c: Likewise.
19243         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19244         * sysdeps/mach/hurd/mmap.c: Likewise.
19245         * sysdeps/mach/hurd/utimes.c: Likewise.
19246         * sysdeps/mach/hurd/xmknod.c: Likewise.
19247         * sysdeps/posix/profil.c: Likewise.
19248         * sysdeps/posix/readdir_r.c: Likewise.
19249         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19250         * sysdeps/powerpc/bits/setjmp.h: Likewise.
19251         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19252         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19253         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19254         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19255         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19256         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19258         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19259         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19260         * sysdeps/pthread/lio_listio.c: Likewise.
19261         * sysdeps/sparc/dl-procinfo.h: Likewise.
19262         * sysdeps/unix/i386/sysdep.S: Likewise.
19263         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19264         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19265         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19266         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19268         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19269         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19270         * sysdeps/unix/sysv/linux/speed.c: Likewise.
19271         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19272         * sysdeps/wordsize-32/divdi3.c: Likewise.
19273         * time/sys/time.h: Likewise.
19274         * wcsmbs/Makefile: Likewise.
19276 2013-01-01  David S. Miller  <davem@davemloft.net>
19278         * po/fr.po: Update from translation team.
19280         * catgets/gencat.c: Update copyright year.
19281         * csu/version.c: Likewise.
19282         * debug/catchsegv.sh: Likewise.
19283         * debug/pcprofiledump.c: Likewise.
19284         * debug/xtrace.sh: Likewise.
19285         * elf/ldconfig.c: Likewise.
19286         * elf/ldd.bash.in: Likewise.
19287         * elf/pldd.c: Likewise.
19288         * elf/sotruss.ksh: Likewise.
19289         * elf/sprof.c: Likewise.
19290         * iconv/iconv_prog.c: Likewise.
19291         * iconv/iconvconfig.c: Likewise.
19292         * locale/programs/locale.c: Likewise.
19293         * locale/programs/localedef.c: Likewise.
19294         * login/programs/pt_chown.c: Likewise.
19295         * malloc/memusage.sh: Likewise.
19296         * malloc/memusagestat.c: Likewise.
19297         * malloc/mtrace.pl: Likewise.
19298         * nscd/nscd.c: Likewise.
19299         * nss/getent.c: Likewise.
19300         * nss/makedb.c: Likewise.
19301         * posix/getconf.c: Likewise.
19303 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19305         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19306         numbers.
19308 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
19310         * math/bits/mathcalls.h (modf): Use __nonnull.
19312 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19314         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19315         (split): Use macro CN instead of the bare value.
19316         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19317         could be used.
19318         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19319         instead of the bare value.
19320         (power1): Likewise.
19322 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19324         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19325         __ATAN_TWOM.
19326         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19328         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19329         their values.
19330         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19331         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19332         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19333         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19335 2012-12-28  Andreas Jaeger  <aj@suse.de>
19337         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
19338         values are from Linux 3.7.
19340         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19341         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
19343 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19345         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19346         TRUE case.
19348         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19349         (norm): Likewise.
19350         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19351         variables with preprocessor constants.
19352         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19353         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19354         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19356 2012-12-27  Bruno Haible  <bruno@clisp.org>
19358         [BZ #14317]
19359         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19360         only if needed.
19362 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19364         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19365         and use variable directly.
19366         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19368         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19369         MPONE.
19370         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19371         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19372         variable MPONE.
19373         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19374         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19375         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19376         include directive.  Remove local variable MPONE.
19377         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19378         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19379         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19381 2012-12-25  David S. Miller  <davem@davemloft.net>
19383         * version.h (RELEASE): Set to "development".
19384         (VERSION): Set to "2.17.90".
19385         * NEWS: Add 2.18 section.
19387 2012-12-21  David S. Miller  <davem@davemloft.net>
19389         * po/hr.po: Update from translation team.
19391 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19393         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19395 2012-12-19  Steve Ellcey  <sellcey@mips.com>
19397         * NEWS:  Mention new memcpy for MIPS.
19399 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19401         * manual/contrib.texi (Contributors): Spelling correction.
19403 2012-12-15  David S. Miller  <davem@davemloft.net>
19405         * po/ru.po: Update from translation team.
19407 2012-12-13  David S. Miller  <davem@davemloft.net>
19409         * NEWS: Mention IFUNC testsuite enhancements.
19411         * po/pl.po: Update from translation team.
19412         * po/bg.po: Likewise.
19414         * manual/contrib.texi (Contributors): Update entries for Hongjiu
19415         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
19417 2012-12-11  David S. Miller  <davem@davemloft.net>
19419         * po/sv.po: Update from translation team.
19421         * po/vi.po: Update from translation team.
19423         * po/cs.po: Update from translation team.
19425         * po/de.po: Update from translation team.
19426         * po/eo.po: Likewise.
19427         * po/nl.po: Likewise.
19429 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19431         [BZ #14246]
19432         * manual/argp.texi (Argp Helper Functions): Move node to follow
19433         Argp Parsing State.
19435         [BZ #14872]
19436         * manual/conf.texi (Limits on File System Capacity): Mention if
19437         terminating null is included in the max size.
19439 2012-12-10  Andreas Jaeger  <aj@suse.de>
19441         * po/cs.po: Update from translation team.
19443 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19445         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19446         void pointer and cast to uintptr_t.
19447         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19448         path.
19449         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19450         * sysdeps/s390/s390-64/memset.S: Likewise.
19452 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
19454         [BZ #14833]
19455         * menual/message.texi (Message Translation): Fix typos.
19456         (Helper programs for gettext): Likewise.
19458 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
19460         [BZ #14898]
19461         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19462         Change to -1.
19464 2012-12-07  David S. Miller  <davem@davemloft.net>
19466         * po/libc.pot: Update.
19468 2012-12-07  Richard Henderson  <rth@redhat.com>
19470         [BZ #10114]
19471         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19472         normal/normal case to before the switch.
19473         (_FP_DIV): Likewise.
19475 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
19476             Mike Frysinger  <vapier@gentoo.org>
19478         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19479         check for __NR_fadvise64_64.
19481 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
19483         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19484         0, not just to plain "0" as a statement.
19485         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19486         with cw.
19488 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
19490         * NEWS: Use sourceware.org in Bugzilla URL.
19492 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19495         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19497         * stdio-common/tst-put-error.c (do_test): Add newline to the
19498         padded test to ensure flush.
19500 2012-12-05  Jeff Law  <law@redhat.com>
19502         * sunrpc/etc.rpc (fedfs_admin): Add entry.
19504 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
19506         * README: Don't refer to ports add-on as distributed separately.
19507         Mention AArch64 in list of systems supported in the ports add-on.
19509         * LICENSES: Add more non-FSF copyright and license notices.
19511         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19512         ((unused)).
19514         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19516         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19517         10000 as width of padded output.
19519 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19521         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19523         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19524         variable LX with __attribute__ ((unused)).
19525         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19526         Likewise.
19527         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19529         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19530         with __attribute__ ((unused)).
19532 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
19534         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19536 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19538         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19539         (CFLAGS-nldbl-acos.c): New variable.
19540         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19541         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19542         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19543         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19544         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19545         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19546         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19547         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19548         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19549         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19550         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19551         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19552         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19553         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19554         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19555         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19556         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19557         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19558         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19559         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19560         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19561         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19562         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19563         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19564         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19565         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19566         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19567         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19568         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19569         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19570         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19571         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19572         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19573         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19574         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19575         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19576         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19577         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19578         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19579         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19580         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19581         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19582         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19583         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19584         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19585         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19586         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19587         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19588         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19589         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19590         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19591         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19592         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19593         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19594         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19595         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19596         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19597         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19598         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19599         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19600         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19601         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19602         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19603         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19604         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19605         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19606         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19607         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19608         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19609         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19610         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19611         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19612         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19613         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19614         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19615         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19616         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19617         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19618         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19619         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19620         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19621         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19622         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19623         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19624         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19625         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19626         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19627         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19628         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19629         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19630         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19631         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19632         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19633         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19634         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19635         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19636         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19639         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19641         [BZ #14914]
19642         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19643         whole low double instead of just low 47 bits when splitting values
19644         into two parts.
19646 2012-12-03  Allan McRae  <allan@archlinux.org>
19648         * manual/stdio.texi (Predefined Printf Handlers): Remove
19649         @hsep and @vsep usage.
19651 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
19653         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19654         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19656 2012-12-03  Jeff Law  <law@redhat.com>
19658         * time/sys/time.h (settimeofday): Do not mark TV argument
19659         as __nonnull.
19661 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
19663         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19664         when currently writing and seek to current position when not.
19665         * libio/Makefile (tests): Remove bug-fclose1.
19666         * libio/bug-fclose1.c: Delete.
19668 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
19670         * manual/arith.texi (feenableexcept): Fix typo.
19671         (fedisableexcept): Likewise.
19673 2012-11-30  Roland McGrath  <roland@hack.frob.com>
19675         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19676         second, differently-typed declaration, rather than a cast.
19678 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19680         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19681         * include/rpc/svc.h: ... here.
19683 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
19685         [BZ #13013]
19686         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19687         depending n and resplen2 to catch cases where answer
19688         equals answerp2.
19690 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
19692         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19693         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19695 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
19697         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19699 2012-11-29  Roland McGrath  <roland@hack.frob.com>
19701         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19703 2012-11-28  Jeff Law  <law@redhat.com>
19705         [BZ #13761]
19706         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19707         dataset_temporary.  Track alloca usage into alloca_used.
19708         If dataset is large allocate and release it via malloc/free.
19710 2012-06-04  Florian Weimer  <fweimer@redhat.com>
19712         [BZ #14197]
19713         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19715 2012-11-28  David S. Miller  <davem@davemloft.net>
19717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19719 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19721         [BZ #14803]
19722         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19723         of pi/2 rounded to nearest to 64 bits.
19724         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19725         nearest to 64 bits.
19726         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19727         bits.
19729 2012-11-28  Jeff Law <law@redhat.com>
19730             Martin Osvald <mosvald@redhat.com>
19732         [BZ #14889]
19733         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19734         * sunrpc/svc.c: Include time.h.
19735         (__svc_accept_failed): New function.
19736         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19737         any reason other than EINTR, call __svc_accept_failed.
19738         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19739         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19741 2012-11-28  Andreas Schwab  <schwab@suse.de>
19743         * scripts/abilist.awk: Also handle indirect functions in .opd
19744         section.
19746 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19748         [BZ #13881]
19749         * sysdeps/x86/fpu/powl_helper.c: New file.
19750         * sysdeps/x86/fpu/Makefile: Likewise.
19751         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19752         (p3): New object.
19753         (__ieee754_powl): Use __powl_helper for finite arguments except
19754         integer exponents below 8.
19755         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19756         (p3): New object.
19757         (__ieee754_powl): Use __powl_helper for finite arguments except
19758         integer exponents below 8.
19759         * math/libm-test.inc (pow_test): Add more tests and enable some
19760         previously disabled tests.
19761         * sysdeps/i386/fpu/libm-test-ulps: Update.
19762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19764 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19765             Carlos O'Donell  <carlos_odonell@mentor.com>
19767         * nss/makedb.c (is_prime): Assert that input is odd and greater
19768         than 4.  Note that fact in a comment too.
19769         (next_prime): Add 4 to input.
19771 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19773         [BZ #11741]
19774         * libio/Makefile (tests): Add test case tst-fwrite-error.
19775         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19776         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19777         * libio/tst-fwrite-error.c: New test case.
19779 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
19781         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19782         before casting to void *.
19783         * include/libc-internal.h (__pointer_type): New macro.
19784         (__integer_if_pointer_type_sub): Likewise.
19785         (__integer_if_pointer_type): Likewise.
19786         (cast_to_integer): Likewise.
19787         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19788         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19789         before casting to atomic64_t.
19790         (atomic_exchange_acq): Likewise.
19791         (__arch_exchange_and_add_body): Likewise.
19792         (__arch_add_body): Likewise.
19793         (atomic_add_negative): Likewise.
19794         (atomic_add_zero): Likewise.
19796 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
19798         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19799         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19800         (add_fdes): Likewise.
19801         (linear_search_fdes): Likewise.
19802         (binary_search_unencoded_fdes): Likewise.
19804 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
19806         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19808 2012-11-24  Adam Conrad  <adconrad@0c3.net>
19810         * configure.in: Autodetect C++ header directories.
19811         * configure: Regenerated.
19813 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
19815         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19817 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
19819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19821 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
19823         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19824         LDBL_MANT_DIG == 106]: Disable some tests.
19825         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19826         Likewise.
19827         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19828         Likewise.
19830         [BZ #14871]
19831         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19832         input for small inputs.  Return +/- pi/2 for large inputs.
19833         * math/libm-test.inc (atan_test): Add more tests.
19835         * sysdeps/generic/unwind-dw2-fde-glibc.c
19836         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19837         __attribute__ ((unused)).
19839         [BZ #14645]
19840         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19841         x * y if x and y are nonzero and z is zero.
19843         [BZ #14811]
19844         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19845         nonzero exponents with absolute value below 0x1p-117 to +/-
19846         0x1p-117.
19848         [BZ #14869]
19849         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19850         up arguments below 2**-450, not just those below 2**-500.
19851         * math/libm-test.inc (hypot_test): Add another test.
19853         [BZ #14868]
19854         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19855         Return a+b for ratio over 2**120, not 2**60.
19856         * math/libm-test.inc (hypot_test): Add another test.
19858         * math/libm-test.inc (clog_test): Use
19859         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19860         (clog10_test): Likewise.
19862         [BZ #6778]
19863         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19865 2012-11-22  Andreas Schwab  <schwab@suse.de>
19867         * sysdeps/i386/fpu/libm-test-ulps: Update.
19869 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
19871         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19872         printf output with newline.
19874 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
19876         [BZ #14865]
19877         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19878         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19879         -z nodlopen, -z initfirst and -z execstack support.
19880         * configure: Regenerated.
19882         * elf/elf.h (DF_1_NODIRECT): New macro.
19883         (DF_1_IGNMULDEF): Likewise.
19884         (DF_1_NOKSYMS): Likewise.
19885         (DF_1_NOHDR): Likewise.
19886         (DF_1_EDITED): Likewise.
19887         (DF_1_NORELOC): Likewise.
19888         (DF_1_SYMINTPOSE): Likewise.
19889         (DF_1_GLOBAUDIT): Likewise.
19890         (DF_1_SINGLETON): Likewise.
19891         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19892         DT_1_SUPPORTED_MASK bits.
19893         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19895 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
19897         * sysdeps/unix/make-syscalls.sh: Document prefixes.
19899 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
19901         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19902         macro.
19904         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19905         (sendmmsg): Move declarations...
19906         * socket/sys/socket.h: ... here.
19907         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19908         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19909         include it from...
19910         * socket/recvmmsg.c: ... this new file.
19911         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19912         (sendmmsg): Rename to __sendmmsg, create weak alias and make
19913         definition of __sendmmsg hidden.
19914         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19915         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19916         Move ENOSYS stub into and include it from...
19917         * socket/sendmmsg.c: ... this new file.
19918         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19919         (sysdep_routines): Move recvmmsg and sendmmsg...
19920         * socket/Makefile (routines): ... here.
19921         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19922         (GLIBC_PRIVATE): Add __sendmmsg.
19923         * include/sys/socket.h (__sendmmsg): Add declarations.
19924         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19925         sendmmsg.
19927 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
19929         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19930         variable I1 with __attribute__ ((unused)).
19931         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19933 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19935         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19936         DUMMY variables with __attribute__ ((unused)).
19938         * bits/byteswap.h: Include <bits/types.h>.
19939         (__bswap_64): Use __uint64_t instead of unsigned long long int.
19941 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19943         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19944         string_t.  Do not manually set errno.
19945         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19946         length with __strnlen.  Make sure to both set errno and return it on
19947         failure.
19949 2012-11-19  David S. Miller  <davem@davemloft.net>
19951         With help from Joseph Myers.
19952         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19953         very large arguments properly.
19954         * math/libm-test.inc (atan_test): New tests.
19955         (atan2_test): New tests.
19956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19959 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19961         [BZ #14856]
19962         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19963         Define to 3.
19965         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19966         [POSIX] (EADDRNOTAVAIL): Likewise.
19967         [POSIX] (EAFNOSUPPORT): Likewise.
19968         [POSIX] (EALREADY): Likewise.
19969         [POSIX] (ECONNABORTED): Likewise.
19970         [POSIX] (ECONNREFUSED): Likewise.
19971         [POSIX] (ECONNRESET): Likewise.
19972         [POSIX] (EDESTADDRREQ): Likewise.
19973         [POSIX] (EDQUOT): Likewise.
19974         [POSIX] (EHOSTUNREACH): Likewise.
19975         [POSIX] (EIDRM): Likewise.
19976         [POSIX] (EISCONN): Likewise.
19977         [POSIX] (ELOOP): Likewise.
19978         [POSIX] (EMULTIHOP): Likewise.
19979         [POSIX] (ENETDOWN): Likewise.
19980         [POSIX] (ENETUNREACH): Likewise.
19981         [POSIX] (ENOBUFS): Likewise.
19982         [POSIX] (ENODATA): Likewise.
19983         [POSIX] (ENOLINK): Likewise.
19984         [POSIX] (ENOMSG): Likewise.
19985         [POSIX] (ENOPROTOOPT): Likewise.
19986         [POSIX] (ENOSR): Likewise.
19987         [POSIX] (ENOSTR): Likewise.
19988         [POSIX] (ENOTCONN): Likewise.
19989         [POSIX] (ENOTSOCK): Likewise.
19990         [POSIX] (EOPNOTSUPP): Likewise.
19991         [POSIX] (EOVERFLOW): Likewise.
19992         [POSIX] (EPROTO): Likewise.
19993         [POSIX] (EPROTONOSUPPORT): Likewise.
19994         [POSIX] (EPROTOTYPE): Likewise.
19995         [POSIX] (ESTALE): Likewise.
19996         [POSIX] (ETIME): Likewise.
19997         [POSIX] (ETXTBSY): Likewise.
19998         [POSIX] (EWOULDBLOCK): Likewise.
19999         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20000         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20001         [POSIX] (SEEK_CUR): Likewise.
20002         [POSIX] (SEEK_END): Likewise.
20003         [POSIX || UNIX98] (mode_t): Do not require.
20004         [POSIX] (off_t): Likewise.
20005         [POSIX] (pid_t): Likewise.
20006         [POSIX] (sys/stat.h): Do not allow header.
20007         [POSIX] (unistd.h): Likewise.
20008         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20009         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20010         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20011         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20012         require.
20013         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20014         sigevent): Specify elements.
20015         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20016         entry.
20017         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20018         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20020         * conform/data/cpio.h-data [POSIX]: Disable whole file.
20021         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20022         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20023         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20024         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20025         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20026         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20027         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20028         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20029         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20030         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20031         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20032         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20033         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20034         Likewise.
20035         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20036         Likewise.
20037         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20038         Likewise.
20039         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20040         Likewise.
20041         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20042         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20043         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20044         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20045         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20046         Specify lower bound on value.
20047         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20048         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20049         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20050         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20051         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20052         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20053         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20054         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20055         value.
20056         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20057         as optional.
20058         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20059         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20060         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20061         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20062         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20063         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20064         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20065         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20066         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20067         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20068         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20069         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20070         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20071         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20072         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20073         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20074         entry.
20075         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20076         optional.
20077         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20078         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20079         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20080         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20081         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20082         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20083         Likewise.
20084         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20085         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20086         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20087         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20088         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
20089         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20090         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20091         as optional.
20092         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20093         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20094         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20095         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20096         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20097         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20098         specify as optional.
20099         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20100         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20101         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20102         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20103         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20104         [XPG3] (NL_LANGMAX): Likewise.
20105         [POSIX || XPG3] (NL_MSGMAX): Likewise.
20106         [POSIX || XPG3] (NL_NMAX): Likewise.
20107         [POSIX || XPG3] (NL_SETMAX): Likewise.
20108         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20109         [XPG3] (NZERO): Likewise.
20110         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20111         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20112         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20113         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20114         (REG_ERANGE): Expect.
20115         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20116         optional-constant.
20117         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20118         Use (void) in prototype.
20119         [POSIX] (*_t): Allow.
20120         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20121         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20122         (WRDE_BADVAL): Expect.
20124         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20125         expect.
20126         [XPG3 || XPG4] (O_RSYNC): Likewise.
20127         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20128         Likewise.
20129         [XPG3 || XPG4] (pthread_sigmask): Likewise.
20130         [XPG3 || XPG4] (sigqueue): Likewise.
20131         [XPG3 || XPG4] (sigtimedwait): Likewise.
20132         [XPG3 || XPG4] (sigwaitinfo): Likewise.
20133         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20134         [XPG3 || XPG4] (vsnprintf): Likewise.
20135         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20136         Likewise.
20137         [XPG3 || XPG4] (blksize_t): Likewise.
20138         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20139         Likewise.
20140         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20141         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20142         [XPG3 || XPG4] (struct itimerspec): Likewise.
20143         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20144         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20145         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20146         [XPG3 || XPG4] (clockid_t): Likewise.
20147         [XPG3 || XPG4] (timer_t): Likewise.
20148         [XPG3 || XPG4] (clock_getres): Likewise.
20149         [XPG3 || XPG4] (clock_gettime): Likewise.
20150         [XPG3 || XPG4] (clock_settime): Likewise.
20151         [XPG3 || XPG4] (nanosleep): Likewise.
20152         [XPG3 || XPG4] (timer_create): Likewise.
20153         [XPG3 || XPG4] (timer_delete): Likewise.
20154         [XPG3 || XPG4] (timer_gettime): Likewise.
20155         [XPG3 || XPG4] (timer_getoverrun): Likewise.
20156         [XPG3 || XPG4] (timer_settime): Likewise.
20157         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20158         [XPG3 || XPG4] (getlogin_r): Likewise.
20159         [XPG3 || XPG4] (pread): Likewise.
20160         [XPG3 || XPG4] (pthread_atfork): Likewise.
20161         [XPG3 || XPG4] (pwrite): Likewise.
20163         [BZ #14835]
20164         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20165         <bits/siginfo.h>.
20167 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
20169         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20170         finalizing MALLSTREAM.
20172         * sysdeps/mach/hurd/syncfs.c: New file.
20174 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20176         [BZ #14719]
20177         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20178         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20179         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20180         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20181         (_nss_dns_gethostbyname4_r): Likewise.
20182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20183         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20185 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
20187         [BZ #13763]
20188         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20190 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
20192         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20193         * elf/cache.c (print_entry): Print ",AArch64" for
20194         FLAG_AARCH64_LIB64
20196         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20197         * elf/cache.c (print_entry): Print ",hard-float" for
20198         FLAG_ARM_LIBHF.
20200 2012-11-18  David S. Miller  <davem@davemloft.net>
20202         With help from Joseph Myers.
20203         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20204         cutoff to 2**-13.
20205         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20206         cutoff to 2**-25.
20207         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20208         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20209         small.
20210         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20211         * math/libm-test.inc (y0_test): New tests.
20212         (y1_test): New tests.
20213         * sysdeps/i386/fpu/libm-test-ulps: Update.
20214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20217 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
20219         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20220         64-bit targets.
20221         * configure: Regenerated.
20223 2012-11-17  David S. Miller  <davem@davemloft.net>
20225         [BZ #14811]
20226         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20227         nonzero exponents with absolute value below 0x1p-128 to +/-
20228         0x1p-128.
20230 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
20232         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20234         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20236         * posix/getconf-speclist.c: New file.
20237         * posix/posix-envs.def: Likewise.
20238         * posix/confstr.c (START_ENV_GROUP): New macro.
20239         (END_ENV_GROUP): Likewise.
20240         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20241         (KNOWN_PRESENT_ENV_STRING): Likewise.
20242         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20243         (UNKNOWN_ENVIRONMENT): Likewise.
20244         (confstr): Include posix-envs.def instead of handling
20245         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20246         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20247         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20248         (END_ENV_GROUP): Likewise.
20249         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20250         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20251         (UNKNOWN_ENVIRONMENT): Likewise.
20252         (__sysconf): Include posix-envs.def instead of handling associated
20253         cases directly here.
20254         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20255         preprocessing getconf-speclist.c rather than running getconf or
20256         generating empty file.
20258 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
20260         * scripts/check-local-headers.sh: Ignore 'mach' headers.
20262 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
20264         [BZ #14672]
20265         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20267 2012-11-16  David S. Miller  <davem@davemloft.net>
20269         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20270         smaller than LDBL_EPSILON/2.0L, just return xm1.
20272 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
20274         * elf/tst-array1.c (init): Set constructor priority to 1000.
20275         (fini): Set destructor priority to 1000.
20276         * elf/tst-array2dep.c: Likewise.
20278 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20280         [BZ #11741]
20281         * libio/fileops.c (_IO_new_file_write): Correctly return error.
20282         (_IO_new_file_xsputn): Also return EOF if none of the input
20283         data was written when overflow failed.
20284         * libio/iopadn.c (_IO_padn): Likewise.
20285         * libio/iowpadn.c (_IO_wpadn): Likewise.
20286         * stdio-common/tst-put-error.c: Add copyright notice.
20287         (do_test): Add case for printing padded string.
20288         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20289         _IO_padn returned error.
20290         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20291         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20292         return EOF.
20294 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20296         * libio/libioP.h: Add comment note that the references to C++
20297         bits are now obsolete.
20299 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20301         * math/libm-test.inc (check_complex): Use asprintf.
20303 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
20305         * debug/pcprofiledump.c (print_version): Update copyright year.
20306         * malloc/memusagestat.c (print_version): Likewise.
20308 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20310         [BZ #14831]
20311         * elf/Makefile (tests): Add tst-audit8.
20312         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20313         ($(objpfx)tst-audit8.out): New target.
20314         (tst-audit8-ENV): New variable.
20315         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20316         audit if l_reloc_result is NULL.
20317         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20318         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20319         * elf/tst-audit8.c: New file.
20321 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20323         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20324         * misc/Makefile (CFLAGS-select.c): Define.
20325         * posix/Makefile (CFLAGS-pause.c): Define.
20327 2012-11-13  David S. Miller  <davem@davemloft.net>
20329         * crypt/Makefile: Move test targets after toplevel Rules
20330         inclusion.  Grab any necessary sysdep routines when linking.
20331         * crypt/md5.c (md5_process_block): Remove define, we will always
20332         name it __md5_process_block.
20333         (md5_finish_ctx): Update md5_process_block call.
20334         (md5_stream): Likewise.
20335         (md5_process_bytes): Likewise.
20336         (md5_process_block): Rename to __md5_process_block and move to ...
20337         * crypt/md5-block.c: ... here.
20338         * crypt/sha256.c (sha256_process_block): Move to ...
20339         * crypt/sha256-block.c: ... here.
20340         * crypt/sha512.c (sha512_process_block): Move to ...
20341         * crypt/sha512-block.c: ... here.
20342         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20343         path.
20344         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20345         * sysdeps/sparc/sparc64/multiarch/Makefile
20346         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20347         crypt subdir.
20348         (localedef-aux): Add md5 crypto assembler when in locale subdir.
20349         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20350         multiarch changes.
20351         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20352         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20353         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20354         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20355         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20356         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20357         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20358         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20359         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20360         file.
20361         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20362         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20363         file.
20364         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20366 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
20368         * timezone/tzselect.ksh: Update from tzcode git revision
20369         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20370         * timezone/zdump.c: Likewise.
20371         * timezone/zic.c: Likewise.
20372         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20373         in TZVERSION setting, not $(PKGVERSION).
20374         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
20375         REPORT_BUGS_TO settings.
20377         [BZ #14838]
20378         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20379         macro.
20381 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20383         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20384         detection to immediately after _FP_ROUND().
20385         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20386         bits are 0.
20388 2012-11-11  David S. Miller  <davem@davemloft.net>
20390         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20391         inttypes.h
20392         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20393         __close rather than their public counterparts.
20395 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
20397         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20398         file.
20399         [UNIX98] (sem_timedwait): Do not expect.
20400         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20401         [XPG4 || UNIX98] (sockatmark): Do not expect.
20402         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20403         (clock_getcpuclockid): Do not expect.
20404         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20405         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20406         Do not expect.
20407         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20408         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20409         [UNIX98] (vwscanf): Likewise.
20410         [UNIX98] (vswscanf): Likewise.
20412 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
20414         * timezone/version.h: Remove file.
20415         * timezone/README: Do not refer to version.h.
20416         * timezone/Makefile ($(objpfx)zic.o): New dependency on
20417         $(objpfx)version.h.
20418         ($(objpfx)zdump.o): Likewise.
20419         ($(objpfx)version.h): New target.
20421         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20422         2012i.
20423         * timezone/README: Don't mention modification to tzselect.ksh.
20424         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20425         work on unmodified tzselect.ksh.  Substitute version numbers in
20426         tzselect.ksh.
20428         * Makefile (format-me): Remove.
20429         (INSTALL): Adjust indentation.  Use commands directly instead of
20430         using $(format-me).
20432         * aclocal.m4 (ACX_PKGVERSION): New macro.
20433         (ACX_BUGURL): Likewise.
20434         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20435         (PKGVERSION): New AC_DEFINE_UNQUOTED.
20436         (REPORT_BUGS_TO): Likewise.
20437         * configure: Regenerated.
20438         * config.h.in (PKGVERSION): New macro.
20439         (REPORT_BUGS_TO): Likewise.
20440         * config.make.in (PKGVERSION): New variable.
20441         (PKGVERSION_TEXI): Likewise.
20442         (REPORT_BUGS_TO): Likewise.
20443         (REPORT_BUGS_TEXI): Likewise.
20444         * Makefile (format-me): Use -I$(common-objpfx)manual.
20445         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20446         ($(common-objpfx)manual/%): New target.
20447         (manual/%): Remove target.
20448         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20449         (print_version): Use PKGVERSION.
20450         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20451         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20452         and REPORT_BUGS_TO.
20453         ($(objpfx)xtrace): Likewise.
20454         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20455         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20456         (print_version): Use PKGVERSION.
20457         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20458         (do_version): Use PKGVERSION.
20459         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20460         REPORT_BUGS_TO.
20461         (common-ldd-rewrite): Likewise.
20462         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20463         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20464         (print_version): Use PKGVERSION.
20465         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20466         * elf/pldd.c (argp_program_bug_address): Remove variable.
20467         (more_help): New function.
20468         (argp): Use more_help.
20469         (print_version): Use PKGVERSION.
20470         * elf/sln.c (main): Use PKGVERSION.
20471         (usage): Use REPORT_BUGS_TO.
20472         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20473         (top level): Use PKGVERSION.
20474         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20475         (print_version): Use PKGVERSION.
20476         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20477         (print_version): Use PKGVERSION.
20478         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20479         (print_version): Use PKGVERSION.
20480         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20481         (print_version): Use PKGVERSION.
20482         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20483         (print_version): Use PKGVERSION.
20484         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20485         (print_version): Use PKGVERSION.
20486         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20487         and BUGURL.
20488         ($(objpfx)memusage): Likewise.
20489         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20490         (do_version): Use PKGVERSION.
20491         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20492         (print_version): Use PKGVERSION.
20493         * malloc/mtrace.pl ($PACKAGE): Remove variable.
20494         ($PKGVERSION): New variable.
20495         ($REPORT_BUGS_TO): Likewise.
20496         (usage): Use $REPORT_BUGS_TO.
20497         (top level): Use $PKGVERSION.
20498         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20499         ($(objpfx)pkgvers.texi): New rule.
20500         ($(objpfx)stamp-pkgvers): Likewise.
20501         * manual/install.texi: Include pkgvers.texi.
20502         (--with-pkgversion): Document new configure option.
20503         (--with-bugurl): Likewise.
20504         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20505         than necessarily for this particular distribution.  Use
20506         REPORT_BUGS_TO for where to report bugs.
20507         * INSTALL: Regenerated.
20508         * manual/libc.texinfo: Include pkgvers.texi.
20509         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20510         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20511         (print_version): Use PKGVERSION.
20512         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20513         (print_version): Use PKGVERSION.
20514         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20515         (print_version): Use PKGVERSION.
20516         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20517         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20518         macro.
20519         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20520         (print_version): Use PKGVERSION.
20521         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20522         (print_version): Use PKGVERSION.
20523         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20524         and PKGVERSION.
20526         * timezone/checktab.awk: Update from tzcode 2012i.
20527         * timezone/ialloc.c: Likewise.
20528         * timezone/private.h: Likewise.
20529         * timezone/scheck.c: Likewise.
20530         * timezone/tzfile.h: Likewise.
20531         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20532         (TZVERSION): Hardcode tzcode version number.
20533         * timezone/zdump.c: Update from tzcode 2012i.
20534         * timezone/zic.c: Likewise.
20535         * timezone/version.h: New file.
20536         * timezone/README: Describe version.h.  Update upstream location.
20538         [BZ #14824]
20539         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20540         (mktemp): Enable declaration.
20541         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20542         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20543         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20544         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20545         Likewise.
20546         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20547         Likewise.
20548         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20549         Likewise.
20550         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20551         Likewise.
20552         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20553         Likewise.
20554         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20555         Likewise.
20557         [BZ #14821]
20558         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20559         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
20560         for copies of such integer values.
20561         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20562         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20564 2012-11-09  Andreas Jaeger  <aj@suse.de>
20566         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20567         definitions and declarations that are provided by
20568         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20570 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20572         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20573         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20574         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20575         definition.
20577 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20579         * elf/elf.h: Update comment before AArch64 relocations.
20581 2012-11-07  David S. Miller  <davem@davemloft.net>
20583         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20584         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20585         (__start_context): Declare.
20586         (__makecontext_ret): Delete.
20587         (__makecontext): Hook up __start_context instead of
20588         __makecontext_ret.
20589         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20590         (sysdep_routines): Add __start_context when in stdlib.
20592 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20594         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20595         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20596         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
20597         hardcoded "nm".
20598         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
20599         (READELF): New variable.  Use it instead of hardcoded "readelf".
20601 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20603         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20604         * sysdeps/x86/Makefile: Here.
20605         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20606         * sysdeps/x86/tst-xmmymm.sh: This.
20608 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20610         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20611         expectations.
20612         [UNIX98] (pthread_barrier_t): Do not expect.
20613         [UNIX98] (pthread_barrierattr_t): Likewise.
20614         [UNIX98] (pthread_spinlock_t): Likewise.
20615         [UNIX98] (pthread_barrier_destroy): Likewise.
20616         [UNIX98] (pthread_barrier_init): Likewise.
20617         [UNIX98] (pthread_barrier_wait): Likewise.
20618         [UNIX98] (pthread_barrierattr_destroy): Likewise.
20619         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20620         [UNIX98] (pthread_barrierattr_init): Likewise.
20621         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20622         [UNIX98] (pthread_getcpuclockid): Likewise.
20623         [UNIX98] (pthread_mutex_timedlock): Likewise.
20624         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20625         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20626         [UNIX98] (pthread_sigmask): Likewise.
20627         [UNIX98] (pthread_spin_destroy): Likewise.
20628         [UNIX98] (pthread_spin_init): Likewise.
20629         [UNIX98] (pthread_spin_lock): Likewise.
20630         [UNIX98] (pthread_spin_trylock): Likewise.
20631         [UNIX98] (pthread_spin_unlock): Likewise.
20632         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20633         Do not expect.
20634         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20635         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20636         [XPG3 || XPG4] (pthread_cond_t): Likewise.
20637         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20638         [XPG3 || XPG4] (pthread_key_t): Likewise.
20639         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20640         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20641         [XPG3 || XPG4] (pthread_once_t): Likewise.
20642         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20643         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20644         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20645         [XPG3 || XPG4] (pthread_t): Likewise.
20647         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20648         not expect.
20649         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20651         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20652         Change function return type to int.
20654         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20655         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20656         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20657         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20658         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20659         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20660         [!POSIX] (posix_madvise): Likewise.
20661         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20662         && !UNIX98].
20663         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20664         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20665         (mode_t): Likewise.
20666         (posix_mem_offset): Likewise.
20667         (posix_typed_mem_get_info): Likewise.
20668         (posix_typed_mem_open): Likewise.
20670         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20671         Change condition to [XOPEN2K8].
20673         * conform/conformtest.pl: Preprocess allow-header data with -x c
20674         instead of from stdin.
20675         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20676         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20677         [C99-based standards] (cerfc): Likewise.
20678         [C99-based standards] (cexp2): Likewise.
20679         [C99-based standards] (cexpm1): Likewise.
20680         [C99-based standards] (clog10): Likewise.
20681         [C99-based standards] (clog1p): Likewise.
20682         [C99-based standards] (clog2): Likewise.
20683         [C99-based standards] (clgamma): Likewise.
20684         [C99-based standards] (ctgamma): Likewise.
20685         [C99-based standards] (cerff): Likewise.
20686         [C99-based standards] (cerfcf): Likewise.
20687         [C99-based standards] (cexp2f): Likewise.
20688         [C99-based standards] (cexpm1f): Likewise.
20689         [C99-based standards] (clog10f): Likewise.
20690         [C99-based standards] (clog1pf): Likewise.
20691         [C99-based standards] (clog2f): Likewise.
20692         [C99-based standards] (clgammaf): Likewise.
20693         [C99-based standards] (ctgammaf): Likewise.
20694         [C99-based standards] (cerfl): Likewise.
20695         [C99-based standards] (cerfcl): Likewise.
20696         [C99-based standards] (cexp2l): Likewise.
20697         [C99-based standards] (cexpm1l): Likewise.
20698         [C99-based standards] (clog10l): Likewise.
20699         [C99-based standards] (clog1pl): Likewise.
20700         [C99-based standards] (clog2l): Likewise.
20701         [C99-based standards] (clgammal): Likewise.
20702         [C99-based standards] (ctgammal): Likewise.
20703         * conform/data/inttypes.h-data [C99-based standards]: Include
20704         stdint.h-data.  Remove all expectations for stdint.h contents.
20705         [C99-based standards] (PRI*): Do not allow.
20706         [C99-based standards] (SCN*): Likewise.
20707         [C99-based standards] (*_t): Likewise.
20708         [C99-based-standards] (PRId8): Expect macro.
20709         [C99-based-standards] (PRIi8): Likewise.
20710         [C99-based-standards] (PRIo8): Likewise.
20711         [C99-based-standards] (PRIu8): Likewise.
20712         [C99-based-standards] (PRIx8): Likewise.
20713         [C99-based-standards] (PRIX8): Likewise.
20714         [C99-based-standards] (SCNd8): Likewise.
20715         [C99-based-standards] (SCNi8): Likewise.
20716         [C99-based-standards] (SCNo8): Likewise.
20717         [C99-based-standards] (SCNu8): Likewise.
20718         [C99-based-standards] (SCNx8): Likewise.
20719         [C99-based-standards] (PRIdLEAST8): Likewise.
20720         [C99-based-standards] (PRIiLEAST8): Likewise.
20721         [C99-based-standards] (PRIoLEAST8): Likewise.
20722         [C99-based-standards] (PRIuLEAST8): Likewise.
20723         [C99-based-standards] (PRIxLEAST8): Likewise.
20724         [C99-based-standards] (PRIXLEAST8): Likewise.
20725         [C99-based-standards] (SCNdLEAST8): Likewise.
20726         [C99-based-standards] (SCNiLEAST8): Likewise.
20727         [C99-based-standards] (SCNoLEAST8): Likewise.
20728         [C99-based-standards] (SCNuLEAST8): Likewise.
20729         [C99-based-standards] (SCNxLEAST8): Likewise.
20730         [C99-based-standards] (PRIdFAST8): Likewise.
20731         [C99-based-standards] (PRIiFAST8): Likewise.
20732         [C99-based-standards] (PRIoFAST8): Likewise.
20733         [C99-based-standards] (PRIuFAST8): Likewise.
20734         [C99-based-standards] (PRIxFAST8): Likewise.
20735         [C99-based-standards] (PRIXFAST8): Likewise.
20736         [C99-based-standards] (SCNdFAST8): Likewise.
20737         [C99-based-standards] (SCNiFAST8): Likewise.
20738         [C99-based-standards] (SCNoFAST8): Likewise.
20739         [C99-based-standards] (SCNuFAST8): Likewise.
20740         [C99-based-standards] (SCNxFAST8): Likewise.
20741         [C99-based-standards] (PRId16): Likewise.
20742         [C99-based-standards] (PRIi16): Likewise.
20743         [C99-based-standards] (PRIo16): Likewise.
20744         [C99-based-standards] (PRIu16): Likewise.
20745         [C99-based-standards] (PRIx16): Likewise.
20746         [C99-based-standards] (PRIX16): Likewise.
20747         [C99-based-standards] (SCNd16): Likewise.
20748         [C99-based-standards] (SCNi16): Likewise.
20749         [C99-based-standards] (SCNo16): Likewise.
20750         [C99-based-standards] (SCNu16): Likewise.
20751         [C99-based-standards] (SCNx16): Likewise.
20752         [C99-based-standards] (PRIdLEAST16): Likewise.
20753         [C99-based-standards] (PRIiLEAST16): Likewise.
20754         [C99-based-standards] (PRIoLEAST16): Likewise.
20755         [C99-based-standards] (PRIuLEAST16): Likewise.
20756         [C99-based-standards] (PRIxLEAST16): Likewise.
20757         [C99-based-standards] (PRIXLEAST16): Likewise.
20758         [C99-based-standards] (SCNdLEAST16): Likewise.
20759         [C99-based-standards] (SCNiLEAST16): Likewise.
20760         [C99-based-standards] (SCNoLEAST16): Likewise.
20761         [C99-based-standards] (SCNuLEAST16): Likewise.
20762         [C99-based-standards] (SCNxLEAST16): Likewise.
20763         [C99-based-standards] (PRIdFAST16): Likewise.
20764         [C99-based-standards] (PRIiFAST16): Likewise.
20765         [C99-based-standards] (PRIoFAST16): Likewise.
20766         [C99-based-standards] (PRIuFAST16): Likewise.
20767         [C99-based-standards] (PRIxFAST16): Likewise.
20768         [C99-based-standards] (PRIXFAST16): Likewise.
20769         [C99-based-standards] (SCNdFAST16): Likewise.
20770         [C99-based-standards] (SCNiFAST16): Likewise.
20771         [C99-based-standards] (SCNoFAST16): Likewise.
20772         [C99-based-standards] (SCNuFAST16): Likewise.
20773         [C99-based-standards] (SCNxFAST16): Likewise.
20774         [C99-based-standards] (PRId32): Likewise.
20775         [C99-based-standards] (PRIi32): Likewise.
20776         [C99-based-standards] (PRIo32): Likewise.
20777         [C99-based-standards] (PRIu32): Likewise.
20778         [C99-based-standards] (PRIx32): Likewise.
20779         [C99-based-standards] (PRIX32): Likewise.
20780         [C99-based-standards] (SCNd32): Likewise.
20781         [C99-based-standards] (SCNi32): Likewise.
20782         [C99-based-standards] (SCNo32): Likewise.
20783         [C99-based-standards] (SCNu32): Likewise.
20784         [C99-based-standards] (SCNx32): Likewise.
20785         [C99-based-standards] (PRIdLEAST32): Likewise.
20786         [C99-based-standards] (PRIiLEAST32): Likewise.
20787         [C99-based-standards] (PRIoLEAST32): Likewise.
20788         [C99-based-standards] (PRIuLEAST32): Likewise.
20789         [C99-based-standards] (PRIxLEAST32): Likewise.
20790         [C99-based-standards] (PRIXLEAST32): Likewise.
20791         [C99-based-standards] (SCNdLEAST32): Likewise.
20792         [C99-based-standards] (SCNiLEAST32): Likewise.
20793         [C99-based-standards] (SCNoLEAST32): Likewise.
20794         [C99-based-standards] (SCNuLEAST32): Likewise.
20795         [C99-based-standards] (SCNxLEAST32): Likewise.
20796         [C99-based-standards] (PRIdFAST32): Likewise.
20797         [C99-based-standards] (PRIiFAST32): Likewise.
20798         [C99-based-standards] (PRIoFAST32): Likewise.
20799         [C99-based-standards] (PRIuFAST32): Likewise.
20800         [C99-based-standards] (PRIxFAST32): Likewise.
20801         [C99-based-standards] (PRIXFAST32): Likewise.
20802         [C99-based-standards] (SCNdFAST32): Likewise.
20803         [C99-based-standards] (SCNiFAST32): Likewise.
20804         [C99-based-standards] (SCNoFAST32): Likewise.
20805         [C99-based-standards] (SCNuFAST32): Likewise.
20806         [C99-based-standards] (SCNxFAST32): Likewise.
20807         [C99-based-standards] (PRId64): Likewise.
20808         [C99-based-standards] (PRIi64): Likewise.
20809         [C99-based-standards] (PRIo64): Likewise.
20810         [C99-based-standards] (PRIu64): Likewise.
20811         [C99-based-standards] (PRIx64): Likewise.
20812         [C99-based-standards] (PRIX64): Likewise.
20813         [C99-based-standards] (SCNd64): Likewise.
20814         [C99-based-standards] (SCNi64): Likewise.
20815         [C99-based-standards] (SCNo64): Likewise.
20816         [C99-based-standards] (SCNu64): Likewise.
20817         [C99-based-standards] (SCNx64): Likewise.
20818         [C99-based-standards] (PRIdLEAST64): Likewise.
20819         [C99-based-standards] (PRIiLEAST64): Likewise.
20820         [C99-based-standards] (PRIoLEAST64): Likewise.
20821         [C99-based-standards] (PRIuLEAST64): Likewise.
20822         [C99-based-standards] (PRIxLEAST64): Likewise.
20823         [C99-based-standards] (PRIXLEAST64): Likewise.
20824         [C99-based-standards] (SCNdLEAST64): Likewise.
20825         [C99-based-standards] (SCNiLEAST64): Likewise.
20826         [C99-based-standards] (SCNoLEAST64): Likewise.
20827         [C99-based-standards] (SCNuLEAST64): Likewise.
20828         [C99-based-standards] (SCNxLEAST64): Likewise.
20829         [C99-based-standards] (PRIdFAST64): Likewise.
20830         [C99-based-standards] (PRIiFAST64): Likewise.
20831         [C99-based-standards] (PRIoFAST64): Likewise.
20832         [C99-based-standards] (PRIuFAST64): Likewise.
20833         [C99-based-standards] (PRIxFAST64): Likewise.
20834         [C99-based-standards] (PRIXFAST64): Likewise.
20835         [C99-based-standards] (SCNdFAST64): Likewise.
20836         [C99-based-standards] (SCNiFAST64): Likewise.
20837         [C99-based-standards] (SCNoFAST64): Likewise.
20838         [C99-based-standards] (SCNuFAST64): Likewise.
20839         [C99-based-standards] (SCNxFAST64): Likewise.
20840         [C99-based-standards] (PRIdMAX): Likewise.
20841         [C99-based-standards] (PRIiMAX): Likewise.
20842         [C99-based-standards] (PRIoMAX): Likewise.
20843         [C99-based-standards] (PRIuMAX): Likewise.
20844         [C99-based-standards] (PRIxMAX): Likewise.
20845         [C99-based-standards] (PRIXMAX): Likewise.
20846         [C99-based-standards] (SCNdMAX): Likewise.
20847         [C99-based-standards] (SCNiMAX): Likewise.
20848         [C99-based-standards] (SCNoMAX): Likewise.
20849         [C99-based-standards] (SCNuMAX): Likewise.
20850         [C99-based-standards] (SCNxMAX): Likewise.
20851         [C99-based-standards] (PRIdPTR): Likewise.
20852         [C99-based-standards] (PRIiPTR): Likewise.
20853         [C99-based-standards] (PRIoPTR): Likewise.
20854         [C99-based-standards] (PRIuPTR): Likewise.
20855         [C99-based-standards] (PRIxPTR): Likewise.
20856         [C99-based-standards] (PRIXPTR): Likewise.
20857         [C99-based-standards] (SCNdPTR): Likewise.
20858         [C99-based-standards] (SCNiPTR): Likewise.
20859         [C99-based-standards] (SCNoPTR): Likewise.
20860         [C99-based-standards] (SCNuPTR): Likewise.
20861         [C99-based-standards] (SCNxPTR): Likewise.
20862         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20863         allow.
20864         * conform/data/stdint.h-data: Update comments to clarify
20865         requirements.
20866         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
20867         type.
20868         [C99-based standards] (INT8_MAX): Likewise.
20869         [C99-based standards] (INT16_MIN): Likewise.
20870         [C99-based standards] (INT16_MAX): Likewise.
20871         [C99-based standards] (INT32_MIN): Likewise.
20872         [C99-based standards] (INT32_MAX): Likewise.
20873         [C99-based standards] (INT64_MIN): Likewise.
20874         [C99-based standards] (INT64_MAX): Likewise.
20875         [C99-based standards] (UINT8_MAX): Likewise.
20876         [C99-based standards] (UINT16_MAX): Likewise.
20877         [C99-based standards] (UINT32_MAX): Likewise.
20878         [C99-based standards] (UINT64_MAX): Likewise.
20879         [C99-based standards] (INT_LEAST8_MIN): Likewise.
20880         [C99-based standards] (INT_LEAST8_MAX): Likewise.
20881         [C99-based standards] (INT_LEAST16_MIN): Likewise.
20882         [C99-based standards] (INT_LEAST16_MAX): Likewise.
20883         [C99-based standards] (INT_LEAST32_MIN): Likewise.
20884         [C99-based standards] (INT_LEAST32_MAX): Likewise.
20885         [C99-based standards] (INT_LEAST64_MIN): Likewise.
20886         [C99-based standards] (INT_LEAST64_MAX): Likewise.
20887         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20888         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20889         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20890         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20891         [C99-based standards] (INT_FAST8_MIN): Likewise.
20892         [C99-based standards] (INT_FAST8_MAX): Likewise.
20893         [C99-based standards] (INT_FAST16_MIN): Likewise.
20894         [C99-based standards] (INT_FAST16_MAX): Likewise.
20895         [C99-based standards] (INT_FAST32_MIN): Likewise.
20896         [C99-based standards] (INT_FAST32_MAX): Likewise.
20897         [C99-based standards] (INT_FAST64_MIN): Likewise.
20898         [C99-based standards] (INT_FAST64_MAX): Likewise.
20899         [C99-based standards] (UINT_FAST8_MAX): Likewise.
20900         [C99-based standards] (UINT_FAST16_MAX): Likewise.
20901         [C99-based standards] (UINT_FAST32_MAX): Likewise.
20902         [C99-based standards] (UINT_FAST64_MAX): Likewise.
20903         [C99-based standards] (INTPTR_MIN): Likewise.
20904         [C99-based standards] (INTPTR_MAX): Likewise.
20905         [C99-based standards] (UINTPTR_MAX): Likewise.
20906         [C99-based standards] (INTMAX_MIN): Likewise.
20907         [C99-based standards] (INTMAX_MAX): Likewise.
20908         [C99-based standards] (UINTMAX_MAX): Likewise.
20909         [C99-based standards] (PTRDIFF_MIN): Likewise.
20910         [C99-based standards] (PTRDIFF_MAX): Likewise.
20911         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20912         [C99-based standards] (SIZE_MAX): Likewise.
20913         [C99-based standards] (WCHAR_MAX): Likewise.
20914         [C99-based standards] (WINT_MAX): Likewise.
20915         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
20916         constraint on value.
20917         [C99-based standards] (WCHAR_MIN): Likewise.
20918         [C99-based standards] (WINT_MIN): Likewise.
20919         [C99-based standards] (*_t): Allow.
20920         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20921         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20922         Include math.h-data and complex.h-data.  Remove all expectations
20923         of math.h and complex.h contents.
20924         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20925         at end of line.
20926         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20927         (struct tm): Expect tag.
20928         [C99-based-standards] (wcstof): Expect function.
20929         [C99-based-standards] (wcstold): Likewise.
20930         [C99-based-standards] (wcstoll): Likewise.
20931         [C99-based-standards] (wcstoull): Likewise.
20932         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20933         macro-int-constant.  Specify type.
20934         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
20935         constraint on value.
20936         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20937         Specify type.
20938         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20939         Specify value.
20940         [ISO C standards]: Do not allow headers.
20941         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20942         wcs[abcdefghijklmnopqrstuvwxyz]*.
20943         [ISO C standards] (*_t): Do not allow.
20944         * conform/data/wctype.h-data [C99-based standards] (iswblank):
20945         Expect function.
20946         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20947         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20948         Specify type.
20949         [ISO C standards]: Do not allow headers.
20950         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20951         is[abcdefghijklmnopqrstuvwxyz]*.
20952         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20953         to[abcdefghijklmnopqrstuvwxyz]*.
20954         [ISO C standards] (*_t): Do not allow.
20955         * conform/data/stdalign.h-data: New file.
20956         * conform/data/stdbool.h-data: Likewise.
20957         * conform/data/stdnoreturn.h-data: Likewise.
20959 2012-11-07  Roland McGrath  <roland@hack.frob.com>
20961         [BZ #14815]
20962         * manual/filesys.texi (Directory Entries): Typo fix.
20963         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20965 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20967         * elf/elf.h (EM_AARCH64): New macro.
20968         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20969         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20970         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20971         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20972         (R_AARCH64_TLSDESC): Likewise.
20973         (NT_ARM_TLS): Likewise.
20974         (NT_ARM_HW_BREAK): Likewise.
20975         (NT_ARM_HW_WATCH): Likewise.
20977 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20979         [BZ #14811]
20980         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20981         (__ieee754_powl): Saturate nonzero exponents with absolute value
20982         below 0x1p-79 to +/- 0x1p-79.
20983         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20984         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20985         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20986         nonzero exponents with absolute value below 0x1p-32 to +/-
20987         0x1p-32.
20988         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20989         (__ieee754_powl): Saturate nonzero exponents with absolute value
20990         below 0x1p-79 to +/- 0x1p-79.
20991         * math/libm-test.inc (pow_test): Add more tests.
20993 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20995         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20996         _dl_s390_cap_flags with kernel. Increase string length.
20997         (_dl_s390_platforms): Add z196 and zEC12.
20999 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
21001         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21002         Change XOPEN21K to XOPEN2K.
21004 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
21006         * string/memmove.c: Use memcpy when possible.
21008 2012-11-06  Andreas Jaeger  <aj@suse.de>
21010         * po/eo.po: Update from translation team.
21012 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
21014         [BZ #14793]
21015         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21016         exponent and small x and y exponents, scale x or y up.  Increase
21017         by 2 the exponent used in scaling up.
21018         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21019         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21020         * math/libm-test.inc (fma_test): Add more tests.
21021         (fma_test_towardzero): Likewise.
21022         (fma_test_downward): Likewise.
21023         (fma_test_upward): Likewise.
21025 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
21027         [BZ #14805]
21028         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21029         fenv_t *.
21031         [BZ #14801]
21032         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21033         namespace for names of struct fields.
21034         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21035         fenv_t fields.
21036         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21037         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21039 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21041         [BZ #3665]
21042         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21044 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21046         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21047         PTR_DEMANGLE.
21049         [BZ #5246]
21050         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21051         PTR_DEMANGLE.
21053 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
21055         [BZ #14797]
21056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21057         definitely overflow as x * y not x * y + z.
21058         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21059         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21060         * math/libm-test.inc (fma_test): Add more tests.
21061         (fma_test_towardzero): Likewise.
21062         (fma_test_downward): Likewise.
21063         (fma_test_upward): Likewise.
21065 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
21067         [BZ #157]
21069         * include/stub-tag.h: Remove file.
21070         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21071         '#include' of it.
21072         * manual/maint.texi (Porting): Don't reference it.
21073         * Makerules ($(objpfx)stubs): Likewise.
21074         * dirent/closedir.c: Don't include <stub-tag.h>.
21075         * dirent/dirfd.c: Likewise.
21076         * dirent/fdopendir.c: Likewise.
21077         * dirent/getdents.c: Likewise.
21078         * dirent/getdents64.c: Likewise.
21079         * dirent/opendir.c: Likewise.
21080         * dirent/readdir.c: Likewise.
21081         * dirent/readdir64.c: Likewise.
21082         * dirent/readdir64_r.c: Likewise.
21083         * dirent/readdir_r.c: Likewise.
21084         * dirent/rewinddir.c: Likewise.
21085         * dirent/seekdir.c: Likewise.
21086         * dirent/telldir.c: Likewise.
21087         * gmon/profil.c: Likewise.
21088         * grp/setgroups.c: Likewise.
21089         * inet/if_index.c: Likewise.
21090         * io/access.c: Likewise.
21091         * io/chdir.c: Likewise.
21092         * io/chmod.c: Likewise.
21093         * io/chown.c: Likewise.
21094         * io/close.c: Likewise.
21095         * io/dup.c: Likewise.
21096         * io/dup2.c: Likewise.
21097         * io/dup3.c: Likewise.
21098         * io/euidaccess.c: Likewise.
21099         * io/faccessat.c: Likewise.
21100         * io/fchdir.c: Likewise.
21101         * io/fchmod.c: Likewise.
21102         * io/fchmodat.c: Likewise.
21103         * io/fchown.c: Likewise.
21104         * io/fchownat.c: Likewise.
21105         * io/fcntl.c: Likewise.
21106         * io/flock.c: Likewise.
21107         * io/fstatfs.c: Likewise.
21108         * io/fstatfs64.c: Likewise.
21109         * io/fstatvfs.c: Likewise.
21110         * io/fstatvfs64.c: Likewise.
21111         * io/futimens.c: Likewise.
21112         * io/fxstat.c: Likewise.
21113         * io/fxstat64.c: Likewise.
21114         * io/fxstatat.c: Likewise.
21115         * io/fxstatat64.c: Likewise.
21116         * io/getcwd.c: Likewise.
21117         * io/isatty.c: Likewise.
21118         * io/lchmod.c: Likewise.
21119         * io/lchown.c: Likewise.
21120         * io/link.c: Likewise.
21121         * io/linkat.c: Likewise.
21122         * io/lseek.c: Likewise.
21123         * io/lseek64.c: Likewise.
21124         * io/lxstat64.c: Likewise.
21125         * io/mkdir.c: Likewise.
21126         * io/mkdirat.c: Likewise.
21127         * io/mkfifo.c: Likewise.
21128         * io/mkfifoat.c: Likewise.
21129         * io/open.c: Likewise.
21130         * io/open64.c: Likewise.
21131         * io/openat.c: Likewise.
21132         * io/openat64.c: Likewise.
21133         * io/pipe.c: Likewise.
21134         * io/pipe2.c: Likewise.
21135         * io/poll.c: Likewise.
21136         * io/posix_fadvise.c: Likewise.
21137         * io/posix_fadvise64.c: Likewise.
21138         * io/posix_fallocate.c: Likewise.
21139         * io/posix_fallocate64.c: Likewise.
21140         * io/read.c: Likewise.
21141         * io/readlink.c: Likewise.
21142         * io/readlinkat.c: Likewise.
21143         * io/rmdir.c: Likewise.
21144         * io/sendfile.c: Likewise.
21145         * io/sendfile64.c: Likewise.
21146         * io/statfs.c: Likewise.
21147         * io/statfs64.c: Likewise.
21148         * io/statvfs.c: Likewise.
21149         * io/statvfs64.c: Likewise.
21150         * io/symlink.c: Likewise.
21151         * io/symlinkat.c: Likewise.
21152         * io/ttyname.c: Likewise.
21153         * io/ttyname_r.c: Likewise.
21154         * io/umask.c: Likewise.
21155         * io/unlink.c: Likewise.
21156         * io/unlinkat.c: Likewise.
21157         * io/utime.c: Likewise.
21158         * io/utimensat.c: Likewise.
21159         * io/write.c: Likewise.
21160         * io/xmknod.c: Likewise.
21161         * io/xmknodat.c: Likewise.
21162         * io/xstat.c: Likewise.
21163         * io/xstat64.c: Likewise.
21164         * login/getpt.c: Likewise.
21165         * login/grantpt.c: Likewise.
21166         * login/unlockpt.c: Likewise.
21167         * math/e_acoshl.c: Likewise.
21168         * math/e_acosl.c: Likewise.
21169         * math/e_asinl.c: Likewise.
21170         * math/e_atan2l.c: Likewise.
21171         * math/e_atanhl.c: Likewise.
21172         * math/e_coshl.c: Likewise.
21173         * math/e_expl.c: Likewise.
21174         * math/e_fmodl.c: Likewise.
21175         * math/e_gammal_r.c: Likewise.
21176         * math/e_hypotl.c: Likewise.
21177         * math/e_j0l.c: Likewise.
21178         * math/e_j1l.c: Likewise.
21179         * math/e_jnl.c: Likewise.
21180         * math/e_lgammal_r.c: Likewise.
21181         * math/e_log10l.c: Likewise.
21182         * math/e_log2l.c: Likewise.
21183         * math/e_logl.c: Likewise.
21184         * math/e_powl.c: Likewise.
21185         * math/e_rem_pio2l.c: Likewise.
21186         * math/e_sinhl.c: Likewise.
21187         * math/e_sqrtl.c: Likewise.
21188         * math/fclrexcpt.c: Likewise.
21189         * math/fedisblxcpt.c: Likewise.
21190         * math/feenablxcpt.c: Likewise.
21191         * math/fegetenv.c: Likewise.
21192         * math/fegetexcept.c: Likewise.
21193         * math/fegetround.c: Likewise.
21194         * math/feholdexcpt.c: Likewise.
21195         * math/fesetenv.c: Likewise.
21196         * math/fesetround.c: Likewise.
21197         * math/feupdateenv.c: Likewise.
21198         * math/fgetexcptflg.c: Likewise.
21199         * math/fraiseexcpt.c: Likewise.
21200         * math/fsetexcptflg.c: Likewise.
21201         * math/ftestexcept.c: Likewise.
21202         * math/k_cosl.c: Likewise.
21203         * math/k_rem_pio2l.c: Likewise.
21204         * math/k_sinl.c: Likewise.
21205         * math/k_tanl.c: Likewise.
21206         * math/s_asinhl.c: Likewise.
21207         * math/s_atanl.c: Likewise.
21208         * math/s_cbrtl.c: Likewise.
21209         * math/s_erfl.c: Likewise.
21210         * math/s_expm1l.c: Likewise.
21211         * math/s_log1pl.c: Likewise.
21212         * math/s_tanhl.c: Likewise.
21213         * misc/acct.c: Likewise.
21214         * misc/brk.c: Likewise.
21215         * misc/chflags.c: Likewise.
21216         * misc/chroot.c: Likewise.
21217         * misc/fchflags.c: Likewise.
21218         * misc/fgetxattr.c: Likewise.
21219         * misc/flistxattr.c: Likewise.
21220         * misc/fremovexattr.c: Likewise.
21221         * misc/fsetxattr.c: Likewise.
21222         * misc/fsync.c: Likewise.
21223         * misc/ftruncate.c: Likewise.
21224         * misc/futimes.c: Likewise.
21225         * misc/futimesat.c: Likewise.
21226         * misc/getdomain.c: Likewise.
21227         * misc/getdtsz.c: Likewise.
21228         * misc/gethostid.c: Likewise.
21229         * misc/gethostname.c: Likewise.
21230         * misc/getloadavg.c: Likewise.
21231         * misc/getpagesize.c: Likewise.
21232         * misc/getsysstats.c: Likewise.
21233         * misc/getxattr.c: Likewise.
21234         * misc/gtty.c: Likewise.
21235         * misc/ioctl.c: Likewise.
21236         * misc/lgetxattr.c: Likewise.
21237         * misc/listxattr.c: Likewise.
21238         * misc/llistxattr.c: Likewise.
21239         * misc/lremovexattr.c: Likewise.
21240         * misc/lsetxattr.c: Likewise.
21241         * misc/lutimes.c: Likewise.
21242         * misc/madvise.c: Likewise.
21243         * misc/mincore.c: Likewise.
21244         * misc/mlock.c: Likewise.
21245         * misc/mlockall.c: Likewise.
21246         * misc/mmap.c: Likewise.
21247         * misc/mprotect.c: Likewise.
21248         * misc/msync.c: Likewise.
21249         * misc/munlock.c: Likewise.
21250         * misc/munlockall.c: Likewise.
21251         * misc/munmap.c: Likewise.
21252         * misc/preadv.c: Likewise.
21253         * misc/preadv64.c: Likewise.
21254         * misc/ptrace.c: Likewise.
21255         * misc/pwritev.c: Likewise.
21256         * misc/pwritev64.c: Likewise.
21257         * misc/readv.c: Likewise.
21258         * misc/reboot.c: Likewise.
21259         * misc/remap_file_pages.c: Likewise.
21260         * misc/removexattr.c: Likewise.
21261         * misc/revoke.c: Likewise.
21262         * misc/select.c: Likewise.
21263         * misc/setdomain.c: Likewise.
21264         * misc/setegid.c: Likewise.
21265         * misc/seteuid.c: Likewise.
21266         * misc/sethostid.c: Likewise.
21267         * misc/sethostname.c: Likewise.
21268         * misc/setregid.c: Likewise.
21269         * misc/setreuid.c: Likewise.
21270         * misc/setxattr.c: Likewise.
21271         * misc/sstk.c: Likewise.
21272         * misc/stty.c: Likewise.
21273         * misc/swapoff.c: Likewise.
21274         * misc/swapon.c: Likewise.
21275         * misc/sync.c: Likewise.
21276         * misc/syncfs.c: Likewise.
21277         * misc/syscall.c: Likewise.
21278         * misc/truncate.c: Likewise.
21279         * misc/ualarm.c: Likewise.
21280         * misc/usleep.c: Likewise.
21281         * misc/ustat.c: Likewise.
21282         * misc/utimes.c: Likewise.
21283         * misc/vhangup.c: Likewise.
21284         * misc/writev.c: Likewise.
21285         * posix/_exit.c: Likewise.
21286         * posix/alarm.c: Likewise.
21287         * posix/execve.c: Likewise.
21288         * posix/fexecve.c: Likewise.
21289         * posix/fork.c: Likewise.
21290         * posix/fpathconf.c: Likewise.
21291         * posix/getaddrinfo.c: Likewise.
21292         * posix/getegid.c: Likewise.
21293         * posix/geteuid.c: Likewise.
21294         * posix/getgid.c: Likewise.
21295         * posix/getgroups.c: Likewise.
21296         * posix/getlogin.c: Likewise.
21297         * posix/getlogin_r.c: Likewise.
21298         * posix/getpgid.c: Likewise.
21299         * posix/getpid.c: Likewise.
21300         * posix/getppid.c: Likewise.
21301         * posix/getresgid.c: Likewise.
21302         * posix/getresuid.c: Likewise.
21303         * posix/getsid.c: Likewise.
21304         * posix/getuid.c: Likewise.
21305         * posix/glob64.c: Likewise.
21306         * posix/nanosleep.c: Likewise.
21307         * posix/pathconf.c: Likewise.
21308         * posix/pause.c: Likewise.
21309         * posix/posix_madvise.c: Likewise.
21310         * posix/pread.c: Likewise.
21311         * posix/pread64.c: Likewise.
21312         * posix/pwrite.c: Likewise.
21313         * posix/pwrite64.c: Likewise.
21314         * posix/sched_getaffinity.c: Likewise.
21315         * posix/sched_getp.c: Likewise.
21316         * posix/sched_gets.c: Likewise.
21317         * posix/sched_primax.c: Likewise.
21318         * posix/sched_primin.c: Likewise.
21319         * posix/sched_rr_gi.c: Likewise.
21320         * posix/sched_setaffinity.c: Likewise.
21321         * posix/sched_setp.c: Likewise.
21322         * posix/sched_sets.c: Likewise.
21323         * posix/sched_yield.c: Likewise.
21324         * posix/setgid.c: Likewise.
21325         * posix/setlogin.c: Likewise.
21326         * posix/setpgid.c: Likewise.
21327         * posix/setresgid.c: Likewise.
21328         * posix/setresuid.c: Likewise.
21329         * posix/setsid.c: Likewise.
21330         * posix/setuid.c: Likewise.
21331         * posix/sleep.c: Likewise.
21332         * posix/spawni.c: Likewise.
21333         * posix/sysconf.c: Likewise.
21334         * posix/times.c: Likewise.
21335         * posix/wait.c: Likewise.
21336         * posix/wait3.c: Likewise.
21337         * posix/wait4.c: Likewise.
21338         * posix/waitpid.c: Likewise.
21339         * resolv/gai_sigqueue.c: Likewise.
21340         * resource/getpriority.c: Likewise.
21341         * resource/getrlimit.c: Likewise.
21342         * resource/getrusage.c: Likewise.
21343         * resource/nice.c: Likewise.
21344         * resource/setpriority.c: Likewise.
21345         * resource/setrlimit.c: Likewise.
21346         * resource/ulimit.c: Likewise.
21347         * rt/aio_cancel.c: Likewise.
21348         * rt/aio_fsync.c: Likewise.
21349         * rt/aio_read.c: Likewise.
21350         * rt/aio_sigqueue.c: Likewise.
21351         * rt/aio_suspend.c: Likewise.
21352         * rt/aio_write.c: Likewise.
21353         * rt/clock_getres.c: Likewise.
21354         * rt/clock_gettime.c: Likewise.
21355         * rt/clock_nanosleep.c: Likewise.
21356         * rt/clock_settime.c: Likewise.
21357         * rt/lio_listio.c: Likewise.
21358         * rt/mq_close.c: Likewise.
21359         * rt/mq_getattr.c: Likewise.
21360         * rt/mq_notify.c: Likewise.
21361         * rt/mq_open.c: Likewise.
21362         * rt/mq_receive.c: Likewise.
21363         * rt/mq_send.c: Likewise.
21364         * rt/mq_setattr.c: Likewise.
21365         * rt/mq_timedreceive.c: Likewise.
21366         * rt/mq_timedsend.c: Likewise.
21367         * rt/mq_unlink.c: Likewise.
21368         * rt/shm_open.c: Likewise.
21369         * rt/shm_unlink.c: Likewise.
21370         * rt/timer_create.c: Likewise.
21371         * rt/timer_delete.c: Likewise.
21372         * rt/timer_getoverr.c: Likewise.
21373         * rt/timer_gettime.c: Likewise.
21374         * rt/timer_settime.c: Likewise.
21375         * setjmp/__longjmp.c: Likewise.
21376         * setjmp/setjmp.c: Likewise.
21377         * signal/kill.c: Likewise.
21378         * signal/killpg.c: Likewise.
21379         * signal/raise.c: Likewise.
21380         * signal/sigaction.c: Likewise.
21381         * signal/sigaltstack.c: Likewise.
21382         * signal/sigblock.c: Likewise.
21383         * signal/sigignore.c: Likewise.
21384         * signal/sigintr.c: Likewise.
21385         * signal/signal.c: Likewise.
21386         * signal/sigpause.c: Likewise.
21387         * signal/sigpending.c: Likewise.
21388         * signal/sigqueue.c: Likewise.
21389         * signal/sigreturn.c: Likewise.
21390         * signal/sigset.c: Likewise.
21391         * signal/sigsetmask.c: Likewise.
21392         * signal/sigstack.c: Likewise.
21393         * signal/sigsuspend.c: Likewise.
21394         * signal/sigtimedwait.c: Likewise.
21395         * signal/sigvec.c: Likewise.
21396         * signal/sigwait.c: Likewise.
21397         * signal/sigwaitinfo.c: Likewise.
21398         * signal/sysv_signal.c: Likewise.
21399         * socket/accept.c: Likewise.
21400         * socket/accept4.c: Likewise.
21401         * socket/bind.c: Likewise.
21402         * socket/connect.c: Likewise.
21403         * socket/getpeername.c: Likewise.
21404         * socket/getsockname.c: Likewise.
21405         * socket/getsockopt.c: Likewise.
21406         * socket/isfdtype.c: Likewise.
21407         * socket/listen.c: Likewise.
21408         * socket/recv.c: Likewise.
21409         * socket/recvfrom.c: Likewise.
21410         * socket/recvmsg.c: Likewise.
21411         * socket/send.c: Likewise.
21412         * socket/sendmsg.c: Likewise.
21413         * socket/sendto.c: Likewise.
21414         * socket/setsockopt.c: Likewise.
21415         * socket/shutdown.c: Likewise.
21416         * socket/sockatmark.c: Likewise.
21417         * socket/socket.c: Likewise.
21418         * socket/socketpair.c: Likewise.
21419         * stdio-common/ctermid.c: Likewise.
21420         * stdio-common/cuserid.c: Likewise.
21421         * stdio-common/remove.c: Likewise.
21422         * stdio-common/rename.c: Likewise.
21423         * stdio-common/renameat.c: Likewise.
21424         * stdio-common/tempname.c: Likewise.
21425         * stdlib/getcontext.c: Likewise.
21426         * stdlib/makecontext.c: Likewise.
21427         * stdlib/setcontext.c: Likewise.
21428         * stdlib/swapcontext.c: Likewise.
21429         * stdlib/system.c: Likewise.
21430         * streams/fattach.c: Likewise.
21431         * streams/fdetach.c: Likewise.
21432         * streams/getmsg.c: Likewise.
21433         * streams/getpmsg.c: Likewise.
21434         * streams/putmsg.c: Likewise.
21435         * streams/putpmsg.c: Likewise.
21436         * sysdeps/unix/bsd/getpt.c: Likewise.
21437         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21438         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21439         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21441         Likewise.
21442         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21443         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21444         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21445         * sysvipc/msgctl.c: Likewise.
21446         * sysvipc/msgget.c: Likewise.
21447         * sysvipc/msgrcv.c: Likewise.
21448         * sysvipc/msgsnd.c: Likewise.
21449         * sysvipc/semctl.c: Likewise.
21450         * sysvipc/semget.c: Likewise.
21451         * sysvipc/semop.c: Likewise.
21452         * sysvipc/semtimedop.c: Likewise.
21453         * sysvipc/shmat.c: Likewise.
21454         * sysvipc/shmctl.c: Likewise.
21455         * sysvipc/shmdt.c: Likewise.
21456         * sysvipc/shmget.c: Likewise.
21457         * termios/tcdrain.c: Likewise.
21458         * termios/tcflow.c: Likewise.
21459         * termios/tcflush.c: Likewise.
21460         * termios/tcgetattr.c: Likewise.
21461         * termios/tcgetpgrp.c: Likewise.
21462         * termios/tcsendbrk.c: Likewise.
21463         * termios/tcsetattr.c: Likewise.
21464         * termios/tcsetpgrp.c: Likewise.
21465         * time/adjtime.c: Likewise.
21466         * time/clock.c: Likewise.
21467         * time/getitimer.c: Likewise.
21468         * time/gettimeofday.c: Likewise.
21469         * time/setitimer.c: Likewise.
21470         * time/settimeofday.c: Likewise.
21471         * time/stime.c: Likewise.
21472         * time/time.c: Likewise.
21474 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
21476         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21477         /usr/old/bin.
21479         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21480         instead of spaces.
21481         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21483 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
21485         [BZ #14796]
21486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21487         FE_TONEAREST before applying Dekker multiplication and Knuth
21488         addition.  Clear inexact exceptions and check for exact zero
21489         results afterwards.
21490         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21491         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21492         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21493         * math/libm-test.inc (fma_test): Add more tests.
21494         (fma_test_towardzero): Likewise.
21495         (fma_test_downward): Likewise.
21496         (fma_test_upward): Likewise.
21497         * sysdeps/generic/math_private.h (default_libc_fesetround): New
21498         function.
21499         (libc_fesetround): New macro.
21500         (libc_fesetroundf): Likewise.
21501         (libc_fesetroundl): Likewise.
21502         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21503         function.
21504         (libc_fesetround_387): Likewise.
21505         (libc_fesetroundf): New macro.
21506         (libc_fesetround): Likewise.
21507         (libc_fesetroundl): Likewise.
21508         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21509         function.
21510         (libc_fesetroundf): New macro.
21511         (libc_fesetround): Likewise.
21512         (libc_fesetroundl): Likewise.
21513         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21514         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21515         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21516         libm_hidden_ver.
21517         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21518         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21519         libm_hidden_def.
21520         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21521         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21522         libm_hidden_ver.
21523         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21524         libm_hidden_def.
21526         [BZ #3439]
21527         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21528         integer constant usable in #if and use that to give value to enum
21529         constant.
21530         (FE_DIVBYZERO): Likewise.
21531         (FE_UNDERFLOW): Likewise.
21532         (FE_OVERFLOW): Likewise.
21533         (FE_INVALID): Likewise.
21534         (FE_INVALID_SNAN): Likewise.
21535         (FE_INVALID_ISI): Likewise.
21536         (FE_INVALID_IDI): Likewise.
21537         (FE_INVALID_ZDZ): Likewise.
21538         (FE_INVALID_IMZ): Likewise.
21539         (FE_INVALID_COMPARE): Likewise.
21540         (FE_INVALID_SOFTWARE): Likewise.
21541         (FE_INVALID_SQRT): Likewise.
21542         (FE_INVALID_INTEGER_CONVERSION): Likewise.
21543         (FE_TONEAREST): Likewise.
21544         (FE_TOWARDZERO): Likewise.
21545         (FE_UPWARD): Likewise.
21546         (FE_DOWNWARD): Likewise.
21547         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21548         (FE_DIVBYZERO): Likewise.
21549         (FE_OVERFLOW): Likewise.
21550         (FE_UNDERFLOW): Likewise.
21551         (FE_INEXACT): Likewise.
21552         (FE_TONEAREST): Likewise.
21553         (FE_DOWNWARD): Likewise.
21554         (FE_UPWARD): Likewise.
21555         (FE_TOWARDZERO): Likewise.
21556         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21557         (FE_UNDERFLOW): Likewise.
21558         (FE_OVERFLOW): Likewise.
21559         (FE_DIVBYZERO): Likewise.
21560         (FE_INVALID): Likewise.
21561         (FE_TONEAREST): Likewise.
21562         (FE_TOWARDZERO): Likewise.
21563         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21564         (FE_OVERFLOW): Likewise.
21565         (FE_UNDERFLOW): Likewise.
21566         (FE_DIVBYZERO): Likewise.
21567         (FE_INEXACT): Likewise.
21568         (FE_TONEAREST): Likewise.
21569         (FE_TOWARDZERO): Likewise.
21570         (FE_UPWARD): Likewise.
21571         (FE_DOWNWARD): Likewise.
21572         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21573         (FE_DIVBYZERO): Likewise.
21574         (FE_OVERFLOW): Likewise.
21575         (FE_UNDERFLOW): Likewise.
21576         (FE_INEXACT): Likewise.
21577         (FE_TONEAREST): Likewise.
21578         (FE_DOWNWARD): Likewise.
21579         (FE_UPWARD): Likewise.
21580         (FE_TOWARDZERO): Likewise.
21582 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
21584         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21586 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
21588         * scripts/cross-test-ssh.sh (command): Use newlines to separate
21589         commands.  Quote $PWD.
21590         (blacklist_exports): Don't use remove_newlines.  Replace "declare
21591         -x" by "export".
21592         (remove_newlines): Remove.
21594 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
21596         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21597         * stdlib/stdlib.h (atof): Moved to ...
21598         * include/bits/stdlib-float.h: Here.  New file.
21599         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21600         * stdlib/bits/stdlib-float.h: New file.
21601         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21602         -mno-sse -mno-mmx.
21603         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21604         <xmmintrin.h>.
21606 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21608         * conform/conformtest.pl (@headers): Add fenv.h.
21609         * conform/data/fenv.h-data: New file.
21610         * include/fenv.h [_ISOMAC]: Disable all contents of file except
21611         include of <math/fenv.h>.
21613         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21614         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21615         && !UNIX98].  Enables tests for XOPEN2K8.
21616         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21617         POSIX2008]: Likewise.
21619         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21620         (struct rusage): Do not expect type or its members.
21622         [BZ #3439]
21623         * math/math.h (FP_NAN): Define macro to integer constant usable in
21624         #if and use that to give value to enum constant.
21625         (FP_INFINITE): Likewise.
21626         (FP_ZERO): Likewise.
21627         (FP_SUBNORMAL): Likewise.
21628         (FP_NORMAL): Likewise.
21630 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
21632         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21633         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21634         arguments.
21636 2012-11-02  Roland McGrath  <roland@hack.frob.com>
21638         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21639         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21640         autoconf-time if not.
21641         * configure.in: Remove AC_PREREQ.
21643 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21645         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21646         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21647         of the internal implementation.
21649 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21651         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21652         except include of <misc/sys/syslog.h>.
21654 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21657         function returns with a NULL context exit with zero.
21659 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21661         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21663 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
21665         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21666         (run_program_cmd): This.
21667         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21668         (tst_langinfo): New variable.  Use it.
21670 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
21672         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21673         floating point opcodes.
21675 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21677         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21678         variable.
21680         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21682         * sysdeps/mach/hurd/powerpc: Remove directory.
21683         * sysdeps/mach/powerpc: Likewise.
21685 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21687         * scripts/check-local-headers.sh: Ignore c++ headers.
21689 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21691         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21692         __libc_cleanup_region_start argument.
21694 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
21696         [BZ #14784]
21697         [BZ #14785]
21698         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21699         x * y using scaling, not as x * y + z.
21700         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21701         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21702         * math/libm-test.inc (fma_test): Add more tests.
21703         (fma_test_towardzero): Likewise.
21704         (fma_test_downward): Likewise.
21705         (fma_test_upward): Likewise.
21707 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21709         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21711 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21713         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21714         New variable.
21716 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
21718         * rt/tst-shm.c (worker): Correct checking for mmap failure.
21720 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21723         Fix sort order.
21724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21725         Likewise.
21727 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21730         Fix the order of the list for glibc 2.17.
21731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21732         Likewise.
21734 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21738 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21740         [BZ #14610]
21741         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21742         for low part of x being zero before using __atanl (y).
21743         * math/libm-test.inc (atan2_test): Add another test.
21745         * manual/install.texi (Configuring and compiling): Document
21746         general use of test-wrapper and test-wrapper-env.
21747         * INSTALL: Regenerated.
21749         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21750         (__fma): Do not extract and scale down low bits on after-rounding
21751         systems when result rounded to normal precision would have normal
21752         exponent.
21753         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21754         (__fmal): Do not extract and scale down low bits on after-rounding
21755         systems when result rounded to normal precision would have normal
21756         exponent.
21757         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21758         (__fmal): Do not extract and scale down low bits on after-rounding
21759         systems when result rounded to normal precision would have normal
21760         exponent.
21761         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21762         macro.
21763         (fma_test): Add more tests.
21764         (fma_test_towardzero): Likewise.
21765         (fma_test_downward): Likewise.
21766         (fma_test_upward): Likewise.
21768 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
21770         * sysdeps/i386/tininess.h: Renamed to ...
21771         * sysdeps/x86/tininess.h: This.
21772         * sysdeps/x86_64/tininess.h: Removed.
21774 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21776         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21777         input.  Use $(build-program-cmd).
21778         ($(objpfx)tst-array1-static.out): Likewise.
21779         ($(objpfx)tst-array2.out): Likewise.
21780         ($(objpfx)tst-array3.out): Likewise.
21781         ($(objpfx)tst-array4.out): Likewise.
21782         ($(objpfx)tst-array5.out): Likewise.
21783         ($(objpfx)tst-array5-static.out): Likewise.
21785 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
21787         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21788         if defined.
21790         * nss/nsswitch.h (nss_interface_function): Provide new
21791         macro for use with NSS functions.
21792         * grp/initgroups.c: Use new macro.
21793         * nss/getXXbyYY.c: Likewise.
21794         * nss/getXXbyYY_r.c: Likewise.
21795         * nss/getXXent.c: Likewise.
21796         * nss/getXXent_r.c: Likewise.
21797         * sysdeps/posix/getaddrinfo.c: Likewise.
21799 2012-10-30  Andreas Jaeger  <aj@suse.de>
21801         * po/ru.po: Update Russion translation from translation project.
21803 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21805         [BZ #14152]
21806         [BZ #14783]
21807         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21808         result and shift together with sticky bit instead of replicating
21809         round-to-nearest rounding.
21810         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21811         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21812         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
21813         missing underflow exceptions.
21814         (fma_test_towardzero): Add more tests.
21815         (fma_test_downward): Likewise.
21816         (fma_test_upward): Likewise.
21818         [BZ #14047]
21819         * sysdeps/generic/tininess.h: New file.
21820         * sysdeps/i386/tininess.h: Likewise.
21821         * sysdeps/sh/tininess.h: Likewise.
21822         * sysdeps/x86_64/tininess.h: Likewise.
21823         * stdlib/tst-strtod-underflow.c: Likewise.
21824         * stdlib/tst-tininess.c: Likewise.
21825         * stdlib/strtod_l.c: Include <tininess.h>.
21826         (round_and_return): Do not set errno for exact underflow cases.
21827         Force an underflow exception when setting errno for underflow.
21828         Determine underflow based on rounding to normal precision if
21829         TININESS_AFTER_ROUNDING.
21830         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21831         ERANGE for exact underflow cases.
21832         * stdlib/Makefile (tests): Add tst-tininess and
21833         tst-strtod-underflow.
21834         ($(objpfx)tst-tininess): Use $(link-libm).
21835         ($(objpfx)tst-strtod-underflow): Likewise.
21837 2012-10-30  Andreas Jaeger  <aj@suse.de>
21839         [BZ#14767]
21840         * elf/Makefile (tests): Remove conditional for have-initfini-array
21841         since this is now always required and the variable does not exist
21842         anymore.
21843         (tests-static): Likewise.
21844         (modules-names): Likewise.
21846         * po/eo.po: Add Esperanto translation from translation project.
21848         * elf/tst-array1.c (fini_array): Make writeable so that it can be
21849         merged with constructor/destructor.
21850         (init_array): Likewise.
21851         * elf/tst-array2dep.c (fini_array): Likewise.
21852         (init_array): Likewise.
21854 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
21856         * manual/message.texi: Delete @cartouche tags.
21858 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
21860         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21861         EOPNOTSUPP.
21862         * sysdeps/mach/hurd/fsync.c: Likewise.
21864         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21865         [_POSIX_REALTIME_SIGNALS]: Change condition to
21866         [_POSIX_REALTIME_SIGNALS > 0].
21868 2012-10-27  Andreas Jaeger  <aj@suse.de>
21870         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21871         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21872         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21873         [__WORDSIZE != 64]: Likewise.
21875 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
21877         *  iconvdata/tst-table.sh: Remove ${SHELL}.
21878         *  iconvdata/tst-tables.sh: Likewise.
21880 2012-10-25  David S. Miller  <davem@davemloft.net>
21882         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21883         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21884         of strtoull.
21886         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21887         ifunc-impl-list.c
21888         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21889         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21890         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21891         file.
21893 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21895         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21896         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21897         __getdirentries.
21899 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21900             Jim Blandy  <jimb@codesourcery.com>
21902         * scripts/cross-test-ssh.sh: New file.
21903         * manual/install.texi (Configuring and compiling): Document use of
21904         cross-test-ssh.sh.
21905         * INSTALL: Regenerated.
21907 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
21909         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21910         EOPNOTSUPP.
21912 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21914         * Makeconfig (run-program-prefix): Fix comment.
21916 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21917             Jim Blandy  <jimb@codesourcery.com>
21919         * Makeconfig (test-wrapper): New variable,
21920         (test-wrapper-env): Likewise.
21921         [$(cross-compiling) = yes && $(test-wrapper) != ""]
21922         (run-built-tests): Define to yes.
21923         (run-program-prefix): Use $(test-wrapper).
21924         (built-program-cmd): Likewise.
21925         * Rules (make-test-out): Use $(test-wrapper-env) and
21926         $(host-built-program-cmd).
21927         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21928         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21929         tst-pathopt.sh.
21930         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21931         $(test-wrapper-env) to tst-rtld-load-self.sh.
21932         ($(objpfx)order2.out): Use $(test-wrapper).
21933         ($(objpfx)tst-initorder.out): Likewise.
21934         ($(objpfx)tst-initorder2.out): Likewise.
21935         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21936         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21937         (test_wrapper_env): New variable.  Use it to run ld.so.
21938         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21939         Use it to run ld.so.
21940         (test_wrapper_env): Likewise.
21941         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21942         $(test-wrapper) to run-iconv-test.sh.
21943         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21944         (ICONV): Use $test_wrapper.
21945         * posix/Makefile ($(objpfx)globtest.out): Pass
21946         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21947         globtest.sh, not $(run-program-prefix).
21948         * posix/globtest.sh (run_via_rtld_prefix): New variable.
21949         (test_wrapper): Likewise.
21950         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
21951         set together with run_via_rtld_prefix.
21952         (run_program_prefix): Define in terms of test_wrapper and
21953         run_via_rtld_prefix.
21955 2012-10-24  Roland McGrath  <roland@hack.frob.com>
21957         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21958         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21959         Targets removed.
21961         [BZ #14743]
21962         * include/time.h: Remove librt_hidden_proto (clock_gettime).
21963         Declare __clock_getres, __clock_gettime, __clock_settime,
21964         __clock_nanosleep, and __clock_getcpuclockid.
21965         * rt/clock_gettime.c: Define __clock_gettime as an alias.
21966         Remove librt_hidden_def (clock_gettime).
21967         * sysdeps/unix/clock_gettime.c: Likewise.
21968         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21969         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21970         * rt/clock_getres.c: Define __clock_getres as an alias.
21971         * sysdeps/posix/clock_getres.c: Likewise.
21972         * rt/clock_settime.c: Define __clock_settime as an alias.
21973         * sysdeps/unix/clock_settime.c: Likewise.
21974         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21975         * sysdeps/unix/clock_nanosleep.c: Likewise.
21976         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21977         * rt/clock-compat.c: New file.
21978         * rt/Makefile (librt-routines): Add clock-compat and move
21979         $(clock-routines) to ...
21980         (routines): ... here, new variable.
21981         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21982         Don't add get_clockfreq here.
21983         * rt/Versions (libc: GLIBC_2.17): New version set.
21984         Add clock_* symbols here.
21985         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
21986         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21987         (GLIBC_2.17): Add clock_* symbols.
21988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21990         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21992         Likewise.
21993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21994         Likewise.
21995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21999         * NEWS: Mention the move.
22001         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22002         Use __open, __read, __close rather than their public counterparts.
22003         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22004         (__get_clockfreq_via_cpuinfo): Likewise.
22005         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22006         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22008         * config.h.in (HAVE_IFUNC): New #undef.
22009         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22010         was successful.
22011         * configure: Regenerated.
22013 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22015         * configure.in: Move READELF check to start of file.
22016         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22017         libc_cv_asm_gnu_indirect_function in the process.
22018         * configure: Regenerated.
22020 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
22022         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22023         send the output to /dev/null.
22024         (libc_cv_cc_with_libunwind): Likewise.
22025         (libc_cv_as_noexecstack): Likewise.
22026         * configure: Regenerate.
22028 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
22030         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22032         * posix/globtest.sh (TMPDIR): Do not set.
22033         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22034         (testout): Likewise.
22036 2012-10-24  Andreas Jaeger  <aj@suse.de>
22038         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22039         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22040         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22041         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22042         posix_fadvise64, posix_fallocate64.
22044         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22045         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22046         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22047         Likewise.
22048         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22049         Likewise.
22050         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22052         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22053         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22054         <bits/fcntl-linux.h>.
22055         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22058         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22059         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22060         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22061         [__WORDSIZE != 64]: Likewise.
22063 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22065         * Makeconfig (run-built-tests): New variable.
22066         * Rules [$(cross-compiling) = yes]: Change condition to
22067         [$(run-built-tests) = no].
22068         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22069         to [$(run-built-tests) = yes].
22070         * elf/Makefile [$(cross-compiling) = no]: Likewise
22071         * grp/Makefile [$(cross-compiling) = no]: Likewise.
22072         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22073         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22074         * intl/Makefile [$(cross-compiling) = no]: Likewise.
22075         * io/Makefile [$(cross-compiling) = no]: Likewise.
22076         * libio/Makefile [$(cross-compiling) = no]: Likewise.
22077         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22078         * misc/Makefile [$(cross-compiling) = no]: Likewise.
22079         * posix/Makefile [$(cross-compiling) = no]: Likewise.
22080         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22081         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22082         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22083         * string/Makefile [$(cross-compiling) = no]: Likewise.
22085         * posix/Makefile ($(objpfx)globtest.out): Pass
22086         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22087         $(rtld-installed-name).
22088         * posix/globtest.sh (elf_objpfx): Remove variable.
22089         (rtld_installed_name): Likewise.
22090         (library_path): Likewise.
22091         (run_program_prefix): New variable.  Use for running globtest
22092         binary.
22094 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
22095             Joseph Myers  <joseph@codesourcery.com>
22097         * Makeconfig (host-built-program-cmd): New variable.
22098         * elf/Makefile (tst-stackguard1-ARGS): Use
22099         $(host-built-program-cmd).
22100         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22101         (tst-spawn-ARGS): Likewise.
22102         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22104 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
22105             Jim Blandy  <jimb@codesourcery.com>
22107         * Makeconfig (run-via-rtld-prefix): New variable.
22108         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22109         (built-program-cmd): Likewise.
22111 2012-10-22  Andreas Jaeger  <aj@suse.de>
22113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22114         __O_RSYNC if it exists, otherwise to O_SYNC.
22116 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
22117             Joseph Myers  <joseph@codesourcery.com>
22119         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22120         /dev/null.
22121         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22122         from /dev/null
22123         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22124         /dev/null.
22126 2012-10-22  Andreas Jaeger  <aj@suse.de>
22128         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22129         Define always.
22130         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22133         bits/fcntl-linux.h.
22135         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22136         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22138         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22139         to __O_LARGEFILE.
22140         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22141         to __O_LARGEFILE.
22143 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
22144             Joseph Myers  <joseph@codesourcery.com>
22146         * config.make.in (NM): New variable.
22148 2012-10-21  Andreas Jaeger  <aj@suse.de>
22150         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22151         definitions and declarations that are provided by
22152         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22154 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22156         [BZ #14683]
22157         * elf/Makefile (tests-static): Add tst-leaks1-static.
22158         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22159         ($(objpfx)tst-leaks1-static): New rule.
22160         ($(objpfx)tst-leaks1-static-mem): Likewise.
22161         (tst-leaks1-static-ENV): New macro.
22162         * elf/dl-open.c (dl_open_worker): Check the main application
22163         only if SHARED is defined.
22164         * elf/tst-leaks1-static.c: New file.
22166 2012-10-20  Andreas Jaeger  <aj@suse.de>
22168         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22169         generic values for Linux.
22170         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22171         and declarations that are provided by <bits/fcntl-linux.h> and
22172         include <bits/fcntl-linux.h>.
22173         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22176 2012-10-20  Roland McGrath  <roland@hack.frob.com>
22178         * io/fcntl.h: Move include of <bits/types.h> to the top and
22179         include it unconditionally.
22181 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22183         * wcsmbs/Makefile (tests-ifunc): New variable.
22184         (tests): Add $(tests-ifunc).
22185         * wcsmbs/test-wcschr-ifunc.c: New file.
22186         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22187         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22188         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22189         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22190         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22192         * string/Makefile (tests-ifunc): New variable.
22193         (tests): Add $(tests-ifunc).
22194         * string/test-memccpy.c (TEST_NAME): New macro.
22195         * string/test-memchr.c (TEST_NAME): Likewise.
22196         * string/test-memcmp.c (TEST_NAME): Likewise.
22197         * string/test-memcpy.c (TEST_NAME): Likewise.
22198         * string/test-memmem.c (TEST_NAME): Likewise.
22199         * string/test-memmove.c (TEST_NAME): Likewise.
22200         * string/test-memset.c (TEST_NAME): Likewise.
22201         * string/test-rawmemchr.c (TEST_NAME): Likewise.
22202         * string/test-stpcpy.c (TEST_NAME): Likewise.
22203         * string/test-stpncpy.c (TEST_NAME): Likewise.
22204         * string/test-strcasecmp.c (TEST_NAME): Likewise.
22205         * string/test-strcasestr.c (TEST_NAME): Likewise.
22206         * string/test-strcat.c (TEST_NAME): Likewise.
22207         * string/test-strchr.c (TEST_NAME): Likewise.
22208         * string/test-strcmp.c(TEST_NAME): Likewise.
22209         * string/test-strcpy.c (TEST_NAME): Likewise.
22210         * string/test-strcspn.c (TEST_NAME): Likewise.
22211         * string/test-strlen.c (TEST_NAME): Likewise.
22212         * string/test-strncasecmp.c (TEST_NAME): Likewise.
22213         * string/test-strncmp.c (TEST_NAME): Likewise.
22214         * string/test-strncpy.c (TEST_NAME): Likewise.
22215         * string/test-strnlen.c (TEST_NAME): Likewise.
22216         * string/test-strpbrk.c (TEST_NAME): Likewise.
22217         * string/test-strrchr.c (TEST_NAME): Likewise.
22218         * string/test-strspn.c (TEST_NAME): Likewise.
22219         * string/test-strstr.c (TEST_NAME): Likewise.
22220         * string/test-bcopy-ifunc.c: New file.
22221         * string/test-bzero-ifunc.c: Likewise.
22222         * string/test-memccpy-ifunc.c: Likewise.
22223         * string/test-memchr-ifunc.c: Likewise.
22224         * string/test-memcmp-ifunc.c: Likewise.
22225         * string/test-memcpy-ifunc.c: Likewise.
22226         * string/test-memmem-ifunc.c: Likewise.
22227         * string/test-memmove-ifunc.c: Likewise.
22228         * string/test-mempcpy-ifunc.c: Likewise.
22229         * string/test-memset-ifunc.c: Likewise.
22230         * string/test-rawmemchr-ifunc.c: Likewise.
22231         * string/test-stpcpy-ifunc.c: Likewise.
22232         * string/test-stpncpy-ifunc.c: Likewise.
22233         * string/test-strcasecmp-ifunc.c: Likewise.
22234         * string/test-strcasestr-ifunc.c: Likewise.
22235         * string/test-strcat-ifunc.c: Likewise.
22236         * string/test-strchr-ifunc.c: Likewise.
22237         * string/test-strchrnul-ifunc.c: Likewise.
22238         * string/test-strcmp-ifunc.c: Likewise.
22239         * string/test-strcpy-ifunc.c: Likewise.
22240         * string/test-strcspn-ifunc.c: Likewise.
22241         * string/test-strlen-ifunc.c: Likewise.
22242         * string/test-strncasecmp-ifunc.c: Likewise.
22243         * string/test-strncat-ifunc.c: Likewise.
22244         * string/test-strncmp-ifunc.c: Likewise.
22245         * string/test-strncpy-ifunc.c: Likewise.
22246         * string/test-strnlen-ifunc.c: Likewise.
22247         * string/test-strpbrk-ifunc.c: Likewise.
22248         * string/test-strrchr-ifunc.c: Likewise.
22249         * string/test-strspn-ifunc.c: Likewise.
22250         * string/test-strstr-ifunc.c: Likewise.
22252         * debug/Makefile (tests-ifunc): New variable.
22253         (tests): Add $(tests-ifunc).
22254         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22255         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22256         * debug/test-stpcpy_chk-ifunc.c: New file.
22257         * debug/test-strcpy_chk-ifunc.c: Likewise.
22259 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22261         [BZ #13601]
22262         * elf/dl-load.c (open_verify): Retry read if the entire ELF
22263         header is not read in.
22265 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
22267         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
22268         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
22269         directly.  Pass built executable to script as
22270         $(built-program-cmd).
22271         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
22272         $testprogram without using LD_LIBRARY_PATH and $ldso.
22274         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22275         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22276         $(rtld-installed-name).
22277         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22278         (rtld_installed_name): Likewise.
22279         (library_path): Likewise.
22280         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
22281         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22282         $(run-program-prefix) to tst-tables.sh.
22283         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
22284         it to run tst-table-from and tst-table-to.
22285         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22286         Pass it to tst-table.sh.
22287         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22288         $(run-program-prefix) to tst-gettext.sh.
22289         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22290         tst-translit.sh.
22291         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22292         tst-gettext2.sh.
22293         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
22294         to run tst-gettext.
22295         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
22296         to run tst-gettext2.
22297         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
22298         to run tst-translit.
22299         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22300         $(run-program-prefix) to tst-mtrace.sh.
22301         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
22302         to run tst-mtrace.
22303         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22304         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22305         $(rtld-installed-name).
22306         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22307         (rtld_installed_name): Likewise.
22308         (run_program_prefix): New variable.  Use it to run wordexp-test.
22310         * Makeconfig (ARCH): Remove all definitions.
22311         (machine): Likewise.
22312         [ARCH]: Remove conditional code.
22313         [!objdir]: Give error.
22314         [!objdir] (objpfx): Remove.
22315         [!objdir] (common-objpfx): Likewise.
22316         [!objdir] (common-objdir): Likewise.
22317         * configure.in (config_makefile): Remove.  Hardcode Makefile in
22318         AC_CONFIG_FILES call.
22319         * configure: Regenerated.
22321         [BZ #13888]
22322         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22323         or TMPDIR.
22324         (testout): Likewise.
22326         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22327         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22328         $(rtld-installed-name).
22329         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22330         (rtld_installed_name): Likwise.
22331         (runit): Remove function.
22332         (run_getconf): New variable,  Use it for running getconf binary.
22334 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
22336         [BZ #14716]
22337         * string/test-memmem.c (check_result): New function.
22338         (do_one_test): Use it.
22339         (check1): New function.
22340         (test_main): Use it.
22342 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
22344         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22346 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
22348         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22349         (_G_LSEEK64): Likewise.
22350         (_G_MMAP64): Likewise.
22351         (_G_FSTAT64): Likewise.
22352         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22353         (_G_LSEEK64): Likewise.
22354         (_G_MMAP64): Likewise.
22355         (_G_FSTAT64): Likewise.
22356         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22357         unconditional.  Call __mmap64 directly.
22358         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22359         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
22360         __lseek64 directly.
22361         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22362         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
22363         __mmap64 directly.
22364         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22365         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22366         __lseek64 directly.
22367         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22368         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22369         __lseek64 directly.
22370         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22371         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
22372         __lseek64 directly.
22373         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22374         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
22375         __fxstat64 directly.
22376         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22377         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22378         unconditional.
22379         (freopen64) [!_G_OPEN64]: Remove conditional code.
22380         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22381         unconditional.
22382         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22383         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22384         unconditional.
22385         (ftello64) [!_G_LSEEK64]: Remove conditional code.
22386         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22387         unconditional.
22388         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22389         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22390         unconditional.
22391         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22392         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22393         unconditional.
22394         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22395         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22396         unconditional.
22397         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22398         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22399         unconditional.
22400         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22402 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22404         [BZ #12140]
22405         * manual/memory.texi (Malloc Tunable Parameters): Add note
22406         about free list pointers overwriting some perturb bytes.
22407         Wording suggested by Roland McGrath.
22409 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
22411         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22412         (lgamma_test): Likewise.
22413         (tgamma_test): Likewise.
22415 2012-10-16  Florian Weimer  <fweimer@redhat.com>
22417         [BZ #14700]
22418         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22419         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22421 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
22423         * NEWS: Mention BZ #14716.
22424         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22425         when removing AVAILABLE1_USES_J macro.
22427 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
22429         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22430         (__bswap_64): __uint64_t for unsigned 64-bit int.
22432 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
22434         * include/string.h (memmem): Declare libc hidden alias.
22435         * string/memmem.c (memmem): Define libc hidden alias.
22436         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22437         __read, __close instead of open, read, close.
22439 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
22441         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22442         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22443         global and hidden.
22444         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22445         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22446         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22447         Likewise.
22448         (__rawmemchr_sse2): Likewise.
22449         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22450         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22451         (__strchr_sse2): Likewise.
22452         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22453         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22454         (__strcasecmp_sse2): Likewise.
22455         (__strncasecmp_sse2): Likewise.
22456         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22457         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22458         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22459         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22460         (__strrchr_sse2): Likewise.
22461         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22462         ifunc-impl-list.c.
22463         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22464         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22465         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22466         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22467         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22468         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22469         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22470         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22471         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22472         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22473         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22474         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22475         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22476         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22477         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22478         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22479         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22480         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22481         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22482         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22483         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22484         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22485         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22486         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22487         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22488         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22489         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22490         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22491         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22492         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22494         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22495         global and hidden.
22496         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22497         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22498         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22499         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22500         Likewise.
22501         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22502         Likewise.
22503         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22504         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22505         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22506         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22507         ifunc-impl-list.c.
22508         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22509         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22510         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22511         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22512         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22513         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22514         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22515         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22516         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22517         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22518         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22519         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22520         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22521         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22522         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22523         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22524         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22525         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22526         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22527         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22528         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22529         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22530         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22531         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22532         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22533         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22534         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22535         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22536         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22537         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22538         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22539         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22540         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22541         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22542         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22543         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22544         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22545         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22546         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22547         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22548         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22550         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22551         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22552         * include/ifunc-impl-list.h: New file.
22553         * misc/ifunc-impl-list.c: Likewise.
22554         * misc/Makefile (routines): Add ifunc-impl-list.
22555         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22556         * string/test-string.h: Include <ifunc-impl-list.h>.
22557         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22558         impl_array): New variables.
22559         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22560         are defined.
22561         (test_init): Call __libc_ifunc_impl_list to initialize
22562         func_list if TEST_IFUNC and TEST_NAME are defined.
22564         * string/Makefile (strop-tests): Add bcopy and bzero.
22565         * string/test-bcopy.c: New file.
22566         * string/test-bzero.c: Likewise.
22567         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22568         defined.
22569         * string/test-memset.c: Support bzero test if TEST_BZERO is
22570         defined.
22571         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22572         __libc_memmove.
22573         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22574         __libc_memset.
22575         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22576         of memset.
22578 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
22580         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22581         * configure: Regenerated.
22583         * Makeconfig (+link-static-before-libc): Don't include
22584         $(link-static-libc).
22586         * libio/libio.h (_IO_pos_t): Remove.
22588 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22590         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
22591         McGrath.
22593 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22595         * crypt/crypt-entry.c: Include fips-private.h.
22596         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22597         * crypt/md5c-test.c (main): Tolerate disabled MD5.
22598         * sysdeps/unix/sysv/linux/fips-private.h: New file.
22599         * sysdeps/generic/fips-private.h: New file, dummy fallback.
22601 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22603         * crypt/crypt-private.h: Include stdbool.h.
22604         (_ufc_setup_salt_r): Return bool.
22605         * crypt/crypt-entry.c: Include errno.h.
22606         (__crypt_r): Return NULL with EINVAL for bad salt.
22607         * crypt/crypt_util.c (bad_for_salt): New.
22608         (_ufc_setup_salt_r): Check that salt is long enough and within
22609         the specified alphabet.
22610         * crypt/badsalttest.c: New file.
22611         * crypt/Makefile (tests): Add it.
22612         ($(objpfx)badsalttest): New.
22614 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
22616         * NEWS: Add entry for BZ #14602.
22618 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22620         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22621         type-generic.
22622         * math/libm-test.inc: Update comment listing what functions and
22623         macros are tested.
22624         (isgreater_test): New function.
22625         (isgreaterequal_test): Likewise.
22626         (isless_test): Likewise.
22627         (islessequal_test): Likewise.
22628         (islessgreater_test): Likewise.
22629         (isunordered_test): Likewise.
22630         (main): Call the new functions.
22632 2012-10-09  Roland McGrath  <roland@hack.frob.com>
22634         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22635         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22636         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22637         * sysdeps/i386/configure: Regenerated.
22638         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22639         * sysdeps/mach/configure: Regenerated.
22640         * sysdeps/mach/hurd/configure: Regenerated.
22641         * sysdeps/powerpc/configure: Regenerated.
22642         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22643         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22644         * sysdeps/s390/s390-32/configure: Regenerated.
22645         * sysdeps/s390/s390-64/configure: Regenerated.
22646         * sysdeps/sh/configure: Regenerated.
22647         * sysdeps/sparc/configure: Regenerated.
22648         * sysdeps/unix/sysv/linux/configure: Regenerated.
22649         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22650         * sysdeps/x86_64/configure: Regenerated.
22652         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22653         defined.  Don't check if MAP is NULL.
22655 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22657         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22658         (_G_stat64): Likewise.
22659         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22660         (_G_stat64): Likewise.
22661         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22662         instead of struct _G_stat64.
22663         * libio/fileops.c (mmap_remap_check): Likewise.
22664         (decide_maybe_mmap): Likewise.
22665         (_IO_new_file_seekoff): Likewise.
22666         (_IO_file_stat): Likewise.
22667         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22668         _G_off64_t.
22669         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22670         instead of struct _G_stat64.
22671         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22673 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
22675         [BZ #14602]
22676         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22677         Replace with ...
22678         (CHECK_EOL): New macro.
22679         (two_way_short_needle): Check beginning of haystack for EOL.  Use
22680         CHECK_EOL.
22681         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22682         Replace with CHECK_EOL.
22683         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22684         Replace with CHECK_EOL.
22686 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
22688         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22689         type-generic.
22690         * math/libm-test.inc: Update comment listing what functions and
22691         macros are tested.
22692         (finite_test): New function.
22693         (isinf_test): Likewise.
22694         (isnan_test): Likewise.
22695         (fpclassify_test): Test subnormal input.
22696         (isfinite_test): Likewise.
22697         (isnormal_test): Likewise.
22698         (main): Call the new functions.
22700 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
22702         [BZ #14660]
22703         * Makerules (%.dynsym): Force C locale when running
22704         $(OBJDUMP) --dynamic-syms.
22706 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
22708         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22709         <stdint.h>.
22711 2012-10-06  David S. Miller  <davem@davemloft.net>
22713         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22714         upper 32-bits of the length value in %o2 since we use branch-on-register
22715         tests which consider the entire 64-bit register.
22717 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
22719         * string/test-strstr.c (check2): Add a test for page boundary.
22721 2012-10-05  David S. Miller  <davem@davemloft.net>
22723         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22724         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22725         file.
22726         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22727         sysdep_routines.
22728         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22729         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22730         and bzero when HWCAP_SPARC_CRYPTO is present.
22732 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
22734         [BZ #14602]
22735         * string/test-strstr.c (check2): New function.
22736         (test_main): Call check2.
22738         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22739         and bug-strchr1.
22740         * string/bug-strcasestr1.c (do_test): Moved to ...
22741         * string/test-strcasestr.c (check1): Here.  New function.
22742         (do_one_test): Break out result checking code into ...
22743         (check_result): This.  New function.
22744         (do_one_test): Call check_result.
22745         (test_main): Call check1.
22746         * string/bug-strchr1.c (do_test): Moved to ...
22747         * string/test-strchr.c (check1): Here.  New function.
22748         (do_one_test): Break out result checking code into ...
22749         (check_result): This.  New function.
22750         (do_one_test): Call check_result.
22751         (test_main): Call check1.
22752         * string/bug-strstr1.c (main): Moved to ...
22753         * string/test-strstr.c (check1): Here.  New function.
22754         (do_one_test): Break out result checking code into ...
22755         (check_result): This.  New function.
22756         (do_one_test): Call check_result.
22757         (test_main): Call check1.
22758         * string/bug-strcasestr1.c: Removed.
22759         * string/bug-strchr1.c: Likewise.
22760         * string/bug-strstr1.c: Likewise.
22762         * elf/Makefile (dl-routines): Add hwcaps.
22763         * elf/dl-support.c (_dl_important_hwcaps): Removed.
22764         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22765         (_dl_important_hwcaps): Moved to ...
22766         * elf/dl-hwcaps.c: Here.  New file.
22767         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22769         [BZ #14557]
22770         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22771         if IS_IN_rtld isn't defined.
22773         * elf/dl-support.c (_dl_sysinfo_map): New.
22774         Include "get-dynamic-info.h" and "setup-vdso.h".
22775         (_dl_non_dynamic_init): Call setup_vdso.
22776         * elf/dynamic-link.h: Don't include <assert.h>.
22777         (elf_get_dynamic_info): Moved to ...
22778         * elf/get-dynamic-info.h: Here.  New file.
22779         * elf/dynamic-link.h: Include "get-dynamic-info.h".
22780         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22781         * elf/setup-vdso.h: Here.  New file.
22782         * elf/rtld.c: Include "setup-vdso.h".
22783         (dl_main): Call setup_vdso.
22785 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
22787         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22788         creal in comment listing functions tested.  List finite, isinf,
22789         isnan, isless, islessequal, isgreater, isgreaterequal,
22790         islessgreater, isunordered, lgamma_r and pow10 as functions and
22791         macros not tested.  Mention which functions not tested are aliases
22792         for other functions.  Fix typo.  Note that signs of NaNs are not
22793         tested.
22795         * scripts/config.guess: Update from config.git.
22796         * scripts/config.sub: Likewise.
22798 2012-10-04  Roland McGrath  <roland@hack.frob.com>
22800         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22801         * misc/madvise.c (madvise): Renamed to __madvise.
22802         Make madvise a weak alias.
22803         * include/sys/mman.h: Declare __madvise.
22804         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22805         * sysdeps/unix/syscalls.list
22806         (madvise): Make __madvise the strong name, and madvise a weak alias.
22807         * sysdeps/unix/sysv/linux/syscalls.list
22808         (madvise, mmap): Remove redundant entries.
22809         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22810         * malloc/malloc.c (mtrim): Likewise.
22811         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22813 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22815         * sysdeps/mach/hurd/dl-cache.c: File removed.
22816         * config.h.in (USE_LDCONFIG): New #undef.
22817         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22818         * configure: Regenerated.
22819         * elf/Makefile (dl-routines): Add dl-cache only under
22820         [$(use-ldconfig) = yes].
22821         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22822         cache on [USE_LDCONFIG].
22823         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22824         [USE_LDCONFIG].
22825         * elf/rtld.c (dl_main): Likewise.
22827 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
22829         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22830         _SC_LEVEL4_CACHE_LINESIZE.
22832 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22834         * sysdeps/unix/bsd/confstr.h: File removed.
22836 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
22838         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22839         sys/sdt-config.h.
22841 2012-10-02  Roland McGrath  <roland@hack.frob.com>
22843         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22844         Make 'mapoff' field ElfW(Off) rather than off_t.
22846 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
22848         * nscd/Makefile: Remove nscd-cflags and all its users.
22849         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22850         (CFLAGS-nonlib): Add compiler flags for nscd modules.
22852         [BZ #10631]
22853         * malloc.c (malloc_printerr): Clarify error message.
22855 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
22857         [BZ #14648]
22858         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22859         Set bit_FMA_Usable if FMA is supported.
22860         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22861         macro.
22862         (bit_FMA4_Usable): Updated.
22863         (index_FMA_Usable): New macro.
22864         (CPUID_FMA): Likewise
22865         (HAS_FMA): Defined with bit_FMA_Usable.
22867 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22869         * bits/types.h (__swblk_t): Type removed.
22870         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22871         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22872         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22873         (__SWBLK_T_TYPE): Likewise.
22874         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22875         (__SWBLK_T_TYPE): Likewise.
22876         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22877         (__SWBLK_T_TYPE): Likewise.
22878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22879         (__SWBLK_T_TYPE): Likewise.
22881 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
22882             Honza Horak <hhorak@redhat.com>
22884         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22885         (xdr_mapname): Use YPMAXMAP as maxsize.
22886         (xdr_peername): Use YPMAXPEER as maxsize.
22887         (xdr_keydat): Use YPAXRECORD as maxsize.
22888         (xdr_valdat): Use YPMAXRECORD as maxsize.
22890 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22892         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22894         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22895         * csu/init-first.c: ... here.
22896         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22897         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22898         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22899         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22900         * sysdeps/i386/init-first.c: File removed.
22901         * sysdeps/sh/init-first.c: File removed.
22903 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
22905         [BZ #14645]
22906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22907         if x * y might underflow to zero and z is zero.
22908         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22909         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22910         * math/libm-test.inc (min_subnorm_value): New variable.
22911         (fma_test): Add more tests.
22912         (fma_test_towardzero): Likewise.
22913         (fma_test_downward): Likewise
22914         (fma_test_upward): Likewise.
22915         (initialize): Set min_subnorm_value.
22917 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
22919         [BZ #14638]
22920         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22921         0 + 0.
22922         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22923         mode for addition resulting in exact zero.
22924         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22925         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22926         exact 0 + 0.
22927         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22928         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22929         * math/libm-test.inc (fma_test): Add more tests.
22930         (fma_test_towardzero): New function.
22931         (fma_test_downward): Likewise.
22932         (fma_test_upward): Likewise.
22933         (main): Call the new functions.
22935 2012-09-28  David S. Miller  <davem@davemloft.net>
22937         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22939 2012-09-28  Roland McGrath  <roland@hack.frob.com>
22941         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22942         instead of SIGALRM.
22944         * sysdeps/gnu/_G_config.h: Moved to ...
22945         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22946         * sysdeps/mach/hurd/_G_config.h: Moved to ...
22947         * sysdeps/generic/_G_config.h: ... here.
22949         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
22951         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22953         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22954         Conditionalize target on [libnss_test1.so-version].
22956         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22958         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22959         (elfobjdir): Move out of conditionals.
22961         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22962         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22963         (__nss_lookup_function): Conditionalize label remove_from_tree on
22964         [!DO_STATIC_NSS || SHARED], matching its only use.
22966 2012-09-28  David S. Miller  <davem@davemloft.net>
22968         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22969         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22970         file.
22971         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22972         sysdep_routines.
22973         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22974         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22975         when HWCAP_SPARC_CRYPTO is present.
22977 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22979         * io/tst-mknodat.c: Create a FIFO instead of a socket.
22981 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
22983         [BZ #6530]
22984         * stdio-common/vfprintf.c (process_string_arg): Revert
22985         2000-07-22 change.
22987 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
22989         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22990         for testcase.
22991         * stdio-common/tst-sprintf.c: Include <locale.h>
22992         (main): Test sprintf's handling of incomplete multibyte
22993         characters.
22995 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
22997         * elf/dl-runtime.c (VERSYMIDX): Removed.
22998         * elf/dl-version.c (VERSYMIDX): Likewise.
22999         * elf/do-rel.h (VERSYMIDX): Likewise.
23000         (VALIDX): Likewise.
23001         * elf/dynamic-link.h (VERSYMIDX): Likewise.
23002         * elf/rtld.c (VALIDX): Likewise.
23003         (ADDRIDX): Likewise.
23004         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23005         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23006         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23007         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23008         (VALIDX): Likewise.
23009         (ADDRIDX): Likewise.
23011 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23013         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23015 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
23017         [BZ #11438]
23018         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23019         to global scope.
23020         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23021         addresses are in the same scope as 192.0.2/24.
23022         * posix/gai.conf: Document new scope table defaults.
23024 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23026         [BZ #5298]
23027         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23028         for ftell.  Compute offsets from write pointers instead.
23029         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23031 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23033         [BZ #14543]
23034         * libio/Makefile (tests): New test case tst-fseek.
23035         * libio/tst-fseek.c: New test case to verify that fseek/ftell
23036         combination works in wide mode.
23037         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23038         state when the external buffer state changes.
23040 2012-09-27  David S. Miller  <davem@davemloft.net>
23042         [BZ #14376]
23043         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23044         pass reloc->r_addend in as the 'high' argument to
23045         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23049 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
23051         * rt/tst-aio2.c: Include <pthread.h>.
23052         * rt/tst-aio3.c: Likewise.
23054 2012-09-27  Steve Ellcey  <sellcey@mips.com>
23056         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23058 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
23060         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23061         contents on [SHARED].
23063 2012-09-26  Marek Polacek  <polacek@redhat.com>
23065         [BZ #14530]
23066         [BZ #13741]
23067         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23068         for C++ and GCC <4.3 as well as for non GCC compilers.
23070 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23074 2012-09-25  Roland McGrath  <roland@hack.frob.com>
23076         * Makefile.in (all, install): Declare with .PHONY.
23077         Reported by Michael Hope <michael.hope@linaro.org>.
23079 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23081         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23082         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23083         system header.
23084         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23085         Likewise.
23086         (sydep_routines): Add the new and the internal functions.
23087         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23088         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23090         (GLIBC_2.17): Add the new function.
23091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23092         (GLIBC_2.17): Likewise.
23093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23094         (GLIBC_2.17): Likewise.
23095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23096         (GLIBC_2.17): Likewise.
23097         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23099 2012-09-25  Alan Modra  <amodra@gmail.com>
23101         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23102         Add release barrier before setting once_control to say
23103         initialisation is done.  Add hints on lwarx.  Use macro in
23104         place of isync.
23105         (clear_once_control): Add release barrier.
23107 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23109         [BZ #13629]
23110         * math/s_clog.c (__clog): Handle more values close to |z| = 1
23111         specially.
23112         * math/s_clog10.c (__clog10): Likewise.
23113         * math/s_clog10f.c (__clog10f): Likewise.
23114         * math/s_clog10l.c (__clog10l): Likewise.
23115         * math/s_clogf.c (__clogf): Likewise.
23116         * math/s_clogl.c (__clogl): Likewise.
23117         * math/Makefile (libm-calls): Add x2y2m1.
23118         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23119         (__x2y2m1): Likewise.
23120         (__x2y2m1l): Likewise.
23121         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23122         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23123         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23124         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23125         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23126         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23127         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23128         * sysdeps/i386/fpu/libm-test-ulps: Update.
23129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23131         [BZ #14621]
23132         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23133         int as type of variable DEPTH.
23134         (glob): Use size_t instead of int as type of variables NEWCOUNT
23135         and OLD_PATHC.
23137 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23139         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23140         Add s_sincosf-sse2.
23141         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23142         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23143         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23144         macros for using routine as __sincosf_ia32.
23145         Use macro for function declaration and weak_alias.
23146         * sysdeps/i386/fpu/libm-test-ulps: Update.
23148         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23151         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23152         subnormal argument.
23153         * math/s_cexpf.c (__cexpf): Likewise.
23154         * math/s_csinf.c (__csinf): Likewise.
23155         * math/s_csinhf.c (__csinhf): Likewise.
23156         * math/s_ctanf.c (__ctanf): Likewise.
23157         * math/s_ctanhf.c (__ctanhf): Likewise.
23158         * math/s_ccosh.c (__ccoshf): Likewise.
23159         * math/s_cexp.c (__cexpl): Likewise.
23160         * math/s_csin.c (__csin): Likewise.
23161         * math/s_csinh.c (__csinh): Likewise.
23162         * math/s_ctan.c (__ctan): Likewise.
23163         * math/s_ctanh.c (ctanh): Likewise.
23164         * math/s_ccoshl.c (__ccoshl): Likewise.
23165         * math/s_cexpl.c (__cexpl): Likewise.
23166         * math/s_csinl.c (__csinl): Likewise.
23167         * math/s_csinhl.c (__csinhl): Likewise.
23168         * math/s_ctanl.c (__ctanl): Likewise.
23169         * math/s_ctanhl.c (__ctanhl): Likewise.
23171 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23173         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23174         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23175         (_IO_off_t): Define to __off_t, not _G_off_t.
23176         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23177         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23178         (_IO_wint_t): Define to wint_t, not _G_wint_t.
23179         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23180         type of __dummy and __dummy2 fields.
23181         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23182         (_G_ssize_t): Likewise.
23183         (_G_off_t): Likewise.
23184         (_G_pid_t): Likewise.
23185         (_G_uid_t): Likewise.
23186         (_G_wchar_t): Likewise.
23187         (_G_wint_t): Likewise.
23188         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23189         (_G_ssize_t): Likewise.
23190         (_G_off_t): Likewise.
23191         (_G_pid_t): Likewise.
23192         (_G_uid_t): Likewise.
23193         (_G_wchar_t): Likewise.
23194         (_G_wint_t): Likewise.
23195         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23196         (_G_ssize_t): Likewise.
23197         (_G_off_t): Likewise.
23198         (_G_pid_t): Likewise.
23199         (_G_uid_t): Likewise.
23200         (_G_wchar_t): Likewise.
23201         (_G_wint_t): Likewise.
23203 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23205         * malloc/arena.c: Include malloc-sysdep.h.
23206         (shrink_heap): Use check_may_shrink_heap to decide if madvise
23207         is sufficient to shrink the heap or an unmap is needed.
23208         * sysdeps/generic/malloc-sysdep.h: New file.  Define
23209         new function check_may_shrink_heap.
23210         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
23211         new function check_may_shrink_heap.
23213 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23215         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23216         comments.
23218 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
23220         * catgets/test-gencat.sh: Add "set -e".
23221         * elf/tst-pathopt.sh: Likewise.
23222         * grp/tst_fgetgrent.sh: Likewise.
23223         * iconvdata/run-iconv-test.sh: Likewise.
23224         * intl/tst-gettext.sh: Likewise.
23225         * intl/tst-gettext2.sh: Likewise.
23226         * intl/tst-gettext4.sh: Likewise.
23227         * intl/tst-gettext6.sh: Likewise.
23228         * intl/tst-translit.sh: Likewise.
23229         * io/ftwtest-sh: Likewise.
23230         * libio/test-freopen.sh: Likewise.
23231         * malloc/tst-mtrace.sh: Likewise.
23232         * posix/globtest.sh: Likewise.
23233         * posix/tst-getconf.sh: Likewise.
23234         * posix/wordexp-tst.sh: Likewise.
23235         * stdio-common/tst-printf.sh: Likewise.
23236         * stdio-common/tst-unbputc.sh: Likewise.
23237         * stdlib/tst-fmtmsg.sh: Likewise.
23238         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23239         * catgets/Makefile: Do not specify -e option when running
23240         testsuite shell scripts.
23241         * elf/Makefile: Likewise.
23242         * grp/Makefile: Likewise.
23243         * iconvdata/Makefile: Likewise.
23244         * intl/Makefile: Likewise.
23245         * io/Makefile: Likewise.
23246         * libio/Makefile: Likewise.
23247         * malloc/Makefile: Likewise.
23248         * posix/Makefile: Likewise.
23249         * stdio-common/Makefile: Likewise.
23250         * stdlib/Makefile: Likewise.
23251         * sysdeps/x86_64/Makefile: Likewise.
23253         * io/ftwtest-sh: Add copyright header.
23254         * posix/globtest.sh: Likewise.
23255         * posix/tst-getconf.sh: Likewise.
23256         * posix/wordexp-tst.sh: Likewise.
23257         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23259 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
23261         [BZ #13679]
23262         * Makeconfig (+link): Defined as $(+link-static) if
23263         $(build-shared) isn't yes.
23264         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23265         isn't yes.
23266         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23268         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23270         [BZ #14562]
23271         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23272         new chunk size with MALLOC_ALIGN_MASK.
23274 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
23276         [BZ #5044]
23277         * stdio-common/printf_fphex.c: Include <stdbool.h> and
23278         <rounding-mode.h>.
23279         (__printf_fphex): Determine rounding using get_rounding_mode and
23280         round_away.
23281         * stdio-common/tst-printf-round.c (struct hex_test): New
23282         structure.
23283         (hex_tests): New variable.
23284         (test_hex_in_one_mode): New function.
23285         (do_test): Also run tests for hex float output.
23287 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
23289         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23290         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23291         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23292         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23293         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23294         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23295         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23296         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23298 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
23300         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23301         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23302         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23303         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23305 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
23307         [BZ #14579]
23308         * elf/rtld.c (dl_main): Limit the check for self loading to normal
23309         mode only.
23310         * elf/tst-rtld-load-self.sh: New test.
23311         * elf/Makefile: Run it.
23313 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
23315         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23316         (tst-writev-ENV): Remove.
23317         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23319 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
23321         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23323 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
23325         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23326         unconditional.
23327         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23328         Likewise.
23329         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23330         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23331         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23332         Likewise.
23334 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
23336         [BZ #14587]
23337         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23338         * config.make.in (have-cpp-asm-debuginfo): Removed.
23339         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23340         * configure: Regenerated.
23342 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
23344         [BZ #5044]
23345         * stdio-common/printf_fp.c: Include <stdbool.h> and
23346         <rounding-mode.h>.
23347         (___printf_fp): Determine rounding using get_rounding_mode and
23348         round_away.
23349         * stdio-common/tst-printf-round.c: New file.
23350         * stdio-common/Makefile (tests): Add tst-printf-round.
23351         (link-libm): New variable.
23352         ($(objpfx)tst-printf-round): Depend in $(link-libm).
23354 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
23356         [BZ #14576]
23357         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23358         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23359         Likewise.
23360         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23361         Likewise.
23363 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
23365         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23366         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23367         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23368         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23370 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
23372         [BZ #14518]
23373         * include/rounding-mode.h: New file.
23374         * sysdeps/generic/get-rounding-mode.h: Likewise.
23375         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23376         * stdlib/strtod_l.c: Include <rounding-mode.h>.
23377         (MAX_VALUE): New macro.
23378         (MIN_VALUE): Likewise.
23379         (overflow_value): New function.
23380         (underflow_value): Likewise.
23381         (round_and_return): Use overflow_value and underflow_value to
23382         determine return values in overflow and underflow cases.  Use
23383         round_away to determine rounding depending on rounding mode.
23384         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23385         determine return values in overflow and underflow cases.
23386         * stdlib/tst-strtod-round.c: Include <fenv.h>.
23387         (struct test_results): New structure.
23388         (struct test): Use struct test_results to store expected results
23389         for all rounding modes.
23390         (TEST): Include expected results for all rounding modes.
23391         (test_in_one_mode): New function.
23392         (do_test): Use test_in_one_mode to compute and check results.
23393         Check results for all rounding modes.
23394         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23395         $(link-libm).
23397 2012-12-09  Allan McRae  <allan@archlinux.org>
23399         * sysdeps/i386/fpu/libm-test-ulps: Update
23401 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
23403         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23404         (_G_int32_t): Likewise.
23405         (_G_uint16_t): Likewise.
23406         (_G_uint32_t): Likewise.
23407         (_G_HAVE_BOOL): Likewise.
23408         (_G_HAVE_ATEXIT): Likewise.
23409         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23410         (_G_HAVE_IO_FILE_OPEN): Likewise.
23411         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23412         (_G_int32_t): Likewise.
23413         (_G_uint16_t): Likewise.
23414         (_G_uint32_t): Likewise.
23415         (_G_HAVE_BOOL): Likewise.
23416         (_G_HAVE_ATEXIT): Likewise.
23417         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23418         (_G_HAVE_IO_FILE_OPEN): Likewise.
23419         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23420         (_G_int32_t): Likewise.
23421         (_G_uint16_t): Likewise.
23422         (_G_uint32_t): Likewise.
23423         (_G_HAVE_BOOL): Likewise.
23424         (_G_HAVE_ATEXIT): Likewise.
23425         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23426         (_G_HAVE_IO_FILE_OPEN): Likewise.
23428 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
23430         * csu/libc-tls.c: Update copyright years.
23432 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
23434         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23435         [!_G_USING_THUNKS]: Remove conditional code.
23436         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23437         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23439         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23440         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23441         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23442         (_G_VTABLE_LABEL_PREFIX): Likewise.
23443         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23444         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23445         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23446         (_G_VTABLE_LABEL_PREFIX): Likewise.
23447         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23448         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23449         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23450         (_G_VTABLE_LABEL_PREFIX): Likewise.
23451         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23453 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
23455         * libio/Makefile: Include ../Makeconfig before tests.
23456         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23457         only if $(build-shared) is yes.
23459         * iconv/gconv_db.c: Update copyright years.
23461 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23463         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23464         unwind info if defined PIC. Fix special cases description.
23465         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23467         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23468         DP_HI_MASK entry.
23469         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23471 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
23473         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23475         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23476         is NULL.
23478         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23479         (LDLIBS-tst-chk4): This.
23480         (LDFLAGS-tst-chk5): Renamed to ...
23481         (LDLIBS-tst-chk5): This.
23482         (LDFLAGS-tst-chk6): Renamed to ...
23483         (LDLIBS-tst-chk6): This.
23484         (LDFLAGS-tst-lfschk4): Renamed to ...
23485         (LDLIBS-tst-lfschk4): This.
23486         (LDFLAGS-tst-lfschk5): Renamed to ...
23487         (LDLIBS-tst-lfschk5): This.
23488         (LDFLAGS-tst-lfschk6): Renamed to ...
23489         (LDLIBS-tst-lfschk6): This.
23491         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23492         on $(common-objpfx)soversions.mk.
23494 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
23496         [BZ #10014]
23497         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23498         example host name.
23500 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23502         * malloc/arena.c (arena_get_retry): New function that gets
23503         another arena for the caller to try its request on.
23504         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23505         current arena cannot fulfill the request.
23506         (__libc_memalign): Likewise.
23507         (__libc_memalign): Likewise.
23508         (__libc_pvalloc): Likewise.
23509         (__libc_calloc): Likewise.
23511 2012-09-05  John Tobey  <john.tobey@gmail.com>
23513         [BZ #13542]
23514         * manual/arith.texi (Operations on Complex): Fix description
23515         of carg branch cut.
23517 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23519         [BZ #10014]
23520         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23521         host name.
23523         [BZ #10038]
23524         * manual/memory.texi (Memory): Make order of menu items match
23525         order of sections.
23527 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23529         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23530         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
23531         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23533 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23535         * csu/libc-tls.c (static_dtv): Renamed to ...
23536         (_dl_static_dtv): This.  Make it global.
23537         (_dl_initial_dtv): Removed.
23538         (__libc_setup_tls): Updated.
23539         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23540         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23541         DL_INITIAL_DTV.
23543 2012-09-06  Petr Machata  <pmachata@redhat.com>
23545         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23546         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23547         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23548         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23550 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23552         [BZ #14545]
23553         * csu/libc-tls.c (_dl_initial_dtv): New variable.
23554         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23555         freeing dtv[-1].
23557 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23559         [BZ #14544]
23560         * Makeconfig (link-static-before-libc): Replace $(+prector)
23561         with $(+prectorT).
23562         (link-static-after-libc): Replace $(+postctor) with
23563         $(+postctorT).
23564         (link-bounded): Replace $(+prector)/$(+postctor) with
23565         $(+prectorT)/$(+postctorT).
23566         (+prectorT): New macro.
23567         (+postctorT): Likewise.
23569 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23571         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23572         (round_str): Handle values above the maximum for IBM long double
23573         as inexact.
23574         * stdlib/tst-strtod-round.c (tests): Regenerated.
23576 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23578         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23579         assembler flag.
23580         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23581         zarch_nohighgprs around the zarch optimized routines.
23582         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23583         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23584         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23585         for zarch.
23587 2012-09-05  David S. Miller  <davem@davemloft.net>
23589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23591         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23592         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23593         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23594         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23595         entries.
23597 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23599         * malloc/arena.c: Fold copyright years.
23600         * malloc/mcheck.c, malloc/memusage.c: Likewise.
23602 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23604         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23606 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23608         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
23610 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23612         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23613         change internal state upon failure.
23615 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23617         * malloc/mcheck.c (mcheck_check_all): Fix typo.
23618         * malloc/memusage.c (mmap): Likewise.
23619         (mmap64, mremap): Likewise.  Adjust name in comment.
23621 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23623         * libio/fileops.c: Fix typos in comments.
23624         * libio/oldfileops.c: Likewise.
23625         * libio/wfileops.c: Likewise.
23627 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23629         [BZ #1349]
23630         * malloc/Makefile (tests): Add tst-malloc-usable test case.
23631         (tst-malloc-usable-ENV): Set environment for test case.
23632         * malloc/hooks.c (malloc_check_get_size): New function to get
23633         requested size.
23634         * malloc/malloc.c (musable): Use malloc_check_get_size.
23635         * malloc/tst-malloc-usable.c: New test case.
23637 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23639         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23641 2012-09-05  Allan McRae  <allan@archlinux.org>
23643         [BZ #13966]
23644         * configure.in (CXX_SYSINCLUDES): Use compiler output to
23645         determine header location.
23646         * configure: Regenerated.
23648 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23650         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23651         float format.
23652         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23653         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23654         format.
23655         (test): Regenerate.
23657 2012-09-04  David S. Miller  <davem@davemloft.net>
23659         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23660         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23661         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23663 2012-09-04  Florian Weimer  <fweimer@redhat.com>
23665         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23666         failures.
23668         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23670 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
23672         [BZ #9914]
23673         * libio/iogetdelim.c: Include <limits.h>.
23674         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23675         + len + 1 would overflow.
23677 2012-09-03  Andreas Jaeger  <aj@suse.de>
23679         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23680         * sysdeps/i386/fpu/libm-test-ulps: Update.
23682 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23684         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23685         Add s_sinf-sse2, s_conf-sse2.
23687         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23688         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23689         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23690         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23692         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23693         for using routine as __sinf_ia32.
23694         Use macro for function declaration and weak_alias.
23695         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23696         for using routine as __cosf_ia32.
23697         Use macro for function declaration and weak_alias.
23699         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23700         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23702         * sysdeps/x86_64/fpu/s_sinf.S: New file.
23703         * sysdeps/x86_64/fpu/s_cosf.S: New file.
23704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23706         * math/libm-test.inc (cos_test): Add more test cases.
23707         (sin_test): Likewise.
23708         (sincos_test): Likewise.
23710 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23712         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23713         (IFUNC_RESOLVE): Make pointers to the specialized implementations
23714         hidden.
23715         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23717 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
23719         [BZ #14538]
23720         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23721         first element of the GOT.
23722         (elf_machine_load_address): Return the difference between
23723         the runtime address of _DYNAMIC and elf_machine_dynamic ().
23725 2012-09-01  Allan McRae  <allan@archlinux.org>
23727         [BZ #13412]
23728         * configure.in (AWK): Require gawk version 3.0 or later.
23729         * configure: Regenerated.
23731 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
23733         * sysdeps/unix/sysv/linux/kernel-features.h
23734         (__ASSUME_POSIX_CPU_TIMERS): Remove.
23735         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23736         [__NR_clock_getres]: Make code unconditional.
23737         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23738         (clock_getcpuclockid): Remove code left unreachable by removal of
23739         conditionals.
23740         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23741         code unconditional.
23742         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23743         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23744         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23745         Make code unconditional.
23746         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23747         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23748         * sysdeps/unix/sysv/linux/clock_settime.c
23749         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23750         conditional code.
23751         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23752         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23754 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
23756         [BZ #14476]
23757         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23758         scripts/test-installation.pl.
23760         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23761         and $ld_so_version if it is set.
23763 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23765         [BZ #14516]
23766         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23767         failure if reading from procfs failed.
23768         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23770 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23772         * sysdeps/unix/sysv/linux/kernel-features.h
23773         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23774         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23775         Remove conditional code.
23776         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23777         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23778         Remove conditional code.
23779         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23780         * sysdeps/unix/sysv/linux/i386/fxstat.c
23781         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23782         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23783         * sysdeps/unix/sysv/linux/i386/fxstatat.c
23784         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23785         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23786         * sysdeps/unix/sysv/linux/i386/lxstat.c
23787         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23788         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23789         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23790         Remove conditional code.
23791         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23792         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23793         Remove conditional code.
23794         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23795         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23796         <kernel-features.h>.
23797         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23798         Remove.
23799         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23800         Remove conditional code.
23801         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23802         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23803         Remove conditional.
23805 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
23807         [BZ #5400]
23808         * NEWS: Add fixed bug number.
23810 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23812         [BZ #14519]
23813         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23814         underflowing exponent in case of negative sign.
23815         * stdlib/tst-strtod-round-data: Add more tests.
23816         * stdlib/tst-strtod-round.c (tests): Regenerated.
23818         [BZ #3479]
23819         * stdlib/strtod_l.c (NDIG): Remove.
23820         (HEXNDIG): Likewise.
23821         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23822         smallest representable value.
23823         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23824         lie within an exact representation of 1/2 ulp of the result.
23825         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23826         unconditionally.
23827         (TENS_P9_IDX): Define unconditionally.
23828         (TENS_P9_SIZE): Likewise.
23829         (TENS_P10_IDX): Likewise.
23830         (TENS_P10_SIZE): Likewise.
23831         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23832         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23833         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23834         entries for 10^2^13 and 10^2^14.
23835         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23836         (TENS_P13_IDX): Define.
23837         (TENS_P13_SIZE): Likewise.
23838         (TENS_P14_IDX): Likewise.
23839         (TENS_P14_SIZE): Likewise.
23840         (_fpioconst_pow10): Change array size to
23841         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
23842         unconditional.
23843         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23844         1024]: Add entries for 10^2^13 and 10^2^14.
23845         [LAST_POW10 > _LAST_POW10]: Remove #error.
23846         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23847         (_fpioconst_pow10): Change array size to
23848         FPIOCONST_POW10_ARRAY_SIZE.
23849         * stdlib/gen-fpioconst.c: New file.
23850         * stdlib/gen-tst-strtod-round.c: Likewise.
23851         * stdlib/tst-strtod-round-data: Likewise.
23852         * stdlib/tst-strtod-round.c: Likewise.
23853         * stdlib/Makefile (tests): Add tst-strtod-round.
23855         [BZ #14459]
23856         * stdlib/strtod_l.c: Include <stdint.h>.
23857         (NDEBUG): Do not define.
23858         (round_and_return): Change EXPONENT parameter to type intmax_t.
23859         Rearrange calculations to avoid internal overflow possibilities.
23860         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23861         Rearrange calculations to avoid internal overflow possibilities.
23862         Assert that number fits inside MPNSIZE limbs.
23863         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23864         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
23865         calculations and add assertions to avoid internal overflow
23866         possibilities.  Add casts to avoid signed/unsigned operations.
23867         * stdlib/tst-strtod-overflow.c: New file.
23868         * stdlib/Makefile (tests): Add tst-strtod-overflow.
23870 2012-08-25  Marek Polacek  <polacek@redhat.com>
23872         * time/time.h: Fix some typos in comments.
23874 2012-08-23  Roland McGrath  <roland@hack.frob.com>
23876         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23877         * posix/tst-rfc3484-2.c: Likewise.
23878         * posix/tst-rfc3484-3.c: Likewise.
23880 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
23882         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23883         (EF_ARM_ABI_FLOAT_HARD): Likewise.
23885 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
23887         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23888         #include of fxstatat64.c.
23890 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23892         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23893         * shadow/getspent_r.c: Likewise.
23894         * shadow/getspnam.c: Likewise.
23895         * shadow/getspnam_r.c: Likewise.
23896         * gshadow/getsgent.c: Likewise.
23897         * gshadow/getsgent_r.c: Likewise.
23898         * gshadow/getsgnam.c: Likewise.
23899         * gshadow/getsgnam_r.c: Likewise.
23900         * inet/getnetbyad.c: Likewise.
23901         * inet/getnetbyad_r.c: Likewise.
23902         * inet/getnetbynm.c: Likewise.
23903         * inet/getnetbynm_r.c: Likewise.
23904         * inet/getnetent.c: Likewise.
23905         * inet/getnetent_r.c: Likewise.
23906         * inet/getproto.c: Likewise.
23907         * inet/getproto_r.c: Likewise.
23908         * inet/getprtent.c: Likewise.
23909         * inet/getprtent_r.c: Likewise.
23910         * inet/getprtname.c: Likewise.
23911         * inet/getprtname_r.c: Likewise.
23912         * inet/getrpcbyname.c: Likewise.
23913         * inet/getrpcbyname_r.c: Likewise.
23914         * inet/getrpcbynumber.c: Likewise.
23915         * inet/getrpcbynumber_r.c: Likewise.
23916         * inet/getrpcent.c: Likewise.
23917         * inet/getrpcent_r.c: Likewise.
23918         * inet/getaliasent.c: Likewise.
23919         * inet/getaliasent_r.c: Likewise.
23920         * inet/getaliasname.c: Likewise.
23921         * inet/getaliasname_r.c: Likewise.
23922         * nscd/getgrgid_r.c: Likewise.
23923         * nscd/getgrnam_r.c: Likewise.
23924         * nscd/gethstbyad_r.c: Likewise.
23925         * nscd/gethstbynm3_r.c: Likewise.
23926         * nscd/getpwnam_r.c: Likewise.
23927         * nscd/getpwuid_r.c: Likewise.
23928         * nscd/getsrvbynm_r.c: Likewise.
23929         * nscd/getsrvbypt_r.c: Likewise.
23930         * nscd/gai.c: Likewise.
23932         * configure.in (build_nscd): New substituted variable, set
23933         by --disable-build-nscd and defaults to $use_nscd.
23934         * configure: Regenerated.
23935         * config.make.in (build-nscd): New substituted variable.
23936         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23937         Change conditional to require [$(build-nscd) = yes] as well.
23938         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23940         [BZ# 13696]
23941         * configure.in (use_nscd): New substituted variable, set by
23942         --disable-nscd.  If enabled, define USE_NSCD.
23943         * configure: Regenerated.
23944         * config.h.in: Add USE_NSCD.
23945         * config.make.in (use-nscd): New substituted variable.
23946         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23947         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23948         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23949         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23950         (CFLAGS-getgrnam_r.c): Likewise.
23951         (CFLAGS-initgroups.c): Likewise.
23952         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23953         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23954         Variables removed.
23955         * inet/getnetgrent_r.c
23956         (nscd_setnetgrent): New function, broken out of ...
23957         (setnetgrent): ... here.  Call it.
23958         (innetgr): Conditionalize nscd bits on [USE_NSCD].
23959         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23960         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23961         * nscd/Makefile (routines, aux): Move definitions after include of
23962         Makeconfig.  Conditionalize on [$(use-nscd) != no].
23963         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23964         Conditionalize on [USE_NSCD].
23965         (is_nscd, nscd_init_cb): Likewise.
23966         (nss_load_library): Conditionalize init callback on [USE_NSCD].
23967         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23968         * nss/nss_db/db-init.c: Likewise.
23969         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23970         [USE_NSCD].
23971         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23972         (make_request): Use it.
23973         (cache_valid_p): New function.
23974         (__check_pf): Use it.
23975         * NEWS: Add item for --disable-nscd.
23977 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
23979         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23980         to support sed >= 4.2.1-20-ga9bf076.
23981         * configure: Regenerated.
23983 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23985         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23986         Conditionalize whole body on [IREL].
23988 2012-08-22  Jeff Law <law@redhat.com>
23990         [BZ #14505]
23991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23992         if the family is PF_UNSPEC.
23994 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
23996         * Makerules (lib-version): Rename from V.
23997         (install-lib-nosubdir): Change V to lib-version.
23999 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
24001         [BZ #14252]
24002         * powerpc32/power6/wcschr.c: New file.
24003         * powerpc32/power6/wcscpy.c: New file.
24004         * powerpc32/power6/wcsrchr.c: New file.
24005         * powerpc64/power6/wcschr.c: New file.
24006         * powerpc64/power6/wcscpy.c: New file.
24007         * powerpc64/power6/wcsrchr.c: New file.
24009 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24011         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24012         (two_way_short_needle): Use it.
24013         * string/strstr.c (AVAILABLE1_USES_J): Define.
24014         * string/strcasestr.c: Likewise.
24016         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24017         array references.
24018         * string/strcasestr.c (TOLOWER): Make side-effect safe.
24020         [BZ #11607]
24021         * NEWS: Add an entry.
24022         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24023         define their defaults.
24024         (two_way_short_needle): Detect end-of-string on-the-fly.
24025         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24026         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24027         * string/bug-strcasestr1.c: New test.
24028         * string/Makefile: Run it.
24030 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
24032         [BZ #11607]
24033         * string/str-two-way.h (two_way_short_needle): Optimize matching of
24034         the first character.
24036 2012-08-21  Roland McGrath  <roland@hack.frob.com>
24038         * csu/elf-init.c (__libc_csu_irel): Function removed.
24039         * csu/libc-start.c (apply_irel): New function.
24040         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24042 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
24044         * sysdeps/unix/sysv/linux/kernel-features.h
24045         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24046         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24047         <kernel-features.h>.
24048         [__NR_fadvise64_64]: Make code unconditional.
24049         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24050         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24051         !__NR_fadvise64_64)]: Likewise.
24052         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24053         !__NR_fadvise64_64))]: Likewise.
24054         [__NR_fadvise64]: Make code unconditional.
24055         [!__NR_fadvise64]: Remove conditional code.
24056         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24057         <kernel-features.h>.
24058         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24059         unconditional.
24060         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24061         conditional code.
24062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24063         not include <kernel-features.h>.
24064         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24065         unconditional.
24066         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24067         conditional code.
24068         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24069         include <kernel-features.h>.
24070         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24071         unconditional.
24072         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24073         conditional code.
24075 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
24077         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24078         slight instruction rearrangements per scrollpipe analysis.
24079         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24081 2012-08-20  Roland McGrath  <roland@hack.frob.com>
24083         * manual/syslog.texi (syslog; vsyslog, closelog):
24084         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24085         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24087         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24088         DSOCAPS to match condition on defining it.
24090 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
24092         * sysdeps/unix/sysv/linux/kernel-features.h
24093         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24095         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24096         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24098         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24099         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24101         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24102         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24104         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24105         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24107         * sysdeps/unix/sysv/linux/kernel-features.h
24108         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24109         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24110         unconditional.
24111         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24112         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24113         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24114         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24115         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24116         Make code unconditional.
24117         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24118         (__mmap64) [!__NR_mmap2]: Likewise.
24119         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24120         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24121         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24122         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24123         [__NR_mmap2]: Make code unconditional.
24124         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24125         (__mmap64) [!__NR_mmap2]: Likewise.
24127 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24129         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24131 2012-08-18  Andreas Jaeger  <aj@suse.de>
24133         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24135 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24137         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24138         * include/unistd.h (__have_sock_cloexec): Likewise.
24139         (__have_pipe2): Likewise.
24140         (__have_dup3): Likewise.
24142 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
24144         [BZ #9685]
24145         * include/unistd.h (__have_pipe2): Change define into an extern int.
24146         (__have_dup3): Likewise.
24147         * socket/have_sock_cloexec.c: Include fcntl.h.
24148         (__have_pipe2): New variable.
24149         (__have_dup3): Likewise.
24151 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
24153         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24155 2012-08-17  Marek Polacek  <polacek@redhat.com>
24157         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24158         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24160 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24162         * configure.in: Add AC_SUBST for sysheaders.
24163         * configure: Regenerated.
24164         * config.make.in (sysheaders): New substituted variable.
24166         * sysdeps/unix/mkfifo.c: Moved ...
24167         * sysdeps/posix/mkfifo.c: ... here.
24168         * sysdeps/unix/mkfifoat.c: Moved ...
24169         * sysdeps/posix/mkfifoat.c: ... here.
24171         * sysdeps/unix/utime.c: Moved ...
24172         * sysdeps/posix/utime.c: ... here.
24174         * sysdeps/unix/time.c: Moved ...
24175         * sysdeps/posix/time.c: ... here.
24176         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24177         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24179         * sysdeps/unix/nice.c: Moved ...
24180         * sysdeps/posix/nice.c: ... here.
24182         * sysdeps/unix/alarm.c: Moved ...
24183         * sysdeps/posix/alarm.c: ... here.
24185         * intl/Makefile ($(codeset_mo)): Depend on the input file.
24187 2012-08-17  Jeff Law <law@redhat.com>
24189         * intl/Makefile (codeset_mo): New variable.
24190         ($(codeset_mo)): New target.
24191         (tst-codeset.out): Depend on that.  Remove explicit rule.
24192         (tst-gettext3.out, tst-gettext5.out): Likewise.
24193         (LOCPATH-ENV, tst-codeset-ENV): New variables.
24194         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24195         * intl/tst-codeset.sh: Remove.
24196         * intl/tst-gettext3.sh: Likewise.
24197         * intl/tst-gettext5.sh: Likewise.
24199 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24201         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
24202         * sysdeps/unix/syscalls.list: ... here.
24204         * sysdeps/posix/getaddrinfo.c
24205         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24206         (gaiconf_init, gaiconf_reload): Use them.
24207         [!_STATBUF_ST_NSEC]
24208         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24209         Define using time_t rather than struct timespec.
24211         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24212         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24213         Macros removed.
24214         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24215         [!NO_THREADS].
24216         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24217         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24218         Likewise.
24220         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24221         __libc_cleanup_push argument.
24223         * bits/param.h: New file.
24224         * misc/sys/param.h: New file.
24225         * include/sys/param.h: New file.
24226         * misc/Makefile (headers): Add bits/param.h.
24227         * sysdeps/generic/sys/param.h: File removed.
24228         * sysdeps/unix/sysv/linux/bits/param.h: New file.
24229         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24230         * sysdeps/mach/hurd/bits/param.h: New file.
24231         * sysdeps/mach/hurd/sys/param.h: File removed.
24233         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24234         last change.
24236         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24237         [_IO_MTSAFE_IO].
24238         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24239         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24240         New macros.
24242         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24243         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24244         rather than -D_IO_MTSAFE_IO conditionally.
24245         * stdio-common/Makefile (CPPFLAGS): Likewise.
24246         * wcsmbs/Makefile (CPPFLAGS): Likewise.
24247         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24248         Use $(libio-mtsafe).
24249         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24250         of -D_IO_MTSAFE_IO.
24251         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24252         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24253         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24254         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24255         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24256         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24257         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24258         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24259         (CFLAGS-fread_u_chk.c): Likewise.
24260         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24261         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24262         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24263         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24264         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24265         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24266         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24267         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24268         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24270         * libio/Makefile: Test [$(libc-reentrant) = yes]
24271         instead of [$(filter %REENTRANT, $(defines)) nonempty].
24273         * Makeconfig
24274         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24275         * sysdeps/pthread/configure: File removed.
24276         * sysdeps/pthread/Makeconfig: New file.
24277         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24278         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24280 2012-08-16  Gary Benson  <gbenson@redhat.com>
24282         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24283         unmapping the first object in a namespace.
24285 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24287         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24288         (__internal_setnetgrent): ... this.  Add internal_function to
24289         definition.  Add libc_hidden_def.
24290         (setnetgrent): Update caller.
24291         (internal_endnetgrent): Renamed to ...
24292         (__internal_endnetgrent): ... this.  Add internal_function to
24293         definition.  Add libc_hidden_def.
24294         (endnetgrent): Update caller.
24295         (internal_getnetgrent_r): Renamed to ...
24296         (__internal_getnetgrent_r): ... this.  Add internal_function to
24297         definition.  Add libc_hidden_def.
24298         (__getnetgrent_r): Update caller.
24299         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
24301 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24303         * stdlib/longlong.h: Update from GCC.
24305 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24307         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24308         on _QL, which is set by umul_ppmm but never used.
24309         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24310         variables, which are set by GMP macros but never used.
24311         * stdio-common/_itowa.c (_itowa): Likewise.
24312         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24313         * stdlib/mod_1.c (mpn_mod_1): Likewise.
24315 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
24317         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24318         struct La_sh_regs is not constant.
24319         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24320         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24321         and struct La_sparc64_regs are not constant.
24323 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24325         * sysdeps/unix/sysv/linux/kernel-features.h
24326         (__ASSUME_POSIX_TIMERS): Remove.
24327         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24328         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24329         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24330         Make code unconditional.
24331         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24332         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24333         Make code unconditional.
24334         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24335         * sysdeps/unix/sysv/linux/clock_nanosleep.c
24336         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24337         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24338         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24339         Make code unconditional.
24340         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24341         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24342         (__libc_missing_posix_timers): Remove.
24344 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24346         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24347         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24349         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24351         * elf/dl-sym.c: Include <stdlib.h>.
24353         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24354         constants, which avoids warnings in 32-bit builds.
24356         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24357         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24359         * misc/lseek.c: File moved to ...
24360         * io/lseek.c: ... here.
24362         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24364         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24365         shifting LEN more than 31 bits at once.
24367 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24369         [BZ #14195]
24370         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24371         segmentation fault for a case of two empty input strings.
24372         * string/test-strncasecmp.c (check1): Renamed to...
24373         (bz12205): ...this.
24374         (bz14195): Add new testcase for two empty input strings and N > 0.
24375         (test_main): Call new testcase, adapt for renamed function.
24377 2012-08-15  Andreas Jaeger  <aj@suse.de>
24379         [BZ #14090]
24380         * crypt/md5test2.c: New test, based on test supplied by Serge
24381         Belyshev <belyshev@depni.sinp.msu.ru>.
24382         * crypt/Makefile (xtests): Add md5test-giant..
24383         * crypt/Makefile ($(objpfx)md5test-giant): Add.
24385 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
24387         [BZ #14090]
24388         * crypt/md5.c (md5_process_block): Don't assume the buffer
24389         length is less than 2**32.
24390         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24391         length is less than 2**64.
24393 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24395         * string/str-two-way.h: Include <sys/param.h>.
24396         (MAX): Macro removed.
24398         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24399         Move #define and #undef of memmove to just before and after
24400         including <string.h>.
24402         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24403         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24404         and after including <string.h>.  Move declarations of
24405         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24406         to before #include "string/memmove.c".
24408         * include/dirent.h: Declare __getdirentries.
24410         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24411         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24413 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
24415         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24416         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24417         * sysdeps/i386/configure: Regenerated.
24418         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24419         STABS_CURRENT_FILE, and STABS_FUN.
24420         (END): Remove call to STABS_FUN_END.
24421         (STABS_CURRENT_FILE1): Delete.
24422         (STABS_CURRENT_FILE): Likewise.
24423         (STABS_FUN): Likewise.
24424         (STABS_FUN_END): Likewise.
24425         (STABS_FUN2): Likewise.
24426         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24427         * sysdeps/x86_64/configure: Regenerated.
24429 2012-08-14  Roland McGrath  <roland@hack.frob.com>
24431         * elf/dl-open.c: Include <atomic.h>.
24432         * elf/dl-lookup.c: Likewise.
24434 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
24436         * sysdeps/unix/sysv/linux/kernel-features.h
24437         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24438         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24439         unconditionally.
24440         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24441         unconditionally.
24442         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24443         condition on __ASSUME_CLONE_THREAD_FLAGS.
24445 2012-08-14  Andreas Jaeger  <aj@suse.de>
24447         * sysdeps/i386/fpu/libm-test-ulps: Update.
24449 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
24451         * include/atomic.h (atomic_exchange_and_add): Split into ...
24452         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24453         New atomic macros.
24455 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
24457         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24459 2012-08-13  Jeff Law <law@redhat.com>
24461         * manual/stdio.texi (snprintf): Clarify handling of the trailing
24462         null byte in the output string.
24464 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
24466         * sysdeps/unix/sysv/linux/kernel-features.h
24467         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24468         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24469         (__ASSUME_ARG_MAX_STACK_BASED): Define.
24470         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24471         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24472         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
24473         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24475 2012-08-09  Jeff Law <law@redhat.com>
24477         [BZ #13939]
24478         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24479         When avoid_arena is set, don't retry in the that arena.  Pick the
24480         next one, whatever it might be.
24481         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24482         (arena_lock): Pass in new parameter to arena_get2.
24483         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24484         arena_get2.
24485         (__libc_malloc): Unify retrying after main arena failure with
24486         __libc_memalign version.
24487         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24489 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24491         [BZ #14166]
24492         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24493         to __redirect_strstr.
24494         (__strstr_sse42): Use typeof __redirect_strstr.
24495         (__strstr_ia32): Likewise.
24496         (__libc_strstr): New prototype.
24497         (strstr): Renamed to ...
24498         (__libc_strstr): This.
24499         (strstr): New strong alias of __libc_strstr.
24500         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24501         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24502         __redirect_time.
24503         Include <time.h>.
24504         (__libc_time): New prototype.
24505         (time_ifunc): Replace time with __libc_time.
24506         (time): New strong alias and hidden definition of __libc_time.
24507         (__GI_time): Remove strong alias.
24508         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24509         Include <stddef.h>.
24510         (memmove): Redefined to __redirect_memmove.
24511         (__memmove_sse2): Use typeof __redirect_memmove.
24512         (__memmove_ssse3): Likewise.
24513         (__memmove_ssse3_back): Likewise.
24514         (__libc_memmove): New prototype.
24515         (memmove): Renamed to ...
24516         (__libc_memmove): This.
24517         (memmove): New strong alias of __libc_memmove.
24519 2012-08-08  Mark Salter  <msalter@redhat.com>
24521         * elf/elf.h
24522         (R_MN10300_TLS_GD): Define.
24523         (R_MN10300_TLS_LD): Likewise.
24524         (R_MN10300_TLS_LDO): Likewise.
24525         (R_MN10300_TLS_GOTIE): Likewise.
24526         (R_MN10300_TLS_IE): Likewise.
24527         (R_MN10300_TLS_LE): Likewise.
24528         (R_MN10300_TLS_DTPMOD): Likewise.
24529         (R_MN10300_TLS_DTPOFF): Likewise.
24530         (R_MN10300_TLS_TPOFF): Likewise.
24531         (R_MN10300_SYM_DIFF): Likewise.
24532         (R_MN10300_ALIGN): Likewise.
24533         (R_MN10300_NUM): Update.
24535 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
24537         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24538         Remove.
24540 2012-08-08  Roland McGrath  <roland@hack.frob.com>
24542         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24544         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24545         sysdeps/unix -> sysdeps/posix move.
24546         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24548 2012-08-07      Allan McRae     <allan@archlinux.org>
24550         [BZ #14303]
24551         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24552         (SUNOS_CPP): Likewise.
24553         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24554         not found.
24555         (open_input): Call CPP using execvp.
24557 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24559         * sysdeps/unix/sysv/linux/kernel-features.h
24560         (__ASSUME_PROT_GROWSUPDOWN): Remove.
24561         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24562         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24563         (__ASSUME_WAITID_SYSCALL): Likewise.
24564         * sysdeps/unix/sysv/linux/dl-execstack.c
24565         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24566         code unconditional.
24567         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24568         conditional code.
24569         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24570         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24571         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24572         code.
24573         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24574         unconditional.
24575         [__ASSUME_WAITID_SYSCALL]: Likewise.
24576         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24578 2012-08-07  Roland McGrath  <roland@hack.frob.com>
24580         * sysdeps/unix/closedir.c: Renamed to ...
24581         * sysdeps/posix/closedir.c: ... here.
24582         * sysdeps/unix/dirfd.c: Renamed to ...
24583         * sysdeps/posix/dirfd.c: ... here.
24584         * sysdeps/unix/dirstream.h: Renamed to ...
24585         * sysdeps/posix/dirstream.h: ... here.
24586         * sysdeps/unix/fdopendir.c: Renamed to ...
24587         * sysdeps/posix/fdopendir.c: ... here.
24588         * sysdeps/unix/opendir.c: Renamed to ...
24589         * sysdeps/posix/opendir.c: ... here.
24590         * sysdeps/unix/readdir.c: Renamed to ...
24591         * sysdeps/posix/readdir.c: ... here.
24592         * sysdeps/unix/readdir_r.c: Renamed to ...
24593         * sysdeps/posix/readdir_r.c: ... here.
24594         * sysdeps/unix/rewinddir.c: Renamed to ...
24595         * sysdeps/posix/rewinddir.c: ... here.
24596         * sysdeps/unix/seekdir.c: Renamed to ...
24597         * sysdeps/posix/seekdir.c: ... here.
24598         * sysdeps/unix/telldir.c: Renamed to ...
24599         * sysdeps/posix/telldir.c: ... here.
24600         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24601         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24602         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24603         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24605         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24606         * bits/fcntl.h: ... here.
24608         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24609         not 0.
24610         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24611         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24612         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24613         (struct flock): Move l_start, l_len to the beginning.
24614         Use __pid_t for l_pid.
24615         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24616         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24617         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24618         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24619         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24620         [__USE_LARGEFILE64] (struct flock64): New type.
24621         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24623         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24624         * bits/dirent.h: ... here.
24626         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24627         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24629 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24631         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24632         Change from 2.6.0 to 2.6.16.
24633         * sysdeps/unix/sysv/linux/configure: Regenerated.
24634         * sysdeps/unix/sysv/linux/kernel-features.h
24635         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24636         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24637         version.
24638         (__ASSUME_UTIMES): Likewise.
24639         (__ASSUME_CLONE_STOPPED): Remove.
24640         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24641         architectures, not kernel version.
24642         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24643         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24644         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24645         (__ASSUME_WAITID_SYSCALL): Likewise.
24646         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24647         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24648         * README: State 2.6.16 as minimum Linux kernel version.  Do not
24649         refer to older versions.
24651 2012-08-06  Roland McGrath  <roland@hack.frob.com>
24653         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24654         Define alphasort64 as an alias.
24655         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24656         Define versionsort64 as an alias.
24657         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24658         Define scandir64 as an alias.
24659         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24660         Define scandirat64 as an alias.
24661         * dirent/alphasort64.c (alphasort64):
24662         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24663         * dirent/versionsort64.c: Likewise.
24664         * dirent/scandir64.c: Likewise.
24665         * dirent/scandirat64.c: Likewise.
24666         * sysdeps/wordsize-64/alphasort.c: File removed.
24667         * sysdeps/wordsize-64/alphasort64.c: File removed.
24668         * sysdeps/wordsize-64/scandir.c: File removed.
24669         * sysdeps/wordsize-64/scandir64.c: File removed.
24670         * sysdeps/wordsize-64/scandirat.c: File removed.
24671         * sysdeps/wordsize-64/scandirat64.c: File removed.
24672         * sysdeps/wordsize-64/versionsort.c: File removed.
24673         * sysdeps/wordsize-64/versionsort64.c: File removed.
24674         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24675         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24676         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24677         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24678         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24679         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24680         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24681         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24683         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24684         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24685         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24686         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24687         [defined __arch64__ || defined __sparcv9]
24688         (__INO_T_MATCHES_INO64_T): New macro.
24689         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24690         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24691         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24692         * sysdeps/unix/sysv/linux/bits/dirent.h
24693         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24694         (_DIRENT_MATCHES_DIRENT64): New macro.
24696         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24697         Define lockf64 as an alias.
24698         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24699         Define fseeko64 as an alias.
24700         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24701         Define ftello64 as an alias.
24702         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24703         Define _IO_fgetpos64 and fgetpos64 as aliases.
24704         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24705         Define _IO_fsetpos64 and fsetpos64 as aliases.
24706         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24707         Conditionalize body on this.
24708         * libio/fseeko64.c: Likewise.
24709         * libio/ftello64.c: Likewise.
24710         * libio/iofgetpos64.c: Likewise.
24711         * libio/iofsetpos64.c: Likewise.
24712         * sysdeps/wordsize-64/lockf.c: File removed.
24713         * sysdeps/wordsize-64/lockf64.c: File removed.
24714         * sysdeps/wordsize-64/fseeko.c: File removed.
24715         * sysdeps/wordsize-64/fseeko64.c: File removed.
24716         * sysdeps/wordsize-64/ftello.c: File removed.
24717         * sysdeps/wordsize-64/ftello64.c: File removed.
24718         * sysdeps/wordsize-64/iofgetpos.c: File removed.
24719         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24720         * sysdeps/wordsize-64/iofsetpos.c: File removed.
24721         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24722         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24723         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24724         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24725         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24726         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24727         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24728         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24729         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24730         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24731         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24733         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24734         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24735         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24736         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24737         [defined __arch64__ || defined __sparcv9]
24738         (__OFF_T_MATCHES_OFF64_T): New macro.
24739         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24740         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24741         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24742         (__OFF_T_MATCHES_OFF64_T): New macro.
24744 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24746         * stdlib/secure-getenv.c (__secure_getenv): Replace
24747         GLIBC_2_16 with GLIBC_2_17.
24749 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24751         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24752         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24754 2012-08-03  David S. Miller  <davem@davemloft.net>
24756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24758 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24760         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24761         Remove.
24762         (__ASSUME_CORRECT_SI_PID): Likewise.
24763         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24764         (__ASSUME_TMPFS_NAME): Likewise.
24765         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24766         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24767         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24768         (HAVE_AUX_SECURE): Make definition unconditional.
24769         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24770         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24772 2012-08-03  Roland McGrath  <roland@hack.frob.com>
24774         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24775         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24776         * sysdeps/mach/hurd/eloop-threshold.h: New file.
24777         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24778         __eloop_threshold instead of SYMLOOP_MAX.
24780         * sysdeps/generic/eloop-threshold.h: New file.
24781         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24782         of MAXSYMLINKS.
24783         * elf/chroot_canon.c (chroot_canon): Likewise.
24785 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24787         [BZ #13717]
24788         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24789         Change to 2.6.0 everywhere.
24790         * sysdeps/unix/sysv/linux/configure: Regenerated.
24791         * sysdeps/unix/sysv/linux/kernel-features.h
24792         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24793         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24794         kernel versions.
24795         (__ASSUME_POSIX_TIMERS): Define unconditionally.
24796         (__ASSUME_FUTEX_REQUEUE): Remove.
24797         (__ASSUME_STATFS64): Define unconditionally.
24798         (__ASSUME_AT_SECURE): Likewise.
24799         (__ASSUME_CORRECT_SI_PID): Likewise.
24800         (__ASSUME_TGKILL): Define without depending on kernel version for
24801         i386.
24802         (__ASSUME_UTIMES): Likewise.
24803         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24804         kernel version.
24805         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24806         (__ASSUME_TMPFS_NAME): Likewise.
24807         * README: Update reference to Linux kernel versions.
24809 2012-08-02  Marek Polacek  <polacek@redhat.com>
24811         [BZ# 14150]
24812         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
24813         libc_cv_asm_type_prefix with %.
24814         * configure: Regenerated.
24815         * include/libc-symbols.h: Remove comment about
24816         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24817         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24818         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24819         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24820         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24821         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24822         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24823         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24824         * elf/tst-unique2mod1.c: Likewise.
24825         * elf/tst-unique1mod2.c: Likewise.
24826         * elf/tst-unique1mod1.c: Likewise.
24827         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24828         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24829         Replace ASM_TYPE_DIRECTIVE with .type.
24830         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24831         * sysdeps/i386/sysdep.h: Likewise.
24832         * sysdeps/x86_64/sysdep.h: Likewise.
24833         * sysdeps/sh/sysdep.h: Likewise.
24834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24835         Do not define ASM_TYPE_DIRECTIVE.
24836         * sysdeps/powerpc/sysdep.h: Likewise.
24837         * sysdeps/powerpc/powerpc32/sysdep.h:
24838         Replace ASM_TYPE_DIRECTIVE with .type.
24839         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24840         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24841         * sysdeps/i386/fpu/e_powf.S: Likewise.
24842         * sysdeps/i386/fpu/e_expl.S: Likewise.
24843         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24844         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24845         * sysdeps/i386/fpu/e_pow.S: Likewise.
24846         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24847         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24848         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24849         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24850         * sysdeps/i386/fpu/e_log2.S: Likewise.
24851         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24852         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24853         * sysdeps/i386/fpu/e_powl.S: Likewise.
24854         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24855         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24856         * sysdeps/i386/fpu/e_logl.S: Likewise.
24857         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24858         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24859         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24860         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24861         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24862         * sysdeps/i386/fpu/e_log.S: Likewise.
24863         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24864         * sysdeps/i386/fpu/e_logf.S: Likewise.
24865         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24866         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24867         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24868         * sysdeps/i386/fpu/e_log10.S: Likewise.
24869         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24870         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24871         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24872         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24873         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24874         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24875         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24876         * sysdeps/i386/i686/strtok.S: Likewise.
24877         * sysdeps/i386/i386-mcount.S: Likewise.
24878         * sysdeps/i386/strtok.S: Likewise.
24879         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24880         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24881         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24882         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24883         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24884         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24885         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24886         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24887         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24888         * sysdeps/x86_64/_mcount.S: Likewise.
24889         * sysdeps/x86_64/strtok.S: Likewise.
24890         * sysdeps/sh/_mcount.S: Likewise.
24892 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24894         * libio/iofopen.c: Include <fcntl.h>.
24895         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24896         (_IO_fopen64, fopen64): Define as aliases.
24897         * libio/iofopen64.c: Include <fcntl.h>.
24898         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24899         Conditionalize body on this.
24900         * sysdeps/wordsize-64/iofopen.c: File removed.
24901         * sysdeps/wordsize-64/iofopen64.c: File removed.
24903 2012-08-01  Marek Polacek  <polacek@redhat.com>
24905         * libc/Makeconfig: Use elf in place of binfmt-subdir.
24906         Use dlfcn directly instead of a variable.
24907         (binfmt-subdir): Do not define.
24908         (dlfcn): Likewise.
24910 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
24912         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24913         Remove all definitions.
24914         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24915         <kernel-features.h>.
24916         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24917         (miss_F_GETOWN_EX): Remove all definitions.
24918         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24919         macro definition.
24920         [!__ASSUME_FCNTL64]: Remove conditional code.
24921         [__ASSUME_FCNTL64]: Make code unconditional.
24922         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24923         <kernel-features.h>.
24924         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24925         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24926         (lockf64) [__NR_fcntl64]: Make code unconditional.
24927         (lockf64) [__ASSUME_FCNTL64]: Likewise.
24929         * sysdeps/unix/sysv/linux/kernel-features.h
24930         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24931         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24932         Make code unconditional.
24933         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24934         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24936         [__NR_vfork]: Make code unconditional.
24937         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24938         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24940         [__NR_vfork]: Make code unconditional.
24941         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24942         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24944 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24946         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24947         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24949         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24950         Define mkstemp64 as an alias.
24951         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24952         Define mkstemps64 as an alias.
24953         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24954         Define mkostemp64 as an alias.
24955         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24956         Define mkostemps64 as an alias.
24957         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24958         Conditionalize body on this.
24959         * misc/mkostemp64.c: Likewise.
24960         * misc/mkostemps64.c: Likewise.
24961         * misc/mkstemps64.c: Likewise.
24962         * sysdeps/wordsize-64/mkstemp64.c: File removed.
24963         * sysdeps/wordsize-64/mkostemp64.c: File removed.
24964         * sysdeps/wordsize-64/mkostemp.c: File removed.
24965         * sysdeps/wordsize-64/mkstemp.c: File removed.
24966         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24967         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24968         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24969         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24971         [BZ #14138]
24972         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24973         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24974         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24975         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24977         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24978         compat_symbol macros from <shlib-compat.h> rather than the underlying
24979         default_symbol_version and symbol_version macros, so that DEFAULT
24980         lines in shlib-versions are respected.
24981         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24983 2012-08-01  Florian Weimer  <fweimer@redhat.com>
24985         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24986         Declare with warn_unused_result.
24987         (setgid, setregid, setegid, setresgid): Likewise.
24988         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24989         Likewise.
24990         * WUR-REPORT: Remove set*id functions.
24992 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
24994         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24996 2012-07-31  Roland McGrath  <roland@hack.frob.com>
24998         [BZ #10191]
24999         * include/sys/socket.h (__libc_accept, __libc_accept4):
25000         Add attribute_hidden.
25001         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25003         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25004         use of PTR_MANGLE.
25005         * inet/getnetgrent_r.c (setup): Likewise.
25007         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25009 2012-07-31  David S. Miller  <davem@davemloft.net>
25011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25013 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
25015         [BZ #13629]
25016         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25017         value between 1.0 and 2.0 and smaller part has absolute value less
25018         than 1.0.
25019         * math/s_clog10.c (__clog10): Likewise.
25020         * math/s_clog10f.c (__clog10f): Likewise.
25021         * math/s_clog10l.c (__clog10l): Likewise.
25022         * math/s_clogf.c (__clogf): Likewise.
25023         * math/s_clogl.c (__clogl): Likewise.
25024         * math/libm-test.inc (clog_test): Add more tests.
25025         (clog10_test): Likewise.
25026         * sysdeps/i386/fpu/libm-test-ulps: Update.
25027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25029 2012-07-31  Florian Weimer  <fweimer@redhat.com>
25031         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25032         Exit with zero in case no suitable GID is found, and write a
25033         message to standard error.
25035 2012-07-30  Roland McGrath  <roland@hack.frob.com>
25037         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25038         rather than to 1.
25039         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25040         (MAXPATHLEN): Removed.
25041         (NOGROUP, NODEV): New macros.
25042         (setbit, clrbit, isset, isclr): New macros.
25043         (howmany, roundup, powerof2): New macros.
25044         (DEV_BSIZE): New macro.
25046         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25047         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25049         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25050         definition on [!__NO_LONG_DOUBLE_MATH].
25052         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25053         PTR_MANGLE and PTR_DEMANGLE.
25055         * socket/accept4.c (accept4): Rename to __libc_accept4.
25056         Define accept4 as a weak alias.
25058         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25059         on [_DIRENT_HAVE_D_TYPE].
25060         * io/ftw.c (ftw_dir): Likewise.
25062         * io/xmknod.c (__xmknod): Don't check PATH for being null.
25064         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25066         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25067         Use the BSD numbers rather than the arbitrary ones we had.
25068         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25069         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25070         (SIGXCPU, SIGXFSZ): New macros.
25071         (_NSIG): Now 32.
25073         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25074         initializer on [_LIBC_REENTRANT].
25076         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25077         definitions inside [_POSIX_MAPPED_FILES].
25079         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25081         * dirent/opendir.c: Include <fcntl.h>.
25083         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25084         (__libc_getspecific): Likewise.
25085         (__libc_key_create): Likewise.
25087         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25088         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25089         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25090         (tmpfile64): Define as alias.
25091         * sysdeps/wordsize-64/tmpfile.c: File removed.
25092         * sysdeps/wordsize-64/tmpfile64.c: File removed.
25093         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25094         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25096         * stdio-common/vfscanf.c: Include <stdbool.h>.
25097         * nss/makedb.c: Likewise.
25098         * stdio-common/_i18n_number.h: Likewise.
25099         * argp/argp-help.c: Likewise.
25100         * posix/wordexp.c: Likewise.
25101         * sysdeps/posix/spawni.c: Likewise.
25102         * nss/nss_files/files-initgroups.c: Likewise.
25103         * stdio-common/reg-modifier.c: Include <stdlib.h>.
25104         * nss/nss_files/files-initgroups.c: Likewise.
25105         * nss/nss_db/db-netgrp.c: Likewise.
25106         * nss/nss_db/db-initgroups.c: Likewise.
25107         * io/fchmodat.c: Include <sys/stat.h>.
25109         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25110         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25112         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25113         [HAVE_MMAP].
25115         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25116         Add multiple inclusion protection.
25118 2012-07-27  David S. Miller  <davem@davemloft.net>
25120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25122 2012-07-27  Gary Benson  <gbenson@redhat.com>
25124         [BZ #14298]
25125         * elf/rtld.c: Include <stap-probe.h>.
25126         (dl_main): Added static probes "init_start" and "init_complete".
25127         * elf/dl-load.c: Include <stap-probe.h>.
25128         (lose): Take new parameter "nsid".
25129         Added static probe "map_failed".
25130         (_dl_map_object_from_fd): Pass namespace id to lose.
25131         Added static probe "map_start".
25132         (open_verify): Pass namespace id to lose.
25133         * elf/dl-open.c: Include <stap-probe.h>.
25134         (dl_open_worker) Added static probes "map_complete", "reloc_start"
25135         and "reloc_complete".
25136         * elf/dl-close.c: Include <stap-probe.h>.
25137         (_dl_close_worker): Added static probes "unmap_start" and
25138         "unmap_complete".
25139         * elf/rtld-debugger-interface.txt: New file documenting the above.
25141 2012-07-26  Roland McGrath  <roland@hack.frob.com>
25143         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25144         rather than a string variable.
25145         * sunrpc/rpc_main.c (h_output): Likewise.
25146         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25148 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
25150         * inet/check_native.c: New file.
25152 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
25154         [BZ #13629]
25155         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25156         if larger part has absolute value 1.0.
25157         * math/s_clog10.c (__clog10): Likewise.
25158         * math/s_clog10f.c (__clog10f): Likewise.
25159         * math/s_clog10l.c (__clog10l): Likewise.
25160         * math/s_clogf.c (__clogf): Likewise.
25161         * math/s_clogl.c (__clogl): Likewise.
25162         * math/libm-test.inc (clog_test): Add more tests.
25163         (clog10_test): Likewise.
25164         * sysdeps/i386/fpu/libm-test-ulps: Update.
25165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25167         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25168         (pltexit): Likewise.
25169         (La_regs): Likewise.
25170         (La_retval): Likewise.
25171         (int_retval): Likewise.
25172         Update #error for removed macros to refer only to definitions in
25173         tst-audit.h.
25174         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25175         macro.
25176         (pltexit): Likewise.
25177         (La_regs): Likewise.
25178         (La_retval): Likewise.
25179         (int_retval): Likewise.
25180         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25181         macro.
25182         (pltexit): Likewise.
25183         (La_regs): Likewise.
25184         (La_retval): Likewise.
25185         (int_retval): Likewise.
25186         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25187         macro.
25188         (pltexit): Likewise.
25189         (La_regs): Likewise.
25190         (La_retval): Likewise.
25191         (int_retval): Likewise.
25192         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25193         macro.
25194         (pltexit): Likewise.
25195         (La_regs): Likewise.
25196         (La_retval): Likewise.
25197         (int_retval): Likewise.
25198         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25199         macro.
25200         (pltexit): Likewise.
25201         (La_regs): Likewise.
25202         (La_retval): Likewise.
25203         (int_retval): Likewise.
25204         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25205         macro.
25206         (pltexit): Likewise.
25207         (La_regs): Likewise.
25208         (La_retval): Likewise.
25209         (int_retval): Likewise.
25210         * sysdeps/generic/tst-audit.h: Update comment to refer only to
25211         macro definitions in tst-audit.h.
25212         * sysdeps/i386/tst-audit.h: New file.
25213         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25214         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25215         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25216         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25217         * sysdeps/sh/tst-audit.h: Likewise.
25218         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25219         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25220         * sysdeps/x86_64/tst-audit.h: Likewise.
25222 2012-07-26  Andreas Jaeger  <aj@suse.de>
25224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25225         ptrace.
25227         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25228         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25229         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25230         PTRACE_O_MASK.
25231         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25232         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25233         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25235         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25236         value.
25238         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25239         _sigsys.
25240         (si_call_addr, si_syscall, si_arch): Define new macro.
25241         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25242         _sigsys.
25243         (si_call_addr, si_syscall, si_arch): Define new marcro.
25244         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25245         _sigsys.
25246         (si_call_addr, si_syscall, si_arch): Define new macro.
25247         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25248         _sigsys.
25249         (si_call_addr, si_syscall, si_arch): Define new macro.
25251 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25253         [BZ #13717]
25254         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25255         Change to 2.4.21 where previously 2.4.1.
25256         * sysdeps/unix/sysv/linux/configure: Regenerated.
25257         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25258         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25259         Linux kernel version.
25260         (__ASSUME_STD_AUXV): Remove.
25261         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25262         kernel version.
25263         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25264         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25265         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25266         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25267         (__ASSUME_NETLINK_SUPPORT): Likewise.
25268         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25269         (__no_netlink_support): Remove conditional definition.
25270         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25271         Remove.
25272         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25273         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25274         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25275         (if_nameindex_ioctl): Remove.
25276         (if_nameindex_netlink): Do not handle __no_netlink_support.
25277         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25278         code.
25279         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25280         Remove conditional code.
25281         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25282         code.
25283         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25284         unconditional.
25285         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25286         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25287         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25288         Remove.
25289         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25290         [!__ASSUME_STD_AUXV]: Remove conditional code.
25291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25292         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25293         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25295         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25296         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25297         code.
25298         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25300         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25301         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25302         conditional code.
25303         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25305         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25306         code.
25307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25308         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25309         conditional code.
25310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25311         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25312         code unconditional.
25313         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25314         conditional code.
25315         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25316         unconditional.
25317         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25318         conditional code.
25319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25320         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25321         unconditional.
25322         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25323         conditional code.
25324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25325         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25326         code unconditional.
25327         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25328         conditional code.
25329         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25330         unconditional.
25331         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25332         conditional code.
25333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25334         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25335         code unconditional.
25336         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25337         conditional code.
25338         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25339         unconditional.
25340         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25341         conditional code.
25343 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
25345         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25346         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25347         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25348         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25349         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25350         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25351         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25352         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25353         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25354         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25355         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25356         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25357         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25358         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25359         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25360         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25361         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25362         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25363         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25365         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25366         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25367         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25369 2012-07-25  Florian Weimer  <fweimer@redhat.com>
25371         * Versions.def: Add GLIBC_2.17.
25372         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25373         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25374         Introduce __libc_secure_getenv.
25375         * stdlib/Versions (2.17): Add secure_getenv
25376         (GLIBC_PRIVATE): Add __libc_secure_getenv.
25377         * stdlib/secure-getenv.c: Rename __secure_getenv to
25378         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
25379         symbol __secure_getenv for GLIBC_2.0.
25380         * stdlib/tst-secure-getenv.c: New.
25381         * stdlib/Makefile (tests): Add testcase.
25382         * manual/startup.texi (Environment Access): Document
25383         secure_getenv.
25384         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25385         __libc_secure_getenv.
25386         * inet/ruserpass.c (ruserpass): Likewise.
25387         * malloc/mtrace.c (mtrace): Likewise.
25388         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25389         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25390         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25391         * sysdeps/posix/tempname.c: Likewise.  Evaluate
25392         HAVE_SECURE_GETENV.
25393         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25394         __secure_getenv to __libc_secure_getenv.
25395         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25397         Likewise.
25398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25399         Likewise.
25400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25402         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25408 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25410         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25411         (struct La_i86_retval): Likewise.
25412         (struct La_x86_64_regs): Likewise.
25413         (struct La_x86_64_retval): Likewise.
25414         (struct La_x32_regs): Likewise.
25415         (struct La_x32_retval): Likewise.
25416         (struct La_ppc32_regs): Likewise.
25417         (struct La_ppc32_retval): Likewise.
25418         (struct La_ppc64_regs): Likewise.
25419         (struct La_ppc64_retval): Likewise.
25420         (struct La_sh_regs): Likewise.
25421         (struct La_sh_retval): Likewise.
25422         (struct La_s390_32_regs): Likewise.
25423         (struct La_s390_32_retval): Likewise.
25424         (struct La_s390_64_regs): Likewise.
25425         (struct La_s390_64_retval): Likewise.
25426         (struct La_sparc32_regs): Likewise.
25427         (struct La_sparc32_retval): Likewise.
25428         (struct La_sparc64_regs): Likewise.
25429         (struct La_sparc64_retval): Likewise.
25430         (struct audit_ifaces): Remove architecture-specific pltenter and
25431         pltexit members.
25432         * sysdeps/i386/ldsodefs.h: New file.
25433         * sysdeps/powerpc/ldsodefs.h: Likewise.
25434         * sysdeps/s390/ldsodefs.h: Likewise.
25435         * sysdeps/sh/ldsodefs.h: Likewise.
25436         * sysdeps/sparc/ldsodefs.h: Likewise.
25437         * sysdeps/x86_64/ldsodefs.h: Likewise.
25439 2012-07-25  Marek Polacek  <polacek@redhat.com>
25441         [BZ #6808]
25442         * math/libm-test.inc (yn_test): Add another test.
25443         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25444         to ERANGE when the result is +-Inf.
25445         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25446         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25447         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25448         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25450 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
25452         * conform/data/time.h-data (NULL): Use macro-constant.  Require
25453         equal to 0.
25454         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
25455         clock_t.
25456         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
25458 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
25460         * configure.in <sysdeps resolving>: Correct printing
25461         Implies_before.
25462         * configure: Regenerate.
25464 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
25466         * math/w_ilogb.c: Include <limits.h>.
25467         * math/w_ilogbl.c: Likewise.
25469 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25471         * manual/lang.texi (__va_copy): Document primarily as ISO C99
25472         va_copy.  Document allowing for unavailable va_copy only as
25473         pre-C99 compatibility.
25474         * manual/string.texi (Copying and Concatenation): Use va_copy
25475         instead of __va_copy in concat example.
25477 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
25479         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25480         (__sendto): Use create_address_port.  Initialize APORT and deallocate
25481         it if not null.
25483         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25484         with O_NOLINK passed to __file_name_lookup.
25486         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25487         with O_NOLINK passed to __file_name_lookup.
25489         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25490         negative N or less than NGIDS.
25492         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25493         type to string_t.  Set ERANGE as errno and return it if NAME is not big
25494         enough.  Use memcpy instead of strncpy.
25496 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25498         * elf/Makefile (check-data): Remove.
25499         (localplt.data): New vpath directive.
25500         ($(objpfx)check-localplt.out): Use localplt.data from vpath
25501         instead of $(check-data).
25502         * scripts/data/localplt-generic.data: Move to ...
25503         * sysdeps/generic/localplt.data: ... here.
25504         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25505         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25506         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25508         ... here.
25509         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25511         ... here.
25512         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25514         ... here.
25515         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25517         ... here.
25518         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25520         ... here.
25521         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25523         ... here.
25525 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25527         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25528         PPC32 and PPC64 files.
25529         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25530         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25532 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25534         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25535         __makecontext_ret to ...
25536         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25537         ... here and call exit if uc_link is NULL.  New file.
25538         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25539         __makecontext_ret.S.
25540         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25541         __makecontext_ret to ...
25542         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25543         ... here and call exit if uc_link is NULL.  New file.
25544         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25545         __makecontext_ret.S.
25547 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25549         * elf/elf.h (R_390_IRELATIVE): New definition.
25550         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25551         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
25552         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25553         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25554         (elf_machine_lazy_rel): Likewise.
25555         * sysdeps/s390/dl-irel.h: New file.
25556         * sysdeps/s390/s390-64/memcpy.S: New asm code.
25557         * sysdeps/s390/s390-64/memset.S: New asm code.
25558         * sysdeps/s390/s390-64/memcmp.S: New asm code.
25559         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25560         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25561         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25562         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25563         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25564         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25565         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25566         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25567         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25568         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25569         * sysdeps/s390/s390-32/memcpy.S: New asm code.
25570         * sysdeps/s390/s390-32/memset.S: New asm code.
25571         * sysdeps/s390/s390-32/memcmp.S: New asm code.
25573 2012-07-17  Marek Polacek  <polacek@redhat.com>
25575         [BZ #14349]
25576         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25577         * sysdeps/s390/s390-64/configure.in: Likewise.
25578         * sysdeps/sparc/configure.in: Likewise.
25579         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25580         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25581         * sysdeps/i386/configure.in: Likewise.
25582         * sysdeps/x86_64/configure.in: Likewise.
25583         * sysdeps/sh/configure.in: Likewise.
25584         * sysdeps/s390/s390-32/configure: Regenerated.
25585         * sysdeps/s390/s390-64/configure: Likewise.
25586         * sysdeps/x86_64/configure: Likewise.
25587         * sysdeps/sh/configure: Likewise.
25588         * sysdeps/powerpc/powerpc64/configure: Likewise.
25589         * sysdeps/powerpc/powerpc32/configure: Likewise.
25590         * sysdeps/sparc/configure: Likwise.
25591         * sysdeps/i386/configure: Likewise.
25593         * elf/dl-open.c: Comment fixes.
25595 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
25597         * Makefile [CXX] (check-data): Remove.
25598         [CXX] (c++-types.data): New vpath directive.
25599         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25600         vpath.  Do not allow for C++ type data being missing.
25601         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25602         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25603         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25604         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25605         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25606         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25607         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25609         ... here.
25610         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25612         ... here.
25613         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25615         ... here.
25616         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25618         ... here.
25619         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25621         ... here.
25622         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25624         ... here.
25625         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25627         ... here.
25628         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25629         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25631         * elf/tls-macros.h (TLS_LE): Move architecture-specific
25632         definitions to architecture-specific files.
25633         (TLS_IE): Likewise.
25634         (TLS_LD): Likewise.
25635         (TLS_GD): Likewise.
25636         * sysdeps/i386/tls-macros.h: New file.
25637         * sysdeps/powerpc/tls-macros.h: Likewise.
25638         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25639         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25640         * sysdeps/sh/tls-macros.h: Likewise.
25641         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25642         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25643         * sysdeps/x86_64/tls-macros.h: Likewise.
25645 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25647         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25648         zero value for regular exit case.
25650         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25651         (__start_context): Preserve zero value for regular exit case.
25653 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25654             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25656         * manual/setjmp.texi (setcontext): Clarify normal process
25657         termination when uc_link is the null pointer.
25658         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25659         exit call.
25661 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
25663         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25664         preprocessor.  Test for each exception mask separately.
25666 2012-07-16  Andreas Jaeger  <aj@suse.de>
25668         * po/ru.po: Update from translation team.
25670 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
25672         * conform/data/string.h-data (NULL): Use macro-constant.  Require
25673         equal to 0.
25674         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25675         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25676         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25677         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25678         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25680 2012-07-13  Andreas Jaeger  <aj@suse.de>
25682         * po/fr.po: Update from translation team.
25684 2012-07-12  Marek Polacek  <polacek@redhat.com>
25686         [BZ #14173]
25687         * math/libm-test.inc (yn_test): Add test for BZ #14173.
25688         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25689         loop condition.
25691 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
25693         [BZ #13717]
25694         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25695         Change to 2.4.1 where previously 2.4.0.
25696         * sysdeps/unix/sysv/linux/configure: Regenerated.
25697         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25698         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25699         version.
25700         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25701         (__ASSUME_AT_CLKTCK): Remove.
25702         (__ASSUME_AT_PAGESIZE): Likewise.
25703         (__ASSUME_AT_XID): Likewise.
25704         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25705         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25706         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25707         unconditionally.
25708         (HAVE_AUX_PAGESIZE): Likewise.
25709         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25710         [__ASSUME_AT_CLKTCK]: Make code unconditional.
25711         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25713 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
25715         [BZ #14307]
25716         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25717         the temporary buffer used to invoke __gethostbyname2_r,
25718         __gethostbyaddr_r and gethostbyname4_r to make room for struct
25719         host_data / struct gaih_addrtuple.
25720         * resolv/nss_dns/dns-host.c (global scope): Move definition of
25721         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25722         header file nss/nsswitch.h.
25723         * nss/nsswitch.h (global scope): Add definition of implementation
25724         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25725         resolv/nss_dns/dns-host.c).
25727 2012-07-11  Andreas Jaeger  <aj@suse.de>
25729         * po/fr.po: Update from translation team.
25731         * po/sv.po: Update from translation team
25732         * po/fr.po: Another update from translation team.
25734 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25736         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25737         for subnormals or multiply small sinh result by itself.
25738         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25741 2012-07-11  David S. Miller  <davem@davemloft.net>
25743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25745 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
25747         [BZ #14347]
25748         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25749         (INTERNAL_MARK): Shift it here.
25751 2012-07-10  Marek Polacek  <polacek@redhat.com>
25753         [BZ #14151]
25754         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
25755         libc_cv_asm_global_directive with .globl.
25756         * configure: Regenerated.
25757         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25758         with .globl.
25759         * sysdeps/i386/configure: Regenerated.
25760         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25761         with .globl.
25762         * sysdeps/x86_64/configure: Regenerated.
25763         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25764         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25765         * elf/tst-unique2mod2.c: Likewise.
25766         * elf/tst-unique2mod1.c: Likewise.
25767         * elf/tst-unique1mod2.c: Likewise.
25768         * elf/tst-unique1mod1.c: Likewise.
25769         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25770         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25771         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25772         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25773         * sysdeps/mach/sysdep.h: Likewise.
25774         * sysdeps/i386/sysdep.h: Likewise.
25775         * sysdeps/i386/i386-mcount.S: Likewise.
25776         * sysdeps/x86_64/_mcount.S: Likewise.
25777         * sysdeps/x86_64/sysdep.h: Likewise.
25778         * sysdeps/sh/_mcount.S: Likewise.
25779         * sysdeps/sh/sysdep.h: Likewise.
25780         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25781         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25782         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25783         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25784         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25785         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25786         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25787         * locale/localeinfo.h: Likewise.
25788         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25789         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25791 2012-07-09  Roland McGrath  <roland@hack.frob.com>
25793         [BZ #14336]
25794         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25795         system".
25796         * manual/message.texi (The Uniforum approach): Likewise.
25797         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25798         (glibc iconv Implementation): Likewise.
25800 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
25802         [BZ #14337]
25803         * math/s_clog.c (__clog): Avoid scaling a value down where that
25804         could result in underflow.
25805         * math/s_clog10.c (__clog10): Likewise.
25806         * math/s_clog10f.c (__clog10f): Likewise.
25807         * math/s_clog10l.c (__clog10l): Likewise.
25808         * math/s_clogf.c (__clogf): Likewise.
25809         * math/s_clogl.c (__clogl): Likewise.
25810         * math/libm-test.inc (clog_test): Add more tests.
25811         (clog10_test): Likewise.
25812         * sysdeps/i386/fpu/libm-test-ulps: Update.
25813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25815 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
25817         [BZ #14283]
25818         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25819         by 7 not 8 to examine high bit of fractional part.
25821         [BZ #14042]
25822         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25823         for call to __mcount_internal.
25824         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25825         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25826         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25828 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
25830         [BZ #14154]
25831         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25832         approximation for values within 0x1p-13f of an odd multiple of
25833         pi/4.
25834         * math/libm-test.inc (tan_test): Do not allow spurious underflow
25835         exception.  Add more tests.
25836         * sysdeps/i386/fpu/libm-test-ulps: Update.
25838         [BZ #6778]
25839         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25840         inputs and return -1 for them.  Do not check for +Inf in case not
25841         reachable for +Inf.
25842         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25843         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25844         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25845         and return -1 for them.  Do not check for +Inf in case not
25846         reachable for +Inf.
25847         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25848         define.
25849         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25850         and return -1 for them.  Do not check for +Inf in case not
25851         reachable for +Inf.
25852         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
25853         spurious underflow.
25854         * sysdeps/i386/fpu/libm-test-ulps: Update.
25855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25857 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
25859         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25861 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
25863         [BZ #14157]
25864         [BZ #14331]
25865         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25866         could result in spurious underflow.  Scale down values above
25867         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25868         * math/s_csqrtf.c (__csqrtf): Likewise.
25869         * math/s_csqrtl.c (__csqrtl): Likewise.
25870         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
25871         spurious underflow.
25872         * sysdeps/i386/fpu/libm-test-ulps: Update.
25873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25875 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
25877         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25878         xopen-msg.sed.
25879         * catgets/xopen-msg.awk: New file.
25880         * catgets/xopen-msg.sed: Removed.
25882         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25883         po2text.sed.
25884         * intl/po2test.awk: New file.
25885         * intl/po2test.sed: Removed.
25887 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
25889         [BZ #14328]
25890         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25891         or multiply small sinh result by itself.
25892         * math/s_ctanf.c (__ctanf): Likewise.
25893         * math/s_ctanh.c (__ctanh): Likewise.
25894         * math/s_ctanhf.c (__ctanhf): Likewise.
25895         * math/s_ctanhl.c (__ctanhl): Likewise.
25896         * math/s_ctanl.c (__ctanl): Likewise.
25897         * math/libm-test.inc (ctan_test_tonearest): New function.
25898         (ctan_test_towardzero): Likewise.
25899         (ctan_test_downward): Likewise.
25900         (ctan_test_upward): Likewise.
25901         (ctanh_test_tonearest): Likewise.
25902         (ctanh_test_towardzero): Likewise.
25903         (ctanh_test_downward): Likewise.
25904         (ctanh_test_upward): Likewise.
25905         (main): Call these new functions.
25906         * sysdeps/i386/fpu/libm-test-ulps: Update.
25907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25909 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
25911         * .gitignore: Delete /ports entry.
25913 2012-07-03  Andreas Jaeger  <aj@suse.de>
25915         * po/bg.po: Update from translation team.
25916         * po/cs.po: Likewise.
25917         * po/de.po: Likewise.
25918         * po/hr.po: Likewise.
25919         * po/nl.pl: Likewise.
25920         * po/pl.po: Likewise.
25921         * po/vi.po: Likewise.
25923 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
25925         * Makeconfig [!+link] (+link-before-libc): New variable.
25926         [!+link] (+link-after-libc): Likewise.
25927         [!+link] (+link-tests): Likewise.
25928         [!+link] (+link): Define in terms of $(+link-before-libc) and
25929         $(+link-after-libc).
25930         [!+link-static] (+link-static-before-libc): New variable.
25931         [!+link-static] (+link-static-after-libc): Likewise.
25932         [!+link-static] (+link-static-tests): Likewise.
25933         [!+link-static] (+link-static): Define in terms of
25934         $(+link-static-before-libc) and $(+link-static-after-libc).
25935         [build-shared] (link-libc-before-gnulib): New variable.
25936         [build-shared] (link-libc-tests): Likewise.
25937         [build-shared] (link-libc): Define in terms of
25938         $(link-libc-before-gnulib).
25939         [!build-shared] (link-libc-tests): New variable.
25940         (link-libc-static-tests): New variable.
25941         [!gnulib] (gnulib-arch): New variable.
25942         [!gnulib] (gnulib-tests): Likewise.
25943         [!gnulib] (static-gnulib-arch): Likewise.
25944         [!gnulib] (static-gnulib-tests): Likewise.
25945         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
25946         Define with "=" instead of ":=".
25947         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
25948         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
25949         * Rules (binaries-all-notests): New variable.
25950         (binaries-all-tests): Likewise.
25951         (binaries-static-notests): Likewise.
25952         (binaries-static-tests): Likewise.
25953         (binaries-all): Define using $(binaries-all-notests) and
25954         $(binaries-all-tests).
25955         (binaries-static): Define using $(binaries-static-notests) and
25956         $(binaries-static-tests).
25957         (binaries-shared-tests): New variable.
25958         (binaries-shared-notests): Likewise.
25959         (binaries-shared): Remove variable.
25960         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25961         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25962         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25963         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25964         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25965         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25966         * elf/Makefile (sln-modules): New variable.
25967         (extra-objs): Add $(sln-modules:=.o).
25968         (ldconfig-modules): Add static-stubs.
25969         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25970         * elf/static-stubs.c: New file.
25972         [BZ #14283]
25973         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25974         by 7 not 8 to examine high bit of fractional part.  Use volatile
25975         variables when splitting into final array of floats if
25976         __FLT_EVAL_METHOD__ != 0.
25977         * math/libm-test.inc (cos_test): Add another test.
25978         (sin_test): Likewise.
25979         * sysdeps/i386/fpu/libm-test-ulps: Update.
25981         [BZ #14273]
25982         * math/libm-test.inc (cosh_test): Add more tests.
25984         * version.h (RELEASE): Set to "development".
25985         (VERSION): Set to "2.16.90".
25987 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
25989         * NEWS: Update copyright. Remove last-updated date.
25990         Mention math library bug fixes and timezone data changes.
25991         * README: Mention GNU/Hurd, x32, and HPPA support status.
25993 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
25995         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25997 2012-06-27  Andreas Jaeger  <aj@suse.de>
25999         * manual/contrib.texi (Contributors): Add Samuel Thibault.
26001 2012-06-25  Andreas Jaeger  <aj@suse.de>
26003         * sysdeps/s390/fpu/libm-test-ulps: Update.
26005 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
26006             Thomas Schwinge  <thomas@codesourcery.com>
26008         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26009         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26010         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26011         fanotify_mark.
26013 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
26015         * sysdeps/mach/start.c: Remove file.
26016         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26017         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26018         * sysdeps/sh/init-first.c: Likewise.
26020         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26021         registers for frame unwinding purposes, add CFI directives.
26022         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26023         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26024         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26025         Likewise.
26027         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26028         __fortify_fail returning.
26029         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26031         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26032         sysdeps/sh/____longjmp_chk.S.
26033         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26034         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26035         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26036         (gen-as-const-headers): Append sigaltstack-offsets.sym.
26038         * sysdeps/sh/abort-instr.h: New file.
26039         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26040         process in case exit returns.
26042         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26043         initialize the GOT register before use.
26045         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26046         calculation of ARGC > 4.
26048         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26049         meaningful names to some local labels.
26051 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26052             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26054         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26055         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26056         (__arch_compare_and_exchange_val_16_acq): Likewise.
26057         (__arch_compare_and_exchange_val_32_acq): Likewise.
26058         (atomic_exchange_and_add): Fix gUSA sequence.
26059         (atomic_add): Likewise.
26060         (atomic_add_negative): Likewise.
26061         (atomic_add_zero): Likewise.
26062         (atomic_bit_test_set): Likewise.
26064 2012-06-22  Andreas Schwab  <schwab@redhat.com>
26066         [BZ #13579]
26067         * include/link.h (struct link_map): Add l_free_initfini.
26068         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26069         l_initfini.
26070         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26071         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26072         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26073         set.
26075 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
26077         * configure.in: Use AC_LANG_SOURCE.
26078         * configure: Regenerate.
26080 2012-06-22  Roland McGrath  <roland@hack.frob.com>
26082         * configure.in (libc_cv_localstatedir): New substituted variable.
26083         * configure: Regenerated.
26084         * config.make.in (localstatedir): New variable, substituted from
26085         libc_cv_localstatedir.
26086         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26087         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26088         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26089         * sysdeps/gnu/configure: Regenerated.
26091 2012-06-21  Jeff Law  <law@redhat.com>
26093         [BZ #14277]
26094         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26095         free.  Simplify list management for _LIBC case.
26097 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
26099         [BZ #14273]
26100         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26101         Clear sign bit of 64-bit integer value before comparing against
26102         overflow value.
26104         * sysdeps/mach/configure: Regenerated.
26106 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
26108         [BZ #14278]
26109         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26111 2012-06-21  Jeff Law  <law@redhat.com>
26113         [BZ #13882]
26114         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
26115         uint16_t for elements in the "seen" array to avoid char overflows.
26116         * elf/dl-fini.c (_dl_sort_fini): Likewise.
26117         * elf/dl-open.c (dl_open_worker): Likewise.
26119 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
26121         * scripts/list-sources.sh: Scan PORTS for translations.
26122         * po/libc.pot: Regenerated.
26124 2012-06-21  Andreas Jaeger  <aj@suse.de>
26126         [BZ #12194]
26127         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26128         warning.
26129         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26130         * bits/byteswap-16.h (__bswap_16): Likewise.
26131         * bits/byteswap.h (__bswap_constant_16): Likewise.
26133 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
26135         [BZ #14117]
26136         * sysdeps/i386/fpu_control.h: Removed.
26137         * sysdeps/x86_64/fpu_control.h: Moved to ...
26138         * sysdeps/x86/fpu_control.h: Here.
26140         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26141         (_FPU_SETCW): Likewise.
26143 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
26145         [BZ #14117]
26146         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26147         * sysdeps/x86/fpu/bits/mathinline.h: This.
26148         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26150         [BZ #14050]
26151         [BZ #14117]
26152         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26153         functions if __x86_64__ is defined.
26155 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
26157         * string/endian.h: Add !__ASSEMBLER__ condition for including
26158         conversion interfaces.
26160 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
26162         [BZ #14241]
26163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26164         of ABS(x) in calculating zero to negative powers other than odd
26165         integers.
26166         * math/libm-test.inc (pow_test): Add more tests.
26168 2012-06-15  Andreas Jaeger  <aj@suse.de>
26170         * manual/contrib.texi (Contributors): Update entry of Liubov
26171         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26172         Machado Filho.
26174 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
26176         * string/string.h: Add __wur to GNU version of strerror_r.
26178 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
26180         [BZ #14229]
26181         * string/Makefile (tests): Add tst-strtok_r.
26182         * string/tst-strtok_r.c: New file.
26183         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26184         RAX_LP/RDX_LP on SAVE_PTR.
26186 2012-06-14  Roland McGrath  <roland@hack.frob.com>
26188         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26190 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
26192         * libm_test.inc (csqrt_test): Allow more spurious underflow
26193         exceptions.
26194         (j0_test): Likewise.
26195         (j1_test): Likewise.
26196         (y0_test): Likewise.
26197         (y1_test): Likewise.
26199 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
26201         * po/Makefile (libc.pot): Use UTF-8 charset.
26203 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
26205         [BZ #14210]
26206         Suppress sign-conversion warning from FD_SET.
26207         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26208         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26209         not unsigned long int.
26210         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26212 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
26214         [BZ #14050]
26215         [BZ #14117]
26216         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26217         __extern_always_inline instead of __extern_inline.
26218         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26219         (__signbit): Likewise.
26220         (__signbitl): Support C++ namespace.
26221         (lrintf): New inline function.
26222         (lrint): Likewise.
26223         (llrintf): Likewise.
26224         (llrint): Likewise.
26225         (fmaxf): Likewise.
26226         (fmax): Likewise.
26227         (fminf): Likewise.
26228         (fmin): Likewise.
26229         (rint): Likewise.
26230         (rintf): Likewise.
26231         (ceil): Likewise.
26232         (ceilf): Likewise.
26233         (floor): Likewise.
26234         (floorf): Likewise.
26235         (nearbyint): Likewise.
26236         (nearbyintf): Likewise.
26238 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
26240         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26241         non-default versions.
26243 2012-06-11  Roland McGrath  <roland@hack.frob.com>
26245         [BZ #14218]
26246         * manual/argp.texi (Argp): Reword argp_parse description slightly.
26248 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
26250         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26251         (FE_UPWARD, FE_DOWNWARD): Don't define.
26252         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26253         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26255         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26256         reading it.
26257         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26258         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26260 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26262         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26263         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26264         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26265         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26267 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
26269         [BZ #14117]
26270         * sysdeps/i386/fpu/bits/fenv.h: Removed.
26271         * sysdeps/i386/fpu/Implies: New file.
26272         * sysdeps/x86_64/fpu/Implies: Likewise.
26273         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26274         * sysdeps/x86/fpu/bits/fenv.h: This.
26276         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26277         __SSE_MATH__.
26279 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26281         [BZ #14134]
26282         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26283         character 0xffff that matches the last element of the
26284         conversion table.
26286 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26288         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26289         fmodl commit.
26291 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26293         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26294         values higher than 25.6283.
26296 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26298         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26299         subnormal exponent extraction and add some __builtin_expect.
26300         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26301         Fix for subnormal mantissa calculation.
26303 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
26305         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26306         cpu2 is -1 and errno is not ENOSYS.
26308 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
26310         [BZ #14117]
26311         * sysdeps/i386/i486/bits/string.h: Renamed to ...
26312         * sysdeps/x86/bits/string.h: This.
26313         * sysdeps/x86_64/bits/string.h: Removed.
26315         * sysdeps/i386/i486/bits/string.h: Define inline functions only
26316         if not compiling for x86-64, but compiling for >= i486.
26318         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26319         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26321         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26322         New macro from Linux kernel 3.4.0.
26323         (FP_XSTATE_MAGIC2): Likewise.
26324         (FP_XSTATE_MAGIC2_SIZE): Likewise.
26325         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26326         (struct _fpx_sw_bytes): New struct.
26327         (struct _xsave_hdr): Likewise.
26328         (struct _ymmh_state): Likewise.
26329         (struct _xstate): Likewise.
26331         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26332         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26333         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26334         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26335         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26336         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26338         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26339         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26340         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26341         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26342         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26343         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26345 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26347         [BZ #13743]
26348         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26349         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26350         (sysdep_headers): Include sys/platform/ppc.h.
26351         * sysdeps/powerpc/test-gettimebase.c: Test for
26352         __ppc_get_timebase() to catch future ISA opcode/insn changes.
26353         * manual/Makefile (appendices): Include platform.texi.
26354         * manual/contrib.texi (Contributors): Update @node pointers.
26355         * manual/maint.texi (Maintenance): Likewise.
26356         (Platform): New node.
26357         * manual/platform.texi: New file.  Document the new features.
26359 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26360             Jakub Jelinek  <jakub@redhat.com>
26362         [BZ #14188]
26363         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26364         where __builtin_expect is unavailable.
26366 2012-06-03  David S. Miller  <davem@davemloft.net>
26368         * stdlib/longlong.h: Updated from GCC.
26370 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
26372         [BZ #14042]
26373         * sysdeps/powerpc/powerpc32/mcount.c: New file.
26374         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26375         __mcount_internal.
26376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26377         (GLIBC_2.16): Likewise.
26379 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26381         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26383 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26386         (default-abi): New variable.
26387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26388         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26389         variable.
26390         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26391         Likewise.
26392         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26393         Likewise.
26394         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26395         Likewise.
26397         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26398         definition.  Document in comment.
26400 2012-06-01  David S. Miller  <davem@davemloft.net>
26402         * stdlib/longlong.h: Updated from GCC.
26404 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26406         [BZ #14117]
26407         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26408         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26409         sys/debugreg.h sys/io.h here.
26410         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26411         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26412         sys/io.h.
26413         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26414         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26415         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26416         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26417         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26418         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26420         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26421         Define only if __x86_64__ is defined.
26423 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26425         [BZ #14048]
26426         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26427         Use int64_t for variable i.
26428         * math/libm-test.inc (fmod_test): Add more tests.
26430         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26431         z computation is not scheduled after fetestexcept.
26432         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26433         Use math_force_eval instead of asm to ensure calculation scheduled
26434         before exception test.
26435         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26436         Ensure a1 + u.d computation is not scheduled after fetestexcept.
26438 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
26440         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26441         computation is not scheduled after fetestexcept.
26443 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26445         [BZ #14117]
26446         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26447         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26449 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26451         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26452         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26454 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26456         [BZ #14117]
26457         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26458         <bits/wordsize.h>.
26459         (__WCHAR_MIN): Support __WORDSIZE == 64.
26460         (__WCHAR_MAX): Likewise.
26462         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26463         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26465         [BZ #14183]
26466         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26467         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26469         [BZ #14117]
26470         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26471         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26473         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26474         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26476         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26477         Defined to 1 if __x86_64__ isn't defined.
26478         (_STAT_VER_LINUX_OLD): New.
26479         (st_atime): Remove duplicate.
26480         (st_mtime): Likewise.
26481         (st_ctime): Likewise.
26483 2012-05-31  David S. Miller  <davem@davemloft.net>
26485         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26486         entries.
26488 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
26490         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26491         gen-libm-test.pl.
26493         [BZ #14132]
26494         * elf/dl-reloc.c: Include <_itoa.h>.
26495         (_dl_reloc_bad_type): Remove use of INTUSE.
26496         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26497         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26498         * stdio-common/psiginfo.c (psiginfo): Likewise.
26499         * stdio-common/psignal.c (psignal): Likewise.
26500         * string/strsignal.c (strsignal): Likewise.
26501         * include/signal.h (_sys_siglist): Declare hidden proto.
26502         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
26503         INTVARDEF with libc_hidden_data_def.
26504         * stdio-common/itoa-udigits.c: Likewise.
26505         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26506         (_itoa_lower_digits_internal): Remove declaration.
26507         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26508         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26509         (_sys_sigabbrev_internal): Remove aliases.
26510         (_sys_siglist): Define hidden alias.
26512 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
26514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26515         bits/sysctl.h.
26517 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26519         [BZ #14117]
26520         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26521         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26523         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26524         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26525         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26526         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26527         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26528         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26530         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26531         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26532         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26534         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26535         with __addr.
26536         (insw): Likewise.
26537         (insl): Likewise.
26538         (outsb): Likewise.
26539         (outsw): Likewise.
26540         (outsl): Likewise.
26542         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26543         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26544         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26546         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26547         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26548         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26549         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26550         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26551         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26553         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26554         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26556         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26557         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26559         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26560         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26561         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26563         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26564         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26565         to ...
26566         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26568         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26569         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26570         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26572         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26573         for x86-64.
26574         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26576 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
26578         * math/math.h (M_El): Use two more decimal places.
26579         (M_LOG2El): Likewise.
26580         (M_LOG10El): Likewise.
26581         (M_LN2l): Likewise.
26582         (M_LN10l): Likewise.
26583         (M_PIl): Likewise.
26584         (M_PI_2l): Likewise.
26585         (M_PI_4l): Likewise.
26586         (M_1_PIl): Likewise.
26587         (M_2_PIl): Likewise.
26588         (M_2_SQRTPIl): Likewise.
26589         (M_SQRT2l): Likewise.
26590         (M_SQRT1_2l): Likewise.
26592 2012-05-31  David S. Miller  <davem@davemloft.net>
26594         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26595         values between float registers.
26596         * sysdeps/sparc/sparc64/memset.S: Likewise.
26597         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26599 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
26601         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26602         -D_FORTIFY_SOURCE=1.
26603         (CPPFLAGS-tst-longjmp_chk.c): Define.
26604         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26605         (CPPFLAGS-tst-longjmp_chk2.c): Define.
26606         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26607         CFLAGS-tst-wchar-h.c.
26609 2012-05-31  Marek Polacek  <polacek@redhat.com>
26611         [BZ #14132]
26612         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26613         __endmntent_internal): Remove declaration.
26614         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26615         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26616         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26618 2012-05-30  David S. Miller  <davem@davemloft.net>
26620         * sysdeps/sparc/sparc32/soft-fp/q_util.c
26621         (___Q_simulate_exceptions): Use real FP ops rather than writing
26622         into the %fsr.
26623         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26624         Likewise.
26626 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26628         [BZ #14117]
26629         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26630         * sysdeps/x86/bits/xtitypes.h: This.
26632         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26633         * sysdeps/x86/bits/wordsize.h: This.
26635         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26636         * sysdeps/x86/bits/huge_vall.h: This.
26638         * sysdeps/i386/bits/select.h: Removed.
26639         * sysdeps/x86_64/bits/select.h: Renamed to ...
26640         * sysdeps/x86/bits/select.h: This.
26642         * sysdeps/i386/bits/setjmp.h: Removed.
26643         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26644         * sysdeps/x86/bits/setjmp.h: This.
26646         * sysdeps/i386/bits/mathdef.h: Removed.
26647         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26648         * sysdeps/x86/bits/mathdef.h: This.
26650 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
26652         [BZ #14132]
26653         * include/sys/socket.h (__connect_internal)
26654         (__libc_sa_len_internal): Remove declaration.
26655         (__connect, __libc_sa_len): Declare hidden_proto.
26656         (SA_LEN): Remove use of INTUSE.
26657         * socket/connect.c: Add libc_hidden_def.
26658         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26659         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26660         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26661         alias.
26662         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26663         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26664         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26665         of adding _internal alias.
26667 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26669         [BZ #14117]
26670         * sysdeps/i386/bits/link.h: Removed.
26671         * sysdeps/i386/bits/linkmap.h: Likewise.
26672         * sysdeps/x86_64/bits/link.h: Renamed to ...
26673         * sysdeps/x86/bits/link.h: This.
26674         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26675         * sysdeps/x86/bits/linkmap.h: This.
26677         * sysdeps/i386/bits/endian.h: Removed.
26678         * sysdeps/x86_64/bits/endian.h: Renamed to ...
26679         * sysdeps/x86/bits/endian.h: This.
26681         * sysdeps/i386/bits/byteswap.h: Removed.
26682         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26683         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26684         * sysdeps/x86/bits/byteswap.h: This.
26685         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26686         * sysdeps/x86/bits/byteswap-16.h: This.
26687         * sysdeps/i386/Implies: Add x86.
26688         * sysdeps/x86_64/Implies: Likewise.
26690 2012-05-30  David S. Miller  <davem@davemloft.net>
26692         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26693         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26694         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26695         (FP_TRAPPING_EXCEPTIONS): Define.
26696         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26697         (FP_TRAPPING_EXCEPTIONS): Define.
26698         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26699         subnormals only when inexact has been signalled or underflow
26700         exceptions are enabled.
26701         (_FP_PACK_CANONICAL): Likewise.
26703 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26705         [BZ #14183]
26706         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26707         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26709 2012-05-30  Richard Henderson  <rth@twiddle.net>
26711         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26712         with #ifndef NOT_IN_libc.
26714         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
26715         marked to avoid plt entry.
26717 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26719         [BZ #14112]
26720         * Makeconfig (default-abi): New macro.
26721         (abi-includes): Likewise.
26722         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
26723         $(abi-$(default-abi)-lib-soname) for soname if defined.
26724         ($(common-objpfx)gnu/lib-names.stmp): Generate from
26725         abi-variants.
26726         * Makefile (installed-stubs): Likewise.
26727         * include/stubs-biarch.h: Removed.
26728         * scripts/lib-names.awk: Only handle one library at a time.
26729         * scripts/soversions.awk: Remove WORDSIZE support.
26730         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26731         entries.
26732         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26733         Removed.
26734         (syscall-list-default-condition): Likewise.
26735         (syscall-list-default-condition): Likewise.
26736         (syscall-list-includes): Likewise.
26737         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26738         syscall-list-* with abi-*.  Handle undefined abi-variants.
26739         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26740         * sysdeps/unix/sysv/linux/i386/Implies: New file.
26741         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26742         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26743         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26744         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26745         Removed.
26746         (syscall-list-32-options): Likewise.
26747         (syscall-list-32-condition): Likewise.
26748         (syscall-list-64-options): Likewise.
26749         (syscall-list-64-condition): Likewise.
26750         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26751         macro.
26752         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26753         Renamed to ...
26754         (abi-*): This.
26755         (abi-64-ld-soname): New macro.
26756         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26757         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26758         Renamed to ...
26759         (abi-*): This.
26760         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26761         * sysdeps/x86_64/x32/shlib-versions: Likewise.
26763 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
26765         * sysdeps/unix/sysv/linux/kernel-features.h
26766         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26767         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26768         include <kernel-features.h>.
26769         [!__NR_ftruncate64]: Remove conditional code.
26770         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26771         [__NR_ftruncate64]: Make code unconditional.
26772         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26773         * sysdeps/unix/sysv/linux/truncate64.c: Do not
26774         include <kernel-features.h>.
26775         [!__NR_ftruncate64]: Remove conditional code.
26776         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26777         [__NR_ftruncate64]: Make code unconditional.
26778         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26780         include <kernel-features.h>.
26781         [!__NR_ftruncate64]: Remove conditional code.
26782         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26783         [__NR_ftruncate64]: Make code unconditional.
26784         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26786         include <kernel-features.h>.
26787         [!__NR_ftruncate64]: Remove conditional code.
26788         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26789         [__NR_ftruncate64]: Make code unconditional.
26790         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26792         * configure.in (libc_cv_fpie): Weaken to a compile test using
26793         LIBC_TRY_CC_OPTION.
26794         * configure: Regenerated.
26796 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26802         Refreshed.
26803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26809         Refreshed.
26811 2012-05-27  David S. Miller  <davem@davemloft.net>
26813         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26814         (___Q_zero): New.
26815         (__Q_simulate_exceptions): Return void.  Change to simulate
26816         exceptions by writing into the %fsr.
26817         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26818         (__Qp_handle_exceptions): Likewise.
26819         (numbers): Delete.
26820         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26821         __Qp_handle_exceptions.
26822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26823         __Qp_handle_exceptions.
26824         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26825         as unused and give dummy FP_RND_NEAREST initializer.
26826         (FP_INHIBIT_RESULTS): Define.
26827         (___Q_simulate_exceptions): Update declaration.
26828         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26829         formatting.
26830         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26831         as unused and give dummy FP_RND_NEAREST initializer.
26832         (__Qp_handle_exceptions): Update declaration.
26833         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26834         formatting.
26836 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
26838         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26839         the temporary FPU control word.
26840         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26841         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26842         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26843         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26844         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26845         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26846         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26847         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26848         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26849         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26850         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26852 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26854         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26855         fields.
26857 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
26859         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26860         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26861         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26862         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26863         Likewise.
26864         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26865         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26866         Likewise.
26868 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
26870         * po/h.po: Update from translation team.
26872 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
26874         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26876         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26877         handling of denormals.
26878         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26879         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26880         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26881         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26882         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26883         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26884         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26885         Likewise.
26887 2012-05-26  Marek Polacek  <polacek@redhat.com>
26889         [BZ #14152]
26890         * math/libm-test.inc (fma_test): Don't always expect underflow
26891         exception.
26893 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26895         [BZ #12416]
26896         * elf/tst-execstack.c: Include stackinfo.h.
26897         (do_test): Adjust test case to ensure that pthread_getattr_np
26898         behaviour remains the same after marking stack executable.
26900 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26902         * sysdeps/unix/sysv/linux/kernel-features.h
26903         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26904         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26905         kernel-features.h.
26906         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26907         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26908         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26909         kernel-features.h.
26910         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26911         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26913 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
26915         * configure.in: Define the default includes to being none.
26916         * configure: Regenerated.
26918 2012-05-25  Roland McGrath  <roland@hack.frob.com>
26920         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26921         * sysdeps/x86_64/setjmp.S: Likewise.
26922         * sysdeps/i386/bsd-setjmp.S: Likewise.
26923         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26924         * sysdeps/i386/setjmp.S: Likewise.
26925         * sysdeps/i386/__longjmp.S: Likewise.
26926         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26927         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26929         * include/stap-probe.h: New file.
26930         * configure.in: Handle --enable-systemtap.
26931         * configure: Regenerated.
26932         * config.h.in (USE_STAP_PROBE): New #undef.
26933         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26934         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26935         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26937 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26939         [BZ #13717]
26940         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26941         to 2.4.0 where earlier.
26942         * sysdeps/unix/sysv/linux/configure: Regenerated.
26943         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26944         <kernel-features.h>.
26945         [__ASSUME_32BITUIDS]: Make code unconditional.
26946         [!__ASSUME_32BITUIDS]: Remove conditional code.
26947         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26948         <kernel-features.h>.
26949         [__ASSUME_32BITUIDS]: Make code unconditional.
26950         [!__ASSUME_32BITUIDS]: Remove conditional code.
26951         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26952         [__ASSUME_32BITUIDS]: Make code unconditional.
26953         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26954         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26955         <kernel-features.h>.
26956         [__ASSUME_32BITUIDS]: Make code unconditional.
26957         [!__ASSUME_32BITUIDS]: Remove conditional code.
26958         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26959         <kernel-features.h>.
26960         [__ASSUME_32BITUIDS]: Make code unconditional.
26961         [!__ASSUME_32BITUIDS]: Remove conditional code.
26962         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26963         <kernel-features.h>.
26964         [__ASSUME_32BITUIDS]: Make code unconditional.
26965         [!__ASSUME_32BITUIDS]: Remove conditional code.
26966         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26967         <kernel-features.h>.
26968         [__ASSUME_32BITUIDS]: Make code unconditional.
26969         [!__ASSUME_32BITUIDS]: Remove conditional code.
26970         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26971         <kernel-features.h>.
26972         [__ASSUME_32BITUIDS]: Make code unconditional.
26973         [!__ASSUME_32BITUIDS]: Remove conditional code.
26974         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26975         <kernel-features.h>.
26976         [__ASSUME_32BITUIDS]: Make code unconditional.
26977         [!__ASSUME_32BITUIDS]: Remove conditional code.
26978         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26979         <kernel-features.h>.
26980         [__ASSUME_32BITUIDS]: Make code unconditional.
26981         [!__ASSUME_32BITUIDS]: Remove conditional code.
26982         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26983         <kernel-features.h>.
26984         [__ASSUME_32BITUIDS]: Make code unconditional.
26985         [!__ASSUME_32BITUIDS]: Remove conditional code.
26986         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26987         <kernel-features.h>.
26988         [__ASSUME_32BITUIDS]: Make code unconditional.
26989         [!__ASSUME_32BITUIDS]: Remove conditional code.
26990         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26991         <kernel-features.h>.
26992         [__ASSUME_32BITUIDS]: Make code unconditional.
26993         [!__ASSUME_32BITUIDS]: Remove conditional code.
26994         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26995         <kernel-features.h>.
26996         [__NR_setresgid] (__setresgid): Do not declare.
26997         [__ASSUME_32BITUIDS]: Make code unconditional.
26998         [!__ASSUME_32BITUIDS]: Remove conditional code.
26999         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27000         <kernel-features.h>.
27001         [__NR_setresuid] (__setresuid): Do not declare.
27002         [__ASSUME_32BITUIDS]: Make code unconditional.
27003         [!__ASSUME_32BITUIDS]: Remove conditional code.
27004         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27005         <kernel-features.h>.
27006         [__ASSUME_32BITUIDS]: Make code unconditional.
27007         [!__ASSUME_32BITUIDS]: Remove conditional code.
27008         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27009         <kernel-features.h>.
27010         [__ASSUME_32BITUIDS]: Make code unconditional.
27011         [!__ASSUME_32BITUIDS]: Remove conditional code.
27012         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27013         <kernel-features.h>.
27014         [__ASSUME_32BITUIDS]: Make code unconditional.
27015         [!__ASSUME_32BITUIDS]: Remove conditional code.
27016         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27017         <kernel-features.h>.
27018         [__ASSUME_32BITUIDS]: Make code unconditional.
27019         [!__ASSUME_32BITUIDS]: Remove conditional code.
27020         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27021         <kernel-features.h>.
27022         [__ASSUME_32BITUIDS]: Make code unconditional.
27023         [!__ASSUME_32BITUIDS]: Remove conditional code.
27024         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27025         <kernel-features.h>.
27026         [__ASSUME_32BITUIDS]: Make code unconditional.
27027         [!__ASSUME_32BITUIDS]: Remove conditional code.
27028         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27029         <kernel-features.h>.
27030         [__ASSUME_32BITUIDS]: Make code unconditional.
27031         [!__ASSUME_32BITUIDS]: Remove conditional code.
27032         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27033         <kernel-features.h>.
27034         [__ASSUME_32BITUIDS]: Make code unconditional.
27035         [!__ASSUME_32BITUIDS]: Remove conditional code.
27036         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27037         <kernel-features.h>.
27038         [__ASSUME_32BITUIDS]: Make code unconditional.
27039         [!__ASSUME_32BITUIDS]: Remove conditional code.
27040         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27041         <kernel-features.h>.
27042         [__ASSUME_32BITUIDS]: Make code unconditional.
27043         [!__ASSUME_32BITUIDS]: Remove conditional code.
27044         * sysdeps/unix/sysv/linux/kernel-features.h
27045         (__ASSUME_SETRESUID_SYSCALL): Remove.
27046         (__ASSUME_SETRESGID_SYSCALL): Likewise.
27047         (__ASSUME_32BITUIDS): Likewise.
27048         (__ASSUME_LDT_WORKS): Likewise.
27049         (__ASSUME_O_DIRECTORY): Likewise.
27050         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27051         architecture but not kernel version.
27052         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27053         (__ASSUME_MMAP2_SYSCALL): Likewise.
27054         (__ASSUME_STAT64_SYSCALL): Likewise.
27055         (__ASSUME_IPC64): Likewise.
27056         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27057         <kernel-features.h>.
27058         [__ASSUME_32BITUIDS]: Make code unconditional.
27059         [!__ASSUME_32BITUIDS]: Remove conditional code.
27060         * sysdeps/unix/sysv/linux/opendir.c: Do not include
27061         <kernel-features.h>.
27062         [__ASSUME_O_DIRECTORY]: Make code unconditional.
27063         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27064         132096]: Remove conditional code.
27065         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27066         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27067         <kernel-features.h>.
27068         [__ASSUME_32BITUIDS]: Make code unconditional.
27069         [!__ASSUME_32BITUIDS]: Remove conditional code.
27070         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27071         <kernel-features.h>.
27072         [__ASSUME_32BITUIDS]: Make code unconditional.
27073         [!__ASSUME_32BITUIDS]: Remove conditional code.
27074         * sysdeps/unix/sysv/linux/setegid.c: Do not include
27075         <kernel-features.h>.
27076         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27077         unconditional.
27078         (__setresgid): Do not declare.
27079         [__ASSUME_32BITUIDS]: Make code unconditional.
27080         [!__ASSUME_32BITUIDS]: Remove conditional code.
27081         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27082         <kernel-features.h>.
27083         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27084         unconditional.
27085         (__setresuid): Do not declare.
27086         [__ASSUME_32BITUIDS]: Make code unconditional.
27087         [!__ASSUME_32BITUIDS]: Remove conditional code.
27088         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27089         <kernel-features.h>.
27090         [__ASSUME_32BITUIDS]: Make code unconditional.
27091         [!__ASSUME_32BITUIDS]: Remove conditional code.
27092         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27093         <kernel-features.h>.
27094         [__ASSUME_32BITUIDS]: Make code unconditional.
27095         [!__ASSUME_32BITUIDS]: Remove conditional code.
27097 2012-05-25  Richard Henderson  <rth@twiddle.net>
27099         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27100         dl_hwcap to ifunc resolver.
27101         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27102         elf_ifunc_invoke.
27103         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27104         dl_hwcap to ifunc resolver.
27105         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27107 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27109         [BZ #14153]
27110         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27111         for |x| <= 2**-26, not 2**-57.
27112         * math/libm-test.inc (acos_test): Do not allow spurious underflow
27113         exception.
27115 2012-05-24  Jeff Law  <law@redhat.com>
27117         * stdio-common/Makefile (tests): Add bug25.
27118         * stdio-common/bug25.c: New test.
27120 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27122         [BZ #13576]
27123         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27124         multiple of MALLOC_ALIGNMENT in size.
27125         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27127 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27129         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27130         Require >= 256.
27131         (FILENAME_MAX): Use macro-int-constant.
27132         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
27133         (_IOFBF): Use macro-int-constant.
27134         (_IOLBF): Likewise.
27135         (_IONBF): Likewise.
27136         (SEEK_CUR): Likewise.
27137         (SEEK_END): Likewise.
27138         (SEEK_SET): Likewise.
27139         (TMP_MAX): Likewise.
27140         (EOF): Use macro-int-constant.  Require < 0.
27141         (NULL): Use macro-constant.  Require == 0.
27142         (stdin): Require type to be FILE *.
27143         (stdout): Likewise.
27144         (stderr): Likewise.
27145         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27146         macro-int-constant.
27147         (EXIT_SUCCESS): Likewise.
27148         (NULL): Use macro-constant.  Require == 0.
27149         (RAND_MAX): Use macro-int-constant.
27150         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27151         [C99-based standards] (strtof): Require function.
27152         [C99-based standards] (strtold): Likewise.
27153         [C99-based standards] (strtoll): Likewise.
27154         [C99-based standards] (strtoull): Likewise.
27155         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27156         [ISO || ISO99 || ISO11] (limits.h): Likewise.
27157         [ISO || ISO99 || ISO11] (math.h): Likewise.
27158         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27159         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27160         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27162 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
27164         [BZ #14132]
27165         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27166         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27167         * intl/dgettext.c (DCGETTEXT): Likewise.
27168         * intl/gettext.c (DCGETTEXT): Likewise.
27169         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27170         * posix/regex_internal.h (gettext): Likewise.
27171         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27172         Remove declaration.
27173         * include/argz.h (__argz_count_internal)
27174         (__argz_stringify_internal): Remove declaration.
27175         (__argz_count, __argz_stringify): Declare hidden proto.
27176         * intl/dcgettext.c: Remove use of INTDEF.
27177         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27178         * string/argz-stringify.c: Likewise.
27179         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27180         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27181         Declare hidden proto.
27182         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27183         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27184         Declare hidden proto.
27185         * include/stdio.h (__asprintf_internal): Don't declare.
27186         (__asprintf): Don't define as macro.  Declare hidden proto.
27187         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27188         (__fsetlocking): Declare hidden proto.
27189         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27190         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27191         hidden proto.
27192         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27193         (_IO_setlinebuf): Remove use of INTUSE.
27194         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27195         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27196         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27197         Remove declaration.
27198         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27199         (_IO_do_flush): Remove use of INTUSE.
27200         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27201         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27202         (_IO_adjust_column, _IO_least_wmarker)
27203         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27204         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27205         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27206         (_IO_default_doallocate, _IO_wdefault_doallocate)
27207         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27208         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27209         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27210         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27211         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27212         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27213         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27214         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27215         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27216         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27217         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27218         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27219         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27220         proto.
27221         (_IO_flush_all_internal, _IO_adjust_column_internal)
27222         (_IO_default_uflow_internal, _IO_default_finish_internal)
27223         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27224         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27225         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27226         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27227         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27228         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27229         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27230         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27231         (_IO_file_close_internal, _IO_file_close_it_internal)
27232         (_IO_file_underflow_internal, _IO_file_overflow_internal)
27233         (_IO_file_init_internal, _IO_file_attach_internal)
27234         (_IO_file_fopen_internal, _IO_file_read_internal)
27235         (_IO_file_sync_internal, _IO_file_seek_internal)
27236         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27237         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27238         (_IO_str_underflow_internal, _IO_str_overflow_internal)
27239         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27240         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27241         (_IO_list_all_internal, _IO_link_in_internal)
27242         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27243         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27244         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27245         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27246         (_IO_do_write_internal, _IO_padn_internal)
27247         (_IO_getline_info_internal, _IO_getline_internal)
27248         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27249         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27250         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27251         (_IO_vfscanf_internal, _IO_vfprintf_internal)
27252         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27253         (_IO_init_internal, _IO_un_link_internal): Don't declare.
27254         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27255         with libc_hidden_ver, remove use of INTUSE.
27256         * libio/genops.c: Likewise.
27257         * libio/freopen.c: Likewise.
27258         * libio/freopen64.c: Likewise.
27259         * libio/iofclose.c: Likewise.
27260         * libio/iofdopen.c: Likewise.
27261         * libio/iofflush.c: Likewise.
27262         * libio/iofflush_u.c: Likewise.
27263         * libio/iofgets.c: Likewise.
27264         * libio/iofgets_u.c: Likewise.
27265         * libio/iofopen.c: Likewise.
27266         * libio/iofopncook.c: Likewise.
27267         * libio/iofread.c: Likewise.
27268         * libio/iofread_u.c: Likewise.
27269         * libio/ioftell.c: Likewise.
27270         * libio/iofwrite.c: Likewise.
27271         * libio/iogetline.c: Likewise.
27272         * libio/iogets.c: Likewise.
27273         * libio/iogetwline.c: Likewise.
27274         * libio/iopadn.c: Likewise.
27275         * libio/iopopen.c: Likewise.
27276         * libio/ioseekoff.c: Likewise.
27277         * libio/ioseekpos.c: Likewise.
27278         * libio/iosetbuffer.c: Likewise.
27279         * libio/iosetvbuf.c: Likewise.
27280         * libio/ioungetc.c: Likewise.
27281         * libio/ioungetwc.c: Likewise.
27282         * libio/iovdprintf.c: Likewise.
27283         * libio/iovsprintf.c: Likewise.
27284         * libio/iovsscanf.c: Likewise.
27285         * libio/memstream.c: Likewise.
27286         * libio/obprintf.c: Likewise.
27287         * libio/oldfileops.c: Likewise.
27288         * libio/oldiofclose.c: Likewise.
27289         * libio/oldiofdopen.c: Likewise.
27290         * libio/oldiofopen.c: Likewise.
27291         * libio/oldiopopen.c: Likewise.
27292         * libio/oldstdfiles.c: Likewise.
27293         * libio/putc.c: Likewise.
27294         * libio/setbuf.c: Likewise.
27295         * libio/setlinebuf.c: Likewise.
27296         * libio/stdfiles.c: Likewise.
27297         * libio/strops.c: Likewise.
27298         * libio/vasprintf.c: Likewise.
27299         * libio/vscanf.c: Likewise.
27300         * libio/vsnprintf.c: Likewise.
27301         * libio/vswprintf.c: Likewise.
27302         * libio/wfiledoalloc.c: Likewise.
27303         * libio/wfileops.c: Likewise.
27304         * libio/wgenops.c: Likewise.
27305         * libio/wmemstream.c: Likewise.
27306         * libio/wstrops.c: Likewise.
27307         * libio/__fpurge.c: Likewise.
27308         * libio/__fsetlocking.c: Likewise.
27309         * assert/assert.c: Likewise.
27310         * debug/fgets_chk.c: Likewise.
27311         * debug/fgets_u_chk.c: Likewise.
27312         * debug/fread_chk.c: Likewise.
27313         * debug/fread_u_chk.c: Likewise.
27314         * debug/gets_chk.c: Likewise.
27315         * debug/obprintf_chk.c: Likewise.
27316         * debug/vasprintf_chk.c: Likewise.
27317         * debug/vdprintf_chk.c: Likewise.
27318         * debug/vsnprintf_chk.c: Likewise.
27319         * debug/vsprintf_chk.c: Likewise.
27320         * malloc/mtrace.c: Likewise.
27321         * misc/error.c: Likewise.
27322         * misc/syslog.c: Likewise.
27323         * stdio-common/asprintf.c: Likewise.
27324         * stdio-common/fxprintf.c: Likewise.
27325         * stdio-common/getw.c: Likewise.
27326         * stdio-common/isoc99_fscanf.c: Likewise.
27327         * stdio-common/isoc99_scanf.c: Likewise.
27328         * stdio-common/isoc99_vfscanf.c: Likewise.
27329         * stdio-common/isoc99_vscanf.c: Likewise.
27330         * stdio-common/isoc99_vsscanf.c: Likewise.
27331         * stdio-common/printf-prs.c: Likewise.
27332         * stdio-common/printf_fp.c: Likewise.
27333         * stdio-common/printf_fphex.c: Likewise.
27334         * stdio-common/printf_size.c: Likewise.
27335         * stdio-common/putw.c: Likewise.
27336         * stdio-common/scanf.c: Likewise.
27337         * stdio-common/sprintf.c: Likewise.
27338         * stdio-common/tmpfile.c: Likewise.
27339         * stdio-common/vfprintf.c: Likewise.
27340         * stdio-common/vfscanf.c: Likewise.
27341         * stdlib/strfmon_l.c: Likewise.
27342         * sunrpc/openchild.c: Likewise.
27343         * sunrpc/xdr_stdio.c: Likewise.
27344         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27345         * sysdeps/mach/hurd/tmpfile.c: Likewise.
27347 2012-05-24  Roland McGrath  <roland@hack.frob.com>
27349         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27351         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27352         in the third column, to generate for the shared library an IFUNC
27353         that uses _dl_vdso_vsym.
27354         * Makerules (COMPILE.c, compile-stdin.c): New variables.
27355         * Makeconfig (object-suffixes-noshared): New variable.
27357         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27358         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27359         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27360         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27362         [BZ #14132]
27363         * include/sys/time.h (__gettimeofday): Remove macro.
27364         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27365         * time/gettimeofday.c (__gettimeofday): Remove #undef.
27366         Remove INTDEF.
27367         (__gettimeofday): Add libc_hidden_def.
27368         (gettimeofday): Add libc_hidden_weak.
27369         * sysdeps/mach/gettimeofday.c: Likewise.
27370         * sysdeps/posix/gettimeofday.c: Likewise.
27371         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27372         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27373         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27374         (__gettimeofday_internal): Remove strong_alias.
27375         (__gettimeofday): Add libc_hidden_def.
27376         (gettimeofday): Add libc_hidden_weak.
27377         * sysdeps/unix/syscalls.list (gettimeofday):
27378         Remove __gettimeofday_internal alias.
27380 2012-05-24  Daniel Jacobowitz  <drow@false.org>
27381             H.J. Lu  <hongjiu.lu@intel.com>
27383         [BZ #12495]
27384         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27385         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27386         (largebin_index_32_big): New.
27387         (largebin_index): Use it for 16-byte alignment.
27388         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
27389         correction with front_misalign.
27391 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27395         Likewise.
27396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27397         Likewise.
27398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27399         Likewise.
27400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27401         Likewise.
27402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27403         Likewise.
27404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27405         Likewise.
27406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27407         Likewise.
27408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27409         Likewise.
27410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27411         Likewise.
27412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27413         Likewise.
27414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27415         Likewise.
27416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27417         Likewise.
27419         * scripts/data/c++-types-x32-linux-gnu.data: New file.
27420         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27422 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27424         [BZ #10846]
27425         [BZ #14036]
27426         * math/libm-test.inc (exp_test): Add test from bug 14036.
27427         (pow_test): Add test from bug 10846.
27429         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27430         and other flags.
27431         (special_function): Do not include flags in test name.
27432         (parse_args): Likewise.
27433         * sysdeps/i386/fpu/libm-test-ulps: Update.
27434         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27435         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27436         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27439         * math/gen-libm-test.pl (%beautify): Add entries for underflow
27440         exceptions.
27441         * math/libm-test.inc ("Philosophy"): Update comment about
27442         exception testing.
27443         (UNDERFLOW_EXCEPTION): New macro.
27444         (UNDERFLOW_EXCEPTION_OK): Likewise.
27445         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27446         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27447         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27448         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27449         (INVALID_EXCEPTION_OK): Update value.
27450         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27451         (OVERFLOW_EXCEPTION_OK): Likewise.
27452         (IGNORE_ZERO_INF_SIGN): Likewise.
27453         (test_exceptions): Handle underflow exceptions.
27454         (acos_test): Update for underflow exception expectations.
27455         (cexp_test): Likewise.
27456         (clog_test): Likewise.
27457         (clog10_test): Likewise.
27458         (csqrt_test): Likewise.
27459         (ctan_test): Likewise.
27460         (ctanh_test): Likewise.
27461         (exp_test): Likewise.
27462         (exp10_test): Likewise.
27463         (exp2_test): Likewise.
27464         (expm1_test): Likewise.
27465         (fma_test): Likewise.
27466         (j0_test): Likewise.
27467         (jn_test): Likewise.
27468         (nexttoward_test): Likewise.
27469         (pow_test): Likewise.
27470         (scalbn_test): Likewise.
27471         (scalbln_test): Likewise.
27472         (tan_test): Likewise.
27473         (y1_test): Likewise.
27474         * sysdeps/i386/fpu/libm-test-ulps: Update.
27475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27477 2012-05-23  David S. Miller  <davem@davemloft.net>
27479         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27480         (__libc_sigaction): Remove unused local variables.
27482 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27484         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27486 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
27488         mktime: avoid signed integer overflow
27489         * time/mktime.c (__mktime_internal): Do not mishandle the case
27490         where diff == INT_MIN.
27492         mktime: simplify computation of average
27493         * time/mktime.c (ranged_convert): Use new time_t_avg function
27494         instead of rolling our own (probably-slower) code.
27496         mktime: do not assume signed right shift propagates sign bit
27497         * time/mktime.c (isdst_differ): New static function.
27498         (__mktime_internal): No need to normalize tm_isdst now.
27499         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27500         tm_isdst values.
27502         mktime: merge another wrapv change from gnulib
27503         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27504         from some compilers.
27506         mktime: remove incorrect attempt at unusual arithmetics
27507         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27508         The code didn't really work on such machines anyway.
27509         (TYPE_MINIMUM): Assume two's complement.
27510         (twos_complement_arithmetic): Verify that long_int and time_t
27511         are two's complement (or unsigned, in the latter case).
27513         mktime: check signed shifts on long_int and time_t, too
27514         * time/mktime.c (SHR): Check that shifts work as desired
27515         on the types long_int and time_t too, as SHR is used on
27516         such types.
27518         mktime: do not assume 'long' is wide enough
27519         * time/mktime.c (verify): Move decl up.
27520         (long_int): New type.
27521         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27522         to remove assumption in the code that 'long' is wide enough to
27523         store year values.  This assumption is not true on x32 and on
27524         some non-glibc platforms.
27526         mktime: merge wrapv change from gnulib
27527         * time/mktime.c (WRAPV): New macro.
27528         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27529         (guess_time_tm, __mktime_internal): Do not assume that signed
27530         integer overflow wraps around; modern compilers generate code
27531         where this assumption is no longer valid.
27533 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27535         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27536         Replace "jmp L(pseudo_end)" with "ret".
27537         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27538         Likewise.
27540 2012-05-23  Andreas Jaeger  <aj@suse.de>
27542         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27543         * sysdeps/unix/sysv/linux/poll.c: Remove file.
27545 2012-05-23  Andreas Jaeger  <aj@suse.de>
27546             Maximilian Attems  <max@stro.at>
27548         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27549         New macros.
27551 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27553         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27554         code so that pseudo_end is just ret and the stack pointer is
27555         correct also for static library in error case.
27557 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
27559         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27560         move to syscalls.list.
27561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27566         * manual/install.texi (Running make install): Do not mention Linux
27567         kernel version for which pt_chown is not needed.
27568         (Linux): Do not mention problems with nscd with 2.0 kernels.
27569         * INSTALL: Regenerated.
27571 2012-05-23  Andreas Jaeger  <aj@suse.de>
27573         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27574         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27575         macro.
27576         * sysdeps/unix/sysv/linux/s390/bits/mman.h
27577         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27578         * sysdeps/unix/sysv/linux/sh/bits/mman.h
27579         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27580         * sysdeps/unix/sysv/linux/i386/bits/mman.h
27581         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27582         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27583         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27584         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27585         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27586         * sysdeps/unix/sysv/linux/bits/in.h
27587         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27589 2012-05-22  Roland McGrath  <roland@hack.frob.com>
27591         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27592         (PREPARE_VERSION): Just use assert instead, it will be elided
27593         under [NDEBUG] anyway.
27595 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27597         * sysdeps/unix/sysv/linux/Makefile: Include
27598         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27599         (sysdep_routines): Remove sysctl.
27600         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27601         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27602         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27603         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27604         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27606 2012-05-22  Andreas Jaeger  <aj@suse.de>
27608         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27609         that pseudo_end is just ret and the stack pointer is correct also
27610         for static library in error case.
27612 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
27614         [BZ #14122]
27615         * nss/nsswitch.c (defconfig_entries): New variable.
27616         (__nss_database_lookup): Don't leak defconfig entries.
27617         (nss_parse_service_list): Don't leak on error paths.
27618         (free_database_entries): New function.
27619         (free_defconfig): New function.
27620         (free_mem): Move common code to free_database_entries.
27622 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27624         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27625         Add arch_prctl.
27626         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27628         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27629         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27630         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27631         New macro.
27632         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27633         (INTERNAL_SYSCALL_TYPES): Likewise.
27634         (LOAD_ARGS_TYPES_[1-6]): Likewise.
27635         (LOAD_REGS_TYPES_[1-6]): Likewise.
27636         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27637         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27639 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27641         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27642         copysignl for GLIBC_2_0.
27643         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27644         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27645         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27646         logbl for GLIBC_2_0.
27647         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27648         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27650 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27652         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27653         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27655         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27656         Use "neg %eax".
27658         * time/mktime.c: Update copyright years.
27660 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
27662         mktime: merge comment-quoting-style change from gnulib
27663         * time/mktime.c: Quote 'like this' in comments.
27664         The GNU coding standards suggest that we no longer quote `like this',
27665         as "`" and "'" are typically rendered asymmetrically nowadays.
27666         The typical gnulib style is to quote 'like this' when quoting
27667         code, and "like this" when quoting English.
27669         * time/mktime.c (compile-command): Add "-I.".
27671         mktime: merge mktime-internal.h change from gnulib
27672         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27674         mktime: merge time_r change from gnulib
27675         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27677         mktime: merge DEBUG change from gnulib
27678         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27679         case system <time.h> has a #define.
27681         mktime: merge <sys/types.h> change from gnulib
27682         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27683         since <time.t> is now guaranteed to define time_t.
27685         mktime: merge HAVE_CONFIG_H change from gnulib
27686         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27688 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27690         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27691         Use "neg %eax".
27693         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27694         __rlim_t cast.
27695         (struct rusage): Use anonymous union to pad each field to
27696         __syscall_slong_t.
27698 2012-05-21  David S. Miller  <davem@davemloft.net>
27700         * Makefules (o-iterator): Remove .s cases.
27701         (compile-command.s): Delete.
27702         (COMPILE.s): Delete.
27703         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27705 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
27707         * configure.in (libc_cv_predef_stack_protector): Only consider
27708         "foobar" and "__stack_chk_fail" lines in libc_undefs.
27709         * configure: Regenerated.
27711 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27714         New macro.  Use R*LP on int and pointer.
27715         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27716         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27717         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27718         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27720         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27721         [__WORDSIZE_TIME64_COMPAT32] instead of
27722         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27723         (struct utmp): Likewise.
27724         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27725         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27726         Renamed to ...
27727         (__WORDSIZE_TIME64_COMPAT32): This.
27728         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27729         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27730         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27731         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27732         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27733         (__WORDSIZE_TIME64_COMPAT32): New macro.
27735 2012-05-21  Andreas Jaeger  <aj@suse.de>
27737         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27738         only if [SHARED]. Add prototype for __wcschr_ia32.
27740 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27742         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27743         of %rbp unmolested in the jmp_buf while mangling the low bits.
27744         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27745         unmolested high bits of %rbp while demangling the low bits.
27746         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27748 2012-05-21  Andreas Jaeger  <aj@suse.de>
27750         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27751         * sunrpc/svc_simple.c: Use it for registerrpc.
27752         * sunrpc/xcrypt.c: Use it for passwd2des.
27754         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27756 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27758         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27759         Don't define if [__SYSCALL_WORDSIZE != 32].
27760         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27761         New macro.
27763 2012-05-21  Bruno Haible  <bruno@clisp.org>
27764             Andreas Jaeger  <aj@suse.de>
27766         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27767         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27768         inptr and inend for must_buffer_ch.
27769         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27770         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27771         * stdio-common/Makefile (tests): Remove bug15.
27772         (bug15-ENV): Remove macro.
27773         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27774         anymore.
27776 2012-05-19  Andreas Jaeger  <aj@suse.de>
27777             Roland McGrath  <roland@hack.frob.com>
27779         * manual/contrib.texi: Completely rewritten. It contains now an
27780         alphabetical list of contributors and their contributions.
27782 2012-05-21  Richard Henderson  <rth@twiddle.net>
27784         * misc/getauxval.c (__getauxval): Use unsigned long int.
27785         * misc/sys/auxv.h: Include <sys/cdefs.h>.
27786         (getauxval): Use unsigned long int.
27788 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27790         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27792 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27794         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27795         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27796         __alignof__ (long double).
27798 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27802 2012-05-20  Richard Henderson  <rth@twiddle.net>
27804         * misc/getauxval.c: New file.
27805         * misc/sys/auxv.h: New file.
27806         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27807         (routines): Add getauxval.
27808         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27809         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27810         * elf/dl-sysdep.c (_dl_auxv): Remove.
27811         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27812         * elf/dl-support.c (_dl_auxv): New variable.
27813         (_dl_aux_init): Initialize it.
27814         * manual/startup.texi (Auxiliary Vector): New node.
27815         * sysdeps/generic/bits/hwcap.h: New file.
27816         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27817         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
27818         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27819         * sysdeps/sparc/sysdep.h: ... here.  Include it.
27820         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27821         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27823         Update.
27824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27827         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27833 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27837 2012-05-19  David S. Miller  <davem@davemloft.net>
27839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27841 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27843         [BZ #14123]
27844         * math/s_ccosh.c: Include <float.h>
27845         (__ccosh): Avoid internal overflow calculating sinh and cosh
27846         values before multiplying by sin and cos values.
27847         * math/s_ccoshf.c: Likewise.
27848         * math/s_ccoshl.c: Likewise.
27849         * math/s_csin.c: Likewise.
27850         * math/s_csinf.c: Likewise.
27851         * math/s_csinl.c: Likewise.
27852         * math/s_csinh.c: Likewise.
27853         * math/s_csinhf.c: Likewise.
27854         * math/s_csinhl.c: Likewise.
27855         * math/libm-test.inc (ccos_test): Add more tests.
27856         (ccosh_test): Likewise.
27857         (csin_test): Likewise.
27858         (csinh_test): Likewise.
27859         * sysdeps/i386/fpu/libm-test-ulps: Update.
27860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27862 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
27864         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27865         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27867         * sysdeps/x86_64/x32/_itoa.h: Add comment.
27869 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27871         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27872         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27873         * sysdeps/powerpc/soft-fp/Versions: Likewise.
27874         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27875         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27876         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27877         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27878         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27879         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27880         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27881         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27882         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27883         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27884         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27885         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27886         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27887         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27888         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27889         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27890         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27891         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27892         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27893         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27894         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27895         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27896         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27897         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27898         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27899         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27900         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27901         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27903 2012-05-18  Andreas Jaeger  <aj@suse.de>
27905         * csu/.gitignore: Delete.
27907 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27909         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27910         (timex): Use __syscall_slong_t.
27912 2012-05-18  Andreas Jaeger  <aj@suse.de>
27913             Carlos O'Donell  <carlos_odonell@mentor.com>
27915         * manual/install.texi (Configuring and compiling): Update
27916         description about files modified in the source directory.
27917         * INSTALL: Regenerated.
27919 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27921         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27922         value.  Use "or" to set return value to -1.
27923         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27924         negate return value.
27926 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27928         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27929         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27930         failure if the compiler has Graphite support disabled.
27931         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27932         Likewise.
27933         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27934         CFLAGS-memmove.c): Likewise.
27935         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27936         Likewise.
27938 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27940         * sysdeps/x86_64/x32/_itoa.h: New file.
27942         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27943         getdents system call only if kernel and user dirents have the
27944         same d_ino and d_off.
27946         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27947         LLONG_MAX != LONG_MAX.
27948         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27949         (_fitoa_word): Likewise.
27951         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27952         years.
27953         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27954         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27955         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27957         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27958         include <bits/wordsize.h>.  Check __x86_64__ instead of
27959         __WORDSIZE.
27960         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27961         if __x86_64__ is defined.  Use anonymous union on fpstate.
27963         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27964         anonymous union.
27966 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
27968         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27969         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27970         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27971         Refer to _rtld_local_ro instead of _rtld_global_ro.
27972         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27973         Likewise.
27974         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27975         Likewise.
27976         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27977         Likewise.
27978         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27979         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27980         of _rtld_global, and rtld_progname instead of _dl_argv[0].
27982         * sysdeps/powerpc/powerpc32/dl-machine.c
27983         (__elf_machine_runtime_setup) [PROF]: Don't reference
27984         _dl_prof_resolve.
27986 2012-05-18  Andreas Jaeger  <aj@suse.de>
27988         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27989         function only available for GCCs before 3.4 since GCC 3.4
27990         introduced a builtin.
27991         (lrint): Likewise.
27992         (llrintf): Likewise.
27993         (llrint): Likewise.
27994         (fmaxf): Likewise.
27995         (fmax): Likewise.
27996         (fminf): Likewise.
27997         (fmin): Likewise.
27998         (rint): Likewise.
27999         (rintf): Likewise.
28000         (nearbyint): Likewise.
28001         (nearbyintf): Likewise.
28002         (ceil): Likewise.
28003         (ceilf): Likewise.
28004         (floor): Likewise.
28005         (floorf): Likewise.
28007 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28009         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28010         on both fields and cast pointer to __syscall_ulong_t.
28012         * bits/types.h (__fsword_t): New type.
28013         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28014         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28015         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28016         (__FSWORD_T_TYPE): Likewise.
28017         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28018         (__FSWORD_T_TYPE): Likewise.
28019         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28020         (__FSWORD_T_TYPE): Likewise.
28021         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28022         (__FSWORD_T_TYPE): Likewise.
28023         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28024         __SWORD_TYPE with __fsword_t.
28025         (statfs64): Likewise.
28027 2012-05-17  David S. Miller  <davem@davemloft.net>
28029         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28031 2012-05-17  Andreas Jaeger  <aj@suse.de>
28033         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28034         warning.
28036 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28038         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28040 2012-05-17  Andreas Jaeger  <aj@suse.de>
28042         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28043         when it is used.
28045 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28047         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28049 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
28051         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28052         * sysdeps/x86_64/tst-mallocalign1.c: New file.
28054 2012-05-17  Andreas Jaeger  <aj@suse.de>
28055             Carlos O'Donell  <carlos_odonell@mentor.com>
28057         [BZ #14059]
28058         * sysdeps/x86_64/multiarch/init-arch.h
28059         (bit_YMM_Usable): Rename to...
28060         (bit_AVX_Usable): ... this.
28061         (bit_FMA4_Usable): New macro.
28062         (bit_XMM_state): New macro.
28063         (bit_YMM_state): New macro.
28064         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28065         [__ASSEMBLER__] (index_AVX_Usable): ... this.
28066         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28067         (CPUID_OSXSAVE): New macro.
28068         (CPUID_AVX): New macro.
28069         (CPUID_FMA4): New macro.
28070         (index_YMM_Usable): Rename to...
28071         (index_AVX_Usable): ... this.
28072         (HAS_AVX): Use HAS_ARCH_FEATURE.
28073         (HAS_FMA4): Likewise.
28074         (HAS_YMM_USABLE): Remove.
28075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28076         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28077         are present.
28078         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28079         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28080         * sysdeps/x86_64/multiarch/Makefile: Likewise.
28081         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28082         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28084 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
28086         * math/libm-test.c: Support platforms without multiple rounding modes.
28087         * math/bug-nextafter.c: Support platforms without FP exceptions.
28088         * math/bug-nexttoward.c: Likewise.
28089         * math/test-fenv.c: Likewise.
28090         * math/test-misc.c: Likewise.
28091         * stdlib/bug-getcontext.c: Likewise.
28093 2012-05-17  Andreas Jaeger  <aj@suse.de>
28095         * manual/examples/search.c (critter_cmp): Change signature to
28096         avoid warnings.
28097         * manual/string.texi (Collation Functions): Likewise.
28099 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28101         * bits/types.h: Fold copyright years.
28102         * bits/typesizes.h: Likewise.
28103         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28104         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28105         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28106         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28107         * time/time.h: Likewise.
28109 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
28111         [BZ #208]
28112         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28113         in instead of returning them.  Return void.
28114         (__libc_mallinfo): Accumulate over all arenas.
28115         (__malloc_stats): Adjust for change in int_mallinfo interface.
28117 2012-05-16  Roland McGrath  <roland@hack.frob.com>
28119         [BZ #10375]
28120         * configure.in (NM): Add AC_CHECK_TOOL for it.
28121         (libc_extra_cflags): New substituted variable.
28122         Check for -fstack-protector being used implicitly.
28123         * configure: Regenerated.
28124         * config.make.in (config-extra-cflags): New variable,
28125         gets @libc_extra_cflags@.
28126         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28128         [BZ #10375]
28129         * configure.in: Check for _FORTIFY_SOURCE being predefined.
28130         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28131         * configure: Regenerated.
28132         * config.make.in (CPPUNDEFS): New substituted variable.
28133         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28134         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28135         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28137 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28139         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28140         (mq_attr): Use __syscall_slong_t.
28142 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28144         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28145         Check __x86_64__ instead of __WORDSIZE.
28146         (_STAT_VER_LINUX): Likewise.
28147         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
28148         __syscall_ulong_t and __syscall_slong_t.
28149         (stat64): Likewise.
28151 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28153         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28155 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28157         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28159 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28161         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28162         __syscall_ulong_t.
28164         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28165         include <bits/wordsize.h>.  Check __x86_64__ instead of
28166         __WORDSIZE.
28167         (greg_t): Use "__extension__ long long int" if __x86_64__ is
28168         defined.
28169         (mcontext_t): Replace "unsigned long" with "unsigned long long".
28171         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28172         include <bits/wordsize.h>.  Check __x86_64__ instead of
28173         __WORDSIZE.
28174         (user_regs_struct): Use "__extension__ unsigned long long"
28175         instead of "unsigned long" if __x86_64__ is defined.
28176         (user): Likewise.  Pad after pointer field if __ILP32__ is
28177         defined.
28179 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
28181         * configure.in (makeinfo): Require version 4.5 or later.  Allow
28182         versions 5 to 9.
28183         * configure: Regenerated.
28184         * manual/install.texi (texinfo): Increase version requirement to
28185         4.5 or later.
28186         * INSTALL: Regenerated.
28188         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28190 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28192         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28194         * sysdeps/x86_64/x32/ffs.c: New file.
28196         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28197         __syscall_ulong_t.
28198         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28199         defined.  Use __syscall_ulong_t.
28200         (shminfo): Use __syscall_ulong_t.
28201         (shm_info): Likewise.
28203         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28204         __syscall_ulong_t.
28206         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28207         <bits/wordsize.h>.
28208         (msgqnum_t): Use __syscall_ulong_t.
28209         (msglen_t): Likewise.
28210         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
28211         __syscall_ulong_t.
28213         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28214         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28216         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28218         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28219         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28221         * sysvipc/sys/msg.h (msgbuf): Replace long int with
28222         __syscall_slong_t.
28224         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28225         include <bits/wordsize.h>.  Check __x86_64__ instead of
28226         __WORDSIZE.
28228         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28229         "unsigned long long int" if __x86_64__ is defined.
28230         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28232         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28233         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28234         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28236         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28237         <stdint.h>.
28238         (GET_PC): Cast to uintptr_t first.
28239         (GET_FRAME): Likewise.
28240         (GET_STACK): Likewise.
28242         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28243         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28244         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28245         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28246         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28247         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28248         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28249         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28250         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28251         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28252         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28253         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28254         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28255         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28256         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28257         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28258         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28259         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28260         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28261         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28262         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28263         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28264         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28265         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28266         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28267         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28268         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28269         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28270         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28272 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
28274         * Makerules (+depfiles): Also collect depfiles from .oS in
28275         $(extra-objs).
28276         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28277         .oS, $(libnldbl-routines)).
28279         * Makerules (native-compile-mkdep-flags): Define.
28280         * sunrpc/Makefile (extra-objs): Add $(addprefix
28281         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28282         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28283         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
28284         calling $(make-target-directory).
28286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28288         * bits/types.h (__snseconds_t): Removed.
28289         * time/time.h (struct timespec): Replace __snseconds_t with
28290         __syscall_slong_t.
28291         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28292         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28293         Likewise.
28294         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28295         (__SNSECONDS_T_TYPE): Likewise.
28296         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28297         (__SNSECONDS_T_TYPE): Likewise.
28298         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28299         (__SNSECONDS_T_TYPE): Likewise.
28301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28303         * sysdeps/mach/hurd/bits/typesizes.h
28304         (__SYSCALL_SLONG_TYPE): New macro.
28305         (__SYSCALL_ULONG_TYPE): Likewise.
28307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28309         * bits/types.h (__syscall_slong_t): New type.
28310         (__syscall_ulong_t): Likewise.
28312         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28313         (__SYSCALL_ULONG_TYPE): Likewise.
28314         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28315         (__SYSCALL_SLONG_TYPE): Likewise.
28316         (__SYSCALL_ULONG_TYPE): Likewise.
28317         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28318         (__SYSCALL_SLONG_TYPE): Likewise.
28319         (__SYSCALL_ULONG_TYPE): Likewise.
28320         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28321         (__SYSCALL_SLONG_TYPE): Likewise.
28322         (__SYSCALL_ULONG_TYPE): Likewise.
28324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28326         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28327         Add sigaltstack-offsets.sym.
28328         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28329         <sigaltstack-offsets.h>.
28330         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
28331         longjmp_msg pointer.
28332         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
28333         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28334         signal stack.
28335         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28337 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28339         * elf/stackguard-macros.h: Remove file.
28340         * sysdeps/generic/stackguard-macros.h: New file.
28341         * sysdeps/i386/stackguard-macros.h: Likewise.
28342         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28343         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28344         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28345         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28346         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28347         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28348         * sysdeps/x86_64/stackguard-macros.h: Likewise.
28349         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28350         <elf/stackguard-macros.h>.
28352         [BZ #14109]
28353         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28354         __aligned__ in attribute.
28355         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28356         (gregset_t): Likewise.
28358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28360         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28361         * sysdeps/x86_64/64/Implies-after: Here.  New file.
28362         * sysdeps/x86_64/x32/Implies-after: New file.
28364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28366         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28367         and access return value for _dl_profile_fixup.  Use R10_LP to
28368         load frame size.
28370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28372         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28376         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28377         * sysdeps/x86_64/x32/sysdep.h: New file.
28379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28381         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28382         * sysdeps/x86_64/setjmp.S: Likewise.
28384 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28386         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28387         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28388         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28389         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28390         remove unused global constant.
28392 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
28394         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28395         include of <not-cancel.h>.
28397 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28399         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28401 2012-05-15  Jeff Law  <law@redhat.com>
28402             Andreas Jaeger  <aj@suse.de>
28404         [BZ #13594]
28405         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28406         out from...
28407         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28408         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28409         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28410         code changing __hst_map_handle.map.
28412 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28414         * configure.in (sysnames): Look for Implies-before and Implies-after
28415         files.
28416         * configure: Regenerated.
28418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28420         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28421         8-byte data alignment with LP_SIZE alignment.
28423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28425         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28426         into R10_LP.
28428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28430         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28434         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28435         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28436         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28437         Likewise.
28438         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28440 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28442         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28443         (stackinfo_sub_sp): Likewise.
28445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28447         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28448         RAX_LP.
28450 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28452         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28453         into R*_LP.
28455 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28457         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28458         sizes into R*_LP.
28460 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28462         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28466         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28467         into R11_LP and load __x86_64_shared_cache_size_half into
28468         R8_LP.
28470 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28472         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28473         R8_LP.
28475 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28477         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28478         logb for POWER7.
28479         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28480         logbf for POWER7.
28481         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28482         logbl for POWER7.
28483         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28484         powerpc32/power7/fpu/s_logb.c via #include.
28485         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28486         powerpc32/power7/fpu/s_logbf.c via #include.
28487         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28488         powerpc32/power7/fpu/s_logbl.c via #include.
28490 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28492         * README.libm: Remove file.
28494 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28496         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28497         count for x32.  Use R*_LP and omit operand-size suffix.
28499 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28501         * shlib-versions: Move x86_64-.*-linux.* entries to ...
28502         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
28503         * sysdeps/x86_64/x32/shlib-versions: New file.
28505 2012-05-14  Roland McGrath  <roland@hack.frob.com>
28507         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28508         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28509         Use _dl_fatal_printf instead.
28511 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28513         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28514         set if not set by the user.  Do not allow for being unset.
28515         * sysdeps/unix/sysv/linux/configure: Regenerated.
28517 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28519         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28520         the `q' suffix from lea and replace .quad with ASM_ADDR.
28522 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28525         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
28526         instead of $17.
28527         (PTR_DEMANGLE): Likewise.
28529 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28531         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28532         (LP_OP): Likewise.
28533         (ASM_ADDR): Likewise.
28534         (RAX_LP): Likewise.
28535         (RBP_LP): Likewise.
28536         (RBX_LP): Likewise.
28537         (RCX_LP): Likewise.
28538         (RDI_LP): Likewise.
28539         (RSI_LP): Likewise.
28540         (RSP_LP): Likewise.
28541         (R8_LP): Likewise.
28542         (R9_LP): Likewise.
28543         (R10_LP): Likewise.
28544         (R10_LP): Likewise.
28545         (R11_LP): Likewise.
28546         (R12_LP): Likewise.
28547         (R13_LP): Likewise.
28548         (R14_LP): Likewise.
28549         (R15_LP): Likewise.
28551 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28553         * sysdeps/x86_64/x32/dl-machine.h: New file.
28555 2012-05-14  Andreas Jaeger  <aj@suse.de>
28557         * manual/Makefile (subdir): Remove export of subdir.
28558         (all): Remove target.
28559         (.PHONY): Remove all from list.
28560         (mkinstalldirs): Remove.
28561         (.PHONY): Remove installdirs from list.
28562         ($(inst_infodir)/libc.info): Use make-target-directory.
28563         (installdirs): Remove.
28564         (subdir_%): Remove.
28565         (glibc-targets): Remove.
28566         (lib): Remove.
28567         (stubs): Remove.
28568         ($(objpfx)stubs ../po/manual.pot): Remove.
28569         ($(objpfx)stamp%): Remove.
28570         (make-target-directory): Remove.
28571         (subdir_install): Remove.
28572         (routines): Remove.
28573         (aux): Remove.
28574         (sources): Remove.
28575         (objects): Remove.
28576         (headers): Remove.
28578         [BZ #13750]
28579         * manual/.gitignore: Remove, it's not needed anymore.
28580         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28581         all files in it.
28582         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28583         directory.
28584         (texis): Renamed to $(objpfx)texis.
28585         (texis-path): New, contains path to generated files.
28586         (chapters.%): Use texis-path for complete path, add extra argument
28587         libc-texinfo.sh.
28588         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28589         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28590         (summary,texi, stamp-summary): Use complete path of
28591         files. Generate files in build dir.
28592         (dir-add.texi): Build in build dir.
28593         (libm-err.texi,stamp-libm-err): Likewise.
28594         (version.texi, stamp-version): Likewise.
28595         (.%c.texi): Likewise.
28596         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28597         (mostlyclean): Remove target.
28598         (realclean): Remove target.
28599         (generated): Add new variable with contents from mostlyclean and
28600         realclean, remove entries duplicated in common-mostlyclean, add
28601         stamp-libm-err and stamp-version.
28602         (generated-dirs): Add libc directory.
28603         ($(inst_infodir)/libc.info): Install files from build dir.
28605         * manual/install.texi (Configuring and compiling): Adjust since
28606         the info files are not part of the tar ball anymore.
28608 2012-05-14  Andreas Jaeger  <aj@suse.de>
28610         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28611         variable.
28613 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28615         [BZ #13717]
28616         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28617         to 2.2.0 where earlier.
28618         * sysdeps/unix/sysv/linux/configure: Regenerated.
28619         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28620         Remove conditional code.
28621         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28622         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28623         Remove conditional code.
28624         [!__NR_lchown]: Likewise.
28625         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28626         [__NR_lchown]: Likewise.
28627         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28628         comment referencing __ASSUME_LCHOWN_SYSCALL.
28629         * sysdeps/unix/sysv/linux/i386/sigaction.c
28630         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28631         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28632         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28633         Remove conditional code.
28634         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28635         (__protocol_available): Remove #if 0 code.
28636         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28637         conditional code.
28638         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28639         * sysdeps/unix/sysv/linux/kernel-features.h
28640         (__ASSUME_GETCWD_SYSCALL): Don't define.
28641         (__ASSUME_REALTIME_SIGNALS): Likewise.
28642         (__ASSUME_PREAD_SYSCALL): Likewise.
28643         (__ASSUME_PWRITE_SYSCALL): Likewise.
28644         (__ASSUME_POLL_SYSCALL): Likewise.
28645         (__ASSUME_LCHOWN_SYSCALL): Likewise.
28646         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28647         non-SPARC.
28648         (__ASSUME_SIOCGIFNAME): Don't define.
28649         (__ASSUME_MSG_NOSIGNAL): Likewise.
28650         (__ASSUME_SENDFILE): Define unconditionally.
28651         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28652         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28653         conditional code.
28654         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28655         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28656         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28657         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28658         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28659         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28660         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28662         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28663         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28665         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28666         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28668         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28669         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28671         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28672         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28674         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28675         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28677         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28678         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28680         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28681         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28683         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28684         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28685         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28686         Remove conditional code.
28687         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28688         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28689         Remove conditional code.
28690         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28691         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28692         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28693         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28694         Remove conditional code.
28695         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28696         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28697         Remove conditional code.
28698         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28699         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28700         Remove conditional code.
28701         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28702         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28703         Remove conditional code.
28704         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28705         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28706         Remove conditional code.
28707         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28708         * sysdeps/unix/sysv/linux/sh/pwrite64.c
28709         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28710         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28711         * sysdeps/unix/sysv/linux/sigaction.c
28712         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28713         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28714         * sysdeps/unix/sysv/linux/sigpending.c
28715         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28716         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28717         * sysdeps/unix/sysv/linux/sigprocmask.c
28718         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28719         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28720         * sysdeps/unix/sysv/linux/sigsuspend.c
28721         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28722         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28723         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28724         (__libc_missing_rt_sigs): Remove.
28725         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28726         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28727         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28728         Remove conditional code.
28729         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28730         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28731         return 1.
28732         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28733         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28734         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28735         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28737 2012-05-14  Andreas Jaeger  <aj@suse.de>
28739         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28740         it's not used in glibc.
28741         (__coshm1): Likewise.
28742         (__acosh1p): Likewise.
28743         (__sgn): Likewise.
28745         * manual/string.texi (Copying and Concatenation): Add missing
28746         variable in concat example.
28747         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28749 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28751         [BZ #14103]
28752         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28753         __builtin_clzl with __builtin_clzll.
28755 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28757         [BZ #14104]
28758         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28759         libc_freeres_ptr.
28761 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28763         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28764         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28765         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28766         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28768 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
28770         * NEWS: Update ia64 info.
28772 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
28774         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28775         used as bcopy.
28777 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
28779         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28780         * sysdeps/unix/syscalls.list (dup3): Likewise.
28781         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28782         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28784 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28786         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28787         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28789 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28791         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28792         thread pointer.
28793         (TLS_IE): Use mov/add instead of movq/addq to load thread
28794         pointer.
28795         (TLS_GD_PREFIX): New.
28796         (TLS_GD): Use it.
28798 2012-05-11  David S. Miller  <davem@davemloft.net>
28800         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28801         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28802         (_FPU_SETCW): Likewise.
28804 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28806         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28807         is 32-byte aligned.
28809 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
28811         [BZ #11837]
28812         * iconvdata/gb18030.c: Update tables.
28813         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
28814         characters specially.
28815         (BODY for TO_LOOP): Add encoding of missing ranges.
28817 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
28819         [BZ #13673]
28820         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28821         * sysdeps/mach/hurd/dup3.c: Likewise.
28822         * sysdeps/mach/hurd/readlinkat.c: Likewise.
28823         * sysdeps/powerpc/memmove.c:: Likewise.
28825 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28827         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28828         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28830 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28832         * elf/elf.h (R_X86_64_RELATIVE64): New.
28833         (R_X86_64_NUM): Updated.
28834         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28835         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
28836         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28837         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28838         tst-quad1pie tst-quad2pie
28839         (modules-names): Add tst-quadmod1 tst-quadmod2.
28840         ($(objpfx)tst-quad1): New dependency.
28841         ($(objpfx)tst-quad2): Likewise.
28842         ($(objpfx)tst-quad1pie): Likewise.
28843         ($(objpfx)tst-quad2pie): Likewise.
28844         * sysdeps/x86_64/tst-quad1.c: New file.
28845         * sysdeps/x86_64/tst-quad1pie.c: New file.
28846         * sysdeps/x86_64/tst-quad2.c: Likewise.
28847         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28848         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28849         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28850         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28851         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28853 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28855         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28856         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28857         * streams/stropts.h (t_scalar_t): Define type.
28859         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28860         (_PATH_PRESERVE): Set to "/var/lib".
28861         (_PATH_RWHODIR): Set to "/var/spool/rwho".
28863         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28864         instead of int.
28866         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28867         if __dir_mkfile succeeded.
28869         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28870         checking for _hurd_dtablesize.  Unlock it right after having
28871         finished _hurd_dtable allocation.
28873 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28875         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28876         * sysdeps/mach/hurd/configure: Regenerated.
28877         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28878         special-casing to...
28879         * sysdeps/gnu/configure.in: ... this new file.
28880         * sysdeps/unix/sysv/linux/configure: Regenerated.
28881         * sysdeps/gnu/configure: New generated file.
28883         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28884         for Linux: use nsec instead of usec, as well as:
28885         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28886         members of type struct timespec.
28887         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28888         New macros.
28889         (struct stat64): Likewise.
28890         (_STATBUF_ST_NSEC): New macro.
28891         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28893         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28894         __strtoul_internal rather than strtoul.
28896 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28898         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28899         and reject them.
28901 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28903         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28904         which preserves existing values.
28905         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28907 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28909         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28910         TIMEOUT values.  Return EINVAL for NFDS values either negative or
28911         greater than FD_SETSIZE.
28913 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28915         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28916         allocated, call __vm_protect to finish enabling the existing space, and
28917         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28918         allocate the remainder.
28920 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28922         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28923         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
28925 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28927         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28928         sysdeps/mach/hurd/readlink.c.
28930         * posix/tst-sysconf.c (posix_options): Only use
28931         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28932         _POSIX_SYNCHRONIZED_IO when they are defined
28933         * sysdeps/mach/hurd/bits/posix_opt.h:
28934         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28935         (_XOPEN_REALTIME): Undefine macro.
28936         (_XOPEN_REALTIME_THREADS): Undefine macro.
28937         (_XOPEN_SHM): Undefine macro.
28938         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28939         macro to -1.
28940         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28941         macro to -1.
28942         (_POSIX_ASYNC_IO): Undefine macro.
28943         (_POSIX_PRIORITIZED_IO): Undefine macro.
28944         (_POSIX_SPIN_LOCKS): Define macro to -1.
28946         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28947         SA_NODEFER, SA_RESETHAND.
28948         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28949         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28950         F_DUPFD_CLOEXEC.
28952 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28954         * elf/Makefile (pldd-modules): Define unconditionally.
28956 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28958         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28960 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28962         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28963         Return ENOENT when name is empty.
28964         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28966 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28968         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28970         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28972 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28974         Fix mlock in all cases except non-readable pages.
28975         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28976         instead of VM_PROT_ALL as parameter to __vm_wire function.
28978         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28979         (__mkdir): When path is `/', just fail with EEXIST.
28980         * sysdeps/mach/hurd/mkdirat.c: Likewise.
28982 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28984         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28985         <sys/uio.h> (for writev).
28986         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28987         and <sys/param.h> (for MIN).
28989 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28991         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28992         REQUESTED_TIME.  Properly set the remaining time and return EINTR
28993         if interrupted.
28995 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28997         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28998         Depend on against $(link-rpcuserlibs).
29000 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29002         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29003         (__libc_stack_end): Do not use attribute_relro.
29004         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29005         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29006         to libthread-provided value.
29007         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29008         attribute_relro.
29010 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29012         [BZ #3748]
29013         * bits/libc-lock.h (__libc_once_get): New macro.
29014         * sysdeps/mach/bits/libc-lock.h: Likewise.
29015         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29016         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29017         instead of using implementation details.
29019         * libio/fileops.c: Unconditionally include <kernel-features.h>.
29020         * libio/freopen.c: Likewise.
29021         * libio/freopen64.c: Likewise.
29022         * misc/syslog.c: Likewise.
29023         * nscd/connections.c: Likewise.
29024         * nscd/netgroupcache.c: Likewise.
29025         * sysdeps/posix/getcwd.c: Likewise.
29027 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29029         * math/w_ilogbf.c: Add #include <limits.h>.
29031 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29033         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29034         path instead of returning without unlocking.
29036         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29037         immediate-write ioctls.
29038         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29040 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29042         * sysdeps/mach/hurd/i386/init-first.c (init): Use
29043         __builtin_frame_address instead of making assumptions about the
29044         location of the return address relative to DATA.  Force early load of
29045         the return address.
29046         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29047         __builtin_frame_address.
29049         dup3 for GNU Hurd.
29050         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29051         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
29052         implement dup3 and do some further code clean-ups.
29053         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29054         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29056 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29058         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29060         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29061         HURD_CRITICAL_END around holding _hurd_dtable_lock.
29062         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29063         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29064         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29065         d->port.lock.
29067         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29068         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
29069         when handler == SIG_ERR, not when handler != SIG_ERR.
29071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29073         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29074         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29075         definitions.
29077         accept4 for GNU Hurd.
29078         * include/sys/socket.h (__libc_accept4): New prototype.
29079         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
29080         to implement __libc_accept4.
29081         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29082         __libc_accept4.
29083         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29085         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29086         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29087         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29088         signal-defines.sym.
29090 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29092         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29094 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
29096         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29097         assertion on O_CLOEXEC flag.
29098         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29099         * hurd/intern-fd.c: Likewise.
29100         * hurd/port2fd.c: Likewise.
29102 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29104         [BZ #3906]
29105         * bits/in.h (IPV6_PKTINFO): Define new macro.
29106         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29108 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29110         [BZ #13954]
29111         [BZ #13955]
29112         [BZ #13956]
29113         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29114         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29115         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29116         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29117         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29118         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29119         * math/libm-test.inc (logb_test) : Additional logb tests.
29121 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
29122             Andreas Jaeger  <aj@suse.de>
29124         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29125         * configure: Regenerated.
29126         * config.h.in (LINK_OBSOLETE_RPC): New macro.
29127         * config.make.in (link-obsolete-rpc): New substituted variable.
29128         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29129         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29130         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29131         (shared-only-routines): Don't set it under [link-obsolete-rpc],
29132         so that libc.a contains the symbols.
29133         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29134         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29135         * sunrpc/auth_none.c: Likewise.
29136         * sunrpc/auth_unix.c: Likewise.
29137         * sunrpc/authdes_prot.c: Likewise.
29138         * sunrpc/authuxprot.c: Likewise.
29139         * sunrpc/clnt_gen.c: Likewise.
29140         * sunrpc/clnt_perr.c: Likewise.
29141         * sunrpc/clnt_raw.c: Likewise.
29142         * sunrpc/clnt_simp.c: Likewise.
29143         * sunrpc/clnt_tcp.c: Likewise.
29144         * sunrpc/clnt_udp.c: Likewise.
29145         * sunrpc/clnt_unix.c: Likewise.
29146         * sunrpc/des_crypt.c: Likewise.
29147         * sunrpc/des_soft.c: Likewise.
29148         * sunrpc/get_myaddr.c: Likewise.
29149         * sunrpc/key_call.c: Likewise.
29150         * sunrpc/key_prot.c: Likewise.
29151         * sunrpc/netname.c: Likewise.
29152         * sunrpc/pm_getmaps.c: Likewise.
29153         * sunrpc/pm_getport.c: Likewise.
29154         * sunrpc/pmap_clnt.c: Likewise.
29155         * sunrpc/pmap_prot.c: Likewise.
29156         * sunrpc/pmap_prot2.c: Likewise.
29157         * sunrpc/pmap_rmt.c: Likewise.
29158         * sunrpc/publickey.c: Likewise.
29159         * sunrpc/rpc_cmsg.c: Likewise.
29160         * sunrpc/rpc_common.c: Likewise.
29161         * sunrpc/rpc_dtable.c: Likewise.
29162         * sunrpc/rpc_prot.c: Likewise.
29163         * sunrpc/rpc_thread.c: Likewise.
29164         * sunrpc/rtime.c: Likewise.
29165         * sunrpc/svc.c: Likewise.
29166         * sunrpc/svc_auth.c: Likewise.
29167         * sunrpc/svc_raw.c: Likewise.
29168         * sunrpc/svc_run.c: Likewise.
29169         * sunrpc/svc_tcp.c: Likewise.
29170         * sunrpc/svc_udp.c: Likewise.
29171         * sunrpc/svc_unix.c: Likewise.
29172         * sunrpc/svcauth_des.c: Likewise.
29173         * sunrpc/xcrypt.c: Likewise.
29174         * sunrpc/xdr.c: Likewise.
29175         * sunrpc/xdr_array.c: Likewise.
29176         * sunrpc/xdr_float.c: Likewise.
29177         * sunrpc/xdr_intXX_t.c: Likewise.
29178         * sunrpc/xdr_mem.c: Likewise.
29179         * sunrpc/xdr_rec.c: Likewise.
29180         * sunrpc/xdr_ref.c: Likewise.
29181         * sunrpc/xdr_sizeof.c: Likewise.
29182         * sunrpc/xdr_stdio.c: Likewise.
29184 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29186         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29187         change.  Update copyright years.
29189 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29191         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29193 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
29194             Joseph Myers  <joseph@codesourcery.com>
29195             Paul Pluzhnikov  <ppluzhnikov@google.com>
29197         [BZ #14012]
29198         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29199         requiring rpcgen.
29200         [cross-compiling] (extra-libs): Likewise.
29201         [cross-compiling] (extra-libs-others): Likewise.
29202         [cross-compiling] (librpcsvc-routines): Likewise.
29203         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29204         [cross-compiling] (omit-deps): Likewise.
29205         (sunrpc-CPPFLAGS): New variable.
29206         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29207         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29208         (cross-rpcgen-objs): New variable.
29209         (extra-objs): Append $(cross-rpcgen-objs).
29210         ($(cross-rpcgen-objs)): New rule.
29211         ($(objpfx)cross-rpcgen): Likewise.
29212         (rpcgen-cmd): Define to use $(built-program-file).  Expand
29213         comment.
29214         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29215         ($(objpfx)x%.stmp): Likewise.
29216         * sunrpc/proto.h [IS_IN_build] (_): Define.
29217         [IS_IN_build] (_libc_intl_domainname): Likewise.
29219 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29221         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29222         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29223         and R_X86_64_TPOFF64.
29225 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29227         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29228         sysdeps/unix/sysv/syscalls.list.
29229         (stime): Likewise.
29230         (utime): Likewise.
29231         * sysdeps/unix/sysv/syscalls.list: Remove file.
29233 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
29235         [BZ #3440]
29236         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29237         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29238         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29239         (__LC_IDENTIFICATION): Make these macros useful in #if
29240         expressions, as required by C99.
29242 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
29244         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29245         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
29246         after this.
29248 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
29250         * stdlib/longlong.h: Updated from GCC.
29252 2012-05-09  Andreas Jaeger  <aj@suse.de>
29254         * nscd/nscd.c (run_modes): Make named enum, reorder so that
29255         default is first entry.
29256         (run_mode): Set type.
29257         (main): Remove informal message about syslog.
29258         (options): Fix typo.
29260         [BZ #14053]
29261         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29262         to asm.
29263         (lrint): Likewise.
29264         (llrintf): Likewise.
29265         (llrint): Likewise.
29266         (rint): Likewise.
29267         (rintf): Likewise.
29268         (nearbyint): Likewise.
29269         (nearbyintf): Likewise.
29271 2012-05-09  Andreas Jaeger  <aj@suse.de>
29272             Pedro Alves  <palves@redhat.com>
29274         * nscd/nscd.c (run_mode): Use enum.
29275         (main): Cleanup coding style issue.
29277 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
29278             Andreas Jaeger  <aj@suse.de>
29280         * nscd/nscd.c (go_background): Replaced with...
29281         (run_mode): ... this.
29282         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29283         (options): Add -F --foreground.
29284         (main): Implement it.
29285         (parse_opt): Parse it.
29287 2012-05-09  Andreas Jaeger  <aj@suse.de>
29289         [BZ #14083]
29290         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29291         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29292         -Wconversion warning.
29293         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29294         Likewise.
29296 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
29298         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
29299         == 0.
29300         (LC_ALL): Use macro-int-constant.
29301         (LC_COLLATE): Likewise.
29302         (LC_CTYPE): Likewise.
29303         (LC_MESSAGES): Likewise.
29304         (LC_MONETARY): Likewise.
29305         (LC_NUMERIC): Likewise.
29306         (LC_TIME): Likewise.
29307         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29308         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29309         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29310         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29311         Specify type.
29312         [C99-based standards] (float_t): Expect type.
29313         [C99-based standards] (double_t): Expect type.
29314         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
29315         type.
29316         [C99-based standards] (HUGE_VALL): Likewise.
29317         [C99-based standards] (INFINITY): Likewise.
29318         [C99-based standards] (NAN): Likewise.
29319         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29320         [C99-based standards] (FP_NAN): Likewise.
29321         [C99-based standards] (FP_NORMAL): Likewise.
29322         [C99-based standards] (FP_SUBNORMAL): Likewise.
29323         [C99-based standards] (FP_ZERO): Likewise.
29324         [C99-based standards] (FP_FAST_FMA): Use
29325         optional-macro-int-constant.  Specify type.  Require == 1.
29326         [C99-based standards] (FP_FAST_FMAF): Likewise.
29327         [C99-based standards] (FP_FAST_FMAL): Likewise.
29328         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29329         [C99-based standards] (FP_ILOGBNAN): Likewise.
29330         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29331         Specify type.
29332         [C99-based standards] (MATH_ERREXCEPT): Likewise.
29333         [C99-based standards] (math_errhandling): Specify type.
29334         [ISO99 || ISO11] (signgam): Do not allow.
29335         [non-C99-based standards] (copysignf): Do not allow.
29336         [non-C99-based standards] (exp2f): Likewise.
29337         [non-C99-based standards] (log2f): Likewise.
29338         [non-C99-based standards] (modff): Allow.
29339         [non-C99-based standards] (erff): Do not allow.
29340         [non-C99-based standards] (erfcf): Likewise.
29341         [non-C99-based standards] (gammaf): Likewise.
29342         [non-C99-based standards] (hypotf): Likewise.
29343         [non-C99-based standards] (j0f): Likewise.
29344         [non-C99-based standards] (j1f): Likewise.
29345         [non-C99-based standards] (jnf): Likewise.
29346         [non-C99-based standards] (lgammaf): Likewise.
29347         [non-C99-based standards] (tgammaf): Likewise.
29348         [non-C99-based standards] (y0f): Likewise.
29349         [non-C99-based standards] (y1f): Likewise.
29350         [non-C99-based standards] (ynf): Likewise.
29351         [non-C99-based standards] (isnanf): Likewise.
29352         [non-C99-based standards] (acoshf): Likewise.
29353         [non-C99-based standards] (asinhf): Likewise.
29354         [non-C99-based standards] (atanhf): Likewise.
29355         [non-C99-based standards] (cbrtf): Likewise.
29356         [non-C99-based standards] (expm1f): Likewise.
29357         [non-C99-based standards] (ilogbf): Likewise.
29358         [non-C99-based standards] (log1pf): Likewise.
29359         [non-C99-based standards] (logbf): Likewise.
29360         [non-C99-based standards] (nextafterf): Likewise.
29361         [non-C99-based standards] (remainderf): Likewise.
29362         [non-C99-based standards] (rintf): Likewise.
29363         [non-C99-based standards] (scalbf): Likewise.
29364         [non-C99-based standards] (copysignl): Likewise.
29365         [non-C99-based standards] (exp2l): Likewise.
29366         [non-C99-based standards] (log2l): Likewise.
29367         [non-C99-based standards] (modfl): Allow.
29368         [non-C99-based standards] (erfl): Do not allow.
29369         [non-C99-based standards] (erfcl): Likewise.
29370         [non-C99-based standards] (gammal): Likewise.
29371         [non-C99-based standards] (hypotl): Likewise.
29372         [non-C99-based standards] (j0l): Likewise.
29373         [non-C99-based standards] (j1l): Likewise.
29374         [non-C99-based standards] (jnl): Likewise.
29375         [non-C99-based standards] (lgammal): Likewise.
29376         [non-C99-based standards] (tgammal): Likewise.
29377         [non-C99-based standards] (y0l): Likewise.
29378         [non-C99-based standards] (y1l): Likewise.
29379         [non-C99-based standards] (ynl): Likewise.
29380         [non-C99-based standards] (isnanl): Likewise.
29381         [non-C99-based standards] (acoshl): Likewise.
29382         [non-C99-based standards] (asinhl): Likewise.
29383         [non-C99-based standards] (atanhl): Likewise.
29384         [non-C99-based standards] (cbrtl): Likewise.
29385         [non-C99-based standards] (expm1l): Likewise.
29386         [non-C99-based standards] (ilogbl): Likewise.
29387         [non-C99-based standards] (log1pl): Likewise.
29388         [non-C99-based standards] (logbl): Likewise.
29389         [non-C99-based standards] (nextafterl): Likewise.
29390         [non-C99-based standards] (remainderl): Likewise.
29391         [non-C99-based standards] (rintl): Likewise.
29392         [non-C99-based standards] (scalbl): Likewise.
29393         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29394         [non-C99-based standards] (FP_*): Do not allow.
29395         [C99-based standards] (FP_*): Change to
29396         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29397         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29398         allow.
29399         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29400         (SIG_ERR): Likewise.
29401         [X/Open-based standards] (SIG_HOLD): Likewise.
29402         (SIG_IGN): Likewise.
29403         (SIGABRT): Use macro-int-constant.  Specify type.  Require
29404         positive value.
29405         (SIGFPE): Likewise.
29406         (SIGILL): Likewise.
29407         (SIGINT): Likewise.
29408         (SIGSEGV): Likewise.
29409         (SIGTER): Likewise.
29410         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29411         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29412         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29413         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29414         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29415         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29416         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29417         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29418         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29419         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29420         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29421         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29422         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29423         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29424         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29425         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29426         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29427         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29428         [X/Open-based standards] (SIGTRAP): Likewise.
29429         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29430         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29431         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29432         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29433         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29434         allow.
29436 2012-05-08  Ian Wienand  <ianw@vmware.com>
29438         [BZ #14080]
29439         * time/tzset.c (__tzset_parse_tz): Update default rules for
29440         daylight time changes in the Energy Policy Act of 2005.
29442 2012-05-09  Andreas Jaeger  <aj@suse.de>
29444         [BZ #13983]
29445         * elf/ldconfig.c (parse_conf): Change string to make clear that
29446         ldconfig only issued a warning if ld.so.conf does not exist.
29448 2012-05-08  David S. Miller  <davem@davemloft.net>
29450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29451         movxtod instead of popping the value on the stack.
29453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29455 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
29457         * config.h.in: Add HAVE_ARM_PCS_VFP.
29459 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
29461         [BZ #13979]
29462         * include/features.h: Warn if user requests __FORTIFY_SOURCE
29463         checking but the checks are disabled for any reason.
29465 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
29467         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29468         and ELF64_R_TYPE with ELFW(R_TYPE).
29470 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
29472         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29473         (ulimit): Likewise.
29475         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29476         (settimeofday): Likewise.
29478 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
29480         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
29481         a struct th_u2 inside the union, and move tu_block/tu_code into
29482         a new th_u3 union of tu_block/tu_code inside of that.  Move
29483         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
29484         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
29485         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29486         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29487         (th_stuff): Change to th_u1.tu_stuff.
29488         (th_data): Define.
29489         (th_msg): Change to th_u1.th_u2.tu_data.
29491 2012-05-07  David S. Miller  <davem@davemloft.net>
29493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29495         [BZ #14074]
29496         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29497         (SETUP_PIC_REG): Use it.
29498         (SETUP_PIC_REG_LEAF): Use it.
29500 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
29502         [BZ #13885]
29503         [BZ #13923]
29504         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29505         USE_AS_EXPM1L.
29506         (EXPL_FINITE): Likewise.
29507         (FLDLOG): Likewise.
29508         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29509         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29510         e_expl.S.
29511         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29512         USE_AS_EXPM1L.
29513         (EXPL_FINITE): Likewise.
29514         (FLDLOG): Likewise.
29515         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29516         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29517         e_expl.S.
29518         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
29519         test of -max_value argument for long double.
29520         * sysdeps/i386/fpu/libm-test-ulps: Update.
29521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29523 2012-05-06  David S. Miller  <davem@davemloft.net>
29525         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29526         quad soft-float symbols whose references which are compiler
29527         generated.
29528         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29530 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
29532         [BZ #13884]
29533         [BZ #13914]
29534         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29535         USE_AS_EXP10L.
29536         (EXPL_FINITE): Likewise.
29537         (FLDLOG): Likewise.
29538         (c0): Likewise.
29539         (c1): Likewise.
29540         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29541         Adjust comments for base varying.
29542         (__expl_finite): Change alias to EXPL_FINITE.
29543         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29544         e_expl.S.
29545         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29546         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29547         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29548         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29549         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29550         USE_AS_EXP10L.
29551         (EXPL_FINITE): Likewise.
29552         (FLDLOG): Likewise.
29553         (c0): Likewise.
29554         (c1): Likewise.
29555         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29556         Adjust comments for base varying.
29557         (__expl_finite): Change alias to EXPL_FINITE.
29558         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
29559         tests for bugs.
29560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29562         [BZ #14064]
29563         * math/libm-test.inc (check_float_internal): Correct ulp
29564         calculation for subnormal expected results.
29566 2012-05-06  Andreas Jaeger  <aj@suse.de>
29568         * Makeconfig (+math-flags): New, set to -frounding-math.
29569         (+cflags): Add +math-flags so that all of glibc gets compiled with
29570         it.
29572         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29574 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
29576         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29577         Disable one test.
29579         [BZ #13787]
29580         [BZ #13922]
29581         [BZ #14036]
29582         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29583         (__ieee754_expl): Allow for and saturate large arguments.
29584         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29585         (u_threshold): Likewise.
29586         (__exp): Call __ieee754_exp before checking for overflow and
29587         underflow.
29588         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29589         (u_threshold): Likewise.
29590         (__expf): Call __ieee754_expf before checking for overflow and
29591         underflow.
29592         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29593         (u_threshold): Likewise.
29594         (__expl): Call __ieee754_expl before checking for overflow and
29595         underflow.
29596         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29597         (__ieee754_expl): Allow for and saturate large arguments.
29598         * math/libm-test.inc (exp_test): Add another test.  Do not allow
29599         missing overflow exception on overflow.
29600         (expm1_test): Do not allow missing overflow exception on overflow.
29602         * sysdeps/i386/fpu/e_expl.c: Move to ...
29603         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
29604         rather than using inline asm.
29605         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29606         * sysdeps/x86_64/fpu/e_expl.S: Copy from
29607         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29609         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29610         (nice): Likewise.
29611         (poll): Likewise.
29612         (signal): Likewise.
29613         (time): Likewise.
29614         (times): Likewise.
29616 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29618         * sysdeps/unix/syscalls.list (adjtime): Add entry from
29619         sysdeps/unix/common/syscalls.list.
29620         (fchmod): Likewise.
29621         (fchown): Likewise.
29622         (ftruncate): Likewise.
29623         (getrusage): Likewise.
29624         (gettimeofday): Likewise.
29625         (setpgid): Likewise.
29626         (setregid): Likewise.
29627         (setreuid): Likewise.
29628         (sigaction): Likewise.
29629         (truncate): Likewise.
29630         (vhangup): Likewise.
29631         * sysdeps/unix/common/syscalls.list: Remove file.
29632         * sysdeps/unix/bsd/Implies: Don't include unix/common.
29633         * sysdeps/unix/sysv/linux/Implies: Likewise.
29635 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
29637         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29639         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29640         Moved to ...
29641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29642         Here.
29643         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29644         to ...
29645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29646         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29647         to ...
29648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29649         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29650         to ...
29651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29652         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29653         to ...
29654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29655         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29656         to ...
29657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29658         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29659         to ...
29660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29661         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29662         to ...
29663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29664         Here.
29665         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29666         to ...
29667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29668         Here.
29669         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29670         to ...
29671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29672         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29673         Moved to ...
29674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29675         Here.
29676         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29677         to ...
29678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29680 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29682         * sysdeps/unix/common/bits/dirent.h: Remove file.
29683         * sysdeps/unix/common/bits/fcntl.h: Likewise.
29685         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29686         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29687         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29688         * sysdeps/unix/bsd/isatty.c: Likewise.
29689         * sysdeps/unix/bsd/tcdrain.c: Likewise.
29690         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29691         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29693 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29695         [BZ #13563]
29696         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29697         long double comparison inaccuracies.
29698         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29701 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
29703         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29704         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29706 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29708         [BZ #14049]
29709         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29710         nonzero digits before rounding a hex value.
29711         * stdlib/tst-strtod.c (tests): Add another test.
29713 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29715         * sysdeps/s390/fpu/libm-test-ulps: Update.
29717 2012-05-03  Andreas Jaeger  <aj@suse.de>
29719         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29720         does not get optimized out.
29721         (malloc_opt_barrier): New.
29723 2012-05-03  Andreas Jaeger  <aj@suse.de>
29724             Roland McGrath  <roland@hack.frob.com>
29726         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29727         intermediate file deletion.
29728         (generated): Add .symlist files.
29730 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
29732         [BZ #13775]
29733         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29734         Redirect under this condition.
29735         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29736         [__USE_GNU] (__dprintf_chk): Not under this condition.
29737         [__USE_GNU] (__vdprintf_chk): Likewise.
29738         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29739         under this condition.
29740         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29741         [__USE_XOPEN2K8] (dprintf): Define under this condition.
29742         [__USE_XOPEN2K8] (vdprintf): Likewise.
29743         [__USE_GNU] (__dprintf_chk): Not under this condition.
29744         [__USE_GNU] (__vdprintf_chk): Likewise.
29745         [__USE_GNU] (dprintf): Likewise.
29746         [__USE_GNU] (vdprintf): Likewise.
29748 2012-05-03  Roland McGrath  <roland@hack.frob.com>
29750         * elf/Makefile (common-generated): Set this instead of generated for
29751         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
29752         $(all-built-dso)-derived lists.
29754 2012-05-03  Andreas Jaeger  <aj@suse.de>
29756         * sysdeps/i386/fpu/libm-test-ulps: Update.
29758         * FAQ: Removed.
29759         * FAQ.in: Likewise.
29760         * scripts/gen-FAQ.pl: Likewise.
29761         * manual/install.texi (Installation): Point to online location of
29762         FAQ.
29763         * Makefile (files-for-dist): Remove FAQ.
29764         (FAQ): Remove.
29766 2012-05-02  Allan McRae  <allan@archlinux.org>
29768         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29769         (LDFLAGS-reldepmod5.so): Likewise.
29770         (LDFLAGS-reldep6mod1.so): Likewise.
29771         (LDFLAGS-reldep6mod4.so): Likewise.
29772         (LDFLAGS-reldep8mod3.so): Likewise.
29773         (LDFLAGS-unload4mod1.so): Likewise.
29774         (LDFLAGS-unload4mod2.so): Likewise.
29775         (LDFLAGS-tst-initorder): Likewise.
29776         (LDFLAGS-tst-initordera2.so): Likewise.
29777         (LDFLAGS-tst-initordera3.so): Likewise.
29778         (LDFLAGS-tst-initordera4.so): Likewise.
29779         (LDFLAGS-tst-initorderb2.so): Likewise.
29780         (LDFLAGS-noload): Likewise.
29781         (LDFLAGS-next): Likewise.
29782         (LDFLAGS-order2mod1.so): Likewise.
29783         (LDFLAGS-order2mod2.so): Likewise.
29784         (LDFLAGS-tst-initorder2): Likewise.
29785         (LDFLAGS-tst-initorder2a.so): Likewise.
29786         (LDFLAGS-tst-initorder2b.so): Likewise.
29787         (LDFLAGS-tst-initorder2c.so): Likewise.
29788         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29790 2012-05-02  David S. Miller  <davem@davemloft.net>
29792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29794 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29796         [BZ #14055]
29797         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29799 2012-05-02  Andreas Jaeger  <aj@suse.de>
29801         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29802         since we manipulate rounding mode.
29803         (CPPFLAGS-test-idouble.c): Likewise.
29804         (CPPFLAGS-test-ifloat.c): Likewise.
29805         (CFLAGS-test-ldouble.c): Likewise.
29806         (CFLAGS-test-double.c): Likewise.
29807         (CFLAGS-test-float.c): Likewise.
29808         (CFLAGS-test-misc.c): Likewise.
29809         (CFLAGS-test-test-fenv.c): Likewise.
29811 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29813         [BZ #2550]
29814         [BZ #2570]
29815         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29816         comparisons to determine direction to adjust input.
29818 2012-05-01  Roland McGrath  <roland@hack.frob.com>
29820         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29821         output to the target.
29823         * scripts/localplt.awk: New file.
29824         * elf/Makefile ($(objpfx)check-localplt): Target removed.
29825         (check-localplt-CFLAGS): Variable removed.
29826         ($(all-built-dso:=.jmprel)): New static pattern rule.
29827         (generated): Add those targets.
29828         (localplt-built-dso): New variable.
29829         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29831         * elf/check-localplt.c: File removed.
29833         * scripts/check-execstack.awk: New file.
29834         * elf/Makefile ($(objpfx)check-execstack): Target removed.
29835         (check-execstack-CFLAGS): Variable removed.
29836         ($(objpfx)check-execstack.h): Target removed.
29837         ($(objpfx)execstack-default): New target.
29838         (generated): Add that instead of check-execstack.h.
29839         ($(all-built-dso:=.phdr)): New static pattern rule.
29840         (generated): Add those targets.
29841         * elf/check-execstack.c: File removed.
29843         * scripts/check-textrel.awk: New file.
29844         * elf/Makefile ($(objpfx)check-textrel): Target removed.
29845         (check-textrel-CFLAGS): Variable removed.
29846         (all-built-dso): Use := to define.o
29847         ($(all-built-dso:=.dyn)): New static pattern rule.
29848         (generated): Add those targets.
29849         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29850         * config.make.in (READELF): New substituted variable.
29851         * elf/check-textrel.c: File removed.
29853 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29855         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29856         allow.
29857         * conform/data/ctype.h-data [C99-based standards] (isblank):
29858         Expect function.
29859         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29860         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29861         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29862         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29863         Specify type.  Require positive value.
29864         (EILSEQ): Likewise.
29865         (ERANGE): Likewise.
29866         [ISO || POSIX] (EILSEQ): Do not expect.
29867         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29868         Specify type.  Require positive value.
29869         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29870         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29871         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29872         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29873         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29874         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29875         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29876         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29877         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29878         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29879         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29880         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29881         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29882         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29883         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29884         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29885         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29886         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29887         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29888         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29889         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29890         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29891         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29892         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29893         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29894         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29895         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29896         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29897         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29898         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29899         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29900         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29901         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29902         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29903         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29904         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29905         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29906         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29907         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29908         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29909         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29910         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29911         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29912         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29913         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29914         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29915         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29916         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29917         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29918         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29919         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29920         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29921         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29922         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29923         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29924         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29925         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29926         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29927         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29928         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29929         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29930         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29931         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29932         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29933         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29934         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29935         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29936         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29937         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29938         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29939         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29940         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29941         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29942         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29943         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29944         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29945         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29946         Require >= 2.
29947         (FLT_ROUNDS): Expect as macro, not constant.
29948         (FLT_MANT_DIG): Use macro-int-constant.
29949         (DBL_MANT_DIG): Likewise.
29950         (LDBL_MANT_DIG): Likewise.
29951         (FLT_DIG): Likewise.
29952         (DBL_DIG): Likewise.
29953         (LDBL_DIG): Likewise.
29954         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
29955         (DBL_MIN_EXP): Likewise.
29956         (LDBL_MIN_EXP): Likewise.
29957         (FLT_MAX_EXP): Use macro-int-constant.
29958         (DBL_MAX_EXP): Likewise.
29959         (LDBL_MAX_EXP): Likewise.
29960         (FLT_MAX_10_EXP): Likewise.
29961         (DBL_MAX_10_EXP): Likewise.
29962         (LDBL_MAX_10_EXP): Likewise.
29963         (FLT_MAX): Use macro-constant.
29964         (DBL_MAX): Likewise.
29965         (LDBL_MAX): Likewise.
29966         (FLT_EPSILON): Use macro-constant.  Give upper bound.
29967         (DBL_EPSILON): Likewise.
29968         (LDBL_EPSILON): Likewise.
29969         (FLT_MIN): Likewise.
29970         (DBL_MIN): Likewise.
29971         (LDBL_MIN): Likewise.
29972         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29973         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29974         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29975         [ISO11] (FLT_HAS_SUBNORM): Likewise.
29976         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29977         [ISO11] (DBL_DECIMAL_DIG): Likewise.
29978         [ISO11] (FLT_DECIMAL_DIG): Likewise.
29979         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29980         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29981         [ISO11] (FLT_TRUE_MIN): Likewise.
29982         [ISO11] (LDBL_TRUE_MIN): Likewise.
29983         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29984         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29985         (SCHAR_MIN): Use macro-int-constant.  Specify type.
29986         (SCHAR_MAX): Likewise.
29987         (UCHAR_MAX): Likewise.
29988         (CHAR_MIN): Likewise.
29989         (CHAR_MAX): Likewise.
29990         (MB_LEN_MAX): Use macro-int-constant.
29991         (SHRT_MIN): Use macro-int-constant.  Specify type.
29992         (SHRT_MAX): Likewise.
29993         (USHRT_MAX): Likewise.
29994         (INT_MAX): Likewise.
29995         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
29996         bound negative.
29997         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29998         bound with "U".
29999         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30000         bound with "L".
30001         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
30002         bound negative.  Suffix upper bound with "L".
30003         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
30004         bound with "UL".
30005         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30006         Specify type.
30007         [C99-based standards] (LLONG_MAX): Likewise.
30008         [C99-based standards] (ULLONG_MAX): Likewise.
30009         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
30010         == 0.
30011         [ISO11] (max_align_t): Require type.
30012         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30014         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30015         from $CFLAGS, without defining away __attribute__ calls.
30016         (checknamespace): Use $CFLAGS_namespace.
30018         * conform/conformtest.pl (@keywords): Only include C99 keywords
30019         for standards based on C99 or C11.
30021         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30022         Disable tests.
30023         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30024         UNIX98]: Likewise.
30026         * conform/conformtest.pl: Handle "macro-int-constant" and test for
30027         usability of symbols in #if.
30029         * conform/conformtest.pl: If macro or constant types start
30030         "promoted:", expect the symbol to be of the following type
30031         promoted by the integer promotions.
30033         * conform/conformtest.pl: Parse all "constant" and "macro" lines
30034         in one place.  Also handle "macro-constant".
30036         * conform/conformtest.pl: Only accept expected macro values with
30037         "==".  Parse all "macro" lines in one place.
30038         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30040         * conform/conformtest.pl: Handle braced types on "constant" lines
30041         instead of handling "typed-constant".
30042         * conform/data/signal.h-data: Use "constant" instead of
30043         "typed-constant".
30045         * conform/conformtest.pl: Handle "optional-" at start of lines in
30046         one place rather than duplicating several cases.  Handle each
30047         format of "macro" line with initial "optional-".
30049         * conform/conformtest.pl: Only accept expected constant or
30050         optional-constant values with "==".  Parse all "constant" lines in
30051         one place.  Parse all "optional-constant" lines in one place.
30052         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30053         * conform/data/fmtmsg.h-data: Likewise.
30054         * conform/data/netinet/in.h-data: Likewise.
30055         * conform/data/tar.h-data: Likewise.
30056         * conform/data/limits.h-data: Use "==" form on "constant" and
30057         "optional-constant" lines.
30059         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30060         Use -std=c99 for XOPEN2K.
30061         (@knownproblems): Remove.
30062         (newtoken): Don't check %isknown.
30064         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30065         Do not expect macro.
30066         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30067         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30068         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30069         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30070         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30071         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30072         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30073         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30074         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30075         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30076         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30077         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30078         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30079         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30080         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30081         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30082         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30083         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30084         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30085         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30086         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30087         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30088         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30089         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30090         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30091         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30092         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30093         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30094         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30095         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30096         [XPG3] (acosh): Likewise.
30097         [XPG3] (asinh): Likewise.
30098         [XPG3] (atanh): Likewise.
30099         [XPG3] (cbrt): Likewise.
30100         [XPG3] (expm1): Likewise.
30101         [XPG3] (ilogb): Likewise.
30102         [XPG3] (log1p): Likewise.
30103         [XPG3] (logb): Likewise.
30104         [XPG3] (nextafter): Likewise.
30105         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30106         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30107         [XPG3] (remainder): Likewise.
30108         [XPG3] (rint): Likewise.
30109         [XPG3 || XPG4 || UNIX98] (round): Likewise.
30110         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30111         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30112         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30113         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30114         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30115         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30116         [UNIX98 || XOPEN2K] (scalb): Expect.
30117         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30118         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30119         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30120         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30121         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30122         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30123         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30124         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30125         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30126         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30127         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30128         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30129         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30130         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30131         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30132         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30133         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30134         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30135         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30136         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30137         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30138         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30139         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30140         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30141         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30142         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30143         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30144         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30145         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30146         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30147         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30148         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30149         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30150         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30151         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30152         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30153         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30154         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30155         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30156         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30157         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30158         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30159         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30160         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30161         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30162         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30163         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30164         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30165         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30166         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30167         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30168         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30169         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30170         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30171         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30172         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30173         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30174         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30175         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30176         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30177         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30178         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30179         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30180         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30181         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30182         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30183         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30184         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30185         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30186         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30187         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30188         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30189         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30190         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30191         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30192         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30193         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30194         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30195         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30196         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30197         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30198         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30199         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30200         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30201         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30202         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30203         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30204         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30205         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30206         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30207         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30208         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30209         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30210         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30211         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30212         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30213         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30214         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30215         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30216         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30217         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30218         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30219         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30220         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30221         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30222         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30223         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30224         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30225         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30226         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30227         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30228         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30229         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30230         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30231         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30232         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30233         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30234         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30235         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30236         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30237         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30238         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30239         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30240         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30241         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30242         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30243         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30244         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30245         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30246         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30247         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30248         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30249         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30250         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30251         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30252         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30253         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30255         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30256         _XOPEN_SOURCE_EXTENDED for XPG4.
30258         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30260         * Makeconfig (localtime): Remove variable.
30261         (inst_localtime-file): Likewise.
30263 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30266         Update.
30267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30268         Update.
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30270         Update.
30271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30272         Update.
30273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30274         Update.
30275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30276         Update.
30277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30278         Update.
30279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30280         Update.
30281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30282         Update.
30284 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30286         [BZ #2550]
30287         [BZ #2570]
30288         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30289         comparisons to determine direction to adjust input.
30290         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30291         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30292         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30293         Likewise.
30294         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30295         Likewise.
30296         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30297         Likewise.
30298         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30299         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30300         Likewise.
30301         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30302         Likewise.
30303         * math/libm-test.inc (nexttoward_test): Add more tests.
30305 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30307         [BZ #14040]
30308         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30309         in version GLIBC_2.1, not GLIBC_2.0.
30310         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30311         Likewise.
30313 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
30315         [BZ #13942]
30316         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30317         (1 - x) * (1 + x).
30318         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30319         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30320         * math/libm-test.inc (acos_test): Add more tests.
30321         (asin_test): Likewise.
30322         * sysdeps/i386/fpu/libm-test-ulps: Update.
30323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30325         [BZ #14034]
30326         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30327         of square root.
30328         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30329         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30330         * math/libm-test.inc (acos_test_tonearest): New function.
30331         (acos_test_towardzero): Likewise.
30332         (acos_test_downward): Likewise.
30333         (acos_test_upward): Likewise.
30334         (asin_test_tonearest): Likewise.
30335         (asin_test_towardzero): Likewise.
30336         (asin_test_downward): Likewise.
30337         (asin_test_upward): Likewise.
30338         (main): Call the new functions.
30339         * sysdeps/i386/fpu/libm-test-ulps: Update.
30340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30342         [BZ #13884]
30343         [BZ #13924]
30344         * math/e_exp10.c: Include <float.h>.
30345         (__ieee754_exp10): Handle underflow here rather than multiplying
30346         large negative argument by M_LN10.
30347         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30348         of __ieee754_expf.
30349         * math/e_exp10l.c: Include <float.h>.
30350         (__ieee754_exp10l): Handle underflow here rather than multiplying
30351         large negative argument by M_LN10l.
30352         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
30353         spurious overflow exception on underflow.
30355 2012-04-29  Marek Polacek  <polacek@redhat.com>
30357         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30358         (__fortify_function): New macro.
30359         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30360         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30361         __extern_always_inline.
30362         * libio/bits/stdio2.h: Likewise.
30363         * libio/bits/stdio.h: Likewise.
30364         * string/string.h: Likewise.
30365         * string/bits/string3.h: Likewise.
30366         * include/stdio.h: Likewise.
30367         * stdlib/bits/stdlib.h: Likewise.
30368         * stdlib/stdlib.h: Likewise.
30369         * rt/bits/mqueue2.h: Likewise.
30370         * rt/mqueue.h: Likewise.
30371         * posix/bits/unistd.h: Likewise.
30372         * posix/unistd.h: Likewise.
30373         * io/bits/poll2.h: Likewise.
30374         * io/bits/fcntl2.h: Likewise.
30375         * io/fcntl.h: Likewise.
30376         * io/sys/poll.h: Likewise.
30377         * misc/bits/syslog.h: Likewise.
30378         * misc/bits/syslog-ldbl.h: Likewise.
30379         * misc/sys/syslog.h: Likewise.
30380         * socket/bits/socket2.h: Likewise.
30381         * socket/sys/socket.h: Likewise.
30382         * debug/tst-chk1.c: Likewise.
30383         * wcsmbs/bits/wchar2.h: Likewise.
30384         * wcsmbs/bits/wchar-ldbl.h: Likewise.
30385         * wcsmbs/wchar.h: Likewise.
30387 2012-04-29  Andreas Jaeger  <aj@suse.de>
30389         * Makerules (tests): Remove enable-check-abi protection.
30390         (check-abi-warn): Remove.
30391         (check-abi-%): Remove check-abi-warn usage.
30393         * configure.in: Remove check-abi configure option.
30394         * configure: Regenerated.
30395         * config.make.in (enable-check-abi): Remove.
30397 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
30399         [BZ #14033]
30400         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30401         double functions to double *_finite functions.
30403         [BZ #13941]
30404         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30405         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30406         LDBL_MIN_EXP.
30407         * stdio-common/Makefile (tests): Add tst-sprintf3.
30408         * stdio-common/tst-sprintf3.c: New file.
30410         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30411         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30413 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30415         * conform/conformtest.pl: Remove duplicate typed-constant
30416         handling.
30418 2012-04-28  David S. Miller  <davem@davemloft.net>
30420         * Makerules (%.abilist): Add vpath on sysdep_dirs.
30421         (check-abi-%): Remove AWK script prerequisite and explicit
30422         abilist directory.
30423         (check-abi): Rewrite to just diff the symlist with the abilist.
30424         (config-tls, config-abi-config): Delete, no longer used.
30425         (update-abi-%): Remove AWK script and explicit abilist directory.
30426         (update-abi): Rewrite to simply compare and conditionally copy the
30427         symlist and the sysdep abilist file.  Remove update-abi-config
30428         checks.
30429         * abilist/ld.abilist: Remove.
30430         * abilist/libBrokenLocale.abilist: Remove.
30431         * abilist/libanl.abilist: Remove.
30432         * abilist/libcrypt.abilist: Remove.
30433         * abilist/libdl.abilist: Remove.
30434         * abilist/librt.abilist: Remove.
30435         * abilist/libthread_db.abilist: Remove.
30436         * abilist/libutil.abilist: Remove.
30437         * scripts/extract-abilist.awk: Remove.
30438         * scripts/merge-abilist.awk: Remove.
30439         * sysdeps/generic/libcidn.abilist: New file.
30440         * sysdeps/generic/libnss_compat.abilist: New file.
30441         * sysdeps/generic/libnss_db.abilist: New file.
30442         * sysdeps/generic/libnss_dns.abilist: New file.
30443         * sysdeps/generic/libnss_files.abilist: New file.
30444         * sysdeps/generic/libnss_hesiod.abilist: New file.
30445         * sysdeps/generic/libnss_nis.abilist: New file.
30446         * sysdeps/generic/libnss_nisplus.abilist: New file.
30447         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30448         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30449         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30450         file.
30451         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30452         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30453         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30454         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30455         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30456         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30457         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30458         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30459         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30460         file.
30461         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30462         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30463         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30464         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30465         file.
30466         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30467         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30468         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30469         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30470         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30471         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30472         file.
30473         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30474         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30475         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30476         file.
30477         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30478         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30479         New file.
30480         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30481         New file.
30482         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30483         New file.
30484         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30485         New file.
30486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30487         New file.
30488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30489         New file.
30490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30491         New file.
30492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30493         New file.
30494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30495         New file.
30496         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30497         New file.
30498         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30499         New file.
30500         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30501         New file.
30502         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30503         New file.
30504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30505         file.
30506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30507         New file.
30508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30509         New file.
30510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30511         file.
30512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30513         New file.
30514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30515         New file.
30516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30517         file.
30518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30519         New file.
30520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30521         New file.
30522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30523         New file.
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30525         New file.
30526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30527         New file.
30528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30529         New file.
30530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30532         file.
30533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30534         New file.
30535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30536         file.
30537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30538         file.
30539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30540         file.
30541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30542         file.
30543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30544         file.
30545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30546         New file.
30547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30548         file.
30549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30550         file.
30551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30552         New file.
30553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30554         file.
30555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30557         file.
30558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30559         New file.
30560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30561         file.
30562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30563         file.
30564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30565         file.
30566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30567         file.
30568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30569         file.
30570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30571         New file.
30572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30573         file.
30574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30575         file.
30576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30577         New file.
30578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30579         file.
30580         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30581         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30582         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30583         file.
30584         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30585         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30586         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30587         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30588         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30589         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30590         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30591         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30592         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30593         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30596         file.
30597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30598         New file.
30599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30600         file.
30601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30602         file.
30603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30604         file.
30605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30606         file.
30607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30608         file.
30609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30610         New file.
30611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30612         New file.
30613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30614         file.
30615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30616         New file.
30617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30618         file.
30619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30621         file.
30622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30623         New file.
30624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30625         file.
30626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30627         file.
30628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30629         file.
30630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30631         file.
30632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30633         file.
30634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30635         New file.
30636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30637         New file.
30638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30639         file.
30640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30641         New file.
30642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30643         file.
30645 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30647         * conform/conformtest.pl: Fix typo in handling typed-constant from
30648         allow-header.
30650 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30652         * README: Cut down references to pre-2.6 Linux kernels and
30653         Linuxthreads.  Update lists of configurations in libc and ports
30654         and sort alphabetically.  Say "or newer" with Linux kernel version
30655         requirements.
30657         * config.h.in [IS_IN_build]: Allow compiling without optimization.
30659 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30661         [BZ #887]
30662         * math/libm-test.inc (logb_test_downward): New test to expose
30663         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30664         rounding mode.
30666 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30668         [BZ #14027]
30669         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30670         to be done.
30671         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30672         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30674 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
30676         * sysdeps/unix/i386/brk.S: Remove file.
30677         * sysdeps/unix/i386/dl-brk.S: Likewise.
30678         * sysdeps/unix/i386/pipe.S: Likewise.
30679         * sysdeps/unix/i386/sigreturn.S: Likewise.
30680         * sysdeps/unix/i386/syscall.S: Likewise.
30681         * sysdeps/unix/i386/vfork.S: Likewise.
30682         * sysdeps/unix/i386/wait.S: Likewise.
30684         * sysdeps/unix/common/tcsendbrk.c: Move to ...
30685         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30687         * configure.in (arm*-none*): Do not allow without
30688         --enable-hacker-mode.
30689         (netbsd*): Remove case setting base_os.
30690         (386bsd*): Likewise.
30691         (freebsd*): Likewise.
30692         (bsdi*): Likewise.
30693         (osf*): Likewise.
30694         (sunos*): Likewise.
30695         (ultrix*): Likewise.
30696         (newsos*): Likewise.
30697         (dynix*): Likewise.
30698         (*bsd*): Likewise.
30699         (sysv*): Likewise.
30700         (isc*): Likewise.
30701         (esix*): Likewise.
30702         (sco*): Likewise.
30703         (minix*): Likewise.
30704         (irix4*): Likewise.
30705         (irix6*): Likewise.
30706         (solaris[2-9]*): Likewise.
30707         (none): Likewise.
30708         * configure: Regenerated.
30710 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30712         [BZ #11521]
30713         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30714         overflow or cancellation in calculating denominator.
30715         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30716         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30717         down expression to avoid unexpected rounding in newer GCCs.
30718         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30720 2012-04-26  David S. Miller  <davem@davemloft.net>
30722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30723         long-double compat symbols.
30724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30738 2012-04-25  David S. Miller  <davem@davemloft.net>
30740         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30741         HWCAP_* values only after the memory barriers have been defined.
30742         (atomic_full_barrier): Define.
30743         (atomic_read_barrier): Define.
30744         (atomic_write_barrier): Define.
30746 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30748         * shlib-versions: Add libgcc_s version information.
30749         * sysdeps/generic/libgcc_s.h: Remove.
30750         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30751         libgcc_s.h.
30752         * sysdeps/gnu/unwind-resume.c: Likewise.
30753         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30755 2012-04-25  David S. Miller  <davem@davemloft.net>
30757         * sysdeps/unix/sparc/brk.S: Delete.
30758         * sysdeps/unix/sparc/dl-brk.S: Delete.
30759         * sysdeps/unix/sparc/pipe.S: Delete.
30760         * sysdeps/unix/sparc/sysdep.S: Delete.
30761         * sysdeps/unix/sparc/sysdep.h: Delete.
30762         * sysdeps/unix/sparc/vfork.S: Delete.
30763         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30764         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30765         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30766         ret_ERRVAL, r0, r1, MOVE): Define.
30767         (JUMPTARGET): Remove.
30768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30769         sysdeps/unix/sparc/sysdep.h
30770         (ENTRY, END): Remove.
30771         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30773 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
30775         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30776         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30777         -DIS_IN_build.
30779         * timezone/README: Update upstream location and email address for
30780         tzcode and tzdata.
30781         * timezone/zdump.c: Update from tzcode 2012b.
30782         * timezone/zic.c: Likewise.
30784         * configure.in (libc_cv_as_needed): Remove test.
30785         * configure: Regenerated.
30786         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30787         conditional definition.
30788         [$(have-as-needed) != yes] (no-as-needed): Likewise.
30789         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30790         * config.make.in (have-as-needed): Remove variable.
30792 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30793             Paul Pluzhnikov  <ppluzhnikov@google.com>
30795         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30796         strings correctly.
30798 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
30800         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30801         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30802         * sysdeps/sh/strlen.S: Likewise.
30804 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30806         * sysdeps/unix/fork.S: Remove file.
30807         * sysdeps/unix/i386/fork.S: Likewise.
30808         * sysdeps/unix/sparc/fork.S: Likewise.
30810         * sysdeps/unix/system.c: Remove file.
30811         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30813         * sysdeps/unix/getegid.S: Remove file.
30814         * sysdeps/unix/geteuid.S: Likewise.
30816 2012-04-24  Roland McGrath  <roland@hack.frob.com>
30818         * scripts/check-localplt.awk: New file.
30819         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30820         of diff.
30821         * scripts/data/localplt-generic.data: Add a comment.
30823         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30824         NODE when __dir_mkfile failed.
30825         * sysdeps/mach/hurd/symlinkat.c: Likewise.
30826         Reported by Ludovic Courtès <ludo@gnu.org>.
30828 2012-04-24  Andreas Jaeger  <aj@suse.de>
30830         * Makerules (common-clean): Also remove gen-as-const-headers
30831         files.
30833 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30835         * Makerules (native-compile): Do not change working directory for
30836         build.  Use $(OUTPUT_OPTION) in command.
30837         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30839 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30841         [BZ #13886]
30842         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30843         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30844         * math/libm-test.inc (floor_test): Add more tests.
30845         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30847 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30849         * sysdeps/unix/getdents.c: Remove file.
30850         * sysdeps/unix/sysv/getdents.c: Likewise.
30851         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30853         * sysdeps/unix/syscalls.list (madvise): Add syscall from
30854         sysdeps/unix/mman/syscalls.list.
30855         (mmap): Likewise.
30856         (mprotect): Likewise.
30857         (msync): Likewise.
30858         (munmap): Likewise.
30859         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30860         * sysdeps/unix/mman/syscalls.list: Remove.
30861         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30863         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30864         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30865         * configure: Regenerated.
30866         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30867         $(libgcc_s_suffix).
30868         * config.make.in (libgcc_s_suffix): Remove variable.
30870 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
30872         * sysdeps/unix/sysv/gethostname.c: Move to ...
30873         * sysdeps/posix/gethostname.c: ... here.
30875         * sysdeps/unix/execve.S: Remove file.
30877         * sysdeps/unix/_exit.S: Remove file.
30879 2012-04-23  Andreas Jaeger  <aj@suse.de>
30881         [BZ #13739]
30882         * manual/Makefile: Remove make dist support, there's no
30883         need for a stand-alone documentation tar ball.
30884         (TEXI2DVI): Define always, it's not in Makeconfig.
30885         (dist): Removed.
30886         (tar-it): Removed.
30887         (edition): Removed.
30888         (glibc-doc-$(edition).tar): Removed
30889         (%.Z): Removed.
30890         (%.gz): Removed.
30891         (%.uu): Removed.
30892         (ETAGS): Remove, it's in Makeconfig.
30893         (move-if-change): Remove, it's in Makeconfig.
30895 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
30897         [BZ #13970]
30898         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30899         (strtod, strtof, strtold, strtol, strtoul, strtoq)
30900         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30901         (strtod_l, strtof_l, strtold_l): Remove __wur.
30902         It is not necessarily an error to ignore strtol's return value.
30903         One can reliably look at the stored endptr to decide whether
30904         the number had valid syntax.
30906 2012-04-21  Andreas Jaeger  <aj@suse.de>
30908         [BZ #13739]
30909         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30911 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
30913         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30914         * sysdeps/unix/sysv/Versions: Remove file.
30916 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
30918         [BZ #13927]
30919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30921 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
30923         [BZ #7064]
30924         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30925         version from __vm86.
30927 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
30929         * sysdeps/unix/common/lxstat.c: Remove file.
30930         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30932         * sysdeps/unix/sysv/Makefile: Remove file.
30934         * sysdeps/unix/sysv/direct.h: Remove file.
30936         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30937         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30938         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30939         * sysdeps/unix/sysv/bits/signum.h: Likewise.
30940         * sysdeps/unix/sysv/bits/stat.h: Likewise.
30941         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30942         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30944         * sysdeps/unix/sysv/setrlimit.c: Remove file.
30946         * sysdeps/unix/xmknod.c: Remove file.
30947         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30949         * sysdeps/unix/sysv/settimeofday.c: Remove file.
30951         * sysdeps/unix/sysv/i386/time.S: Remove file.
30953         * sysdeps/unix/fxstat.c: Remove file.
30954         * sysdeps/unix/xstat.c: Likewise.
30955         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30957         * sysdeps/unix/sysv/sigaction.c: Remove file.
30959         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30960         (sysdep_headers): Remove variable.
30961         [termio.h not in sysdep_headers] (generated): Likewise.
30962         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30963         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30964         * sysdeps/unix/sysv/tcdrain.c: Likewise.
30965         * sysdeps/unix/sysv/tcflow.c: Likewise.
30966         * sysdeps/unix/sysv/tcflush.c: Likewise.
30967         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30968         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30969         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30970         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30971         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30973         * sysdeps/unix/siglist.c: Remove file.
30975         * sysdeps/unix/getppid.S: Remove file.
30977         * sysdeps/unix/mkdir.c: Remove file.
30978         * sysdeps/unix/rmdir.c: Likewise.
30980 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
30982         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30983         ERR_MAX value.
30984         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30985         errlist-compat value.
30987 2012-04-18  David S. Miller  <davem@davemloft.net>
30989         * sysdeps/generic/memcopy.h (reg_char): Delete.
30990         * debug/strcat_chk.c: Use char, not reg_char.
30991         * debug/strcpy_chk.c: Likewise.
30992         * debug/strncat_chk.c: Likewise.
30993         * debug/strncpy_chk.c: Likewise.
30994         * string/memchr.c: Likewise.
30995         * string/memrchr.c: Likewise.
30996         * string/rawmemchr.c: Likewise.
30997         * string/strcat.c: Likewise.
30998         * string/strchr.c: Likewise.
30999         * string/strchrnul.c: Likewise.
31000         * string/strcmp.c: Likewise.
31001         * string/strcpy.c: Likewise.
31002         * string/strncat.c: Likewise.
31003         * string/strncmp.c: Likewise.
31004         * string/strncpy.c: Likewise.
31006 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31008         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31009         __builtin_memcopy is called when src and dest ranges are known to not
31010         overlap.
31012 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31014         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31015         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31016         fwd_align_merge macro call.
31017         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31018         bwd_align_merge macro call.
31019         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31021 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
31023         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31024         bwd_align_merge macros.
31025         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31026         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31027         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31029 2012-04-18  David S. Miller  <davem@davemloft.net>
31031         * sysdeps/sparc/sparc64/memcopy.h: Delete.
31033 2012-04-18  Andreas Jaeger  <aj@suse.de>
31035         [BZ# 6794]
31036         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31037         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31038         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31040         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31041         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31042         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31044         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31045         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31046         Adjust for changed ldbl-128 files.
31048         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31049         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31050         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31052 2012-04-17  David S. Miller  <davem@davemloft.net>
31054         * sysdeps/sparc/sparc32/memcopy.h: Delete.
31056 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
31058         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31059         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31060         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31061         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31062         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31063         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31065 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31067         [BZ #6794]
31068         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31069         * math/libm-test.inc: Add ilogb errno and exception tests.
31070         * math/w_ilogb.c: New file: ilogb wrapper.
31071         * math/w_ilogbf.c: New file: ilogbf wrapper.
31072         * math/w_ilogbl.c: New file: ilogbl wrapper.
31073         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31074         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31075         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31076         exception being thrown with 0.0 as argument.
31077         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31078         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31079         exception being thrown with 0.0 as argument.
31080         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31081         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31082         exception being thrown with 0.0 as argument.
31083         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31084         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31085         exception being thrown with 0.0 as argument.
31086         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31087         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31088         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31089         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31090         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31091         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31092         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31093         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31094         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31096 2012-04-17  Petr Baudis  <pasky@ucw.cz>
31098         * include/sys/uio.h: Change __vector to __iovec to avoid clash
31099         with altivec.
31101 2012-04-16  Marek Polacek  <polacek@redhat.com>
31103         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31105 2012-04-16  Marek Polacek  <polacek@redhat.com>
31107         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31108         operands of fdivp instruction.
31110 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31112         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31113         * elf/tst-auditmod3b.c: Likewise.
31114         * elf/tst-auditmod4b.c: Likewise.
31115         * elf/tst-auditmod5b.c: Likewise.
31116         * elf/tst-auditmod6b.c: Likewise.
31117         * elf/tst-auditmod6c.c: Likewise.
31118         * elf/tst-auditmod7b.c: Likewise.
31119         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31120         * sysdeps/x86_64/preconfigure.in: Likewise.
31121         * sysdeps/x86_64/preconfigure: Regenerated.
31123 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
31125         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31126         __ILP32__.
31128 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
31130         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31131         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31133 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
31135         [BZ #13973]
31136         * locale/iso-639.def: Fix gl language name. Spotted by
31137         Yaron Shahrabani.
31139 2012-04-12  Roland McGrath  <roland@hack.frob.com>
31141         [BZ #2074]
31142         * libio/libio.h (__io_write_fn): Update comment.
31144 2012-04-12  Petr Baudis  <pasky@ucw.cz>
31146         [BZ #2074]
31147         * stdio.texi (Hook Functions): The user provided writer function
31148         is not allowed to return -1.
31150 2012-04-11  David S. Miller  <davem@davemloft.net>
31152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31154 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
31156         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31157         Add a leading slash to rtkaio.
31159 2012-04-11  Jim Meyering  <meyering@redhat.com>
31161         [BZ #11959]
31162         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31163         It is not necessarily an error to ignore fwrite's return
31164         value.  One can reliably use ferror to test for errors after
31165         the fact.
31167 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31169         * bits/types.h (__snseconds_t): New type.
31170         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31172         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31173         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31174         (__SNSECONDS_T_TYPE): Likewise.
31175         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31176         (__SNSECONDS_T_TYPE): Likewise.
31177         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31178         (__SNSECONDS_T_TYPE): Likewise.
31180 2012-04-10  Andreas Jaeger  <aj@suse.de>
31182         [BZ #2636]
31183         * manual/time.texi (Processor Time): Return type of times is
31184         elapsed real time since an arbitrary point in the past.
31185         (CPU Time): Move CLK_TCK from here...
31186         (Processor Time): ...to here.  Correct description.
31187         * manual/conf.texi (Constants for Sysconf): Correct description of
31188         _SC_CLK_TCK.
31190 2012-04-10  David S. Miller  <davem@davemloft.net>
31192         [BZ #13967]
31193         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31194         where the is a gap between DT_REL(A) and DT_JMPREL.
31196 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31198         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31199         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31200         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31202 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31204         * elf/dl-support.c (_dl_inhibit_cache): New variable.
31205         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31206         (dl_main): Handle --inhibit-cache.
31207         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31208         _dl_inhibit_cache.
31209         * elf/dl-load.c (_dl_map_object): Use it.
31210         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31212 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31214         [BZ #13872]
31215         * sysdeps/i386/fpu/e_powl.S (p78): New object.
31216         (__ieee754_powl): Saturate large exponents rather than testing for
31217         overflow of y*log2(x).
31218         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31219         * math/libm-test.inc (pow_test): Do not permit spurious overflow
31220         exceptions.
31222         [BZ #11521]
31223         * math/s_ctan.c: Include <float.h>.
31224         (__ctan): Avoid internal overflow or cancellation in calculating
31225         denominator.
31226         * math/s_ctanf.c: Likewise.
31227         * math/s_ctanl.c: Likewise.
31228         * math/s_ctanh.c: Likewise.
31229         * math/s_ctanhf.c: Likewise.
31230         * math/s_ctanhl.c: Likewise.
31231         * math/libm-test.inc (ctan_test): Add more tests.
31232         (ctanh_test): Likewise.
31233         * sysdeps/i386/fpu/libm-test-ulps: Update.
31234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31236 2012-04-09  Andreas Jaeger  <aj@suse.de>
31238         [BZ #6894]
31239         * manual/filesys.texi (Directory Entries): Mention that d_namlen
31240         is an optional BSD extension.
31242         [BZ #10254]
31243         * manual/stdio.texi (Opening Streams): Document additional fopen
31244         parameters.
31246 2012-04-09  Roland McGrath  <roland@hack.frob.com>
31248         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31249         %eax without telling the compiler.
31251 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
31253         [BZ # 13963]
31254         * manual/install.texi: Use sourceware.org.
31256 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31258         [BZ #13873]
31259         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31260         (__ieee754_pow): Generate overflow and underflow using huge*huge
31261         and tiny*tiny rather than just returning constant infinity or zero
31262         for large exponents.
31263         * math/libm-test.inc (pow_test): Require overflow exceptions for
31264         applicable cases of large exponents.
31266         [BZ #706]
31267         * sysdeps/i386/fpu/e_pow.S (p10): New object.
31268         (__ieee754_pow): Use iterative multiplication algorithm only for
31269         integer exponents with absolute value below 1024.  Check for odd
31270         integer exponents when using algorithm for real exponents.
31271         * math/libm-test.inc (pow_test): Add more tests.
31272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31274 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
31276         [BZ #13705]
31277         * math/libm-test.inc (exp_test): Do not allow overflow exception
31278         on underflow test.
31280 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
31282         [BZ #13705]
31283         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31284         instead of __kernel_standard_f.
31286 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
31288         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31289         * sysdeps/x86_64/memset_chk.S: Likewise.
31291 2012-04-08  Andreas Jaeger  <aj@suse.de>
31293         [BZ #10153]
31294         * manual/startup.texi (Environment Access): Describe return value
31295         for putenv and setenv.
31297         [BZ #6895]
31298         * manual/filesys.texi (Directory Entries): Add description for
31299         DT_LNK.
31301         [BZ #6890]
31302         * manual/filesys.texi (Directory Entries): Clarify that it's file
31303         system not operating system in the description of DT_UNKNOWN.
31305         [BZ #6578]
31306         * manual/syslog.texi (closelog): Fix reference, it's openlog.
31308 2012-04-08  Stephen Compall  <s11@member.fsf.org>
31310         [BZ #6649]
31311         * manual/llio.texi (Opening and Closing Files): Add cross
31312         reference to explain mode argument.
31314 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
31316         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31317         * sysdeps/x86_64/memset_chk.S: Likewise.
31319 2012-04-07  David S. Miller  <davem@davemloft.net>
31321         * elf/elf.h (R_SPARC_WDISP10): Define.
31322         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31323         R_SPARC_SIZE32.
31324         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31325         R_SPARC_SIZE64 and R_SPARC_H34.
31327 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
31329         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31330         conditions and remove no longer applicable assertion.
31332 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31334         * bits/byteswap.h: Include <features.h>.
31335         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31336         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31338 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31340         * bits/byteswap.h (__bswap_16): Removed.
31341         Include <bits/byteswap-16.h> to get __bswap_16.
31342         * sysdeps/i386/bits/byteswap.h: Likewise.
31343         * sysdeps/s390/bits/byteswap.h: Likewise.
31344         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31345         * bits/byteswap-16.h: New file.
31346         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31347         * sysdeps/s390/bits/byteswap-16.h: Likewise.
31348         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31349         * string/Makefile (headers): Add bits/byteswap-16.h.
31351 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31353         [BZ #13895]
31354         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31355         extra indirection.
31356         * nss/Makefile (tests-static, tests): Add tst-nss-static.
31357         * nss/tst-nss-static.c: New.
31359 2012-04-06  Robert Millan  <rmh@gnu.org>
31361         [BZ #6486]
31362         * manual/llio.texi (File Position Primitive): lseek
31363         refers to WHENCE when it really means OFFSET.
31365 2012-04-06  Andreas Jaeger  <aj@suse.de>
31367         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31368         strncmp declarations.
31370         * abilist/libc.abilist: Add __poll and __ppoll.
31372 2012-04-05  David S. Miller  <davem@davemloft.net>
31374         * scripts/check-local-headers.sh: Accept a host triplet in the
31375         path matched by the exclude regexp.
31377         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31378         definition.
31379         * sysdeps/powerpc/powerpc32/dl-machine.h
31380         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31381         * sysdeps/s390/s390-32/dl-machine.h
31382         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31383         * sysdeps/sparc/sparc32/dl-machine.h
31384         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31385         * sysdeps/sparc/sparc64/dl-machine.h
31386         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31388         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31389         lazy binding.
31390         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31391         undefined symbol errors.
31393         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31394         DT_NEEDED entries.
31396 2012-04-05  Michael Matz  <matz@suse.de>
31398         [BZ #13592]
31399         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31401 2012-04-05  Andreas Jaeger  <aj@suse.de>
31403         [BZ #13908]
31404         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31405         comment.
31407 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31409         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31410         which ROUND is no valid rounding mode.
31412 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31414         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31415         read again.
31416         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31418 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31420         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31421         an exception using FPU order intentionally.
31423 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31425         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31426         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31427         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31428         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31430 2012-04-05  Simon Josefsson  <simon@josefsson.org>
31432         [BZ #12340]
31433         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31434         EINVAL when BUFLEN is too smal.
31436 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31438         [BZ #13553]
31439         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31440         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31442 2012-04-03  Andreas Jaeger  <aj@suse.de>
31444         [BZ #13938]
31445         * manual/setjmp.texi (System V contexts): Fix sentence.
31447         [BZ #13926]
31448         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31449         New macro for this case.
31450         [!__GNUC__] (__bswap_64): New inline function for this case.
31451         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31452         * bits/byteswap.h: Likewise.
31453         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31454         ull, guard with __GLIBC_HAVE_LONG_LONG.
31456         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31457         __GLIBC_HAVE_LONG_LONG.
31459         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31460         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31462 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31464         [BZ #13691]
31465         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31466         inptr and inend, rather than using last_ch.
31468 2012-04-02  David S. Miller  <davem@davemloft.net>
31470         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31471         * stdio-common/printf-parse.h (read_int): Change return type to
31472         'int', return -1 on INT_MAX overflow.
31473         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31474         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
31475         overflows INT_MAX.  Check for overflow of in-format-string precision
31476         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
31477         SIZE_MAX not INT_MAX for integer overflow test.
31478         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31479         skip the construct in the format string but do not record anything.
31480         * stdio-common/bug22.c: Adjust to test both width/prevision
31481         INT_MAX overflow as well as total length INT_MAX overflow.  Check
31482         explicitly for proper errno values.
31484 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31486         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31487         CHAR_MAX.
31488         * string/test-strcmp.c [! WIDE]: Likewise.
31489         * time/tst-mktime2.c: Likewise for INT_MAX.
31490         * string/test-string.h: #include <sys/param.h> for MIN.
31492         * csu/init-first.c (__libc_init_first): Call __ctype_init.
31493         * sysdeps/i386/init-first.c (init): Likewise.
31494         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31495         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31496         * sysdeps/sh/init-first.c (init): Likewise.
31498 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
31500         * po/ru.po: Update from translation team.
31501         * po/vi.po: Likewise.
31503 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31505         * resolv/nss_dns/dns-host.c: Merge copyright years.
31507 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31509         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31510         Optimize memcpy with prefetch if
31511         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
31512         src, dst pointers have unequal 16 byte alignments.
31514 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31516         [BZ #13928]
31517         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31518         from a CNAME entry and return the minimum ttl for the query.
31519         (gaih_getanswer_slice): Likewise.
31521 2012-03-30  Jeff Law  <law@redhat.com>
31523         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31524         due to long keys.
31525         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31526         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31528         * resolv/nss_dns/dns-host.c: Update copyright year.
31530 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
31532         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31533         requests to save a system call.  Fix check that all bytes are sent.
31535         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31536         comments for sendmmsg.
31538 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31540         [BZ #13691]
31541         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31542         with only 1 character between 0x0041 and 0x01b0.
31543         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31544         * wcsmbs/tst-mbsnrtowcs.c: New file.
31546 2012-03-29  David S. Miller  <davem@davemloft.net>
31548         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31549         small copies by hand.
31551 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31553         [BZ #13761]
31554         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31555         _nss_compat_initgroups_dyn): Fall back to malloc/free
31556         for large group memberships.
31558 2012-03-28  David S. Miller  <davem@davemloft.net>
31560         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31561         that branches into memcpy.
31562         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31563         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31564         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31565         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31567         bits.
31568         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31569         implementation too.
31570         * sysdeps/sparc/mempcpy.S: New file.
31572         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31573         the IFUNC routine in the libc case.
31574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31576         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31577         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31578         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31579         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31580         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31581         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31582         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31583         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31585         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31586         loop to 256 bytes instead of 64 bytes and fix test signedness.
31588         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31589         * sysdeps/sparc/sparc32/Makefile: rather than here...
31590         * sysdeps/sparc/sparc64/Makefile: and here.
31592 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
31594         * malloc/mallocbug.c: Avoid warnings about unused variables.
31596 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31598         [BZ #13760]
31599         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31600         in the right place. Discard and retry query if response is
31601         larger than input buffer size.
31603 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
31605         [BZ #369]
31606         [BZ #2678]
31607         [BZ #3866]
31608         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31609         x for large integer exponent.
31610         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31611         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
31612         sign of result as needed afterwards.
31613         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31614         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31615         result for underflowing pow the same as for overflow.
31616         (__kernel_standard_l): Handle powl overflow and underflow here
31617         rather than calling __kernel_standard.
31618         * math/libm-test.inc (pow_test): Add more tests.
31620         [BZ #3868]
31621         [BZ #13879]
31622         [BZ #13910]
31623         [BZ #13911]
31624         [BZ #13912]
31625         [BZ #13913]
31626         [BZ #13915]
31627         [BZ #13916]
31628         [BZ #13917]
31629         [BZ #13918]
31630         [BZ #13919]
31631         [BZ #13920]
31632         [BZ #13921]
31633         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31634         * sysdeps/ieee754/k_standard.c: Include <float.h>.
31635         (__kernel_standard_l): New function.
31636         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31637         __kernel_standard.
31638         * math/w_acosl.c (__acosl): Likewise.
31639         * math/w_asinl.c (__asinl): Likewise.
31640         * math/w_atan2l.c (__atan2l): Likewise.
31641         * math/w_atanhl.c (__atanhl): Likewise.
31642         * math/w_coshl.c (__coshl): Likewise.
31643         * math/w_exp10l.c (__exp10l): Likewise.
31644         * math/w_exp2l.c (__exp2l): Likewise.
31645         * math/w_fmodl.c (__fmodl): Likewise.
31646         * math/w_hypotl.c (__hypotl): Likewise.
31647         * math/w_j0l.c (__j0l, __y0l): Likewise.
31648         * math/w_j1l.c (__j1l, __y1l): Likewise.
31649         * math/w_jnl.c (__jnl, __ynl): Likewise.
31650         * math/w_lgammal.c (__lgammal): Likewise.
31651         * math/w_log10l.c (__log10l): Likewise.
31652         * math/w_log2l.c (__log2l): Likewise.
31653         * math/w_logl.c (__logl): Likewise.
31654         * math/w_powl.c (__powl): Likewise.
31655         * math/w_remainderl.c (__remainderl): Likewise.
31656         * math/w_scalbl.c (sysv_scalbl): Likewise.
31657         * math/w_sinhl.c (__sinhl): Likewise.
31658         * math/w_sqrtl.c (__sqrtl): Likewise.
31659         * math/w_tgammal.c (__tgammal): Likewise.
31660         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31661         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31662         * math/libm-test.inc (acos_test): Add more tests.
31663         (acosh_test): Likewise.
31664         (asin_test): Likewise.
31665         (atanh_test): Likewise.
31666         (exp_test): Likewise.
31667         (exp10_test): Likewise.
31668         (exp2_test): Likewise.
31669         (expm1_test): Likewise.
31670         (lgamma_test): Likewise.
31671         (log_test): Likewise.
31672         (log10_test): Likewise.
31673         (log1p_test): Likewise.
31674         (log2_test): Likewise.
31675         (pow_test): Do not allow some spurious overflow exceptions.
31676         (sqrt_test): Add more tests.
31677         (tgamma_test): Likewise.
31678         (y0_test): Likewise.
31679         (y1_test): Likewise.
31680         (yn_test): Likewise.
31682 2012-03-27  Anton Blanchard  <anton@samba.org>
31684         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31685         MAP_HUGETLB.
31686         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31687         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31688         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31690 2012-03-27  David S. Miller  <davem@davemloft.net>
31692         * conform/Makefile: Run run-conformtest.sh using $(BASH).
31694         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31695         have-as-vis3 check.
31697 2012-03-27  Andreas Jaeger  <aj@suse.de>
31699         * sysdeps/x86_64/elf/configure.in: Moved to ...
31700         * sysdeps/x86_64/configure.in: ... here.
31701         * sysdeps/x86_64/elf/start.S: Moved to ...
31702         * sysdeps/x86_64/start.S: ... here.
31703         * sysdeps/x86_64/elf/configure: Delete.
31705         * sysdeps/x86_64/configure.in: Merge contents from
31706         sysdeps/i386/configure.in (without i686 check).
31708         * sysdeps/i386/elf/Versions: Merge into ...
31709         * sysdeps/i386/Versions: ... this.
31710         * sysdeps/i386/elf/Versions: Delete file.
31711         * sysdeps/i386/elf/start.S: Moved to ...
31712         * sysdeps/i386/start.S: ...here.
31713         * sysdeps/i386/elf/configure.in: Merge into...
31714         * sysdeps/i386/configure.in: ...here.
31715         * sysdeps/i386/elf/configure.in: Delete file.
31716         * sysdeps/i386/elf/configure: Delete file.
31718         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31719         * debug/backtracesyms.c: ... here.
31720         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31721         * debug/backtracesymsfd.c: ... here.
31722         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31723         * sysdeps/generic/ifunc-sel.h: ... here.
31725         * sysdeps/unix/i386/start.c: Delete file.
31726         * sysdeps/unix/sparc/start.c: Delete file.
31727         * sysdeps/unix/start.c: Delete file.
31729         * sysdeps/sh/elf/configure.in: Moved to ...
31730         * sysdeps/sh/configure.in: ... here.
31731         * sysdeps/sh/elf/start.S: Moved to ...
31732         * sysdeps/sh/start.S: ... here.
31733         * sysdeps/sh/elf/configure: Delete file.
31735         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31736         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31737         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31738         * sysdeps/powerpc/powerpc64/entry.h: ... here.
31739         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31740         * sysdeps/powerpc/powerpc64/start.S: here.
31741         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31742         * sysdeps/powerpc/powerpc64/Makefile: ... this.
31743         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31744         * sysdeps/powerpc/powerpc64/configure.in: ... this.
31745         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31747         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31748         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31749         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31750         * sysdeps/powerpc/powerpc32/start.S: ... here.
31751         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31752         * sysdeps/powerpc/powerpc32/configure.in: ... this.
31753         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31755         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31756         * sysdeps/powerpc/ifunc-sel.h: ... here.
31757         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31758         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31760         * sysdeps/sparc/elf/configure.in: Moved to ...
31761         * sysdeps/sparc/configure.in: ... here.
31762         * sysdeps/sparc/elf/configure: Delete file.
31763         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31764         * sysdeps/sparc/sparc32/start.S: ... here.
31765         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31766         * sysdeps/sparc/sparc64/start.S: ... here.
31767         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31768         * sysdeps/sparc/sparc32/Makefile: ... this.
31769         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31770         * sysdeps/sparc/sparc64/Makefile: ... this.
31772         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31773         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31774         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31775         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31776         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31777         * sysdeps/s390/s390-32/setjmp.S: ... here.
31778         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31779         * sysdeps/s390/s390-32/configure.in: ... here.
31780         * sysdeps/s390/s390-32/elf/configure: Delete file.
31781         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31782         * sysdeps/s390/s390-32/start.S: ... here.
31784         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31785         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31786         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31787         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31788         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31789         * sysdeps/s390/s390-64/setjmp.S: ... here.
31790         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31791         * sysdeps/s390/s390-64/configure.in: ... here
31792         * sysdeps/s390/s390-64/elf/configure: Delete file.
31793         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31794         * sysdeps/s390/s390-64/start.S: ... here.
31795         * sysdeps/s390/s390-64/elf/configure: Delete.
31797         * configure.in: Remove support for elf directories in sysdeps.
31799         * configure: Regenerated.
31800         * sysdeps/i386/configure: Regenerated.
31801         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31802         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31803         * sysdeps/s390/s390-32/configure: Regenerated.
31804         * sysdeps/s390/s390-64/configure: Regenerated.
31805         * sysdeps/sh/configure: Regenerated.
31806         * sysdeps/sparc/configure: Regenerated.
31807         * sysdeps/x86_64/configure: Regenerated.
31809 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
31811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31813         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31814         denormal result into account.
31816 2012-03-25  Roland McGrath  <roland@hack.frob.com>
31818         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31819         Reported by Allan McRae <allan@archlinux.org>.
31821 2012-03-23  Jeff Law  <law@redhat.com>
31823         * nss/getnssent.c (__nss_getent): Fix typo.
31825 2012-03-23  David S. Miller  <davem@davemloft.net>
31827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31829 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
31831         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31832         to pad to uint64_t for each field.
31833         (dl_tls_index): Replace unsigned long with uint64_t.
31835 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
31836         Paul Pluzhnikov  <ppluzhnikov@google.com>
31838         [BZ #6528]
31839         * grp/Makefile (otherlibs): Don't set it.
31840         * inet/Makefile (otherlibs): Likewise.
31841         * login/Makefile (otherlibs): Likewise.
31842         * nscd/Makefile (otherlibs): Likewise.
31843         * posix/Makefile (otherlibs): Likewise.
31844         * pwd/Makefile (otherlibs): Likewise.
31845         * rt/Makefile (otherlibs): Likewise.
31846         * sunrpc/Makefile (otherlibs): Likewise.
31847         * nss/Makefile (otherlibs): Likewise.
31848         Add libnss_files to routines and static-only-routines.
31849         ($(objpfx)getent): Remove rule.
31850         * resolv/Makefile: Add libnss_dns and libresolv to routines and
31851         static-only-routines.
31853 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31855         [BZ #13892]
31856         * math/s_cexp.c: Include <float.h>.
31857         (__cexp): Handle exp result overflowing not necessarily
31858         overflowing both real and imaginary parts of result.
31859         * math/s_cexpf.c: Likewise.
31860         * math/s_cexpl.c: Likewise.
31861         * math/libm-test.inc (cexp_test): Add more tests.
31862         * sysdeps/i386/fpu/libm-test-ulps: Update.
31863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31865 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31867         * include/link.h (ELFW): New macro.
31868         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31869         Replace ELF64_R_TYPE with ELFW(R_TYPE).
31871 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31873         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31874         with uint64_t.
31876 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31878         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31879         declaration.
31880         (struct La_x32_retval): Likewise.
31882 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31884         * sysdeps/x86_64/preconfigure.in: New file.
31885         * sysdeps/x86_64/preconfigure: New generated file.
31887 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31889         [BZ #13824]
31890         * math/e_exp2l.c: Include <float.h>.
31891         (__ieee754_exp2l): Handle overflow and underflow cases
31892         separately.  Only pass fractional part of argument to
31893         __ieee754_expl.
31894         * math/libm-test.inc (exp2_test): Add more tests.
31896         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31897         negating x to take absolute value.
31898         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31899         Likewise.
31900         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31901         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31902         Likewise.
31903         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31904         computing low part if x was negated.
31905         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31907 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31909         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31910         la_x32_gnu_pltexit.
31911         (pltexit): Cast int_retval to ptrdiff_t.
31912         * elf/tst-auditmod3b.c: Likewise.
31913         * elf/tst-auditmod4b.c: Likewise.
31914         * elf/tst-auditmod5b.c: Likewise.
31915         * elf/tst-auditmod6b.c: Likewise.
31916         * elf/tst-auditmod6c.c: Likewise.
31917         * elf/tst-auditmod7b.c: Likewise.
31919         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31920         and x32_gnu_pltexit.
31922         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31923         __ELF_NATIVE_CLASS.
31924         (La_x32_regs): New macro.
31925         (La_x32_retval): Likewise.
31926         (la_x32_gnu_pltenter): New function prototype.
31927         (la_x32_gnu_pltexit): Likewise.
31929 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
31931         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31932         exponent.
31934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31936         * configure.in (libc_cv_cc_nofma): Check for option to disable
31937         generation of FMA instructions.
31938         * configure: Regenerate.
31939         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31940         * sysdeps/ieee754/dbl-64/Makefile: New file.
31941         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31942         Remove brandred-fma4.
31943         (CFLAGS-brandred-fma4.c): Remove.
31944         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31945         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31946         define.
31947         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31948         define.
31950 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31952         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31953         LLONG_MAX != LONG_MAX.
31954         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31955         (_fitoa_word): Likewise.
31956         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31957         LLONG_MAX != LONG_MAX.
31958         * stdio-common/_itowa.h: Include <_itoa.h>.
31959         (_itowa_word): Use _ITOA_WORD_TYPE on value.
31960         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
31961         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
31962         only if not defined.
31963         (_ITOA_WORD_TYPE): Likewise.
31964         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31965         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31967 2012-03-21  David S. Miller  <davem@davemloft.net>
31969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31971 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31973         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31974         of x86_64 when setting libc_cv_slibdir, libdir and
31975         libc_cv_localedir.
31976         * sysdeps/unix/sysv/linux/configure: Regenerated.
31978 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31980         * manual/lang.texi (Old Varargs): Remove section.
31981         (How Variadic): Update menu.
31982         (va_start): Do not mention varargs.h.
31984 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31985             Joseph Myers  <joseph@codesourcery.com>
31987         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31988         link test.
31989         * configure: Regenerated.
31991 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31993         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31994         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31995         conformtest.pl
31997 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31999         * NOTES: Remove.
32000         * Makefile (files-for-dist): Remove NOTES.
32001         (NOTES): Remove rule.
32002         * README: Don't refer to NOTES.
32003         * manual/creature.texi: Don't include macros.texi.
32004         * manual/intro.texi (creature.texi): Remove comment referring to
32005         NOTES.
32007         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32008         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32009         * configure: Regenerated.
32010         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32011         LIBC_TRY_CC_OPTION.
32012         (libc_cv_as_i686): Likewise.
32013         (libc_cv_cc_avx): Likewise.
32014         (libc_cv_cc_sse2avx): Likewise.
32015         (libc_cv_cc_fma4): Likewise.
32016         (libc_cv_cc_novzeroupper): Likewise.
32017         * sysdeps/i386/configure: Regenerated.
32019         [BZ #13883]
32020         * sysdeps/i386/fpu/s_cexp.S: Remove.
32021         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32022         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32023         * math/libm-test.inc (cexp_test): Add more tests.
32024         * sysdeps/i386/fpu/libm-test-ulps: Update.
32025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32027 2012-03-21  Allan McRae  <allan@archlinux.org>
32029         * timezone/Makefile: Do not install iso3166.tab and zone.tab
32031 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
32033         [BZ #13871]
32034         * math/w_exp2.c: Do not include <float.h>.
32035         (o_threshold, u_threshold): Remove.
32036         (__exp2): Calculate result before checking finiteness and calling
32037         __kernel_standard.
32038         * math/w_exp2f.c: Likewise.
32039         * math/w_exp2l.c: Likewise.
32040         * math/libm-test.inc (exp2_test): Require overflow exception for
32041         1e6 input.
32043         [BZ #3866]
32044         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32045         range of signed 64-bit integers before using fistpll.  Remove
32046         checks for whether integers fit in mantissa bits.
32047         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32048         the range of signed 32-bit integers before using fistpl.  Remove
32049         checks for whether integers fit in mantissa bits.
32050         * sysdeps/i386/fpu/e_powl.S (p64): New object.
32051         (__ieee754_powl): Test for y outside the range of signed 64-bit
32052         integers before using fistpll.  Reduce 64-bit values to 63-bit
32053         ones as needed.
32054         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32055         divide-by-zero is raised for zero to large negative powers.
32056         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32057         (__ieee754_powl): Test for y outside the range of signed 64-bit
32058         integers before using fistpll.  Reduce 64-bit values to 63-bit
32059         ones as needed.
32060         * math/libm-test.inc (pow_test): Add more tests.
32062 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32064         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32065         <stdio-common/_itoa.h>.
32066         * debug/segfault.c: Likewise.
32067         * elf/dl-cache.c: Likewise.
32068         * elf/dl-minimal.c: Likewise.
32069         * elf/dl-misc.c: Likewise.
32070         * elf/dl-sysdep.c: Likewise.
32071         * elf/dl-version.c: Likewise.
32072         * elf/rtld.c: Likewise.
32073         * hurd/hurdsock.c: Likewise.
32074         * hurd/lookup-retry.c: Likewise.
32075         * malloc/malloc.c: Likewise.
32076         * malloc/mtrace.c: Likewise.
32077         * nscd/nscd_getgr_r.c: Likewise.
32078         * nscd/nscd_getpw_r.c: Likewise.
32079         * nscd/nscd_getserv_r.c: Likewise.
32080         * posix/getopt_init.c: Likewise.
32081         * posix/wordexp.c: Likewise.
32082         * stdio-common/_itoa.c: Likewise.
32083         * stdio-common/printf_fphex.c: Likewise.
32084         * stdio-common/vfprintf.c: Likewise.
32085         * string/_strerror.c: Likewise.
32086         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32087         * sysdeps/i386/i686/hp-timing.h: Likewise.
32088         * sysdeps/mach/_strerror.c: Likewise.
32089         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32090         * sysdeps/mach/hurd/sethostid.c: Likewise.
32091         * sysdeps/mach/hurd/xmknodat.c: Likewise.
32092         * sysdeps/mach/xpg-strerror.c: Likewise.
32093         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32094         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32095         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32096         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32097         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32098         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32099         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32100         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32101         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32102         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32103         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32104         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32105         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32106         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32107         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32108         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32109         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32110         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32111         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32112         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32113         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32115         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32117         * stdio-common/_itoa.h: Moved to ...
32118         * sysdeps/generic/_itoa.h: Here.
32120         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32122         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32123         instead of "_itoa.h" and "_itowa.h".
32124         * stdio-common/vfprintf.: Likewise.
32126 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32128         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32129         <bits/wordsize.h>.
32130         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32131         (__signbit): Likwise.
32132         (llrintf): Likwise.
32133         (llrint): Likwise.
32135 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
32137         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32138         __WORDSIZE != 64.
32140 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
32142         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32143         OVERFLOW_EXCEPTION_OK.
32144         * math/libm-test.inc ("Philosophy"): Update comment about
32145         exception testing.
32146         (OVERFLOW_EXCEPTION): Define.
32147         (OVERFLOW_EXCEPTION_OK): Likewise.
32148         (INVALID_EXCEPTION_OK): Renumber.
32149         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32150         (IGNORE_ZERO_INF_SIGN): Likewise.
32151         (test_exceptions): Handle FE_OVERFLOW.
32152         (exp10_test): Expect overflow exceptions.
32153         (exp2_test): Likewise.
32154         (expm1_test): Likewise.
32155         (nextafter_test): Likewise.
32156         (pow_test): Likewise.
32157         (scalbn_test): Likewise.
32158         (scalbln_test): Likewise.
32160 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32162         * sysdeps/x86_64/bits/atomic.h
32163         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32164         64bit integer.
32165         (atomic_exchange_acq): Likewise.
32166         (__arch_exchange_and_add_body): Likewise.
32167         (__arch_add_body): Likewise.
32168         (atomic_add_negative): Likewise.
32169         (atomic_add_zero): Likewise.
32171 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32173         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32174         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32176 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32178         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32179         Check __x86_64__ instead of __WORDSIZE.
32181 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32183         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32185 2012-03-19  David S. Miller  <davem@davemloft.net>
32187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32189         * sysdeps/sparc/fpu/fenv_private.h: New file.
32190         * sysdeps/sparc/fpu/math_private.h: Use it.
32191         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32192         Remove.
32193         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32194         (libc_feholdexcept_setroundl): Remove.
32195         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32196         Remove.
32197         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32198         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32200 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32202         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32203         int64_t instead of long int.
32204         (INSERT_WORDS64): Likwise.
32206 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32208         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32209         _Unwind_GetCFA return to _Unwind_Ptr first.
32211 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
32213         [BZ #13629]
32214         * math/s_clog.c: Include <float.h>.
32215         (__clog): Scale large or subnormal inputs.
32216         * math/s_clogf.c: Likewise.
32217         * math/s_clogl.c: Likewise.
32218         * math/s_clog10.c: Include <float.h>.
32219         (M_LOG10_2): Define.
32220         (__clog10): Scale large or subnormal inputs.
32221         * math/s_clog10f.c: Likewise.
32222         * math/s_clog10l.c: Likewise.
32223         * math/libm-test.inc (clog_test): Add more tests.
32224         (clog10_test): Likewise.
32225         * sysdeps/i386/fpu/libm-test-ulps: Update.
32226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32228         [BZ #11451]
32229         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32230         x and y.
32231         * math/libm-test.inc (atan2_test): Add another test.
32233         * Makerules (common-objdir-compile): Remove.
32234         * sysdeps/unix/Makefile (config-generated): Do not add
32235         $(unix-generated) to variable.
32236         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32237         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32238         Remove rule.
32239         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32240         Likewise.
32241         [generic bits/local_lim.h] (before-compile): Do not append to
32242         variable.
32243         [generic bits/local_lim.h] (common-generated): Likewise.
32244         [generic sys/param.h] (before-compile): Do not append to variable.
32245         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32246         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32247         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32248         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32249         include.
32250         [generic sys/param.h] (sys/param.h-includes): Remove variable.
32251         [generic sys/param.h] (sys/param.h-includes): Remove rule.
32252         [generic sys/param.h] ($(addprefix
32253         $(common-objpfx),$(sys/param.h-includes))): Likewise.
32254         [generic sys/param.h] (common-generated): Do not append to
32255         variable.
32256         [generic sys/param.h] (sysdep_headers): Likewise.
32257         [generic bits/errno.h] (before-compile): Do not append to
32258         variable.
32259         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32260         rule.
32261         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32262         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32263         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32264         [generic bits/errno.h] (common-generated): Do not append to
32265         variable.
32266         [generic bits/ioctls.h] (before-compile): Do not append to
32267         variable.
32268         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32269         rule.
32270         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32271         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32272         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32273         rule.
32274         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32275         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32276         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32277         [generic bits/ioctls.h] (common-generated): Do not append to
32278         variable.
32279         [generic sys/syscall.h] (syscall.h): Remove variable.
32280         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32281         rule.
32282         [generic sys/syscall.h] (before-compile): Do not append to
32283         variable.
32284         [generic sys/syscall.h] (common-generated): Likewise.
32285         * sysdeps/unix/errnos-tmpl.c: Remove file.
32286         * sysdeps/unix/errnos.awk: Likewise.
32287         * sysdeps/unix/ioctls-tmpl.c: Likewise.
32288         * sysdeps/unix/ioctls.awk: Likewise.
32289         * sysdeps/unix/mk-local_lim.c: Likewise.
32290         * sysdeps/unix/snarf-ioctls: Likewise.
32292 2012-03-19  Richard Henderson  <rth@twiddle.net>
32294         * sysdeps/i386/fpu/fenv_private.h: New file.
32295         * sysdeps/i386/fpu/math_private.h: Use it.
32296         (math_opt_barrier, math_force_eval): Remove.
32297         (libc_feholdexcept_setround_53bit): Remove.
32298         (libc_feupdateenv_53bit): Remove.
32299         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32300         (math_opt_barrier, math_force_eval): Remove.
32301         (libc_feholdexcept): Remove.
32302         (libc_feholdexcept_setround): Remove.
32303         (libc_fetestexcept, libc_fesetenv): Remove.
32304         (libc_feupdateenv_test): Remove.
32305         (libc_feupdateenv, libc_feholdsetround): Remove.
32306         (libc_feresetround): Remove.
32308         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32309         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32311         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32312         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32313         (libc_feupdateenv_testl): New.
32314         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32315         (libc_feupdateenv_testf): New.
32316         (libc_feupdateenv): Use libc_feupdateenv_test.
32317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32318         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32320         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32321         (libc_feholdsetroundf, libc_feholdsetroundl): New.
32322         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32323         (libc_feresetround_noex): New.
32324         (libc_feresetround_noexf): New.
32325         (libc_feresetround_noexl): New.
32326         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32327         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32328         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32329         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32330         SET_RESTORE_ROUND.
32331         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32332         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32333         (__cos): Likewise.
32334         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32335         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32336         SET_RESTORE_ROUND_NOEX.
32337         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32338         SET_RESTORE_ROUND_NOEXF.
32339         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32340         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32341         (libc_feholdsetroundf): New.
32342         (libc_feresetround, libc_feresetroundf): New.
32344         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32345         (libc_feholdexcept_setround_53bit): Convert from macro to function.
32346         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
32348         * sysdeps/generic/math_private.h: Include <fenv.h>.
32349         (default_libc_feholdexcept): New.
32350         (default_libc_feholdexcept_setround): New.
32351         (default_libc_fesetenv, default_libc_feupdateenv): New.
32352         (libc_feholdexcept): Only define if undefined.
32353         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32354         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32355         (libc_feholdexcept_setroundl): Likewise.
32356         (libc_feholdexcept_setround_53bit): Likewise.
32357         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32358         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32359         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32360         (libc_feupdateenv_53bit): Likewise.
32361         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32362         (libc_feholdexcept): Convert from macro to inline function.
32363         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32364         (libc_fesetenv, libc_feupdateenv): Likewise.
32366         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32367         not previously defined.
32368         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32369         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32370         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32371         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32372         * sysdeps/ieee754/flt-32/math_private.h: New file.
32373         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32374         math_private.h below SET_FLOAT_WORD.
32375         (__isnan, __isinf_ns, __finite): Remove.
32376         (__isnanf, __isinf_nsf, __finitef): Remove.
32378 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
32380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32382 2012-03-17  David S. Miller  <davem@davemloft.net>
32384         [BZ #6471]
32385         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32386         for 2.16.
32388 2012-03-16  David S. Miller  <davem@davemloft.net>
32390         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32391         warnings.
32393         [BZ #6471]
32394         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32395         properly.
32396         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32397         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32398         sysdep_routines when subdir is sysvipc.
32399         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32400         __getshmlba helper.
32402         * sysdeps/sparc/fpu/libm-test/ulps: Update.
32404 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32406         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32407         [__LP64__].
32409 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32411         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32412         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32413         (__lround): Renamed to ...
32414         (__llround): This.  Replace long int with long long int.
32415         Define lround functions as aliases of llround functions.
32416         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32418 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32420         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32421         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
32422         adresses to uintptr_t.  Replace "long int" and "unsigned long
32423         int" with "greg_t" on va_arg.
32425 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32427         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32428         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32430         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32431         Move e_machine check before EI_CLASS check.  Handle x32
32432         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32433         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32434         SKIP_EM_IA_64 and include
32435         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32437         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32438         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32439         (add_system_dir): New macro.
32441         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32442         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32444 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32446         [BZ #2551]
32447         [BZ #2552]
32448         [BZ #2553]
32449         [BZ #2554]
32450         [BZ #2562]
32451         [BZ #2563]
32452         [BZ #2565]
32453         [BZ #2566]
32454         [BZ #2576]
32455         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32456         (y0): Likewise.
32457         * math/w_j0f.c (j0f): Likewise.
32458         (y0f): Likewise.
32459         * math/w_j0l.c (__j0l): Likewise.
32460         (__y0l): Likewise.
32461         * math/w_j1.c (j1): Likewise.
32462         (y1): Likewise.
32463         * math/w_j1f.c (j1f): Likewise.
32464         (y1f): Likewise.
32465         * math/w_j1l.c (__j1l): Likewise.
32466         (__y1l): Likewise.
32467         * math/w_jn.c (jn): Likewise.
32468         (yn): Likewise.
32469         * math/w_jnf.c (jnf): Likewise.
32470         (ynf): Likewise.
32471         * math/w_jnl.c (__jnl): Likewise.
32472         (__ynl): Likewise.
32473         * math/libm-test.inc (j0_test): Add more tests.
32474         (j1_test): Likewise.
32475         (jn_test): Likewise.  Add trailing semicolon to existing test.
32476         (y0_test): Likewise.
32477         (y1_test): Likewise.
32478         * sysdeps/i386/fpu/libm-test-ulps: Update.
32479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32481         [BZ #13851]
32482         [BZ #13854]
32483         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32484         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32485         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32486         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32487         (__tanl): Set errno for infinite argument.
32488         * sysdeps/i386/fpu/mptan.c: Remove.
32489         * sysdeps/i386/fpu/s_tan.S: Likewise.
32490         * sysdeps/i386/fpu/s_tanl.S: Likewise.
32491         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32492         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32493         * math/libm-test.inc (tan_test): Add more tests and enable more
32494         tests for double and long double.
32495         * sysdeps/i386/fpu/libm-test-ulps: Update.
32496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32498 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
32500         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32501         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32503 2012-03-16  Roland McGrath  <roland@hack.frob.com>
32505         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32506         * configure.in: Use it for both main tree and add-ons.
32507         * configure: Regenerated.
32509 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32511         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32513 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32515         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32516         in comment.
32518         [BZ #13851]
32519         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32520         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32521         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32522         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32523         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32524         infinite argument.
32525         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32526         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32527         != 0 for prec == 2.
32528         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32529         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32530         * sysdeps/i386/fpu/s_cosl.S: Likewise.
32531         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32532         * sysdeps/i386/fpu/s_sinl.S: Likewise.
32533         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32534         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32535         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32536         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32537         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32538         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32539         * math/libm-test.inc (cos_test): Add more tests and enable more
32540         tests for long double.
32541         (sin_test): Likewise.
32542         (sincos_test): Likewise.
32543         * sysdeps/i386/fpu/libm-test-ulps: Update.
32544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32546 2012-03-16  David S. Miller  <davem@davemloft.net>
32548         * sysdeps/sparc/fpu/math_private.h: New file.
32550 2012-03-15  David S. Miller  <davem@davemloft.net>
32552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32553         file.
32554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32556         file.
32557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32562         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32563         sysdep routines.
32564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32566         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32567         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32569         * sysdeps/sparc/sparc-ifunc.h: New file.
32570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32571         sparc-ifunc.h
32572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32574         Likewise.
32575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32576         Likewise.
32577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32581         Likewise.
32582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32587         Likewise.
32588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32589         Likewise.
32590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32595         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32596         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32597         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32598         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32599         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32604         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32607         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32608         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32609         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32610         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32611         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32612         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32613         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32615 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32617         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32618         scaling.
32619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32621 2012-03-15  Andreas Jaeger  <aj@suse.de>
32623         [BZ #13852]
32624         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32625         ieee754/flt-32 implementation for sin, cos and sincos.
32626         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32627         * sysdeps/i386/fpu/s_cosf.S: Likewise.
32628         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32629         * sysdeps/i386/fpu/s_sinf.S: Likewise.
32630         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32631         ieee754/flt-32 implementation for tan.
32633         * math/libm-test.inc (cos_test): Enable some large input tests for
32634         float as well
32635         (sin_test): Likewise.
32636         (sincos_test): Likewise.
32637         (tan_test): Add tests for large input.
32639         * sysdeps/i386/fpu/libm-test-ulps: Update.
32641 2012-03-15  Andreas Jaeger  <aj@suse.de>
32643         [BZ #13658]
32644         * math/libm-test.inc (cos_test): Add more test cases.
32645         (sin_test): Likewise.
32646         (sincos_test): Likewise.
32648 2012-03-15  Andreas Jaeger  <aj@suse.de>
32650         [BZ #13837]
32651         * math/libm-test.inc (cos_test): Add a test case for large input
32652         value.
32653         (sin_test): Likewise.
32654         (sincos_test): Likewise.
32656 2012-03-15  Andreas Jaeger  <aj@suse.de>,
32657         Joseph Myers  <joseph@codesourcery.com>
32659         [BZ #13658]
32660         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32661         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32662         * sysdeps/i386/fpu/branred.c: Likewise.
32663         * sysdeps/i386/fpu/dosincos.c: Likewise.
32664         * sysdeps/i386/fpu/mpa.c: Likewise.
32665         * sysdeps/i386/fpu/s_cos.S: Likewise.
32666         * sysdeps/i386/fpu/s_sin.S: Likewise.
32667         * sysdeps/i386/fpu/s_sincos.S: Likewise.
32668         * sysdeps/i386/fpu/sincos32.c: Likewise.
32670         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32671         Define.
32672         (libc_feupdateenv_53bit): Define.
32673         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32674         Define.
32675         (libc_feupdateenv_53bit): Define.
32677         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32678         53 bit (without extend i386 double precision).
32680         * math/libm-test.inc (sincos_test): Add tests for large input.
32681         (sin): Likewise.
32682         (cos): Likewise.
32684         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32686 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32690 2012-03-15  David S. Miller  <davem@davemloft.net>
32692         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32693         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32694         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32695         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32701         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32702         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32703         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32704         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32708         file.
32709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32711         file.
32712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32714         file.
32715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32717         file.
32718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32719         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32720         fmin/fmax sysdep routines.
32721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32723 2012-03-14  David S. Miller  <davem@davemloft.net>
32725         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32726         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32727         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32728         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32729         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32730         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32731         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32732         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32733         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32736         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32738         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32739         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32740         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32741         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32742         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32743         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32744         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32745         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32746         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32747         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32748         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32749         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32750         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32751         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32752         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32753         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32754         routines.
32755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32756         file.
32757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32759         file.
32760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32762         file.
32763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32765         file.
32766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32768         file.
32769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32771         file.
32772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32773         file.
32774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32775         file.
32776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32777         file.
32778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32779         New file.
32780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32781         file.
32782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32783         file.
32784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32786         file.
32787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32789         file.
32790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32792         file.
32793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32795         VIS3 routines.
32797         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32798         New file.
32800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32802         * sysdeps/sparc/configure.in: New file.
32803         * sysdeps/sparc/configure: Generate.
32804         * configure.in (libc_cv_sparc_as_vis3): Substitute.
32805         * configure: Regenerate.
32806         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32807         * config.make.in (have-as-vis3): New.
32808         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32809         available use -Av9d instead of -Av9a.
32810         * sysdeps/sparc/sparc64/Makefile: Likewise.
32811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32813         New file.
32814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32815         file.
32816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32817         New file.
32818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32819         file.
32820         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32821         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32822         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32823         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32824         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32826         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32827         fzeros/fnegs to load 0x80000000 into a float register instead of
32828         using the stack.
32829         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32831 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32834         bits/syscall.h.
32835         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32836         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32837         ($(inst_includedir)/bits/syscall.h): Remove rule.
32838         ($(objpfx)bits/syscall.d): Include instead of
32839         $(objpfx)syscall-list.d.
32840         (generated): Change syscall-list.h and syscall-list.d to
32841         bits/syscall.h and bits/syscall.d.
32843 2012-03-14  Roland McGrath  <roland@hack.frob.com>
32845         [BZ #13846]
32846         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32848 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32850         [BZ #13841]
32851         * math/s_csqrt.c: Include <float.h>.
32852         (__csqrt): Scale large or subnormal inputs.
32853         * math/s_csqrtf.c: Likewise.
32854         * math/s_csqrtl.c: Likewise.
32855         * math/libm-test.inc (csqrt_test): Add more tests.
32856         * sysdeps/i386/fpu/libm-test-ulps: Update.
32857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32859         [BZ #13840]
32860         * math/libm-test.inc (hypot_test): Add more tests.
32862 2012-03-13  David S. Miller  <davem@davemloft.net>
32864         [BZ #13840]
32865         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32866         double-precision for the calculation instead of scaling.
32868 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
32870         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32871         manipulate bits before adding and subtracting TWO52[sx].
32872         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32873         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32874         Likewise.
32875         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32877 2012-03-13  David S. Miller  <davem@davemloft.net>
32879         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32880         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32881         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32882         rtld-global-offsets.h
32883         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32885         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32886         large parameters.
32888         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32890         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32891         'err' in the ifdef scope in which it is actually used.
32893         * nss/nss_db/db-init.c: Include string.h
32895 2012-03-12  David S. Miller  <davem@davemloft.net>
32897         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32898         masking out of the most significant byte of random value used.
32899         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32900         Fix coding style in previous change.
32902         * sysdeps/unix/sysv/linux/kernel-features.h
32903         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32904         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32905         expression.
32906         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32907         later.
32909 2012-03-11  David S. Miller  <davem@davemloft.net>
32911         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32912         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32913         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32914         for 'resultvar' otherwise things get truncated on 64-bit.
32916         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32917         Fix masking out of the most significant byte of random value used.
32919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32921 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
32923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32925 2012-03-09  David S. Miller  <davem@davemloft.net>
32927         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32928         variables with appropriate CPP guards.
32929         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32930         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
32931         on resulting framesize and the management of the outregs buffer for pltexit.
32932         Preserve floating point return values across _dl_call_pltexit call.
32933         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32934         framesize and the management of the outregs buffer for pltexit.
32935         Preserve floating point return values across _dl_call_pltexit
32936         call.
32937         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32938         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32939         (print_exit): Fix format string for return register value.
32941 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
32943         * sunrpc/Makefile (others): Add rpcgen.
32944         ($(objpfx)rpcgen): Remove special build rule and dependency on
32945         libc.
32946         * sunrpc/rpcgen.c: New file.
32948 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
32950         [BZ #13673]
32951         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32952         * stdio-common/bug-vfprintf-nargs.c: Likewise.
32953         * sysdeps/i386/crti.S: Likewise.
32954         * sysdeps/i386/crtn.S: Likewise.
32955         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32956         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32957         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32958         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32959         * sysdeps/sh/crti.S: Likewise.
32960         * sysdeps/sh/crtn.S: Likewise.
32961         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32963         [BZ #13673]
32964         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32965         with URL.
32966         * locale/programs/locfile-kw.gperf: Likewise.
32967         * locale/programs/charmap-kw.h: Regenerated.
32968         * locale/programs/locfile-kw.h: Likewise.
32970         [BZ #13673]
32971         * intl/plural.y: Replace FSF snail mail address with URL.
32972         * intl/plural.c: Regenerated.
32974 2012-03-09  Richard Henderson  <rth@twiddle.net>
32976         * include/math_private.h: Remove file.
32977         * math/math_private.h: Move file ...
32978         * sysdeps/generic/math_private.h: ... here.
32980         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32981         * sysdeps/powerpc/fpu/math_private.h: Likewise.
32982         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32984         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32985         and <math_private.h>.
32986         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32987         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32988         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32989         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32990         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32991         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32992         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32993         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32994         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32995         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32996         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32997         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32998         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32999         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33000         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33001         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33002         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33003         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33004         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33005         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33006         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33007         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33008         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33009         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33010         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33011         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33012         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33013         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33014         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33015         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33016         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33017         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33018         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33019         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33020         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33021         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33022         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33023         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33024         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33025         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33026         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33027         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33028         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33029         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33030         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33031         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33032         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33033         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33034         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33035         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33036         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33037         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33038         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33039         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33040         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33041         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33042         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33043         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33044         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33045         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33046         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33047         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33048         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33049         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33050         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33051         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33052         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33053         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33054         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33055         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33056         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33057         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33058         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33059         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33060         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33061         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33062         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33063         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33064         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33065         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33066         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33067         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33068         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33069         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33070         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33071         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33072         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33073         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33074         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33075         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33076         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33077         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33078         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33079         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33080         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33081         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33082         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33083         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33084         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33085         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33086         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33087         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33088         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33089         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33090         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33091         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33092         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33093         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33094         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33095         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33096         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33097         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33098         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33099         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33100         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33101         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33102         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33103         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33104         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33105         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33106         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33107         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33108         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33109         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33110         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33111         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33112         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33113         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33114         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33115         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33116         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33117         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33118         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33119         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33120         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33121         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33122         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33123         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33124         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33125         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33126         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33127         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33128         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33129         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33130         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33131         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33132         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33133         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33134         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33135         * sysdeps/ieee754/k_standard.c: Likewise.
33136         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33137         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33138         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33139         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33140         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33141         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33142         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33143         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33144         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33145         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33146         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33147         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33148         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33149         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33150         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33151         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33152         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33153         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33154         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33155         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33156         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33157         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33158         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33159         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33160         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33161         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33162         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33163         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33164         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33165         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33166         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33167         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33168         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33169         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33170         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33171         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33172         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33173         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33174         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33175         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33176         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33177         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33178         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33179         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33180         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33181         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33182         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33183         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33184         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33185         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33186         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33187         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33188         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33189         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33190         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33191         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33192         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33193         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33194         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33195         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33196         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33197         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33198         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33199         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33200         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33201         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33202         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33203         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33204         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33205         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33206         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33207         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33208         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33209         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33210         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33211         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33212         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33213         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33214         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33215         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33216         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33217         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33218         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33219         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33220         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33221         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33222         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33223         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33224         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33225         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33226         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33227         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33228         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33229         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33230         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33231         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33232         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33233         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33234         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33235         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33236         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33237         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33238         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33239         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33240         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33241         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33242         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33243         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33244         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33245         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33246         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33247         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33248         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33249         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33250         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33251         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33252         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33253         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33254         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33255         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33256         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33257         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33258         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33259         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33260         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33261         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33262         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33263         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33264         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33265         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33266         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33267         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33268         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33269         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33270         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33271         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33272         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33273         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33274         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33275         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33276         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33277         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33278         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33279         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33280         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33281         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33282         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33283         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33284         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33285         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33286         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33287         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33288         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33289         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33290         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33291         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33292         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33293         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33294         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33295         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33296         * sysdeps/ieee754/s_lib_version.c: Likewise.
33297         * sysdeps/ieee754/s_matherr.c: Likewise.
33298         * sysdeps/ieee754/s_signgam.c: Likewise.
33299         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33300         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33301         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33302         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33303         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33304         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33305         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33306         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33307         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33308         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33309         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33310         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33311         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33312         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33313         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33314         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33315         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33316         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33317         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33318         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33319         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33321 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33323         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33324         * sunrpc/rpc_main.c: Likewise.
33325         * sunrpc/rpc_svcout.c: Likewise.
33327 2012-03-09  David S. Miller  <davem@davemloft.net>
33329         * include/math_private.h: New file.
33331 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33333         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33334         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33335         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33336         from <bits/socket_type.h>.
33337         (enum __socket_type): Don't define here.
33338         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33340         bits/socket_type.h.
33342         [BZ #13566]
33343         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33344         checking __USE_GNU.
33346         * Makerules ($(inst_includedir)/%.h): New rule.
33347         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33348         (install-others): Remove variable setting.
33349         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33351 2012-03-08  Richard Henderson  <rth@twiddle.net>
33353         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33354         from macro to inline function; merge with the
33355         !__LIBC_INTERNAL_MATH_INLINES version.
33356         (__ieee754_sqrtf): Likewise.
33358         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33359         to inline function.
33360         (__rintf, __floor, __floorf): Likewise.
33362         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33363         macro to inline function.
33364         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33366         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33367         not <math/math_private.h>.
33369 2012-03-08  David S. Miller  <davem@davemloft.net>
33371         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33372         copyright year.
33373         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33375 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
33377         * resolv/gai_misc.c (handle_requests): Fix struct timespec
33378         normalization.
33379         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33380         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33382 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
33384         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
33385         be defined individually, they must be defined as a block.  Define
33386         S for printing a string instead of hidint the different by using a
33387         macro for adding the 'l'.
33388         * stdio-common/tst-fphex-wide.c: Adjust.
33390 2012-03-07  Marek Polacek  <polacek@redhat.com>
33392         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33394 2012-03-08  Marek Polacek  <polacek@redhat.com>
33396         [BZ #13806]
33397         * stdio-common/Makefile (tests): Add tst-fphex-wide.
33398         * stdio-common/tst-fphex.c: Define a few macros to make the
33399         test reusable.  Use them.
33400         * stdio-common/tst-fphex-wide.c: New file.
33402 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
33404         [BZ #6911]
33405         * manual/macros.texi (gnusystems): New macro.
33406         (nongnusystems): Likewise.
33407         (gnulinuxhurdsystems): Likewise.
33408         (gnuhurdsystems): Likewise..
33409         (gnulinuxsystems): Likewise.
33410         * manual/charset.texi: Use new macros or @theglibc{} to refer to
33411         variants of the GNU system, not "GNU system".
33412         * manual/conf.texi: Likewise.
33413         * manual/errno.texi: Likewise.  Update example of errno macro
33414         expansion.
33415         * manual/filesys.texi: Likewise.
33416         (getumask): Document as specific to GNU/Hurd.
33417         * manual/install.texi: Likewise.  Reword some references to
33418         GNU/Linux.
33419         * manual/intro.texi: Likewise.
33420         * manual/io.texi: Likewise.
33421         (File Name Portability): Detail which constraints are inapplicable
33422         to all GNU systems and which are only inapplicable to GNU/Hurd.
33423         * manual/job.texi: Likewise.
33424         * manual/llio.texi: Likewise.
33425         (O_NOCTTY): Document as present on GNU/Linux.
33426         * manual/maint.texi: Likewise.
33427         * manual/memory.texi: Likewise.
33428         * manual/pattern.texi: Likewise.
33429         * manual/pipe.texi: Likewise.
33430         * manual/process.texi: Likewise.
33431         * manual/resource.texi: Likewise.
33432         (RUSAGE_CHILDREN): Remove statement about specifying a particular
33433         child on GNU/Hurd.
33434         * manual/setjmp.texi: Likewise.
33435         * manual/signal.texi: Likewise.
33436         * manual/startup.texi: Likewise.
33437         * manual/stdio.texi: Likewise.
33438         * manual/terminal.texi: Likewise.
33439         (ONLCR): Document as POSIX.
33440         (OXTABS): Document availability on GNU/Linux as XTABS.
33441         (ONOEOT): Document availability separately from other bits.
33442         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33443         * manual/time.texi: Likewise.
33444         * manual/users.texi: Likewise.
33445         * INSTALL: Regenerated.
33446         * sysdeps/gnu/errlist.c: Regenerated.
33448         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33449         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33450         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
33451         puts.
33452         * configure: Regenerated.
33454 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
33456         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33457         default includes instead of AC_HEADER_CHECK.
33458         * sysdeps/i386/configure: Regenerated.
33460         [BZ #10716]
33461         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33462         * math/s_cacoshf.c (__cacoshf): Likewise.
33463         * math/s_cacoshl.c (__cacoshl): Likewise.
33464         * math/s_casinh.c (__casinh): Set signs of result from argument.
33465         * math/s_casinhf.c (__casinhf): Likewise.
33466         * math/s_casinhl.c (__casinhl): Likewise.
33467         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33468         (casinh_test): Add more tests.
33469         * sysdeps/i386/fpu/libm-test-ulps: Update.
33470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33472 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
33474         * po/zh_TW.po: Update from translation team.
33476         * login/Makefile (distribute): Remove variable.
33477         * catgets/Makefile: Likewise.
33478         * mach/Makefile: Likewise.
33479         * malloc/Makefile: Likewise.
33480         * misc/Makefile: Likewise.
33481         * iconv/Makefile: Likewise.
33482         * nscd/Makefile: Likewise.
33483         * hurd/Makefile: Likewise.
33484         * manual/Makefile: Likewise.
33485         * locale/Makefile: Likewise.
33486         * intl/Makefile: Likewise.
33487         * conform/Makefile: Likewise.
33488         * nss/Makefile: Likewise.
33489         * time/Makefile: Likewise.
33490         * soft-fp/Makefile: Likewise.
33491         * dirent/Makefile: Likewise.
33492         * gmon/Makefile: Likewise.
33493         * po/Makefile: Likewise.
33494         * rt/Makefile: Likewise.
33495         * socket/Makefile: Likewise.
33496         * math/Makefile: Likewise.
33497         * signal/Makefile: Likewise.
33498         * debug/Makefile: Likewise.
33499         * elf/Makefile: Likewise.
33500         * timezone/Makefile: Likewise.
33501         * stdlib/Makefile: Likewise.
33502         * iconvdata/Makefile: Likewise.
33503         * sunrpc/Makefile: Likewise.
33504         * io/Makefile: Likewise.
33505         * argp/Makefile: Likewise.
33506         * inet/Makefile: Likewise.
33507         * hesiod/Makefile: Likewise.
33508         * grp/Makefile: Likewise.
33509         * csu/Makefile: Likewise.
33510         * wctype/Makefile: Likewise.
33511         * crypt/Makefile: Likewise.
33512         * libio/Makefile: Likewise.
33513         * string/Makefile: Likewise.
33514         * nis/Makefile: Likewise.
33515         * resolv/Makefile: Likewise.
33516         * stdio-common/Makefile: Likewise.
33517         * wcsmbs/Makefile: Likewise.
33518         * dlfcn/Makefile: Likewise.
33519         * posix/Makefile: Likewise.
33521         [BZ #6959]
33522         * timezone/Makefile: Don't install timezone files, just the programs
33523         and scripts.
33525 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
33527         * nss/databases.def: Add missing gshadow entry.
33529         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
33531 2012-03-06  Marek Polacek  <polacek@redhat.com>
33533         [BZ #13726]
33534         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33535         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33536         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33537         * stdio-common/tst-long-dbl-fphex.c: New file.
33539 2012-03-06  David S. Miller  <davem@davemloft.net>
33541         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33542         (set_obp_int): New function.
33543         (get_obp_int): New function.
33544         (__get_clockfreq_via_dev_openprom): Likewise.
33545         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33546         Avoid unused variable warnings on 'val' and use builtin_expect.
33547         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33548         __builtin_expect.
33549         (INLINE_CLONE_SYSCALL): Likewise.
33551 2012-03-05  David S. Miller  <davem@davemloft.net>
33553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33555 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
33557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33559         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33560         only for |x| >= 40.
33561         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33563 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33565         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33566         Replace gettimeofday with __vdso_gettimeofday.
33568         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33569         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33570         __vdso_clock_gettime and __vdso_getcpu.
33572         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33573         time with __vdso_time.
33575 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33577         * manual/lang.texi (size_t): Note types to which size_t may be
33578         equivalent with the GNU C Library, but do not describe when
33579         differences between them are significant.
33581 2012-03-05  Andreas Jaeger  <aj@suse.de>
33583         * sysdeps/i386/fpu/libm-test-ulps: Update.
33585 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33587         [BZ #3976]
33588         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33589         (__ieee754_pow): Save and restore rounding mode and use
33590         round-to-nearest for main computations.
33591         * math/libm-test.inc (pow_test_tonearest): New function.
33592         (pow_test_towardzero): Likewise.
33593         (pow_test_downward): Likewise.
33594         (pow_test_upward): Likewise.
33595         (main): Call the new functions.
33596         * sysdeps/i386/fpu/libm-test-ulps: Update.
33597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33599         [BZ #3976]
33600         * math/libm-test.inc (cosh_test_tonearest): New function.
33601         (cosh_test_towardzero): Likewise.
33602         (cosh_test_downward): Likewise.
33603         (cosh_test_upward): Likewise.
33604         (sinh_test_tonearest): Likewise.
33605         (sinh_test_towardzero): Likewise.
33606         (sinh_test_downward): Likewise.
33607         (sinh_test_upward): Likewise.
33608         (main): Call the new functions.
33609         * sysdeps/i386/fpu/libm-test-ulps: Update.
33610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33612 2012-03-05  Tom de Vries  <tom@codesourcery.com>
33614         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33615         default stack guard is set in last bytes.
33616         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33618 2012-03-05  Kees Cook  <keescook@chromium.org>
33620         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33622         [BZ #13656]
33623         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33624         possibly allocate from heap instead of stack.
33625         * stdio-common/bug-vfprintf-nargs.c: New file.
33626         * stdio-common/Makefile (tests): Add nargs overflow test.
33628 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
33630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33632 2012-03-03  Marek Polacek  <polacek@redhat.com>
33634         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33635         * math/math_private.h: Likewise.
33636         * stdlib/tst-strtod.c: Likewise.
33637         * sysdeps/i386/i486/bits/atomic.h: Likewise.
33638         * sysdeps/x86_64/bits/atomic.h: Likewise.
33640 2012-03-02  David S. Miller  <davem@davemloft.net>
33642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33646         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33647         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33648         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33649         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33651 2012-03-02  Roland McGrath  <roland@hack.frob.com>
33653         [BZ #13792]
33654         * manual/examples/README: New file, says the example source files
33655         can be used under GPL>=2.
33656         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33657         line containing just "*/".
33658         * manual/examples/add.c: Add copyright header (GPL>=2).
33659         * manual/examples/argp-ex1.c: Likewise.
33660         * manual/examples/argp-ex2.c: Likewise.
33661         * manual/examples/argp-ex3.c: Likewise.
33662         * manual/examples/argp-ex4.c: Likewise.
33663         * manual/examples/atexit.c: Likewise.
33664         * manual/examples/db.c: Likewise.
33665         * manual/examples/dir.c: Likewise.
33666         * manual/examples/dir2.c: Likewise.
33667         * manual/examples/execinfo.c: Likewise.
33668         * manual/examples/filecli.c: Likewise.
33669         * manual/examples/filesrv.c: Likewise.
33670         * manual/examples/fmtmsgexpl.c: Likewise.
33671         * manual/examples/genpass.c: Likewise.
33672         * manual/examples/inetcli.c: Likewise.
33673         * manual/examples/inetsrv.c: Likewise.
33674         * manual/examples/isockad.c: Likewise.
33675         * manual/examples/longopt.c: Likewise.
33676         * manual/examples/memopen.c: Likewise.
33677         * manual/examples/memstrm.c: Likewise.
33678         * manual/examples/mkfsock.c: Likewise.
33679         * manual/examples/mkisock.c: Likewise.
33680         * manual/examples/mygetpass.c: Likewise.
33681         * manual/examples/pipe.c: Likewise.
33682         * manual/examples/popen.c: Likewise.
33683         * manual/examples/rprintf.c: Likewise.
33684         * manual/examples/search.c: Likewise.
33685         * manual/examples/select.c: Likewise.
33686         * manual/examples/setjmp.c: Likewise.
33687         * manual/examples/sigh1.c: Likewise.
33688         * manual/examples/sigusr.c: Likewise.
33689         * manual/examples/stpcpy.c: Likewise.
33690         * manual/examples/strdupa.c: Likewise.
33691         * manual/examples/strftim.c: Likewise.
33692         * manual/examples/strncat.c: Likewise.
33693         * manual/examples/subopt.c: Likewise.
33694         * manual/examples/swapcontext.c: Likewise.
33695         * manual/examples/termios.c: Likewise.
33696         * manual/examples/testopt.c: Likewise.
33697         * manual/examples/testpass.c: Likewise.
33698         * manual/examples/timeval_subtract.c: Likewise.
33700         [BZ #13792]
33701         * manual/time.texi (Elapsed Time): Move timeval_subtract example
33702         function to ...
33703         * manual/timeval_subtract.c.texi: ... here, new file.
33705 2012-03-02  David S. Miller  <davem@davemloft.net>
33707         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33709 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
33711         [BZ #3976]
33712         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33713         (__sin): Save and restore rounding mode and use round-to-nearest
33714         for all computations.
33715         (__cos): Save and restore rounding mode and use round-to-nearest
33716         for all computations.
33717         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33718         <fenv.h>.
33719         (tan): Save and restore rounding mode and use round-to-nearest for
33720         all computations.
33721         * math/libm-test.inc (cos_test_tonearest): New function.
33722         (cos_test_towardzero): Likewise.
33723         (cos_test_downward): Likewise.
33724         (cos_test_upward): Likewise.
33725         (sin_test_tonearest): Likewise.
33726         (sin_test_towardzero): Likewise.
33727         (sin_test_downward): Likewise.
33728         (sin_test_upward): Likewise.
33729         (tan_test_tonearest): Likewise.
33730         (tan_test_towardzero): Likewise.
33731         (tan_test_downward): Likewise.
33732         (tan_test_upward): Likewise.
33733         (main): Call the new functions.
33734         * sysdeps/i386/fpu/libm-test-ulps: Update.
33735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33737         [BZ #10135]
33738         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33739         small n, then large n, before computing and testing k+n.
33740         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33741         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33742         Likewise.
33743         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33744         Likewise.
33745         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33746         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33747         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33748         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33749         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33750         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33751         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33752         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33753         * math/libm-test.inc (scalbn_test): Add more tests.
33754         (scalbln_test): Likewise.
33756         * manual/filesys.texi (mode_t): Describe constraints on size and
33757         signedness, not exact equivalence to a particular type.
33758         (ino_t): Likewise.
33759         (ino64_t): Likewise.
33760         (dev_t): Likewise.
33761         (nlink_t): Likewise.
33762         (blkcnt_t): Likewise.
33763         (blkcnt64_t): Likewise.
33764         * manual/llio.texi (off_t): Likewise.
33766         [BZ #3976]
33767         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33768         (__ieee754_exp): Save and restore rounding mode and use
33769         round-to-nearest for all computations.
33770         * math/libm-test.inc (exp_test_tonearest): New function.
33771         (exp_test_towardzero): Likewise.
33772         (exp_test_downward): Likewise.
33773         (exp_test_upward): Likewise.
33774         (main): Call the new functions.
33775         * sysdeps/i386/fpu/libm-test-ulps: Update.
33776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33778 2012-03-01  Chris Demetriou  <cgd@google.com>
33780         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33781         have predictable order.
33783 2012-03-01  David S. Miller  <davem@davemloft.net>
33785         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33787         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33788         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33789         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33790         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33792         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33793         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33794         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33796         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33797         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33798         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33799         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33800         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33804         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33805         * sysdeps/sparc/fpu/libm-test-ulps: to here.
33806         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33808         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33809         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33810         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33811         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33812         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33813         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33814         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33815         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33816         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33817         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33818         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33819         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33820         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33821         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33822         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33823         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33824         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33825         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33826         * sysdeps/sparc/elf/configure: Regenerated.
33828 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
33830         * configure.in (AS, LD): Require binutils 2.20 or later.
33831         * configure: Regenerated.
33832         * manual/install.texi (Tools for Compilation): Give binutils 2.20
33833         as required minimum version.
33834         * INSTALL: Regenerated.
33836         [BZ #2541]
33837         [BZ #4108]
33838         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33839         before squaring exponent.
33840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33841         bottom long double and 27 bits of top long double before squaring
33842         exponent.
33843         * math/libm-test.inc (erfc_test): Add more tests.
33844         * sysdeps/i386/fpu/libm-test-ulps: Update.
33845         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33848 2012-03-01  Kai Tietz  <ktietz@redhat.com>
33850         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33851         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33852         containing bit-fields.
33853         * soft-fp/extended.h (_FP_UNION_E): Likewise.
33854         * soft-fp/single.h (_FP_UNION_S): Likewise.
33855         * soft-fp/double.h (_FP_UNION_D): Likewise.
33857 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33859         [BZ #13786]
33860         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33861         not include ../strcmp.S.
33862         [USE_AS_STRNCASECMP_L]: Likewise.
33863         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33864         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33865         * sysdeps/i386/i686/multiarch/strncase_l-c.c
33866         (__strncasecmp_l_ia32): Define as alias to
33867         __strncasecmp_l_nonascii.
33869         [BZ #5794]
33870         * math/libm-test.inc (expm1_test): Add test for bug 5794.
33871         * sysdeps/i386/fpu/libm-test-ulps: Update.
33872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33874         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33877 2012-02-29  Jeff Law  <law@redhat.com>
33879         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33880         out of bounds read.
33882 2012-02-29  Marek Polacek  <polacek@redhat.com>
33884         [BZ #13706]
33885         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33886         * elf/Makefile: Add rules to run tst-unused-dep.out.
33888 2012-02-28  David S. Miller  <davem@davemloft.net>
33890         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33891         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33892         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33893         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33894         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33895         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33897 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33899         * math/libm-test.inc (llround_test): Move one test from
33900         lround_test.  Use TEST_f_L in moved test.
33901         (lround_test): Move misplaced test to llround_test.  Add testcase
33902         from bug 2561.
33904 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
33906         * sysdeps/x86_64/fpu/e_expf.S: New file.
33907         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33909 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
33911         [BZ #13637]
33912         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33913         of remain_len that may cause incomplete multi-byte character and
33914         false match.
33915         * posix/bug-regex33.c: New file.
33916         * posix/Makefile (tests): Add bug-regex33.
33918 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
33920         * manual/macros.texi: New file.
33921         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33922         * manual/libc.texinfo: Include macros.texi.
33923         * manual/creatute.texi: Likewise.
33924         * manual/install.texi: Likewise.
33925         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33926         @glibcadj{} in references to the GNU C Library.
33927         * manual/charset.texi: Likewise.
33928         * manual/conf.texi: Likewise.
33929         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
33930         when not using those macros.
33931         * manual/creature.texi: Likewise.
33932         * manual/crypt.texi: Likewise.
33933         * manual/errno.texi: Likewise.
33934         * manual/filesys.texi: Likewise.
33935         * manual/header.texi: Likewise.
33936         * manual/install.texi: Likewise.
33937         * manual/intro.texi: Likewise.
33938         * manual/io.texi: Likewise.
33939         * manual/job.texi: Likewise.
33940         * manual/lang.texi: Likewise.
33941         * manual/libc.texiinfo: Likewise.
33942         * manual/llio.texi: Likewise.
33943         * manual/locale.texi: Likewise.
33944         * manual/maint.texi: Likewise.
33945         * manual/math.texi: Likewise.
33946         * manual/memory.texi: Likewise.
33947         * manual/message.texi: Likewise.
33948         * manual/nss.texi: Likewise.
33949         * manual/pattern.texi: Likewise.
33950         * manual/process.texi: Likewise.
33951         * manual/resource.texi: Likewise.
33952         * manual/search.texi: Likewise.
33953         * manual/setjmp.texi: Likewise.
33954         * manual/signal.texi: Likewise.
33955         * manual/socket.texi: Likewise.
33956         * manual/startup.texi: Likewise.
33957         * manual/stdio.texi: Likewise.
33958         * manual/string.texi: Likewise.
33959         * manual/sysinfo.texi: Likewise.
33960         * manual/syslog.texi: Likewise.
33961         * manual/terminal.texi: Likewise.
33962         * manual/time.texi: Likewise.
33963         * manual/users.texi: Likewise.
33964         * INSTALL: Regenerated.
33965         * NOTES: Regenerated.
33966         * sysdeps/gnu/errlist.c: Regenerated.
33968 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
33970         * include/dirent.h: Include <dirstream.h> before
33971         <dirent/dirent.h>.
33973 2012-02-28  David S. Miller  <davem@davemloft.net>
33975         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33976         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33977         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33978         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33980 2012-02-27  David S. Miller  <davem@davemloft.net>
33982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33984         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33985         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33988         frame pointer instead of stack pointer relative arg slot.
33989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33990         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33991         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33993 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
33995         [BZ #3992]
33996         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33998 2012-02-27  David S. Miller  <davem@davemloft.net>
34000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34004         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34005         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34006         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34007         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34009 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34011         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34012         later.  Allow versions 5-9.
34013         * configure: Regenerated.
34014         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34015         required minimum version and 4.6 as recommended version.  Do not
34016         mention bugs in GCC 2.7 and 2.8.
34017         * INSTALL: Regenerated.
34019 2012-02-27  David S. Miller  <davem@davemloft.net>
34021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34025         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34026         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34027         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34028         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34030         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34031         manipulate bits before adding and subtracting TWO112[sx].
34032         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34034 2012-02-27  Roland McGrath  <roland@hack.frob.com>
34036         [BZ #13775]
34037         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34038         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34039         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34040         being in POSIX, because they are in 1003.1-2008.
34042         * rt/tst-aio.c: Include <fcntl.h>.
34043         * rt/tst-aio7.c: Likewise.
34044         * rt/tst-aio64.c: Likewise.
34046         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34048 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
34050         * manual/install.texi (--with-headers): Describe headers as
34051         interface headers, not private headers.
34052         (Specific advice for GNU/Linux systems): Describe use of headers
34053         from "make headers_install", not private headers from older
34054         kernels.
34055         * INSTALL: Regenerated.
34056         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34057         Change to 2.6.19.
34058         * sysdeps/unix/sysv/linux/configure: Regenerated.
34060         * manual/llio.texi (fclean): Remove documentation.
34062         * manual/Makefile (libc-texi-generated): New variable.  Include
34063         version.texi.
34064         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34065         $(libc-texi-generated), not duplicated list of files.
34066         (version.texi, stamp-version): New rules.
34067         (realclean): Remove $(libc-texi-generated), not individual files
34068         from that list.  Do not remove dir-add.texinfo.
34069         * manual/libc.texinfo: Comment out uses of edition numbers and
34070         references to printed manual.  Remove last-updated dates.
34071         (EDITION): Comment out.
34072         (ISBN): Likewise.
34073         (VERSION, UPDATED): Remove.
34074         (version.texi): Include.
34076 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
34078         * sysdeps/posix/spawni.c: Include <signal.h>.
34079         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34080         * sysdeps/pthread/aio_fsync.c: Likewise.
34082 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
34084         * conform/Makefile (tests): Run only when not cross-compiling and
34085         when fast-check is not defined.
34087         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34088         * conform/data/limits.h-data: Fixes for POSIX2008.
34089         * conform/run-conformtest.sh: Run all tests.
34090         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34091         headers.
34092         * include/bits/dlfcn.h: Likewise.
34093         * include/langinfo.h: Likewise.
34094         * include/monetary.h: Likewise.
34095         * include/sys/poll.h: Likewise.
34097         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34098         for __USE_GNU.
34099         * posix/spawn.h: Define __need_sigset_t.
34100         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34101         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34102         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
34103         to get sigevent_t only.
34104         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34105         only for __USE_GNU.
34106         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34107         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34108         process_vm_writev only for __USE_GNU.
34109         * termios/termios.h: Declare tcgetsid also for POSIX2008.
34111         * conform/Makefile: For now ignore errors from run-conformtest.
34112         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
34113         POSIX to avoid namespace pollution.  Don't prepend headers.
34114         * conform/data/aio.h-data: Fixes for POSIX testing.
34115         * conform/data/fcntl.h-data: Likewise.
34116         * conform/data/glob.h-data: Likewise.
34117         * conform/data/grp.h-data: Likewise.
34118         * conform/data/pthread.h-data: Likewise.
34119         * conform/data/pwd.h-data: Likewise.
34120         * conform/data/signal.h-data: Likewise.
34121         * conform/data/spawn.h-data: Likewise.
34122         * conform/data/stdio.h-data: Likewise.
34123         * conform/data/stdlib.h-data: Likewise.
34124         * conform/data/stropts.h-data: Likewise.
34125         * conform/data/sys/mman.h-data: Likewise.
34126         * conform/data/sys/stat.h-data: Likewise.
34127         * conform/data/sys/types.h-data: Likewise.
34128         * conform/data/sys/wait.h-data: Likewise.
34129         * conform/data/time.h-data: Likewise.
34130         * conform/data/unistd.h-data: Likewise.
34131         * conform/data/utime.h-data: Likewise.
34133         * io/sys/stat.h: fchmod was always in POSIX.
34134         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34135         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34136         * rt/aio.h: Define __need_timespec before including <time.h>.
34137         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34138         struct.  Add forward declaration of pthread_attr_t and use it in
34139         sigevent.
34140         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34141         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34142         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34143         always remove CLK_TCK definition.
34145 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
34147         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34149 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
34151         * conform/run-conformtest.sh: New file.
34152         * conform/Makefile: Run run-conformtest for tests.
34153         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
34154         support.
34156         * conform/data/uchar.h-data: New file.
34157         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34158         * conform/data/arpa/inet.h-data: Likewise.
34159         * conform/data/assert.h-data: Likewise.
34160         * conform/data/complex.h-data: Likewise.
34161         * conform/data/cpio.h-data: Likewise.
34162         * conform/data/ctype.h-data: Likewise.
34163         * conform/data/dirent.h-data: Likewise.
34164         * conform/data/dlfcn.h-data: Likewise.
34165         * conform/data/errno.h-data: Likewise.
34166         * conform/data/fcntl.h-data: Likewise.
34167         * conform/data/float.h-data: Likewise.
34168         * conform/data/fmtmsg.h-data: Likewise.
34169         * conform/data/fnmatch.h-data: Likewise.
34170         * conform/data/ftw.h-data: Likewise.
34171         * conform/data/glob.h-data: Likewise.
34172         * conform/data/grp.h-data: Likewise.
34173         * conform/data/iconv.h-data: Likewise.
34174         * conform/data/inttypes.h-data: Likewise.
34175         * conform/data/langinfo.h-data: Likewise.
34176         * conform/data/libgen.h-data: Likewise.
34177         * conform/data/limits.h-data: Likewise.
34178         * conform/data/locale.h-data: Likewise.
34179         * conform/data/math.h-data: Likewise.
34180         * conform/data/monetary.h-data: Likewise.
34181         * conform/data/mqueue.h-data: Likewise.
34182         * conform/data/ndbm.h-data: Likewise.
34183         * conform/data/net/if.h-data: Likewise.
34184         * conform/data/netdb.h-data: Likewise.
34185         * conform/data/netinet/in.h-data: Likewise.
34186         * conform/data/nl_types.h-data: Likewise.
34187         * conform/data/poll.h-data: Likewise.
34188         * conform/data/pthread.h-data: Likewise.
34189         * conform/data/pwd.h-data: Likewise.
34190         * conform/data/regex.h-data: Likewise.
34191         * conform/data/sched.h-data: Likewise.
34192         * conform/data/search.h-data: Likewise.
34193         * conform/data/semaphore.h-data: Likewise.
34194         * conform/data/setjmp.h-data: Likewise.
34195         * conform/data/signal.h-data: Likewise.
34196         * conform/data/spawn.h-data: Likewise.
34197         * conform/data/stdarg.h-data: Likewise.
34198         * conform/data/stdio.h-data: Likewise.
34199         * conform/data/stdlib.h-data: Likewise.
34200         * conform/data/string.h-data: Likewise.
34201         * conform/data/strings.h-data: Likewise.
34202         * conform/data/stropts.h-data: Likewise.
34203         * conform/data/sys/ipc.h-data: Likewise.
34204         * conform/data/sys/mman.h-data: Likewise.
34205         * conform/data/sys/msg.h-data: Likewise.
34206         * conform/data/sys/resource.h-data: Likewise.
34207         * conform/data/sys/select.h-data: Likewise.
34208         * conform/data/sys/sem.h-data: Likewise.
34209         * conform/data/sys/shm.h-data: Likewise.
34210         * conform/data/sys/socket.h-data: Likewise.
34211         * conform/data/sys/stat.h-data: Likewise.
34212         * conform/data/sys/statvfs.h-data: Likewise.
34213         * conform/data/sys/time.h-data: Likewise.
34214         * conform/data/sys/timeb.h-data: Likewise.
34215         * conform/data/sys/times.h-data: Likewise.
34216         * conform/data/sys/types.h-data: Likewise.
34217         * conform/data/sys/uio.h-data: Likewise.
34218         * conform/data/sys/un.h-data: Likewise.
34219         * conform/data/sys/utsname.h-data: Likewise.
34220         * conform/data/sys/wait.h-data: Likewise.
34221         * conform/data/syslog.h-data: Likewise.
34222         * conform/data/tar.h-data: Likewise.
34223         * conform/data/termios.h-data: Likewise.
34224         * conform/data/utime.h-data: Likewise.
34225         * conform/data/utmpx.h-data: Likewise.
34226         * conform/data/varargs.h-data: Likewise.
34227         * conform/data/wchar.h-data: Likewise.
34228         * conform/data/wctype.h-data: Likewise.
34229         * conform/data/wordexp.h-data: Likewise.
34231         * include/stropts.h: New file.
34232         * include/uchar.h: New file.
34233         * include/aio.h: Changes to allow conformtest.pl to use the headers.
34234         * include/assert.h: Likewise.
34235         * include/ctype.h: Likewise.
34236         * include/dirent.h: Likewise.
34237         * include/dlfcn.h: Likewise.
34238         * include/fcntl.h: Likewise.
34239         * include/fnmatch.h: Likewise.
34240         * include/glob.h: Likewise.
34241         * include/grp.h: Likewise.
34242         * include/libio.h: Likewise.
34243         * include/locale.h: Likewise.
34244         * include/math.h: Likewise.
34245         * include/net/if.h: Likewise.
34246         * include/netdb.h: Likewise.
34247         * include/netinet/in.h: Likewise.
34248         * include/pthread.h: Likewise.
34249         * include/pwd.h: Likewise.
34250         * include/regex.h: Likewise.
34251         * include/sched.h: Likewise.
34252         * include/search.h: Likewise.
34253         * include/setjmp.h: Likewise.
34254         * include/signal.h: Likewise.
34255         * include/stdio.h: Likewise.
34256         * include/stdlib.h: Likewise.
34257         * include/string.h: Likewise.
34258         * include/sys/cdefs.h: Likewise.
34259         * include/sys/mman.h: Likewise.
34260         * include/sys/msg.h: Likewise.
34261         * include/sys/resource.h: Likewise.
34262         * include/sys/select.h: Likewise.
34263         * include/sys/socket.h: Likewise.
34264         * include/sys/stat.h: Likewise.
34265         * include/sys/statvfs.h: Likewise.
34266         * include/sys/time.h: Likewise.
34267         * include/sys/times.h: Likewise.
34268         * include/sys/uio.h: Likewise.
34269         * include/sys/utsname.h: Likewise.
34270         * include/sys/wait.h: Likewise.
34271         * include/termios.h: Likewise.
34272         * include/time.h: Likewise.
34273         * include/ulimit.h: Likewise.
34274         * include/unistd.h: Likewise.
34275         * include/utime.h: Likewise.
34276         * include/wchar.h: Likewise.
34277         * include/wctype.h: Likewise.
34278         * include/wordexp.h: Likewise.
34280         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34282         * time/time.h: TIME_UTC must be a macro.
34283         Make timespec_get available for ISO C11 only as well.
34285 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
34287         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34288         Reported by Peng Haitao <penght@cn.fujitsu.com>.
34290 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34292         * configure.in: Use -o not -a in test for unsupported multi-arch.
34294 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34296         * manual/texinfo.tex: Update to version 2012-01-19.16.
34298 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34300         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34302 2012-02-24  Roland McGrath  <roland@hack.frob.com>
34304         [BZ #13738]
34305         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34306         * manual/fdl-1.3.texi: New file.
34307         * manual/fdl-1.1.texi: File removed.
34309         [BZ #13738]
34310         * manual/libc.texinfo (FDL_VERSION): New @set.
34311         Use it for mention of FDL in cover text.
34312         (Documentation License): Use it in @include file name.
34314 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34315             Roland McGrath  <roland@hack.frob.com>
34317         [BZ #5461]
34318         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34319         not LONG_LONG_MAX and LONG_LONG_MIN.
34320         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34321         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
34322         name.
34323         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34325 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34327         [BZ #2547]
34328         [BZ #11365]
34329         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34330         manipulate bits before adding and subtracting TWO23[sx].
34331         * math/libm-test.inc (nearbyint_test): Add more tests.
34333 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34335         [BZ #2548]
34336         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34337         bits before adding and subtracting TWO23[sx].
34338         * math/libm-test.inc (rint_test): Add more tests.
34339         (rint_test_tonearest): Likewise.
34340         (rint_test_towardzero): Likewise.
34341         (rint_test_downward): Likewise.
34342         (rint_test_upward: Likewise.
34344 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34346         [BZ #10110]
34347         * include/stdc-predef.h: New file.  Extracted from features.h.
34348         * include/features.h: Include stdc-predef.h.
34349         * Makefile (headers): Add stdc-predef.h.
34350         * CONFORMANCE (Compiler limitations): Update.
34352 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34354         * manual/libc.texinfo (VERSION, UPDATED): Revert.
34356 2012-02-21  David S. Miller  <davem@davemloft.net>
34358         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34359         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34361 2012-02-20  David S. Miller  <davem@davemloft.net>
34363         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34364         using a normal save/restore sequence, rather than allocating a
34365         dummy stack frame just to store a frame pointer and restore.
34366         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34368 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34370         * manual/install.texi: Fix stray word in line-wrapped comment.
34372 2012-02-20  David S. Miller  <davem@davemloft.net>
34374         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34375         both binutils and gcc support GOTDATA.
34377         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34378         "rd %pc" in the PIC register setup sequences.
34380         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34381         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34382         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34383         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34384         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34385         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34386         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34387         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34388         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34389         (SYSCALL_ERROR_HANDLER): Likewise.
34390         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34391         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34392         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34393         (SYSCALL_ERROR_HANDLER): Likewise.
34395         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34396         (HAVE_GCC_GOTDATA): New.
34397         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34398         relocation support in both binutils and gcc.
34399         * sysdeps/sparc/elf/configure: Regenerate.
34401         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34402         * sysdeps/sparc/sparc32/elf/configure: Delete.
34403         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34404         * sysdeps/sparc/sparc64/elf/configure: Delete.
34405         * sysdeps/sparc/elf/configure.in: New file.
34406         * sysdeps/sparc/elf/configure: Generate.
34408         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34409         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34410         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34411         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34412         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34414 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34416         * manual/install.texi: Do not mention specific glibc version
34417         numbers.
34418         * manual/libc.texinfo (VERSION, UPDATED): Update.
34419         (@copying): Use @copyright{} and range of years.
34421 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34423         [BZ #13695]
34424         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34425         [crti.S not in sysdirs] (generated): Do not append.
34426         [crti.S not in sysdirs] (omit-deps): Likewise.
34427         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34428         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34429         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34430         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34431         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34432         Likewise.
34433         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34434         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34435         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34436         * csu/defs.awk: Remove file.
34437         * sysdeps/generic/initfini.c: Likewise.
34438         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34439         variable.
34440         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34441         Likewise.
34443 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34445         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34446         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34447         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34448         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34449         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34450         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34451         <bits/epoll.h>.
34452         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34453         (__EPOLL_PACKED): Define to empty if not defined by
34454         <bits/epoll.h>.
34455         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34457         bits/epoll.h.
34459 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34461         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34462         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34463         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34464         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34465         <bits/timerfd.h>.
34466         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34468         bits/timerfd.h.
34470 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34472         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34473         in C locale.
34474         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34475         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34476         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34479 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
34481         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34482         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34484 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
34486         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34487         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34488         defined.
34489         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34490         Likewise.
34491         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34492         entry for 2.16.
34494 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
34496         * math/w_acos.c: Use non-signaling floating-point comparisons.
34497         * math/w_acosf.c: Likewise.
34498         * math/w_acosh.c: Likewise.
34499         * math/w_acoshf.c: Likewise.
34500         * math/w_acoshl.c: Likewise.
34501         * math/w_acosl.c: Likewise.
34502         * math/w_asin.c: Likewise.
34503         * math/w_asinf.c: Likewise.
34504         * math/w_asinl.c: Likewise.
34505         * math/w_atanh.c: Likewise.
34506         * math/w_atanhf.c: Likewise.
34507         * math/w_atanhl.c: Likewise.
34508         * math/w_exp2.c: Likewise.
34509         * math/w_exp2f.c: Likewise.
34510         * math/w_exp2l.c: Likewise.
34511         * math/w_j0.c: Likewise.
34512         * math/w_j0f.c: Likewise.
34513         * math/w_j0l.c: Likewise.
34514         * math/w_j1.c: Likewise.
34515         * math/w_j1f.c: Likewise.
34516         * math/w_j1l.c: Likewise.
34517         * math/w_jn.c: Likewise.
34518         * math/w_jnf.c: Likewise.
34519         * math/w_log.c: Likewise.
34520         * math/w_log10.c: Likewise.
34521         * math/w_log10f.c: Likewise.
34522         * math/w_log10l.c: Likewise.
34523         * math/w_log2.c: Likewise.
34524         * math/w_log2f.c: Likewise.
34525         * math/w_log2l.c: Likewise.
34526         * math/w_logf.c: Likewise.
34527         * math/w_logl.c: Likewise.
34528         * math/w_sqrt.c: Likewise.
34529         * math/w_sqrtf.c: Likewise.
34530         * math/w_sqrtl.c: Likewise.
34531         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34532         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34533         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34534         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34535         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34537 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34539         [BZ #9739]
34540         * manual/string.texi (strnlen): Use correct parameter name in
34541         equivalent expression.
34543 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34545         [BZ #11174]
34546         * manual/users.texi (seteuid): Consistently use neweuid for
34547         argument name.
34549 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34551         [BZ #13704]
34552         * manual/nss.texi (Services in the NSS configuration): Correct
34553         list of services in example configuration file.
34555 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
34557         [BZ #11322]
34558         * manual/arith.texi: Remove statements about negative zero
34559         behaving identically to zero.
34561 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34563         [BZ #5993]
34564         * manual/install.texi: Do not document upgrading from libc5.
34566 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34568         [BZ #4596]
34569         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34571 2012-02-18  David S. Miller  <davem@davemloft.net>
34573         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34574         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34575         %o7 across the call.
34576         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34577         instead.
34578         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34579         SETUP_PIC_REG_LEAF.
34580         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34581         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34582         * sysdeps/sparc/crtn.S: Likewise.
34584 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
34586         * aout/Makefile: Remove.
34588 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
34590         [BZ #13058]
34591         * manual/examples/argp-ex1.c (main): Format definition in GNU
34592         style.
34593         * manual/examples/argp-ex2.c (main): Likewise.
34594         * manual/examples/argp-ex3.c (main): Likewise.
34595         * manual/examples/argp-ex4.c (main): Likewise.
34596         * manual/examples/longopt.c (main): Use new-style prototype
34597         definition.
34598         * manual/examples/strncat.c (main): Specify return type and use
34599         (void) for arguments.
34600         * manual/examples/subopt.c (main): Use char **argv argument.
34602 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34604         [BZ #5077]
34605         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34606         rounding modes.
34608 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
34610         [BZ #6907]
34611         * manual/string.texi (strchr): Change when strchrnul is
34612         recommended.
34614 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
34616         [BZ #174]
34617         * manual/locale.texi (setlocale): Document LOCPATH.
34619 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34621         [BZ #10210]
34622         * manual/process.texi (execle): Move @dots{} before last argument.
34624 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
34626         [BZ #12047]
34627         * manual/charset.texi (Generic Charset Conversion): Fix typo
34628         (LC_TYPE -> LC_CTYPE).
34630 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
34632         [BZ #5805]
34633         * manual/arith.texi (scalbn): Use @var{} on parameter names.
34634         (scalbnf): Likewise.
34635         (scalbnl): Likewise.
34636         (scalbln): Likewise.
34637         (scalblnf): Likewise.
34638         (scalblnl): Likewise.
34639         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34640         (vwarnx): Likewise.
34641         (verr): Likewise.
34642         (verrx): Likewise.
34643         * manual/filesys.texi (telldir): Use braces around return type.
34644         * manual/llio.texi (mmap): Add space after comma.
34645         (mmap64): Likewise.
34646         * manual/math.texi (jn): Use @var{} on parameter names.
34647         (jnf): Likewise.
34648         (jnl): Likewise.
34649         (yn): Likewise.
34650         (ynf): Likewise.
34651         (ynl): Likewise.
34652         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34653         line.
34654         * manual/resource.texi (ulimit): Use @dots{} instead of literal
34655         "...".
34656         (sched_get_priority_min): Remove semicolon on @deftypefun line.
34657         (sched_get_priority_max): Likewise.
34658         * manual/signal.texi (sigvec): Add space after comma.
34659         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34660         names.
34661         (if_indextoname): Likewise.
34662         (if_freenameindex): Likewise.
34663         (sendto): Use ',' instead of '.' in prototype.
34664         * manual/startup.texi (syscall): Use @dots{} instead of literal
34665         "...".
34666         * manual/stdio.texi (__fpending): Separate initial words of
34667         paragraph from @deftypefun line.
34668         * manual/syslog.texi (syslog): Use @dots{} instead of literal
34669         "...".
34670         (vsyslog): Use @var{} on parameter names.
34671         * manual/terminal.texi (stty): Use @var{} on parameter names.
34672         * manual/users.texi (getutmp): Use @var{} on parameter names.
34673         (getutmpx): Likewise.
34675 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34677         [BZ #6884]
34678         * manual/stdio.texi (fopen): Fix typos in description of
34679         ",ccs=STRING".
34681 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
34683         [BZ #4026]
34684         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34685         get clock_id definition.
34687 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
34689         [BZ #4822]
34690         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34691         (madvise): Cast every argument to void on its own.
34693 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34695         [BZ #9902]
34696         * manual/startup.texi (Exit Status): Fix typo.
34698 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34700         [BZ #10140]
34701         * manual/examples/argp-ex1.c: Include <stdlib.h>.
34702         * manual/examples/argp-ex2.c: Likewise.
34703         * manual/examples/argp-ex3.c: Likewise.
34705 2012-02-16  Richard Henderson  <rth@redhat.com>
34707         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34708         * sysdeps/s390/s390-32/initfini.c: Remove.
34709         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34710         * sysdeps/s390/s390-64/initfini.c: Remove.
34712 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34714         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34715         compiler output for sysdeps/generic/initfini.c.
34716         * sysdeps/sh/elf/initfini.c: Remove file.
34718 2012-02-16  David S. Miller  <davem@davemloft.net>
34720         [BZ #11494]
34721         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34723         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34724         * sysdeps/sparc/crti.S: New file.
34725         * sysdeps/sparc/crtn.S: New file.
34726         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34727         * sysdeps/sparc/sparc64/Makefile: Likewise.
34729 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
34731         [BZ #3335]
34732         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34734 2012-02-15  Roland McGrath  <roland@hack.frob.com>
34736         [BZ #4822]
34737         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34739         * mach/devstream.c (cookie_io_functions_t): Macro removed.
34740         (write, read, close): Likewise.
34741         Patch by Aurelien Jarno <aurelien@aurel32.net>.
34743 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
34745         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34746         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34747         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34748         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34749         <bits/signalfd.h>.
34750         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34751         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34752         bits/signalfd.h.
34754 2012-02-14  Marek Polacek  <polacek@redhat.com>
34756         * sysdeps/x86_64/crti.S: New file.
34757         * sysdeps/x86_64/crtn.S: New file.
34758         * sysdeps/x86_64/elf/initfini.c: Remove file.
34760 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34762         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34763         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34764         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34765         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34766         <bits/inotify.h>.
34767         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34769         bits/inotify.h.
34771 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34773         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34774         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34775         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34776         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34777         <bits/eventfd.h>.
34778         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34779         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34780         bits/eventfd.h.
34782 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
34784         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34785         __feraiseexcept instead of feraiseexcept.
34787         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34788         nanosleep invocations.
34789         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34790         strings, and add error checking for a nanosleep invocations.
34792 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
34794         Replace FSF snail mail address with URLs, as per GNU coding standards.
34795         Most of the snail mail addresses were wrong anyway, and omitting
34796         them makes the source code easier to maintain.  Almost all of the
34797         changes are to license notices and to locale LC_IDENTIFICATION
34798         addresses, except for this one:
34799         * manual/libc.texinfo: In "Published by", give the FSF's URL,
34800         not its snail mail address.
34802 2012-02-09  Richard Henderson  <rth@twiddle.net>
34804         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34805         of kernel-features.h.
34807         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34809 2012-02-08  Marek Polacek  <polacek@redhat.com>
34811         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34812         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34813         * sysdeps/gnu/_G_config.h: Likewise.
34814         * sysdeps/generic/_G_config.h: Likewise.
34816 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
34818         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34819         tests.
34820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34822         * sysdeps/powerpc/powerpc32/crti.S: New file.
34823         * sysdeps/powerpc/powerpc32/crtn.S: New file.
34824         * sysdeps/powerpc/powerpc64/crti.S: New file.
34825         * sysdeps/powerpc/powerpc64/crtn.S: New file.
34827         * Makeconfig (have-initfini): Don't set.
34828         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34829         * configure.in (nopic_initfini): Don't substitute.
34830         * config.h.in (HAVE_INITFINI): Don't #undef.
34831         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34832         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34834 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
34836         Support crti.S and crtn.S provided directly by architectures.
34837         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34838         [crti.S in sysdirs] (omit-deps): Likewise.
34839         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34840         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34841         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34842         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34843         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34844         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34845         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34846         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34847         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34848         compiler output for sysdeps/generic/initfini.c.
34849         * sysdeps/i386/elf/Makefile: Remove file.
34850         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34852 2012-02-07  Marek Polacek  <polacek@redhat.com>
34854         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34855         * sysdeps/gnu/_G_config.h: Likewise.
34856         * sysdeps/mach/hurd/_G_config.h: Likewise.
34858 2012-02-07  Marek Polacek  <polacek@redhat.com>
34860         * math/Makefile (tests): Add tst-CMPLX2.
34861         * math/tst-CMPLX2.c: New file.
34863 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
34865         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34867         * math/libm-test.inc (jn_test): Add missing L suffix.
34869 2012-02-06  Marek Polacek  <polacek@redhat.com>
34871         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34872         * sysdeps/i386/fpu/e_powf.S: Likewise.
34873         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34874         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34875         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34876         * sysdeps/i386/fpu/e_pow.S: Likewise.
34877         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34878         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34879         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34880         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34881         * sysdeps/i386/fpu/e_log2.S: Likewise.
34882         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34883         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34884         * sysdeps/i386/fpu/e_powl.S: Likewise.
34885         * sysdeps/i386/fpu/s_log1p.S: Likewise.
34886         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34887         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34888         * sysdeps/i386/fpu/e_logl.S: Likewise.
34889         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34890         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34891         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34892         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34893         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34894         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34895         * sysdeps/i386/fpu/e_log.S: Likewise.
34896         * sysdeps/i386/fpu/s_cexp.S: Likewise.
34897         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34898         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34899         * sysdeps/i386/fpu/e_logf.S: Likewise.
34900         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34901         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34902         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34903         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34904         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34905         * sysdeps/i386/fpu/e_log10.S: Likewise.
34906         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34907         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34908         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34909         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34910         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34911         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34912         * sysdeps/i386/asm-syntax.h: Likewise.
34913         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34914         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34915         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34916         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34917         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34918         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34919         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34920         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34921         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34922         * sysdeps/powerpc/sysdep.h: Likewise.
34923         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34924         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34926 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34928         [BZ #411]
34929         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34931 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34933         * sysdeps/i386/sysdep.h: Include <features.h>.
34934         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34935         version.
34937 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
34939         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34940         Define.
34941         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34942         LOAD_PIC_REG_STR.
34944 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34946         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34947         (SETUP_PIC_REG): Use GET_PC_THUNK.
34948         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34949         macro.
34951 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34953         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34954         for non-PIC compilation.
34955         (SETUP_PIC_REG): Add .p2align directive.
34956         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34957         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34958         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34959         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34960         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34961         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34962         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34963         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34964         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34965         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34966         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34967         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34968         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34969         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34970         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34971         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34972         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34973         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34974         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34975         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34976         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34977         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34978         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34979         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34980         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34981         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34982         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34983         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34984         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34985         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34986         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34987         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34988         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34989         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34990         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34991         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34992         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34993         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34994         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34995         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34996         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34998 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
35000         * math/tst-CMPLX.c: Include <stdio.h>.
35002 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
35004         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35005         float.
35006         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35007         * sysdeps/sparc/bits/mathdef.h: Likewise.
35009 2012-01-31  Marek Polacek  <polacek@redhat.com>
35011         * libio/libio.h: Don't define _PARAMS.
35012         * locale/programs/config.h: Don't define PARAMS.
35013         * stdlib/strtol_l.c: Likewise.
35014         (__strtol_l): Remove PARAMS from the prototype.
35016 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
35018         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
35019         names.  Just use the correct names.  Remove unnecessary wrapper
35020         functions.
35021         * malloc/arena.c: Likewise.
35022         * malloc/hooks.c: Likewise.
35024         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35025         ARENA_TEST says not to.  Simplify test for creation of a new arena.
35026         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35028 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
35030         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35031         into tail calls.
35032         (update_get_addr): New function.
35033         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35034         GET_ADDR_MODULE parameter.
35036 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35038         * crypt/cert.c: Remove __STDC__ conditionals.
35039         * crypt/crypt-entry.c: Likewise.
35040         * crypt/crypt_util.c: Likewise.
35041         * libio/filedoalloc.c: Likewise.
35042         * libio/fileops.c: Likewise.
35043         * libio/genops.c: Likewise.
35044         * libio/iofclose.c: Likewise.
35045         * libio/iofdopen.c: Likewise.
35046         * libio/iofopen.c: Likewise.
35047         * libio/iofopen64.c: Likewise.
35048         * libio/iogetdelim.c: Likewise.
35049         * libio/iopopen.c: Likewise.
35050         * libio/obprintf.c: Likewise.
35051         * libio/oldfileops.c: Likewise.
35052         * libio/oldiofclose.c: Likewise.
35053         * libio/oldiofdopen.c: Likewise.
35054         * libio/oldiofopen.c: Likewise.
35055         * libio/oldiopopen.c: Likewise.
35056         * libio/wfiledoalloc.c: Likewise.
35057         * libio/wgenops.c: Likewise.
35058         * locale/programs/xmalloc.c: Likewise.
35059         * misc/syslog.c: Likewise.
35060         * stdio-common/xbug.c: Likewise.
35061         * string/memchr.c: Likewise.
35062         * string/memcmp.c: Likewise.
35063         * string/memrchr.c: Likewise.
35064         * string/rawmemchr.c: Likewise.
35065         * sysdeps/posix/getcwd.c: Likewise.
35066         * time/strftime_l.c: Likewise.
35068 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
35070         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35071         * config.make.in (config-cflags-sse2avx): Define.
35072         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35073         Fix typo.
35075 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
35077         * scripts/config.guess: Update from upstream config git repository.
35078         * scripts/config.sub: Likewise.
35080 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
35082         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35083         (EM_NUM): Update.
35084         (R_TILEPRO_*, R_TILEGX_*): New macros.
35086         * scripts/firstversions.awk: Fix bug in version range handling.
35088         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35090         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35092         * include/sys/epoll.h: New file.
35093         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35094         libc_hidden_def.
35096 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
35098         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35099         Avoid unnecessary __WORDSIZE == 64 test.
35100         (fmaxf): Use VEX format if possible.
35101         (fmax): Likewise.
35102         (fminf): Likewise.
35103         (fmin): Likewise.
35105         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35106         * math/math_private.h: Remove libc_fegetround* and
35107         libc_fesetround*.
35108         * sysdeps/i386/configure.in: Check for -msse2avx.
35109         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35110         also if SSE2AVX is defined.
35111         Remove libc_fegetround* and libc_fesetround*.
35112         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35113         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
35114         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35115         of HAS_YMM_USABLE.
35116         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35117         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35118         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35119         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35120         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35122         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35124 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35126         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35127         size is not set.
35128         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35130 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
35132         [BZ #13618]
35133         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35134         relocation.
35135         * Makeconfig (libm): Define.
35136         * elf/Makefile: Add rules to build and run tst-relsort1.
35137         * elf/tst-relsort1.c: New file.
35138         * elf/tst-relsort1mod1.c: New file.
35139         * elf/tst-relsort1mod2.c: New file.
35141 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
35143         * math/s_ldexp.c: Remove __STDC__ conditionals.
35144         * math/s_ldexpf.c: Likewise.
35145         * math/s_ldexpl.c: Likewise.
35146         * math/s_nextafter.c: Likewise.
35147         * math/s_nexttowardf.c: Likewise.
35148         * math/s_significand.c: Likewise.
35149         * math/s_significandf.c: Likewise.
35150         * math/s_significandl.c: Likewise.
35151         * math/w_jnl.c: Likewise.
35152         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35153         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35154         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35155         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35156         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35157         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35158         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35159         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35160         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35161         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35162         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35163         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35164         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35165         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35166         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35167         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35168         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35169         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35170         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35171         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35172         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35173         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35174         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35175         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35176         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35177         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35178         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35179         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35180         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35181         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35182         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35183         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35184         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35185         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35186         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35187         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35188         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35189         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35190         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35191         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35192         * sysdeps/ieee754/k_standard.c: Likewise.
35193         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35194         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35195         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35196         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35197         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35198         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35199         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35200         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35201         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35202         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35203         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35204         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35205         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35206         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35207         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35208         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35209         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35210         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35211         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35212         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35213         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35214         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35215         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35216         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35217         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35218         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35219         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35220         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35221         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35222         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35223         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35224         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35225         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35226         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35227         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35228         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35229         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35230         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35231         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35232         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35233         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35234         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35235         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35236         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35237         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35238         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35239         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35240         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35241         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35242         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35243         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35244         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35245         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35246         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35247         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35248         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35249         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35250         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35251         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35252         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35253         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35254         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35255         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35256         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35257         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35258         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35259         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35260         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35261         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35262         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35263         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35264         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35265         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35266         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35267         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35268         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35269         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35270         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35271         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35272         * sysdeps/ieee754/s_matherr.c: Likewise.
35273         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35274         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35275         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35276         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35278 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35280         * crypt/md5.h: Remove __STDC__ conditionals.
35281         * libio/libioP.h: Likewise.
35282         * locale/programs/config.h: Likewise.
35283         * sysdeps/generic/sysdep.h: Likewise.
35284         * sysdeps/i386/asm-syntax.h: Likewise.
35285         * sysdeps/s390/asm-syntax.h: Likewise.
35286         * sysdeps/unix/sysdep.h: Likewise.
35287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35290 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35292         * libio/libio.h: Remove __STDC__ conditionals.
35293         * malloc/obstack.h: Likewise.
35294         * math/complex.h: Likewise.
35295         * math/math.h: Likewise.
35296         * sysdeps/generic/_G_config.h: Likewise.
35297         * sysdeps/gnu/_G_config.h: Likewise.
35298         * sysdeps/mach/hurd/_G_config.h: Likewise.
35299         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35300         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35301         * sysdeps/sparc/bits/mathdef.h: Likewise.
35303 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
35305         [BZ #13583]
35306         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35307         Clean up HAS_* macros.
35308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35309         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35310         possible.
35311         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35312         HAS_AVX.
35313         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35314         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35315         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35316         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35317         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35319 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
35321         * elf/tst-unique3.cc (gets): Remove declaration.
35322         * elf/tst-unique3lib.cc (gets): Likewise.
35323         * elf/tst-unique3lib2.cc (gets): Likewise.
35324         * elf/tst-unique4.cc (gets): Likewise.
35326 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
35328         * include/stdio.h: Add C++ protection.  Add gets declarations and
35329         definitions.
35330         * debug/tst-chk1.c: Don't declare gets here.
35331         * stdio-common/tst-gets.c: Likewise.
35333 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35335         * posix/glob: Remove directory.
35337 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35339         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35341 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
35343         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35344         of the non-standard EPFNOSUPPORT.
35346 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35348         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35349         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35350         ANYWHERE set to 1 only on KERN_NO_SPACE error.
35352 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
35354         * wcsmbs/uchar.h: Test __STDC_VERSION__.
35356 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
35358         * nscd/aicache.c (addhstaiX): Do not cache negative results of
35359         transient errors.
35360         * nscd/grpcache.c (cache_addgr): Likewise.
35361         * nscd/hstcache.c (cache_addhst): Likewise.
35362         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35363         * nscd/pwdcache.c (cache_addpw): Likewise.
35364         * nscd/servicescache.c (cache_addserv): Likewise.
35366 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
35368         * malloc/malloc.c: Various cleanups.
35369         * malloc/hooks.c: Likewise.
35371         * stdlib/Makefile (tests): Add bug-fmtmsg1.
35372         * stdlib/bug-fmtmsg1.c: New file.
35374         * stdlib/fmtmsg.c (init): Add missing unlock.
35375         Patch by Peng Haitao <penght@cn.fujitsu.com>.
35377 2012-01-12  Marek Polacek  <polacek@redhat.com>
35379         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35380         and _GNU_SOURCE.
35382 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35384         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35385         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35386         macro to ensure uniqueness of label name.
35387         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35388         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35390 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
35392         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35394         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35395         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35396         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35397         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35399 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
35401         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35403         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35404         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35405         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35407         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35409         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35410         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35411         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35412         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35414         * math/bits/math-finite.h: Add ldexp support.
35416 2012-01-10  Marek Polacek  <polacek@redhat.com>
35418         * locale/programs/localedef.h (show_archive_content): Add noreturn
35419         attribute.
35421 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
35423         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35425 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35427         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35429         * io/Makefile (headers): Add bits/poll2.h.
35431 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
35433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35434         typo #include statement.
35436 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35438         * include/sys/cdefs.h: Define __attribute_alloc_size.
35439         * catgets/gencat.c: Add alloc_size attribute and apply consistently
35440         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35441         * elf/pldd.c: Likewise.
35442         * iconv/iconv_charmap.c: Likewise.
35443         * iconv/iconvconfig.c: Likewise.
35444         * iconv/strtab.c: Likewise.
35445         * locale/programs/locale.c: Likewise.
35446         * locale/programs/localedef.h: Likewise.
35447         * locale/programs/simple-hash.c: Likewise.
35448         * nscd/nscd.h: Likewise.
35449         * nss/makedb.c: Likewise.
35450         * sysdeps/generic/ldconfig.h: Likewise.
35451         * locale/programs/localedef.c: Remove xmalloc prototype.
35452         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35454 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35456         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35457         appropriate.
35459 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35461         * math/Makefile (tests): Add tst-CMPLX.
35462         * math/tst-CMPLX.c: New file.
35464         * math/complex.h (CMPLXL): Fix typo.
35466         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35467         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35468         GLIBC_2.16.
35469         * debug/tst-chk1.c: Add poll and ppoll tests.
35470         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35471         * include/sys/poll.h: Add hidden proto for ppoll.
35472         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35473         * sysdeps/mach/hurd/ppoll.c: Likewise.
35474         * io/ppoll.c: Likewise.
35475         * debug/poll_chk.c: New file.
35476         * debug/ppoll_chk.c: New file.
35477         * include/bits/poll2.h: New file.
35478         * io/bits/poll2.h: New file.
35480         [BZ #1350]
35481         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35483         * configure.in: static is always set to yes.  Remove.
35484         * config.make.in: Don't set build-static.
35485         * Makeconfig: Remove use of build-static.
35486         * dlfcn/Makefile: Likewise.
35487         * elf/Makefile: Likewise.
35488         * math/Makefile: Likewise.
35489         * misc/Makefile: Likewise.
35490         * nptl/Makefile: Likewise.
35491         * sysdeps/mach/hurd/Makefile: Likewise.
35493         * configure.in: PWD_P is not used anymore.
35494         * config.make.in: Remove PWD_P entry.
35496         * configure.in: Remove last remnants of RANLIB.
35497         No need to check for signed size_t anymore.
35498         Don't set libc_commonpagesize and libc_relro_required here for Alpha
35499         and IA-64.
35500         Remove __builtin_expect test because we require at least gcc 3.4.
35501         * aclocal.m4: Likewise.
35503         * wcsmbs/mbrtoc16.c: Implement using towc function.
35504         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35505         * wcsmbs/wcsmbsload.c: Likewise.
35506         * iconv/gconv_simple.c: Likewise.
35507         * iconv/gconv_int.h: Likewise.
35508         * iconv/gconv_builtin.h: Likewise.
35509         * iconv/iconv_prog.c: Remove CHAR16 handling.
35511         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35513         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35515         * configure.in: Remove --with-elf and --enable-bounded options.
35516         Dont set base_machine for ia64.  More non-ELF conditions removed.
35517         Remove testing and setting of leading underscore information.
35518         * config.make.in (build-bounded): Set to no.
35519         * config.h.in: Remove NO_UNDERSCORES entry.
35520         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
35521         them.
35522         * csu/start.c: Remove !NO_UNDERSCORE code.
35523         * locale/localeinfo.h: Likewise.
35524         * sysdeps/generic/machine-gmon.h: Likewise.
35525         * sysdeps/generic/sysdep.h: Likewise.
35526         * sysdeps/i386/sysdep.h: Likewise.
35527         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35528         * sysdeps/mach/sysdep.h: Likewise.
35529         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35530         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35531         * sysdeps/sh/sysdep.h: Likewise.
35532         * sysdeps/sparc/sparc32/alloca.S: Likewise.
35533         * sysdeps/unix/i386/sysdep.S: Likewise.
35534         * sysdeps/unix/sparc/start.c: Likewise.
35535         * sysdeps/unix/sparc/sysdep.S: Likewise.
35536         * sysdeps/unix/sparc/sysdep.h: Likewise.
35537         * sysdeps/unix/start.c: Likewise.
35538         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35539         * sysdeps/x86_64/sysdep.h: Likewise.
35541 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
35543         [BZ #13553]
35544         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35545         for non-gcc.
35546         * argp/argp-fmtstream.h: Use const instead __const.
35547         * argp/argp.h: Likewise.
35548         * assert/assert.h: Likewise.
35549         * bits/fenv.h: Likewise.
35550         * bits/sched.h: Likewise.
35551         * bits/sigset.h: Likewise.
35552         * bits/sigthread.h: Likewise.
35553         * catgets/nl_types.h: Likewise.
35554         * conform/data/pthread.h-data: Likewise.
35555         * crypt/crypt-private.h: Likewise.
35556         * crypt/crypt.h: Likewise.
35557         * crypt/crypt_util.c: Likewise.
35558         * ctype/ctype.h: Likewise.
35559         * debug/execinfo.h: Likewise.
35560         * debug/mbsnrtowcs_chk.c: Likewise.
35561         * debug/mbsrtowcs_chk.c: Likewise.
35562         * debug/wcsnrtombs_chk.c: Likewise.
35563         * debug/wcsrtombs_chk.c: Likewise.
35564         * debug/wcstombs_chk.c: Likewise.
35565         * dirent/dirent.h: Likewise.
35566         * dlfcn/dlfcn.h: Likewise.
35567         * elf/neededtest4.c: Likewise.
35568         * grp/grp.h: Likewise.
35569         * gshadow/gshadow.h: Likewise.
35570         * iconv/gconv.h: Likewise.
35571         * iconv/gconv_int.h: Likewise.
35572         * iconv/gconv_simple.c: Likewise.
35573         * iconv/iconv.h: Likewise.
35574         * iconv/loop.c: Likewise.
35575         * iconv/skeleton.c: Likewise.
35576         * include/aio.h: Likewise.
35577         * include/aliases.h: Likewise.
35578         * include/argz.h: Likewise.
35579         * include/arpa/inet.h: Likewise.
35580         * include/assert.h: Likewise.
35581         * include/dirent.h: Likewise.
35582         * include/dlfcn.h: Likewise.
35583         * include/execinfo.h: Likewise.
35584         * include/fcntl.h: Likewise.
35585         * include/fenv.h: Likewise.
35586         * include/glob.h: Likewise.
35587         * include/grp.h: Likewise.
35588         * include/libintl.h: Likewise.
35589         * include/mntent.h: Likewise.
35590         * include/netdb.h: Likewise.
35591         * include/pwd.h: Likewise.
35592         * include/rpc/netdb.h: Likewise.
35593         * include/sched.h: Likewise.
35594         * include/search.h: Likewise.
35595         * include/shadow.h: Likewise.
35596         * include/signal.h: Likewise.
35597         * include/stdio.h: Likewise.
35598         * include/stdlib.h: Likewise.
35599         * include/string.h: Likewise.
35600         * include/sys/socket.h: Likewise.
35601         * include/sys/stat.h: Likewise.
35602         * include/sys/statfs.h: Likewise.
35603         * include/sys/statvfs.h: Likewise.
35604         * include/sys/syslog.h: Likewise.
35605         * include/sys/time.h: Likewise.
35606         * include/sys/uio.h: Likewise.
35607         * include/time.h: Likewise.
35608         * include/unistd.h: Likewise.
35609         * include/utmp.h: Likewise.
35610         * include/wchar.h: Likewise.
35611         * include/wctype.h: Likewise.
35612         * inet/aliases.h: Likewise.
35613         * inet/arpa/inet.h: Likewise.
35614         * inet/netinet/ether.h: Likewise.
35615         * inet/netinet/in.h: Likewise.
35616         * intl/libintl.h: Likewise.
35617         * io/bits/fcntl2.h: Likewise.
35618         * io/fcntl.h: Likewise.
35619         * io/ftw.h: Likewise.
35620         * io/sys/poll.h: Likewise.
35621         * io/sys/stat.h: Likewise.
35622         * io/sys/statfs.h: Likewise.
35623         * io/sys/statvfs.h: Likewise.
35624         * io/utime.h: Likewise.
35625         * libio/bits/stdio.h: Likewise.
35626         * libio/bits/stdio2.h: Likewise.
35627         * libio/libio.h: Likewise.
35628         * libio/libioP.h: Likewise.
35629         * libio/stdio.h: Likewise.
35630         * locale/lc-ctype.c: Likewise.
35631         * locale/locale.h: Likewise.
35632         * login/utmp.h: Likewise.
35633         * malloc/arena.c: Likewise.
35634         * malloc/malloc.c: Likewise.
35635         * malloc/malloc.h: Likewise.
35636         * malloc/mcheck.c: Likewise.
35637         * malloc/mtrace.c: Likewise.
35638         * math/bits/mathcalls.h: Likewise.
35639         * math/fenv.h: Likewise.
35640         * math/math_private.h: Likewise.
35641         * misc/bits/error.h: Likewise.
35642         * misc/bits/syslog.h: Likewise.
35643         * misc/err.h: Likewise.
35644         * misc/error.h: Likewise.
35645         * misc/fstab.h: Likewise.
35646         * misc/mntent.h: Likewise.
35647         * misc/regexp.h: Likewise.
35648         * misc/search.h: Likewise.
35649         * misc/sgtty.h: Likewise.
35650         * misc/sys/mman.h: Likewise.
35651         * misc/sys/syslog.h: Likewise.
35652         * misc/sys/uio.h: Likewise.
35653         * misc/sys/xattr.h: Likewise.
35654         * misc/ttyent.h: Likewise.
35655         * nis/rpcsvc/ypclnt.h: Likewise.
35656         * nss/nss.h: Likewise.
35657         * posix/bits/unistd.h: Likewise.
35658         * posix/fnmatch.h: Likewise.
35659         * posix/glob.h: Likewise.
35660         * posix/sched.h: Likewise.
35661         * posix/spawn.h: Likewise.
35662         * posix/sys/wait.h: Likewise.
35663         * posix/unistd.h: Likewise.
35664         * posix/wordexp.h: Likewise.
35665         * pwd/pwd.h: Likewise.
35666         * resolv/netdb.h: Likewise.
35667         * resource/sys/resource.h: Likewise.
35668         * rt/aio.h: Likewise.
35669         * rt/bits/mqueue2.h: Likewise.
35670         * rt/mqueue.h: Likewise.
35671         * shadow/shadow.h: Likewise.
35672         * signal/signal.h: Likewise.
35673         * socket/send.c: Likewise.
35674         * socket/sendto.c: Likewise.
35675         * socket/sys/socket.h: Likewise.
35676         * stdio-common/printf.h: Likewise.
35677         * stdlib/bits/stdlib.h: Likewise.
35678         * stdlib/fmtmsg.h: Likewise.
35679         * stdlib/monetary.h: Likewise.
35680         * stdlib/stdlib.h: Likewise.
35681         * stdlib/ucontext.h: Likewise.
35682         * streams/stropts.h: Likewise.
35683         * string/argz.h: Likewise.
35684         * string/bits/string2.h: Likewise.
35685         * string/string.h: Likewise.
35686         * string/strings.h: Likewise.
35687         * sunrpc/rpc/auth.h: Likewise.
35688         * sunrpc/rpc/auth_des.h: Likewise.
35689         * sunrpc/rpc/clnt.h: Likewise.
35690         * sunrpc/rpc/netdb.h: Likewise.
35691         * sunrpc/rpc/pmap_clnt.h: Likewise.
35692         * sunrpc/rpc/xdr.h: Likewise.
35693         * sysdeps/generic/inttypes.h: Likewise.
35694         * sysdeps/generic/net/if.h: Likewise.
35695         * sysdeps/generic/sys/swap.h: Likewise.
35696         * sysdeps/gnu/net/if.h: Likewise.
35697         * sysdeps/gnu/utmpx.h: Likewise.
35698         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35699         * sysdeps/i386/i486/bits/string.h: Likewise.
35700         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35701         * sysdeps/s390/bits/string.h: Likewise.
35702         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35703         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35704         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35705         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35706         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35707         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35708         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35709         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35710         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35711         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35712         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35713         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35714         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35715         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35716         * sysdeps/unix/sysv/linux/readv.c: Likewise.
35717         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35718         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35719         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35720         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35721         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35722         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35723         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35724         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35725         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35726         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35727         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35728         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35729         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35730         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35731         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35732         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35733         * sysvipc/sys/ipc.h: Likewise.
35734         * sysvipc/sys/msg.h: Likewise.
35735         * sysvipc/sys/sem.h: Likewise.
35736         * sysvipc/sys/shm.h: Likewise.
35737         * termios/termios.h: Likewise.
35738         * time/sys/time.h: Likewise.
35739         * time/time.h: Likewise.
35740         * wcsmbs/bits/wchar2.h: Likewise.
35741         * wcsmbs/uchar.h: Likewise.
35742         * wcsmbs/wchar.h: Likewise.
35743         * wctype/wctype.h: Likewise.
35745         [BZ #13551]
35746         * Makeconfig: Remove all but ELF support including AIX support.
35747         * Makerules: Likewise.
35748         * config.h.in: Likewise.
35749         * config.make.in: Likewise.
35750         * configure: Likewise.
35751         * configure.in: Likewise.
35752         * csu/Makefile: Likewise.
35753         * csu/version.c: Likewise.
35754         * debug/Makefile: Likewise.
35755         * dlfcn/Makefile: Likewise.
35756         * elf/Makefile: Likewise.
35757         * extra-lib.mk: Likewise.
35758         * iconv/Makefile: Likewise.
35759         * include/libc-symbols.h: Likewise.
35760         * include/shlib-compat.h: Likewise.
35761         * resolv/Makefile: Likewise.
35762         * resolv/res_libc.c: Likewise.
35763         * rt/Makefile: Likewise.
35764         * sysdeps/i386/asm-syntax.h: Likewise.
35765         * sysdeps/i386/sysdep.h: Likewise.
35766         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35767         * sysdeps/mach/sysdep.h: Likewise.
35768         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35769         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35770         * sysdeps/s390/asm-syntax.h: Likewise.
35771         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35772         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35773         * sysdeps/sh/sysdep.h: Likewise.
35774         * sysdeps/unix/sparc/sysdep.h: Likewise.
35775         * sysdeps/wordsize-32/divdi3.c: Likewise.
35776         * sysdeps/x86_64/sysdep.h: Likewise.
35778         * argp/Versions: Remove _argp_unlock_xxx.
35780         [BZ #13559]
35781         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
35782         * abilist/libBrokenLocale.abilist: Likewise.
35783         * abilist/libanl.abilist: Likewise.
35784         * abilist/libc.abilist: Likewise.
35785         * abilist/libcrypt.abilist: Likewise.
35786         * abilist/libdl.abilist: Likewise.
35787         * abilist/libm.abilist: Likewise.
35788         * abilist/libnsl.abilist: Likewise.
35789         * abilist/libpthread.abilist: Likewise.
35790         * abilist/libresolv.abilist: Likewise.
35791         * abilist/librt.abilist: Likewise.
35792         * abilist/libthread_db.abilist: Likewise.
35793         * abilist/libutil.abilist: Likewise.
35794         * abilist/libnss_db.abilist: New file.
35796         * scripts/abilist.awk: Add support for indirect functions.
35798         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35800         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35802         * shlib-versions: Remove entries for ports architectures.
35804         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
35805         files in ports.
35806         * elf/stackguard-macros.h: Remove support for IA-64.
35807         * elf/tst-auditmod1.c: Likewise.
35808         * sysdeps/generic/ldsodefs.h: Likewise.
35810         * sysdeps/unix/sysv/linux/configure.in: Ports should define
35811         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35812         configure files.
35814         [BZ #13552]
35815         * configure.in: Remove --enable-omitfp support.
35816         * FAQ.in: Adjust.
35817         * config.make.in: Likewise.
35818         * Makeconfig: Likewise.
35819         * manual/install.texi: Likewise.
35821         In case anyone cares, the IA-64 architecture could move to ports.
35822         * sysdeps/ia64/*: Removed.
35823         * sysdeps/unix/sysv/linux/ia64/*: Removed.
35824         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35826         [BZ #13555]
35827         * configure.in: Remove entries for unsupported architectures.
35829         [BZ #13533]
35830         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35831         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
35832         routines.
35833         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35834         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35835         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
35836         fall back to using wcrtomb.
35837         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35838         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
35839         renaming.
35840         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35841         * wcsmbs/tst-c16c32-1.c: New file.
35843         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35844         local variable.
35846         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35848         * elf/tst-unique3.cc: Add explicit declaration of gets.
35849         * elf/tst-unique3lib.cc: Likewise.
35850         * elf/tst-unique3lib2.cc: Likewise.
35851         * elf/tst-unique4.cc: Likewise.
35853         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35855 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
35857         [BZ #13566]
35858         * assert/assert.h (static_assert): Don't define for C++.
35859         * libio/stdio.h (gets): Do declare for C++ <= C++11.
35860         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35862 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
35864         * iconv/loop.c (single loop): Fix assertion in storing of
35865         remaining bytes.
35867         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35869 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
35871         * posix/getconf.c: Update copyright year.
35872         * nss/getent.c: Likewise.
35873         * nss/makedb.c: Likewise.
35874         * iconv/iconvconfig.c: Likewise.
35875         * iconv/iconv_prog.c: Likewise.
35876         * elf/ldconfig.c: Likewise.
35877         * elf/pldd.c: Likewise.
35878         * elf/sotruss.ksh: Likewise.
35879         * catgets/gencat.c: Likewise.
35880         * csu/version.c: Likewise.
35881         * elf/ldd.bash.in: Likewise.
35882         * elf/sprof.c (print_version): Likewise.
35883         * locale/programs/locale.c: Likewise.
35884         * locale/programs/localedef.c: Likewise.
35885         * login/programs/pt_chown.c: Likewise.
35886         * nscd/nscd.c (print_version): Likewise.
35887         * debug/xtrace.sh: Likewise.
35888         * malloc/memusage.sh: Likewise.
35889         * malloc/mtrace.pl: Likewise.
35890         * debug/catchsegv.sh: Likewise.
35892 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
35894         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35895         pure attribute.
35897 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
35899         [BZ #13533]
35900         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35901         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35902         transformations.
35903         * iconv/gconv_int.h: Likewise.
35904         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35905         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35906         from libc for GLIBC_2.16.
35907         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35908         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35909         * wcsmbs/uchar.h: Really define mbstate_t.
35910         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35911         * wcsmbs/c16rtomb.c: New file.
35912         * wcsmbs/mbrtoc16.c: New file.
35913         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35914         for C/POSIX locale.
35915         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35916         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35918         * wcsmbs/wchar.h: Add missing __restrict.
35920 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35922         [BZ #13532]
35923         * time/Makefile (routines): Add timespec_get.
35924         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35925         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
35926         timespec for ISO C11.
35927         * time/timespec_get.c: New file.
35928         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35929         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35931         [BZ #13531]
35932         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35933         * stdlib/stdlib.h: Declare aligned_alloc.
35934         * Versions.def: Add GLIBC_2.16 for libc.
35935         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35937         [BZ 13527]
35938         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35939         ISO C11.
35941         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35942         code.
35944         [BZ #13528]
35945         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35947         [BZ #13529]
35948         * assert/assert.h (static_assert): Define.
35950         * version.h: Update for 2.16 development version.
35952         [BZ #13526]
35953         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35954         _ISOC11_SOURCE.
35956         * version.h (RELEASE): Bump for 2.15 release.
35957         * include/features.h (__GLIBC_MINOR__): Bump to 15.
35959         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35960         Patch by Marek Polacek <mpolacek@redhat.com>.
35962         * bits/byteswap.h: Protect long long constants with __extension__.
35963         * sysdeps/i386/bits/byteswap.h: Likewise.
35964         * sysdeps/ia64/bits/byteswap.h: Likewise.
35965         * sysdeps/s390/bits/byteswap.h: Likewise.
35966         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35968 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35970         [BZ #13540]
35971         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35972         destination buffer.
35973         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35975 2011-12-23  Marek Polacek  <polacek@redhat.com>
35977         * elf/dl-addr.c (determine_info): Add inline keyword.
35978         * elf/tst-auditmod4b.c (check_avx): Likewise.
35979         * elf/tst-auditmod6b.c (check_avx): Likewise.
35980         * elf/tst-auditmod6c.c (check_avx): Likewise.
35981         * elf/tst-auditmod7b.c (check_avx): Likewise.
35983 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35985         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35986         !__SSE_MATH__.
35988 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35990         [BZ #13540]
35991         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35992         processing for last bytes.
35994 2011-08-06  Bruno Haible  <bruno@clisp.org>
35996         [BZ #13061]
35997         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35998         U+0385, not to U+1FEE.
36000         [BZ #13062]
36001         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36002         entry for U+00A5 U+0301.
36004 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36006         [BZ #13166]
36007         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36008         buffer for the output is too small.
36010         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36011         optimization.
36013         [BZ #13185]
36014         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36015         SSE flags if possible.
36017 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36019         [BZ #13540]
36020         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36021         processing for last bytes.
36023 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
36025         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36026         (syscall-list-default-options, syscall-list-default-condition)
36027         (syscall-list-includes): Define.
36028         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36029         list of ABIs and options and #if conditions for each ABI.  Do not
36030         handle common syscalls between ABIs specially.
36031         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36032         Remove.
36033         (syscall-list-variants, syscall-list-32bit-options)
36034         (syscall-list-32bit-condition, syscall-list-64bit-options)
36035         (syscall-list-64bit-condition): Define.
36036         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36037         (syscall-list-variants, syscall-list-32bit-options)
36038         (syscall-list-32bit-condition, syscall-list-64bit-options)
36039         (syscall-list-64bit-condition): Define.
36040         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36041         Remove.
36042         (syscall-list-variants, syscall-list-32bit-options)
36043         (syscall-list-32bit-condition, syscall-list-64bit-options)
36044         (syscall-list-64bit-condition): Define.
36045         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36046         Remove.
36047         (syscall-list-variants, syscall-list-32bit-options)
36048         (syscall-list-32bit-condition, syscall-list-64bit-options)
36049         (syscall-list-64bit-condition): Define.
36051 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
36053         * locale/iso-639.def: Add brx entry.
36055         [BZ #13328]
36056         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36057         Proposed by Mariusz_Cukr <marcukr@op.pl>.
36059         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36060         __feraiseexcept_renamed.
36062 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36064         [BZ #13538]
36065         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36066         EPOLLET with unsigned values.
36067         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36068         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36070         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36071         to large cancellation.
36072         * math/s_cacoshf.c: Likewise.
36073         * math/s_cacoshl.c: Likewise.
36075 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
36077         [BZ #13305]
36078         [BZ #12786]
36079         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36080         * math/s_cacoshf.c: Likewise.
36081         * math/s_cacoshl.c: Likewise.
36083 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
36085         [BZ #13439]
36086         * iconv/gconv.h: Define __GCONV_SWAP.
36087         * iconvdata/unicode.c: The swap bit must be stored in __flags.
36088         * iconvdata/utf-16.c: Likewise.
36089         * iconvdata/utf-32.c: Likewise.
36091 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36093         [BZ #13524]
36094         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36095         numerator after shifting it by one limb.
36097 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
36099         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36100         under [__USE_EXTERN_INLINES].
36102 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36104         [BZ #13446]
36105         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36107 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36109         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36110         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36111         optimized code.
36112         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36113         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36114         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36115         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36116         for strncasecmp/strncasecmp_l compilation.
36117         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36118         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36120 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
36122         [BZ #13484]
36123         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36124         of __asm__.
36126 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
36128         [BZ #13506]
36129         * time/tzfile.c (__tzfile_read): Check values from file header.
36131 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36133         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36134         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36135         * powerpc/powerpc32/dl-start.S: Likewise.
36136         * powerpc/powerpc32/elf/start.S: Likewise.
36137         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36138         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36139         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36140         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36141         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36142         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36143         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36144         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36145         * powerpc/powerpc32/fpu/s_round.S: Likewise.
36146         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36147         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36148         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36149         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36150         * powerpc/powerpc32/memset.S: Likewise.
36151         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36152         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36153         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36154         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36155         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36156         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36157         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36158         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36159         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36160         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36161         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36162         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36163         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36165 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36167         * math/libm-test.inc: Added more nearbyint tests.
36168         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36169         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36170         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36171         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36173 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
36175         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36176         FD_CLOEXEC.
36178 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36180         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36181         Add wcscpy-ssse3 wcscpy-c.
36182         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36183         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36184         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36185         * sysdeps/x86_64/wcschr.S: New file.
36186         * sysdeps/x86_64/wcsrchr.S: New file.
36187         * string/test-strcmp.c: Remove checking of wcscmp function for
36188         wrong alignments.
36189         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36190         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36191         wcsrchr-sse2 wcsrchr-c.
36192         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36193         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36194         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36195         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36196         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36197         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36198         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36199         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36200         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36201         * wcsmbc/wcschr.c (WCSCHR): New macro.
36203 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36205         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36206         * wcsmbs/test-wcsrchr.c: New file.
36207         * string/test-strrchr.c: Add wcsrchr support.
36208         (WIDE): New macro.
36209         * wcsmbs/test-wcscpy.c: New file.
36210         * string/test-strcpy.c: Add wcscpy support.
36211         (WIDE): New macro.
36213 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
36215         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36216         the inner loop.
36218 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
36220         [BZ #13472]
36221         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36223 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
36225         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36226         Minor optimizations.
36228         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36229         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36230         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36232 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
36234         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36235         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36236         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36237         for gcc to avoid warnings.
36238         * inet/Makefile (tests): Add tst-checks.
36239         * inet/tst-checks.c: New file.
36241         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36242         warning.
36244         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36245         __wmemcmp_sse2.
36247         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36248         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36250         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36252 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
36254         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36255         problem.
36257         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36259 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
36261         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36262         conditional on GCC version.
36263         (__arch_compare_and_exchange_val_8_acq)
36264         (__arch_compare_and_exchange_val_16_acq)
36265         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36266         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36267         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36269 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
36271         * sysdeps/sh/backtrace.c: New file.
36273 2011-12-02  Andreas Schwab  <schwab@redhat.com>
36275         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
36276         parenthesis.
36278 2011-12-01  Andreas Schwab  <schwab@redhat.com>
36280         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36281         falling back to utime.
36283 2011-11-30  Andreas Schwab  <schwab@redhat.com>
36285         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36286         expectations for float.
36288 2011-11-29  Andreas Schwab  <schwab@redhat.com>
36290         * locale/weight.h (findidx): Add parameter len.
36291         * locale/weightwc.h (findidx): Likewise.
36292         * posix/fnmatch_loop.c (FCT): Adjust caller.
36293         * posix/regcomp.c (build_equiv_class): Likewise.
36294         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36295         * posix/regexec.c (check_node_accept_bytes): Likewise.
36296         * string/strcoll_l.c (STRCOLL): Likewise.
36297         * string/strxfrm_l.c (STRXFRM): Likewise.
36299 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
36301         * Makefile.in: Remove CVSOPT handling.
36302         * configure.in: Remove use of AC_REVISION.
36303         * iconvdata/Makefile (distribute): No need to filter out CVS.
36304         * scripts/list-sources.sh: Remove CVS, subversion and monotone
36305         handling.
36307 2011-11-16  Andreas Schwab  <schwab@redhat.com>
36309         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36310         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36311         [USE_AS_STRNCASECMP_L]: Likewise.
36312         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36313         NO_TLS_DIRECT_SEG_REFS.
36314         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36315         Fix argument offsets for non-PIC.
36316         [USE_AS_STRNCASECMP_L]: Likewise.
36317         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36318         NO_TLS_DIRECT_SEG_REFS.
36320 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36322         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36323         O_CLOEXEC.
36324         * locale/loadlocale.c (_nl_load_locale): Likewise.
36326 2011-11-15  Andreas Schwab  <schwab@redhat.com>
36328         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36329         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36330         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36331         (SYSCALL_GETTIME): Set errno on error.
36333         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36334         count references to noai6ai_cached.
36336 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36338         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36340         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36341         FD_CLOEXEC for /proc/self/maps.
36343         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36344         FD_CLOEXEC for /proc/meminfo.
36346         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36347         gai.conf.
36349         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
36350         FD_CLOEXEC for given file.
36352         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36354         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36355         FD_CLOEXEC for /etc/hosts.
36356         (_gethtent): Likewise.
36358         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36360         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36361         cancellation and set FD_CLOEXEC for /etc/netgroup.
36363         * nss/nss_files/files-key.c (search): Don't allow cancellation when
36364         reading /etc/publickey.
36366         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36367         allow cancellation when reading /etc/group.
36369         * nss/nss_files/files-alias.c (internal_setent): Don't allow
36370         cancellation.
36371         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
36373         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36374         when using data file.
36376         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36378         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36379         (write_nis_obj): Use "c" and "e" in fopen.
36381         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36383         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36385         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36387         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36389         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36390         locale.alias.
36392         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36394         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36396         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36398         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36399         file parsing and set FD_CLOEXEC.
36401 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36403         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36405 2011-11-14  Andreas Schwab  <schwab@redhat.com>
36407         * malloc/arena.c (arena_get2): Don't call reused_arena when
36408         _int_new_arena failed.
36410 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36412         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36413         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36414         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36415         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36416         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36417         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36418         to compile strcasecmp and strncasecmp.
36419         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36420         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36422         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36424 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
36426         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36427         locale-defines.sym to gen-as-const-headers.
36428         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36429         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36430         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36431         to compile strcasecmp and strncasecmp.
36432         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36433         strcasecmp_l and strncasecmp_l.
36434         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36435         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36436         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36437         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36438         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36439         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36440         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36441         * sysdeps/i386/i686/multiarch/strncase.S: New file.
36442         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36443         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36444         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36446 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
36448         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36449         result of SYSDEP_GETTIME_CPU to retval.
36450         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36451         parameter list to macro.  Remove trailing semicolon.  Adjust users.
36453         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36454         variable.
36456         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36457         mantissa words.
36458         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36460         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36461         from unused variable.
36463         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36464         DWARF definitions.
36465         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36466         for assembling.
36468         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36469         over namespaces.
36471         * sunrpc/rpc_prot.c (rejected): Fix case value.
36473         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36474         unsigned long long int to avoid warnings in shift.
36476         * posix/regex_internal.c (re_string_reconstruct): Actually use result
36477         of use of trans.
36478         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36479         variable tmp.
36481         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36482         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36483         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36485         * nis/nis_table.c (nis_list): Use variable of correct type for
36486         result of __follow_path call.
36488 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36490         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36491         of math functions ceil, trunc, floor, round, and sqrt, when
36492         avaliable on the platform.
36493         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36494         name clash.
36495         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36496         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36497         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36499 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
36501         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36502         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36504 2011-11-11  Roland McGrath  <roland@hack.frob.com>
36506         * include/unistd.h: Fix __readlink return type.
36507         Reported by Chris Metcalf <cmetcalf@tilera.com>.
36509 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
36511         * stdlib/ucontext.h: Undo last change for makecontext.
36513 2011-11-11  Andreas Schwab  <schwab@redhat.com>
36515         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36517         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36518         * setjmp/setjmp.h: Mark functions as non-leaf.
36519         * setjmp/bits/setjmp2.h: Likewise.
36520         * stdlib/ucontext.h: Likewise.
36522 2011-11-10  Andreas Schwab  <schwab@redhat.com>
36524         * malloc/arena.c (_int_new_arena): Don't increment narenas.
36525         (reused_arena): Don't check arena limit.
36526         (arena_get2): Atomically check arena limit.
36528 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
36530         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36531         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36533         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36534         instructions.
36536 2011-11-07  Andreas Schwab  <schwab@redhat.com>
36538         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36539         handler when locking.
36541         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36542         Fix size of allocated buffer.
36544 2011-11-04  Andreas Schwab  <schwab@redhat.com>
36546         [BZ #10103]
36547         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36548         declarations for long double functions.
36549         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36551         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36553 2011-11-03  Andreas Schwab  <schwab@redhat.com>
36555         * nscd/nscd.c (main): Don't start AVC thread until credentials are
36556         installed.
36558         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36559         is disabled.
36561 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36563         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36565 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36567         * include/alloca.h (stackinfo_alloca_round): Define.
36568         (extend_alloca): Use it.
36569         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36570         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36571         here.
36573         * scripts/check-local-headers.sh: Ignore libaudit.h.
36575         * nscd/Makefile (extra-objs): Make recursively expanded.
36577 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
36579         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36580         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36582         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36583         * posix/tst-rfc3484-2.c: Likewise.
36584         * posix/tst-rfc3484-3.c: Likewise.
36586         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36587         process_vm_writev.
36588         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36589         process_vm_writev.
36590         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36591         process_vm_writev from libc using GLIBC_2.15 version.
36593         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36595 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
36597         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36598         stack usage.
36600 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
36602         [BZ #13367]
36603         * nss/getent.c (initgroups_keys): Show error message in case no group
36604         names are given.
36606         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36607         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36608         __bump_nl_timestamp.
36609         * nscd/connections (nscd_init): When host database is served open
36610         netlink socket and request notification about configuration changes.
36611         (main_loop_poll): Track netlink file descriptor and bump timestamp
36612         in case data becomes available.
36613         (main_loop_epoll): Likewise.
36614         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36615         (database_pers_head): Add extra_data fileds.
36616         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36617         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36618         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36619         Adjust caller.
36620         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36621         in6ai data, call __free_in6ai.
36622         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36623         Add -DHAVE_NETLINK.
36624         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
36625         interface information.  Reuse previous data if netlink timestamp
36626         is not changed.
36627         (__bump_nl_timestamp): New function.
36628         (__free_in6ai): New function.
36630 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
36632         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36633         close_not_cancel_no_status here.
36634         (__check_pf): Reorganize code a bit to not call close twice if OOM.
36636 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36638         [BZ #13276]
36639         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36640         return value.
36642         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36643         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36644         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36646 2011-07-03  Andreas Jaeger  <aj@suse.de>
36648         [BZ #10709]
36649         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36650         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36651         * math/libm-test.inc (sin_test): Add test case.
36653 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36655         [BZ #13337]
36656         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36657         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36659         * elf/chroot_canon.c (chroot_canon): Cleanups.
36661         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36663         [BZ #13335]
36664         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36665         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36667         * string/test-strchr.c: Make usable for strchrnul testing.
36668         * string/test-strchrnul.c: New file.
36669         * string/Makefile (strop-tests): Add strchrnul.
36671         * po/it.po: Update from translation team.
36672         * po/es.po: Likewise.
36674 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
36676         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36677         the three constants needed as parameters.  Drop the others.
36678         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36679         __m128i_strloadu_tolower.
36680         Create and initialize variable zero and use it in all the places
36681         where _mm_setzero_si128 was used.
36683         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36684         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36685         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36686         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36687         anymore.
36688         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36689         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36690         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36691         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36692         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36693         __mpranred, __mptan.
36694         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36695         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36696         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36697         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36698         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36699         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36700         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36701         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36702         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36704 2011-10-28  Andreas Schwab  <schwab@redhat.com>
36706         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36707         redefine if SHARED.
36708         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36710         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36711         wide char related routines to wcsmbs subdir.
36713 2011-10-27  Andreas Schwab  <schwab@redhat.com>
36715         [BZ #13344]
36716         * misc/sys/cdefs.h (__THROWNL): Define.
36717         * posix/unistd.h: Use __THREADNL instead of __THREAD
36718         for memory synchronization functions.
36720 2011-10-26  Roland McGrath  <roland@hack.frob.com>
36722         [BZ #13349]
36723         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36724         doesn't exist.
36725         * manual/stdio.texi (Obstack Streams): Node removed.
36727 2011-10-26  Andreas Schwab  <schwab@redhat.com>
36729         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36730         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36731         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36733         * math/math_private.h (math_force_eval): Allow non-addressable
36734         arguments.
36735         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36737 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36739         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36740         file is not needed.
36742         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36743         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36744         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36745         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36746         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36747         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36748         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36749         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36750         Add AVX variants.
36751         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36752         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36753         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36754         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36755         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36756         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36757         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36758         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36759         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36760         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36761         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36762         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36763         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36764         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36765         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36766         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36767         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36768         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36769         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36771         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36772         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
36774         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36775         place.  Use VEX encoding when compiling for AVX.
36777 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36779         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36780         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36782         * string/test-strchr.c (do_test): Don't generate NUL bytes.
36784 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36786         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36787         useless if() expression.
36788         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36789         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36790         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36791         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36792         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36793         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36794         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36795         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36796         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36797         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36798         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36799         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36800         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36801         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36802         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36803         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36804         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36805         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36806         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36808         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36810 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36812         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36813         condition.
36814         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36816 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36818         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36819         .text section.  Avoid duplicate constants.
36820         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36821         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36822         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36823         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
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/halfulp.c: Likewise.
36828         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36829         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36830         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36831         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36832         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36833         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36834         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36835         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36836         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36837         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36838         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36839         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36840         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36841         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36842         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36843         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36844         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36845         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36846         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36847         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36848         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36849         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36850         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36851         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36852         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36853         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36854         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36855         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36856         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36857         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36858         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36859         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36860         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36861         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36862         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36863         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36864         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36866 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
36868         * sysdeps/x86_64/dla.h: Move to ...
36869         * sysdeps/x86_64/fpu/dla.h: ...here.
36870         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36871         situations.  Use __builtin_fma only for gcc 4.6 and up.
36873         * config.make.in: Add have-mfma4 entry.
36874         * configure.in: Substitute libc_cv_cc_fma4.
36875         * math/Makefile (dbl-only-routines): Add sincostab.
36876         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36877         Use __sincostab not sincos.
36878         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36879         name is a macro.
36880         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36881         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36882         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36883         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
36884         using __copysign.
36885         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
36886         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
36887         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36888         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36889         and __inv.
36890         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36891         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36892         __copysign.
36893         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
36894         define aliases when function name is a macro.
36895         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36896         sysdeps/ieee754/dbl-64/sincos.tbl.
36897         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36898         fma4-enabled routines.
36899         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36900         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36901         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36902         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36903         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36904         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36905         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36906         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36907         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36908         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36909         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36910         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36911         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36912         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36913         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36914         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36915         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36916         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36917         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36918         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36919         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36920         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36921         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36922         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36923         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36924         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36925         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36926         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36927         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36928         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36930         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36931         rename.
36932         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36933         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36934         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36935         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36936         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36937         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36938         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36939         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36941 2011-10-24  Andreas Schwab  <schwab@redhat.com>
36943         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36945 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36947         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36949         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36950         prediction.
36951         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36953         * string/strnlen.c: Don't define STRNLEN, reverse logic.
36954         Remove unused variable magic_bits.
36955         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36957         * string/strnlen.c: Define and use STRNLEN macro.
36958         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36959         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36960         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36961         * wcsmbs/wcslen.c: Define and use WCSLEN.
36962         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36963         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36964         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36965         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36966         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36967         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36968         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36970 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36972         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36973         strnlen-sse2-no-bsf.
36974         Rename strlen-no-bsf to strlen-sse2-no-bsf.
36975         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36976         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36977         Add strnlen support.
36978         (USE_AS_STRNLEN): New macro.
36979         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36980         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36981         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36982         * sysdeps/x86_64/wcslen.S: New file.
36984 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
36986         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36987         XMM-moves are used for copying on small sizes.
36989 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36991         * wcsmbs/Makefile (strop-tests): Add wcschr.
36992         * wcsmbs/test-wcschr.c: New file.
36993         * string/test-strchr.c: Update.
36994         Add wcschr support.
36995         (WIDE): New macro.
36997 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36999         * wcsmbs/Makefile (strop-tests): Add wcslen.
37000         * wcsmbs/test-wcslen.c: New file.
37001         * string/test-strlen.c: Update.
37002         Add wcslen support.
37003         (WIDE): New macro.
37005 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37007         * po/it.po: Update from translation team.
37009 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37011         * sysdeps/x86_64/wcscmp.S: Update.
37012         Fix wrong comparison semantics.
37013         wcscmp shall use signed comparison not unsigned.
37014         Don't use substraction to avoid overflow bug.
37015         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37016         * wcsmbc/wcscmp.c: Likewise.
37017         * string/test-strcmp.c: Likewise.
37018         Add new tests to check cases with negative values.
37020 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
37022         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37023         * sysdeps/x86_64/dla.h: ...here.  New file.
37024         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37025         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37026         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37027         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37028         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37029         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37030         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37031         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37032         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37034 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
37036         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37037         __ynl_finite aliases.
37039 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37041         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37043         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37044         define DLA_FMA.
37045         [DLA_FMA] (EMULV): Use DLA_FMA.
37046         [DLA_FMA] (MUL12): Use EMULV.
37047         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37048         that are not needed.
37049         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37050         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37051         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37052         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37053         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37054         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37055         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37057 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
37059         * math/s_nan.c: Undef __nan.
37060         * math/s_nanf.c: Undef __nanf.
37061         * math/s_nanl.c: Undef __nanl.
37062         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37063         "math_private.h".
37065 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
37067         * math/s_catan.c: Add branch predictions.
37068         * math/s_catanf.c: Likewise.
37069         * math/s_catanh.c: Likewise.
37070         * math/s_catanhf.c: Likewise.
37071         * math/s_catanhl.c: Likewise.
37072         * math/s_catanl.c: Likewise.
37073         * math/s_cexp.c: Likewise.
37074         * math/s_cexpf.c: Likewise.
37075         * math/s_cexpl.c: Likewise.
37076         * math/s_clog.c: Likewise.
37077         * math/s_clog10.c: Likewise.
37078         * math/s_clog10f.c: Likewise.
37079         * math/s_clog10l.c: Likewise.
37080         * math/s_clogf.c: Likewise.
37081         * math/s_clogl.c: Likewise.
37082         * math/s_csqrt.c: Likewise.
37083         * math/s_csqrtf.c: Likewise.
37084         * math/s_csqrtl.c: Likewise.
37085         * math/s_ctanf.c: Likewise.
37086         * math/s_ctanh.c: Likewise.
37087         * math/s_ctanhf.c: Likewise.
37088         * math/s_ctanhl.c: Likewise.
37089         * math/s_ctanl.c: Likewise.
37091         * math/math_private.h: Define __nan, __nanf, __nanl.
37092         * math/s_cacosh.c: Include <math_private.h>.
37093         * math/s_cacoshl.c: Likewise.
37094         * math/s_casinh.c: Likewise.
37095         * math/s_casinhf.c: Likewise.
37096         * math/s_casinhl.c: Likewise.
37097         * math/s_ccos.c: Rely entire on ccosh.
37098         * math/s_ccosf.c: Rely entire on ccoshf.
37099         * math/s_ccosl.c: Rely entirely on ccoshl.
37100         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
37101         Remove tests for FE_INVALID.
37102         * math/s_ccoshf.c: Likewise.
37103         * math/s_ccoshl.c: Likewise.
37104         * math/s_csin.c: Likewise.
37105         * math/s_csinf.c: Likewise.
37106         * math/s_csinh.c Likewise.
37107         * math/s_csinhf.c: Likewise.
37108         * math/s_csinhl.c: Likewise.
37109         * math/s_csinl.c: Likewise.
37110         * math/s_ctan.c: Likewise.
37111         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37112         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37113         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37115 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
37117         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37118         compilation problems.
37120         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37121         __builtin_expect.
37123 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
37125         * sysdeps/i386/configure.in: Test for -mfma4 option.
37126         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37127         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37128         COMMON_CPUID_INDEX_80000001.
37129         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37130         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37131         use it if FMA3 is not supported.
37132         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37134         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37135         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37137 2011-10-20  Andreas Schwab  <schwab@redhat.com>
37139         [BZ #12892]
37140         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37141         it would create a cycle with a link time dependency.
37143 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
37145         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37146         instruction.
37147         * string/Makefile (strop-tests): Add rawmemchr.
37148         * string/test-rawmemchr.c: New file.
37150         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37151         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
37152         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
37153         when compiling str{,n}casecmp and when AVX is available.  Hook up
37154         new optimized code in initializers.
37156 2011-10-19  Andreas Schwab  <schwab@redhat.com>
37158         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37159         __feraiseexcept instead of feraiseexcept.
37161 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
37163         * math/math_private.h: Define defaults for libc_fetestexcept and
37164         libc_feupdateenv.
37165         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37166         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37167         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37168         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37169         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37170         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37171         libc_fetestexcept and libc_feupdateenv.
37173         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37174         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37175         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37176         * sysdeps/x86_64/fpu/math_private.h: Define special version of
37177         libc_feholdexcept_setround.
37179         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37180         Add s_nearbyint-c and s_nearbyintf-c.
37181         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37182         nearbyintf inlines.
37183         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37184         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37185         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37186         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37188         * math/math_private.h: Define defaults for libc_fegetround,
37189         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37190         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37191         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37192         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37193         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37194         standard functions.
37195         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37196         Remove comments and hacks for old compiler versions.
37197         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37198         libc_fegetround, libc_fesetround, libc_feholdexcept, and
37199         libc_feholdexceptl.
37201 2011-10-18  Andreas Schwab  <schwab@redhat.com>
37203         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37204         (__feraiseexcept_renamed): Add __NTH.
37205         (feraiseexcept): Add __NTH.  Rename local variables to fix
37206         namespace violations.
37208 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
37210         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37212         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37214         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37215         recently added interfaces.
37216         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37218         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37219         about macro parameter expansion.
37221         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37222         __NO_MATH_INLINES is defined.  Cleanups.
37224         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37225         and __floorf is target has SSE4.1.
37226         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37227         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37228         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37229         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37231         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37232         name.
37233         (floorf): Likewise.
37235         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37237 2011-10-17  Andreas Schwab  <schwab@redhat.com>
37239         * misc/sys/cdefs.h: Fix last change.
37241         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37242         database lookup.
37244 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
37246         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37248         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37249         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37250         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37251         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37252         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37253         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37254         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37255         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37256         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37257         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37258         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37259         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37260         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37261         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37262         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37263         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37264         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37265         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37266         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37267         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37268         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37269         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37271         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37272         ceil, ceilf, floor, floorf.
37274         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37275         Perform IRELATIVE relocations last.
37277         * elf/do-rel.h: Add another parameter nrelative, replacing the
37278         local variable with the same name.  Change name of the function
37279         to end in Rel or Rela (uppercase).
37280         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37281         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
37282         elf_dynamic_do_##reloc function.
37284 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37286         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37287         is sufficient, at least on modern CPUs.
37289         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37291         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37292         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37294         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37295         __expl_finite.
37296         * math/bits/math-finite.h: Add entries for exp.
37297         * math/e_expl.c: Add __*_finite alias.
37298         * sysdeps/i386/fpu/e_exp.S: Likewise.
37299         * sysdeps/i386/fpu/e_expf.S: Likewise.
37300         * sysdeps/i386/fpu/e_expl.c: Likewise.
37301         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37302         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37303         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37304         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37305         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37306         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37307         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37309         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37310         is sufficient, at least on modern CPUs.
37312         * ctype/ctype-info.c (__ctype_init): Define.
37313         * include/ctype.h (__ctype_init): Declare.
37314         (__ctype_b_loc): The variable is always initialized.
37315         (__ctype_toupper_loc): Likewise.
37316         (__ctype_tolower_loc): Likewise.
37317         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37318         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37320 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
37322         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37324         * configure.in: Also look in $cxxmachine/include for C++ system
37325         headers.
37327 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37329         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37330         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37331         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37332         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
37333         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37334         (USE_AS_WMEMCMP): New macro.
37335         Fixing indents.
37336         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37337         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37338         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37339         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37340         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37341         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37342         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37343         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37344         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37345         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37346         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37347         (USE_AS_WMEMCMP): New macro.
37348         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37349         * sysdeps/string/test-memcmp.c: Update.
37350         Fix simple_wmemcmp.
37351         Add new tests.
37352         * wcsmbs/wmemcmp.c: Update.
37353         (WMEMCMP): New macro.
37354         Fix overflow bug.
37356 2011-10-12  Andreas Jaeger  <aj@suse.de>
37358         [BZ #13268]
37359         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37361 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37363         * libio/iofwide.c (do_length): Avoid warning.
37365         * ctype/ctype.h (__isctype_f): Add missing __THROW.
37367 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
37369         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37371         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37372         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37373         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37374         * sysdeps/i386/i686/fpu/e_log.S: New file.
37375         * sysdeps/i386/i686/fpu/e_logf.S: New file.
37376         * sysdeps/i386/i686/fpu/e_logl.S: New file.
37378         * ctype/ctype.h: Add support for inlined isXXX functions when
37379         compiling C++ code.
37381 2011-10-14  Andreas Schwab  <schwab@redhat.com>
37383         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37385         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37387 2011-10-13  Roland McGrath  <roland@hack.frob.com>
37389         [BZ #13291]
37390         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37392 2011-10-13  Andreas Schwab  <schwab@redhat.com>
37394         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37395         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37396         feraiseexcept.
37398         * sysdeps/x86_64/memrchr.S: Check for zero size.
37400         * string/stratcliff.c: Add memrchr tests.
37402 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37404         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37405         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37406         rawmemchr-sse2 rawmemchr-sse2-bsf.
37407         * sysdeps/i386/i686/multiarch/memchr.S: New file.
37408         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37409         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37410         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37411         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37412         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37413         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37414         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37415         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37416         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37417         * string/memrchr.c (MEMRCHR): New macro.
37419 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
37421         Add integration with gcc's -ffinite-math-only and optimize wrapper
37422         functions in libm.
37423         * Versions.def: Define GLIBC_2.15 version for libm.
37424         * math/Makefile (headers): Add bits/math-finite.h.
37425         * math/bits/math-finite.h: New file.
37426         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37427         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37428         * math/e_acoshl.c: Add __*_finite alias.
37429         * math/e_acosl.c: Likewise.
37430         * math/e_asinl.c: Likewise.
37431         * math/e_atan2l.c: Likewise.
37432         * math/e_atanhl.c: Likewise.
37433         * math/e_coshl.c: Likewise.
37434         * math/e_exp10.c: Likewise.
37435         * math/e_exp10f.c: Likewise.
37436         * math/e_exp10l.c: Likewise.
37437         * math/e_exp2l.c: Likewise.
37438         * math/e_fmodl.c: Likewise.
37439         * math/e_gammal_r.c: Likewise.
37440         * math/e_hypotl.c: Likewise.
37441         * math/e_j0l.c: Likewise.
37442         * math/e_j1l.c: Likewise.
37443         * math/e_jnl.c: Likewise.
37444         * math/e_lgammal_r.c: Likewise.
37445         * math/e_log10l.c: Likewise.
37446         * math/e_log2l.c: Likewise.
37447         * math/e_logl.c: Likewise.
37448         * math/e_powl.c: Likewise.
37449         * math/e_sinhl.c: Likewise.
37450         * math/e_sqrtl.c: Likewise.
37451         * math/e_scalb.c: Completely rewritten and optimized.
37452         * math/e_scalbf.c: Likewise.
37453         * math/e_scalbl.c: Likewise.
37454         * math/w_acos.c: Likewise.
37455         * math/w_acosf.c: Likewise.
37456         * math/w_acosl.c: Likewise.
37457         * math/w_acosh.c: Likewise.
37458         * math/w_acoshf.c: Likewise.
37459         * math/w_acoshl.c: Likewise.
37460         * math/w_asin.c: Likewise.
37461         * math/w_asinf.c: Likewise.
37462         * math/w_asinl.c: Likewise.
37463         * math/w_atan2.c: Likewise.
37464         * math/w_atan2f.c: Likewise.
37465         * math/w_atan2l.c: Likewise.
37466         * math/w_atanh.c: Likewise.
37467         * math/w_atanhf.c: Likewise.
37468         * math/w_atanhl.c: Likewise.
37469         * math/w_exp10.c: Likewise.
37470         * math/w_exp10f.c: Likewise.
37471         * math/w_exp10l.c: Likewise.
37472         * math/w_fmod.c: Likewise.
37473         * math/w_fmodf.c: Likewise.
37474         * math/w_fmodl.c: Likewise.
37475         * math/w_j0.c: Likewise.
37476         * math/w_j0f.c: Likewise.
37477         * math/w_j0l.c: Likewise.
37478         * math/w_j1.c: Likewise.
37479         * math/w_j1f.c: Likewise.
37480         * math/w_j1l.c: Likewise.
37481         * math/w_jn.c: Likewise.
37482         * math/w_jnf.c: Likewise.
37483         * math/w_log.c: Likewise.
37484         * math/w_logf.c: Likewise.
37485         * math/w_logl.c: Likewise.
37486         * math/w_log10.c: Likewise.
37487         * math/w_log10f.c: Likewise.
37488         * math/w_log10l.c: Likewise.
37489         * math/w_log2.c: Likewise.
37490         * math/w_log2f.c: Likewise.
37491         * math/w_log2l.c: Likewise.
37492         * math/w_pow.c: Likewise.
37493         * math/w_powf.c: Likewise.
37494         * math/w_powl.c: Likewise.
37495         * math/w_remainder.c: Likewise.
37496         * math/w_remainderf.c: Likewise.
37497         * math/w_remainderl.c: Likewise.
37498         * math/w_scalb.c: Likewise.
37499         * math/w_scalbf.c: Likewise.
37500         * math/w_scalbl.c: Likewise.
37501         * math/w_sqrt.c: Likewise.
37502         * math/w_sqrtf.c: Likewise.
37503         * math/w_sqrtl.c: Likewise.
37504         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37505         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
37506         used.
37507         * math/math_private.h: Declare __kernel_standard_f.
37508         * math/w_cosh.c: Remove cruft and optimize a bit.
37509         * math/w_coshf.c: Likewise.
37510         * math/w_coshl.c: Likewise.
37511         * math/w_exp2.c: Likewise.
37512         * math/w_exp2f.c: Likewise.
37513         * math/w_exp2l.c: Likewise.
37514         * math/w_hypot.c: Likewise.
37515         * math/w_hypotf.c: Likewise.
37516         * math/w_hypotl.c: Likewise.
37517         * math/w_lgamma.c: Likewise.
37518         * math/w_lgamma_r.c: Likewise.
37519         * math/w_lgammaf.c: Likewise.
37520         * math/w_lgammaf_r.c: Likewise.
37521         * math/w_lgammal.c: Likewise.
37522         * math/w_lgammal_r.c: Likewise.
37523         * math/w_sinh.c: Likewise.
37524         * math/w_sinhf.c: Likewise.
37525         * math/w_sinhl.c: Likewise.
37526         * math/w_tgamma.c: Likewise.
37527         * math/w_tgammaf.c: Likewise.
37528         * math/w_tgammal.c: Likewise.
37529         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37530         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37531         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37532         Minor optimizations.  Pretty printing.  Remove cruft.
37533         * sysdeps/i386/fpu/e_acosf.S: Likewise.
37534         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37535         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37536         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37537         * sysdeps/i386/fpu/e_acosl.c: Likewise.
37538         * sysdeps/i386/fpu/e_asin.S: Likewise.
37539         * sysdeps/i386/fpu/e_asinf.S: Likewise.
37540         * sysdeps/i386/fpu/e_atan2.S: Likewise.
37541         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37542         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37543         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37544         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37545         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37546         * sysdeps/i386/fpu/e_exp10.S: Likewise.
37547         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37548         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37549         * sysdeps/i386/fpu/e_exp2.S: Likewise.
37550         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37551         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37552         * sysdeps/i386/fpu/e_fmod.S: Likewise.
37553         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37554         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37555         * sysdeps/i386/fpu/e_hypot.S: Likewise.
37556         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37557         * sysdeps/i386/fpu/e_log.S: Likewise.
37558         * sysdeps/i386/fpu/e_log10.S: Likewise.
37559         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37560         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37561         * sysdeps/i386/fpu/e_log2.S: Likewise.
37562         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37563         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37564         * sysdeps/i386/fpu/e_logf.S: Likewise.
37565         * sysdeps/i386/fpu/e_logl.S: Likewise.
37566         * sysdeps/i386/fpu/e_pow.S: Likewise.
37567         * sysdeps/i386/fpu/e_powf.S: Likewise.
37568         * sysdeps/i386/fpu/e_powl.S: Likewise.
37569         * sysdeps/i386/fpu/e_remainder.S: Likewise.
37570         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37571         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37572         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37573         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37574         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37575         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37576         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37577         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37578         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37579         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37580         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37581         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37582         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37583         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37584         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37585         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37586         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37587         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37588         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37589         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37590         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37591         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37592         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37593         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37594         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37595         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37596         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37597         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37598         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37599         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37600         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37601         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37602         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37603         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37604         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37605         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37606         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37607         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37608         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37609         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37610         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37611         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37612         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37613         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37614         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37615         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37616         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37617         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37618         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37619         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37620         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37621         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37622         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37623         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37624         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37625         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37626         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37627         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37628         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37629         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37630         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37631         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37632         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37633         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37634         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37635         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37636         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37637         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37638         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37639         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37640         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37641         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37642         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37643         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37644         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37645         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37646         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37647         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37648         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37649         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37650         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37651         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37652         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37653         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37654         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37655         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37656         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37657         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37658         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37659         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37660         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37661         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37662         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37663         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37664         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37665         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37666         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37667         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37668         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37669         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37670         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37671         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37672         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37673         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37674         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37675         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37676         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37677         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37678         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37679         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37680         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37681         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37682         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37683         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37684         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37685         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37686         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37687         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37688         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
37689         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37690         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37691         (__isnanf): Likewise.
37692         (__isinf_ns): Likewise.
37693         (__isinf_nsf): Likewise.
37694         (__finite): Likewise.
37695         (__finitef): Likewise.
37696         (__ieee754_sqrt): Define as macro.
37697         (__ieee754_sqrtf): Define as macro.
37698         (__ieee754_sqrtl): Define as macro.
37699         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37700         inlined copy.
37701         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37702         __FINITE_MATH_ONLY__ consistent.
37703         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37705 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
37707         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37708         of rawmemchr.
37710         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37712 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
37714         * po/ja.po: Update from translation team.
37716 2011-10-08  Roland McGrath  <roland@hack.frob.com>
37718         * locale/programs/locarchive.c (prepare_address_space): New function.
37719         (create_archive, enlarge_archive, open_archive): Use it.
37721         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37722         inside [SHARED], where it is used.
37724         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37726         * nss/getent.c (netgroup_keys): Remove unused variable.
37727         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37729 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
37731         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37732         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37733         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37734         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37735         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37736         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37737         * math/Makefile (libm-calls): Add s_isinf_ns.
37738         * math/divtc3.c: Use __isinf_nsl instead of isinf.
37739         * math/multc3.c: Likewise.
37740         * math/s_casin.c: Likewise.
37741         * math/s_casinf.c: Likewise.
37742         * math/s_casinl.c: Likewise.
37743         * math/s_ccos.c: Likewise.
37744         * math/s_ccosf.c: Likewise.
37745         * math/s_ccosl.c: Likewise.
37746         * math/s_ctan.c: Likewise.
37747         * math/s_ctanf.c: Likewise.
37748         * math/s_ctanh.c: Likewise.
37749         * math/s_ctanhf.c: Likewise.
37750         * math/s_ctanhl.c: Likewise.
37751         * math/s_ctanl.c: Likewise.
37752         * math/w_fmod.c: Likewise.
37753         * math/w_fmodf.c: Likewise.
37754         * math/w_fmodl.c: Likewise.
37755         * math/w_remainder.c: Likewise.
37756         * math/w_remainderf.c: Likewise.
37757         * math/w_remainderl.c: Likewise.
37758         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37759         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37760         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37761         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37762         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37763         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37764         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37765         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37767         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37768         of the number.
37769         * stdio-common/printf_fphex.c: Likewise.
37770         * stdio-common/printf_size.c: Likewise.
37772         * math/e_exp10.c: Include math_private.h using <...> not "...".
37773         * math/e_exp10f.c: Likewise.
37774         * math/e_exp10l.c: Likewise.
37775         * math/e_exp2l.c: Likewise.
37776         * math/e_j0l.c: Likewise.
37777         * math/e_j1l.c: Likewise.
37778         * math/e_jnl.c: Likewise.
37779         * math/e_lgammal_r.c: Likewise.
37780         * math/e_rem_pio2l.c: Likewise.
37781         * math/e_scalb.c: Likewise.
37782         * math/e_scalbf.c: Likewise.
37783         * math/e_scalbl.c: Likewise.
37784         * math/k_cosl.c: Likewise.
37785         * math/k_sinl.c: Likewise.
37786         * math/k_tanl.c: Likewise.
37787         * math/s_cacoshf.c: Likewise.
37788         * math/s_catan.c: Likewise.
37789         * math/s_catanf.c: Likewise.
37790         * math/s_catanh.c: Likewise.
37791         * math/s_catanhf.c: Likewise.
37792         * math/s_catanhl.c: Likewise.
37793         * math/s_catanl.c: Likewise.
37794         * math/s_ccosh.c: Likewise.
37795         * math/s_ccoshf.c: Likewise.
37796         * math/s_ccoshl.c: Likewise.
37797         * math/s_cexp.c: Likewise.
37798         * math/s_cexpf.c: Likewise.
37799         * math/s_cexpl.c: Likewise.
37800         * math/s_clog.c: Likewise.
37801         * math/s_clog10.c: Likewise.
37802         * math/s_clog10f.c: Likewise.
37803         * math/s_clog10l.c: Likewise.
37804         * math/s_clogf.c: Likewise.
37805         * math/s_clogl.c: Likewise.
37806         * math/s_csin.c: Likewise.
37807         * math/s_csinf.c: Likewise.
37808         * math/s_csinh.c: Likewise.
37809         * math/s_csinhf.c: Likewise.
37810         * math/s_csinhl.c: Likewise.
37811         * math/s_csinl.c: Likewise.
37812         * math/s_csqrt.c: Likewise.
37813         * math/s_csqrtf.c: Likewise.
37814         * math/s_csqrtl.c: Likewise.
37815         * math/s_ctan.c: Likewise.
37816         * math/s_ctanf.c: Likewise.
37817         * math/s_ctanh.c: Likewise.
37818         * math/s_ctanhf.c: Likewise.
37819         * math/s_ctanhl.c: Likewise.
37820         * math/s_ctanl.c: Likewise.
37821         * math/s_ldexp.c: Likewise.
37822         * math/s_ldexpf.c: Likewise.
37823         * math/s_ldexpl.c: Likewise.
37824         * math/s_significand.c: Likewise.
37825         * math/s_significandf.c: Likewise.
37826         * math/s_significandl.c: Likewise.
37827         * math/w_acos.c: Likewise.
37828         * math/w_acosf.c: Likewise.
37829         * math/w_acosh.c: Likewise.
37830         * math/w_acoshf.c: Likewise.
37831         * math/w_acoshl.c: Likewise.
37832         * math/w_acosl.c: Likewise.
37833         * math/w_asin.c: Likewise.
37834         * math/w_asinf.c: Likewise.
37835         * math/w_asinl.c: Likewise.
37836         * math/w_atan2.c: Likewise.
37837         * math/w_atan2f.c: Likewise.
37838         * math/w_atan2l.c: Likewise.
37839         * math/w_atanh.c: Likewise.
37840         * math/w_atanhf.c: Likewise.
37841         * math/w_atanhl.c: Likewise.
37842         * math/w_cosh.c: Likewise.
37843         * math/w_coshf.c: Likewise.
37844         * math/w_coshl.c: Likewise.
37845         * math/w_dremf.c: Likewise.
37846         * math/w_exp10.c: Likewise.
37847         * math/w_exp10f.c: Likewise.
37848         * math/w_exp10l.c: Likewise.
37849         * math/w_exp2.c: Likewise.
37850         * math/w_exp2f.c: Likewise.
37851         * math/w_fmod.c: Likewise.
37852         * math/w_fmodf.c: Likewise.
37853         * math/w_fmodl.c: Likewise.
37854         * math/w_hypot.c: Likewise.
37855         * math/w_hypotf.c: Likewise.
37856         * math/w_hypotl.c: Likewise.
37857         * math/w_j0.c: Likewise.
37858         * math/w_j0f.c: Likewise.
37859         * math/w_j0l.c: Likewise.
37860         * math/w_j1.c: Likewise.
37861         * math/w_j1f.c: Likewise.
37862         * math/w_j1l.c: Likewise.
37863         * math/w_jn.c: Likewise.
37864         * math/w_jnf.c: Likewise.
37865         * math/w_jnl.c: Likewise.
37866         * math/w_lgamma.c: Likewise.
37867         * math/w_lgamma_r.c: Likewise.
37868         * math/w_lgammaf.c: Likewise.
37869         * math/w_lgammaf_r.c: Likewise.
37870         * math/w_lgammal.c: Likewise.
37871         * math/w_lgammal_r.c: Likewise.
37872         * math/w_log.c: Likewise.
37873         * math/w_log10.c: Likewise.
37874         * math/w_log10f.c: Likewise.
37875         * math/w_log10l.c: Likewise.
37876         * math/w_log2.c: Likewise.
37877         * math/w_log2f.c: Likewise.
37878         * math/w_log2l.c: Likewise.
37879         * math/w_logf.c: Likewise.
37880         * math/w_logl.c: Likewise.
37881         * math/w_pow.c: Likewise.
37882         * math/w_powf.c: Likewise.
37883         * math/w_powl.c: Likewise.
37884         * math/w_remainder.c: Likewise.
37885         * math/w_remainderf.c: Likewise.
37886         * math/w_remainderl.c: Likewise.
37887         * math/w_scalb.c: Likewise.
37888         * math/w_scalbf.c: Likewise.
37889         * math/w_scalbl.c: Likewise.
37890         * math/w_sinh.c: Likewise.
37891         * math/w_sinhf.c: Likewise.
37892         * math/w_sinhl.c: Likewise.
37893         * math/w_sqrt.c: Likewise.
37894         * math/w_sqrtf.c: Likewise.
37895         * math/w_sqrtl.c: Likewise.
37896         * math/w_tgamma.c: Likewise.
37897         * math/w_tgammaf.c: Likewise.
37898         * math/w_tgammal.c: Likewise.
37900         * po/ja.po: Update from translation team.
37902 2011-09-29  Andreas Jaeger  <aj@suse.de>
37904         [BZ #13179]
37905         * sunrpc/netname.c (netname2host): Fix logic.
37907         [BZ #6779]
37908         [BZ #6783]
37909         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37910         correctly.
37911         * math/w_remainder.c (__remainder): Likewise.
37912         * math/w_remainderf.c (__remainderf): Likewise.
37913         * math/libm-test.inc (remainder_test): Add test cases.
37915 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37917         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
37918         sdiv_qrnnd.
37920 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37922         * string/test-memcmp.c: Avoid unncessary #defines.
37923         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37925 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37927         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37928         Use new sse2 version for core i3 - i7 as it's faster
37929         than sse42 version.
37930         (bit_Prefer_PMINUB_for_stringop): New.
37931         * sysdeps/x86_64/rawmemchr.S: Update.
37932         Replace with faster SSE2 version.
37933         * sysdeps/x86_64/memrchr.S: New file.
37934         * sysdeps/x86_64/memchr.S: Update.
37935         Replace with faster SSE2 version.
37937 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
37939         * elf/dl-load.c (lose): Add cast to avoid warning.
37941 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37943         * po/ca.po: Update from translation team.
37945         * inet/getnetgrent_r.c: Hook up nscd.
37946         * nscd/Makefile (routines): Add nscd_netgroup.
37947         (nscd-modules): Add netgroupcache.
37948         (CFLAGS-netgroupcache.c): Define.
37949         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37950         (cache_search): Add const to second parameter.
37951         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37952         INNETGR.
37953         (dbs): Add netgrdb entry.
37954         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37955         (verify_persistent_db): Handle netgrdb.
37956         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37957         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37958         GETFDNETGR.
37959         (netgroup_response_header): Define.
37960         (innetgroup_response_header): Define.
37961         (datahead): Add netgroup_response_header and innetgroup_response_header
37962         elements.
37963         * nscd/nscd.conf: Add entries for netgroup cache.
37964         * nscd/nscd.h (dbtype): Add netgrdb.
37965         (_PATH_NSCD_NETGROUP_DB): Define.
37966         (netgroup_iov_disabled): Declare.
37967         (xmalloc, xcalloc, xrealloc): Move declarations here.
37968         (cache_search): Adjust prototype.
37969         Add netgroup-related prototypes.
37970         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37971         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37972         (__nscd_innetgr): Declare.
37973         * nscd/selinux.c (perms): Use access_vector_t as element type and
37974         add netgroup-related initializers.
37975         * nscd/netgroupcache.c: New file.
37976         * nscd/nscd_netgroup.c: New file.
37977         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37978         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37979         For four parameters use innetgr.
37980         * nss/nss_files/files-init.c: Add definition and callback for netgr.
37981         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37982         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37983         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37985         * nscd/connections.c (register_traced_file): Don't register file
37986         for disabled databases.
37988 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
37990         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37992         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37993         from tree and freeing node.
37995 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
37997         * nss/nsswitch.c (__nss_database_lookup): Handle
37998         nss_parse_service_list out of memory case.
38000 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
38002         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38003         out of memory case.
38005 2011-10-04  Andreas Schwab  <schwab@redhat.com>
38007         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38008         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38009         pass it down.
38010         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38011         elf_machine_rela, elf_machine_lazy_rel.
38012         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38013         (ELF_DYNAMIC_DO_REL): Likewise.
38014         (ELF_DYNAMIC_DO_RELA): Likewise.
38015         (ELF_DYNAMIC_RELOCATE): Likewise.
38016         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38017         to ELF_DYNAMIC_DO_REL.
38018         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38019         (dl_main): In trace mode always set __RTLD_NOIFUNC.
38020         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38021         elf_machine_rela.
38022         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38023         skip_ifunc, don't call ifunc function if non-zero.
38024         (elf_machine_rela): Likewise.
38025         (elf_machine_lazy_rel): Likewise.
38026         (elf_machine_lazy_rela): Likewise.
38027         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38028         (elf_machine_lazy_rel): Likewise.
38029         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38030         Likewise.
38031         (elf_machine_lazy_rel): Likewise.
38032         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38033         Likewise.
38034         (elf_machine_lazy_rel): Likewise.
38035         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38036         (elf_machine_lazy_rel): Likewise.
38037         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38038         (elf_machine_lazy_rel): Likewise.
38039         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38040         (elf_machine_lazy_rel): Likewise.
38041         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38042         (elf_machine_lazy_rel): Likewise.
38043         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38044         (elf_machine_lazy_rel): Likewise.
38045         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38046         (elf_machine_lazy_rel): Likewise.
38048 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
38050         * nss/nss_files/files-init.c (_nss_files_init): Use static
38051         initialization for all the *_traced_file variables.
38053 2011-09-28  Andreas Schwab  <schwab@redhat.com>
38055         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38057 2011-09-27  Roland McGrath  <roland@hack.frob.com>
38059         [BZ #13226]
38060         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38062 2011-09-27  Andreas Schwab  <schwab@redhat.com>
38064         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38065         Reread the line before reparsing it.
38067 2011-09-26  Andreas Schwab  <schwab@redhat.com>
38069         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38071 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
38072             Maxim Kuvyrkov  <maxim@codesourcery.com>
38073             Joseph Myers  <joseph@codesourcery.com>
38075         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38076         if needed for __stack_chk_guard.
38078 2011-09-19  Roland McGrath  <roland@hack.frob.com>
38080         * sysdeps/posix/spawni.c (script_execute): Always define it.
38081         It will be optimized away if unused.
38082         (maybe_script_execute): New function.
38083         (__spawni): Call it.
38085         * Makerules: Don't include tls.make.
38086         (config-tls): Always set to thread.
38087         * tls.make.c: File removed.
38089 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
38091         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38092         * config.make.in (CPPFLAGS-config): New substituted variable.
38094 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38096         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38098         [BZ #13192]
38099         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38100         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38102 2011-09-15  Roland McGrath  <roland@hack.frob.com>
38104         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38105         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38106         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38107         (CALL_FAIL): Likewise.
38108         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38109         (CALL_FAIL): Macro removed.
38110         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38112 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
38114         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38115         for __FINITE_MATH_ONLY__ == 1.
38117 2011-09-15  Andreas Schwab  <schwab@redhat.com>
38119         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38120         __ieee754_sqrt instead of sqrt.
38121         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38122         __ieee754_sqrtf instead of sqrtf.
38123         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38124         __floorf instead of floorf.
38125         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38126         __floorf, __truncf instead of floorf, truncf.
38128 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
38130         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38132         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38133         __extern_always_inline.
38134         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38135         32-bit.
38137 2011-09-14  Andreas Schwab  <schwab@redhat.com>
38139         * elf/rtld.c (dl_main): Also relocate in dependency order when
38140         doing symbol dependency testing.
38142 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
38144         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38145         Always define `refsym'.
38147 2011-09-13  Andreas Schwab  <schwab@redhat.com>
38149         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38150         (__FD_ELT): Renamed from __FDELT.
38151         * misc/bits/select2.h (__FD_ELT): Likewise.
38152         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38153         __FD_MASK instead of __FDELT, __FDMASK.
38154         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38155         Likewise.
38156         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38157         Likewise.
38159         * elf/Makefile (gen-ldd): Fix pattern.
38161         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38162         (init_tls): Likewise.
38164 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
38166         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38168 2011-09-12  Andreas Schwab  <schwab@redhat.com>
38170         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38171         `struct cmsghdr *' instead of `void *'.
38172         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38173         Likewise.
38175 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
38177         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38178         if non-absolute.
38179         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38180         ldd_rewrite_script.
38182 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
38184         * configure.in: Remove --with-tls option.
38185         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38186         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38187         out in case it is missing.
38188         * sysdeps/ia64/elf/configure.in: Likewise.
38189         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38190         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38191         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38192         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38193         * sysdeps/sh/elf/configure.in: Likewise.
38194         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38195         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38196         * sysdeps/x86_64/elf/configure.in: Likewise.
38197         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38198         * sysdeps/mach/hurd/tls.h: Likewise.
38200         [BZ #13067]
38201         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38203         [BZ #13090]
38204         * configure.in: Fix use of AC_INIT.
38206         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38208 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
38210         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38211         __set_errno.
38212         * malloc/hooks.c: Likewise.
38214         [BZ #11929]
38215         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
38216         variables statically.
38217         (narenas): Initialize.
38218         (list_lock): Initialize.
38219         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
38220         initializtion of main_arena and list_lock.  Small cleanups.
38221         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38222         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
38223         Add initializers to main_arena and mp_.
38224         (malloc_state): Remove pagesize member.  Change all users to use
38225         GLRO(dl_pagesize).
38227         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38228         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
38229         is always initialized.
38231         * malloc/malloc.c: Removed unused configurations and dead code.
38232         * malloc/arena.c: Likewise.
38233         * malloc/hooks.c: Likewise.
38234         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38236         * include/tls.h: Removed.  USE___THREAD must always be defined.
38237         * bits/libc-tsd.h: Don't handle !USE___THREAD.
38238         * elf/dl-libc.c: Likewise.
38239         * elf/dl-tsd.c: Likewise.
38240         * include/errno.h: Likewise.
38241         * include/netdb.h: Likewise.
38242         * include/resolv.h: Likewise.
38243         * inet/herrno-loc.c: Likewise.
38244         * inet/herrno.c: Likewise.
38245         * malloc/arena.c: Likewise.
38246         * malloc/hooks.c: Likewise.
38247         * malloc/malloc.c: Likewise.
38248         * resolv/res-state.c: Likewise.
38249         * resolv/res_libc.c: Likewise.
38250         * sysdeps/i386/dl-machine.h: Likewise.
38251         * sysdeps/ia64/dl-machine.h: Likewise.
38252         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38253         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38254         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38255         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38256         * sysdeps/sh/dl-machine.h: Likewise.
38257         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38258         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38259         * sysdeps/unix/i386/sysdep.S: Likewise.
38260         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38261         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38262         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38263         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38264         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38265         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38266         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38268         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38269         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38270         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38271         * sysdeps/x86_64/dl-machine.h: Likewise.
38272         * tls.make.c: Likewise.
38274         * configure.in: Remove --with-__thread option.  Make tests for
38275         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38276         tls_model attribute fail if no support is available.  Remove
38277         USE_IN_LIBIO.
38278         * Makeconfig: Adjust for dropped configure option.  All features are
38279         now mandatory.
38280         * Makerules: Likewise.
38281         * Versions.def: Likewise.
38282         * argp/argp-fmtstream.c: Likewise.
38283         * argp/argp-fmtstream.h: Likewise.
38284         * argp/argp-help.c: Likewise.
38285         * assert/assert.c: Likewise.
38286         * config.h.in: Likewise.
38287         * config.make.in: Likewise.
38288         * configure: Likewise.
38289         * configure.in: Likewise.
38290         * csu/Versions: Likewise.
38291         * csu/init.c: Likewise.
38292         * elf/tst-audit2.c: Likewise.
38293         * elf/tst-tls10.c: Likewise.
38294         * elf/tst-tls10.h: Likewise.
38295         * elf/tst-tls11.c: Likewise.
38296         * elf/tst-tls12.c: Likewise.
38297         * elf/tst-tls14.c: Likewise.
38298         * elf/tst-tlsmod11.c: Likewise.
38299         * elf/tst-tlsmod12.c: Likewise.
38300         * elf/tst-tlsmod13.c: Likewise.
38301         * elf/tst-tlsmod13a.c: Likewise.
38302         * elf/tst-tlsmod14a.c: Likewise.
38303         * elf/tst-tlsmod15b.c: Likewise.
38304         * elf/tst-tlsmod16a.c: Likewise.
38305         * elf/tst-tlsmod16b.c: Likewise.
38306         * elf/tst-tlsmod7.c: Likewise.
38307         * elf/tst-tlsmod8.c: Likewise.
38308         * elf/tst-tlsmod9.c: Likewise.
38309         * gmon/gmon.c: Likewise.
38310         * grp/fgetgrent_r.c: Likewise.
38311         * grp/putgrent.c: Likewise.
38312         * hurd/fopenport.c: Likewise.
38313         * include/libc-symbols.h: Likewise.
38314         * include/tls.h: Likewise.
38315         * intl/gettextP.h: Likewise.
38316         * intl/loadinfo.h: Likewise.
38317         * locale/global-locale.c: Likewise.
38318         * locale/localeinfo.h: Likewise.
38319         * mach/devstream.c: Likewise.
38320         * malloc/arena.c: Likewise.
38321         * malloc/set-freeres.c: Likewise.
38322         * misc/err.c: Likewise.
38323         * misc/getttyent.c: Likewise.
38324         * misc/mntent_r.c: Likewise.
38325         * posix/getopt.c: Likewise.
38326         * posix/wordexp.c: Likewise.
38327         * pwd/fgetpwent_r.c: Likewise.
38328         * resolv/Versions: Likewise.
38329         * resolv/res_hconf.c: Likewise.
38330         * shadow/fgetspent_r.c: Likewise.
38331         * shadow/putspent.c: Likewise.
38332         * stdio-common/printf_fphex.c: Likewise.
38333         * stdio-common/tmpfile.c: Likewise.
38334         * stdlib/abort.c: Likewise.
38335         * stdlib/fmtmsg.c: Likewise.
38336         * sunrpc/auth_unix.c: Likewise.
38337         * sunrpc/clnt_perr.c: Likewise.
38338         * sunrpc/clnt_tcp.c: Likewise.
38339         * sunrpc/clnt_udp.c: Likewise.
38340         * sunrpc/clnt_unix.c: Likewise.
38341         * sunrpc/openchild.c: Likewise.
38342         * sunrpc/svc_simple.c: Likewise.
38343         * sunrpc/svc_tcp.c: Likewise.
38344         * sunrpc/svc_udp.c: Likewise.
38345         * sunrpc/svc_unix.c: Likewise.
38346         * sunrpc/xdr.c: Likewise.
38347         * sunrpc/xdr_array.c: Likewise.
38348         * sunrpc/xdr_rec.c: Likewise.
38349         * sunrpc/xdr_ref.c: Likewise.
38350         * sunrpc/xdr_stdio.c: Likewise.
38352 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38354         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38356 2011-07-03  Andreas Jaeger  <aj@suse.de>
38358         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38359         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38360         regenerate with gen-libm-tests.pl.
38362 2010-05-12  Petr Baudis  <pasky@suse.cz>
38364         [BZ #11589]
38365         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38366         around j0() zero points by switching to j1().
38367         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38368         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38369         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38370         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38372 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38374         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38375         instead of 0.
38376         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38377         instead of 0.
38378         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38379         Patch in part by Pavel Roskin <proski@gnu.org>.
38381         [BZ #13138]
38382         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38383         realloc.
38384         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
38385         Free memory block if necessary.
38387         [BZ #12847]
38388         * libio/genops.c (INTDEF): For string streams the _lock pointer can
38389         be NULL.  Don't lock in this case.
38391 2011-09-09  Roland McGrath  <roland@hack.frob.com>
38393         * elf/elf.h (ELFOSABI_GNU): New macro.
38394         (ELFOSABI_LINUX): Define to that.
38396 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
38398         * string/strncat.c (strncat): Undef the symbol in case it has been
38399         defined in bits/string.h.
38401 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38403         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38405         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38406         link map.
38408 2011-08-17  Andreas Jaeger  <aj@suse.de>
38410         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38412 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38413             Ian Lance Taylor  <iant@google.com>
38415         * math/libm-test.inc (lround_test): New testcase.
38416         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38418 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
38420         * Makefile: Remove support for automatic cvs check-ins.
38421         * Makerules: Likewise.
38422         * config.make.in: Likewise.
38423         * configure.in: Likewise.
38424         * intl/Makefile: Likewise.
38425         * locale/Makefile: Likewise.
38426         * po/Makefile: Likewise.
38427         * posix/Makefile: Likewise.
38428         * sysdeps/gnu/Makefile: Likewise.
38429         * sysdeps/mach/hurd/Makefile: Likewise.
38430         * sysdeps/sparc/sparc32/Makefile: Likewise.
38432         [BZ #13118]
38433         * posix/Makefile (bug-regex32-ENV): Define.
38434         Patch by John Stanley <jpsinthemix@verizon.net>.
38436         * misc/Makefile (headers): Add bits/select2.h.
38437         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38438         * misc/bits/select2.h: New file.
38439         * include/bits/select2.h: New file.
38440         * debug/Makefile (routines): Add fdelt_chk.
38441         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38442         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38443         FD_ISSET.
38444         * debug/fdelt_chk.c: New file.
38446         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
38447         * wcsmbs/test-wmemcmp.c: Likewise.
38448         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38449         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38451 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38453         * string/Makefile (strop-tests): Add memcmp.
38454         * string/test-wmemcmp.c: New file.
38455         * string/test-memcmp.c: Add wmemcmp support.
38457 2011-09-08  Roland McGrath  <roland@hack.frob.com>
38459         [BZ #13153]
38460         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38461         2011-07-19 change.
38463         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38464         garbage value in a __mach_port_mod_refs call in the cases of the
38465         task-self and thread-self ports.
38467 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38469         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38471 2011-09-08  Andreas Schwab  <schwab@redhat.com>
38473         * elf/dl-load.c (lose): Check for non-null L.
38475 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38477         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38479         * elf/dl-libc.c (dlerror_run): Pass back error code from
38480         dl_catch_error.
38482         [BZ #13123]
38483         * elf/dl-load.c (lose): Free l_origin if it is valid.
38485         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38486         names.
38487         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38488         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38489         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38490         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38491         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38492         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38494 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38496         * sysdeps/powerpc/fpu/e_hypot.c: New file.
38497         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38498         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38499         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38500         * sysdeps/powerpc/fpu/k_cosf.c: New file.
38501         * sysdeps/powerpc/fpu/k_sinf.c: New file.
38502         * sysdeps/powerpc/fpu/s_cosf.c: New file.
38503         * sysdeps/powerpc/fpu/s_sinf.c: New file.
38504         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38505         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38507 2011-08-15  Alan Modra  <amodra@gmail.com>
38509         [BZ #13092]
38510         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38511         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38512         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
38513         ppc_mcount to static-only-routines.
38514         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38515         __mcount_internal.
38516         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38517         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
38519 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
38521         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38522         for finite and infinity parameters.
38524 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38526         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38527         and add nop instructions for throughput optimization.
38528         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38530 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
38532         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38533         aligned copy for power7 with vector-scalar instructions.
38534         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38536 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
38538         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38539         AVX check.
38541 2011-09-07  Andreas Schwab  <schwab@redhat.com>
38543         [BZ #13144]
38544         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38545         last change.
38547 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38549         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38550         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38551         syscall wrapper around clock_gettime in __vdso_clock_gettime.
38552         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38553         clock_gettime.
38555 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38557         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38558         Forgot to demangle the pointer.
38560         * sysdeps/i386/sysdep.h: Define atom_text_section.
38561         * sysdeps/x86_64/sysdep.h: Likewise.
38562         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38563         section with atom_text_section.
38564         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38565         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38566         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38567         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38568         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38570         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38571         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38572         already be defined.  Change to take two parameters and don't assign
38573         result to variable.  Adjust all users.
38574         Define INTERNAL_GETTIME if not already defined.
38575         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38576         call.
38577         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38578         HAVE_CLOCK_GETTIME_VSYSCALL.
38579         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38581         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38582         gettimeofday vsyscall, just use time.
38584 2011-09-06  Andreas Schwab  <schwab@redhat.com>
38586         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38587         <errno.h>.
38589 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38591         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38592         syscall on x86-64.
38593         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38594         syscall.
38595         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38596         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38597         syscall if possible.
38599 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38601         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38602         e_ident.  Don't pass to find_mapsXX.
38603         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38605 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38607         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38608         strchr-sse2-no-bsf strrchr-sse2-no-bsf
38609         * sysdeps/x86_64/multiarch/strchr.S: Update.
38610         Check bit_slow_BSF bit.
38611         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38612         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38613         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38615 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38617         [BZ #13134]
38618         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38619         before glibc 2.15.
38620         (tryshell): Define.
38621         (__spawni): Change last parameter to be flag.  Test
38622         SPAWN_XFLAGS_USE_PATH flag to use path or not.
38623         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38624         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38625         * posix/spawni.c: Likewise.
38626         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38627         * posix/spawnp.c: Likewise.  Change normal version to use
38628         SPAWN_XFLAGS_USE_PATH.
38629         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38630         SPAWN_XFLAGS_TRY_SHELL.
38632         [BZ #13150]
38633         * posix/glob.h: Remove gcc 1.x support.
38635         [BZ #13068]
38636         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38638 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38640         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38641         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38642         strrchr-sse2-bsf
38643         * sysdeps/i386/i686/multiarch/strchr.S: New file.
38644         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38645         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38646         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38647         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38648         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38650 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38652         * sysdeps/x86_64/wcscmp.S: New file.
38654         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38655         wcscmp-c wcscmp-sse2
38656         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38657         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38658         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38659         * wcsmbs/wcscmp.c: Allow renaming.
38661 2011-09-05  David S. Miller  <davem@davemloft.net>
38663         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38664         stack slot, rather than the struct return pointer slot.
38665         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38666         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38668         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38670 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38672         * po/ja.po: Update from translation team.
38674         [BZ #13144]
38675         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38676         kernel in 64-bit binaries.
38678 2011-09-01  David S. Miller  <davem@davemloft.net>
38680         * elf/elf.h (HWCAP_SPARC_*): Move to..
38681         * sysdeps/sparc/sysdep.h: this new file and add new values.
38682         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38683         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38684         _DL_HWCAP_COUNT to 24.
38685         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38686         entries.
38687         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38688         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38689         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38690         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38691         instead of magic constants.
38692         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38694 2011-08-31  David S. Miller  <davem@davemloft.net>
38696         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38697         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38698         Reimplement to do errno handling inline.
38699         (SYSCALL_ERROR_HANDLER): New macro.
38700         (__SYSCALL_STRING): Do not do errno handling in asm.
38701         (__CLONE_SYSCALL_STRING): Delete.
38702         (__INTERNAL_SYSCALL_STRING): Delete.
38703         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38704         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38705         (PSEUDO): Reimplement to do errno handling inline.
38706         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38707         (SYSCALL_ERROR_HANDLER): New macro.
38708         (__SYSCALL_STRING): Do not do errno handling in asm.
38709         (__CLONE_SYSCALL_STRING): Delete.
38710         (__INTERNAL_SYSCALL_STRING): Delete.
38711         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38712         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38713         i386.
38714         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38715         (inline_syscall*): Add 'err' argument.
38716         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38717         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38718         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38719         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38721         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38722         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38724 2011-08-30  Andreas Schwab  <schwab@redhat.com>
38726         * elf/rtld.c (dl_main): Relocate objects in dependency order.
38728 2011-08-29  Jiri Olsa <jolsa@redhat.com>
38730         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38731         directive.
38733 2011-08-24  David S. Miller  <davem@davemloft.net>
38735         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38737 2011-08-24  Andreas Schwab  <schwab@redhat.com>
38739         * elf/Makefile: Add rules to build and run unload8 test.
38740         * elf/unload8.c: New file.
38741         * elf/unload8mod1.c: New file.
38742         * elf/unload8mod1x.c: New file.
38743         * elf/unload8mod2.c: New file.
38744         * elf/unload8mod3.c: New file.
38746         * elf/dl-close.c (_dl_close_worker): Reset private search list if
38747         it wasn't used.
38749 2011-08-23  David S. Miller  <davem@davemloft.net>
38751         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38752         subtract stack bias.
38753         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38754         %sp not %fp in calculations.
38755         (_JMPBUF_UNWINDS_ADJ): Likewise.
38757         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38758         (aio_suspend): Call it to force an exception region around the
38759         AIO_MISC_WAIT() invocation.
38761 2011-08-23  Andreas Schwab  <schwab@redhat.com>
38763         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38764         backslash.
38766 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
38768         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38769         protection macro.
38770         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38771         and <dl-machine.h>.
38772         (Elf64_FuncDesc): Remove.
38774 2011-08-22  David S. Miller  <davem@davemloft.net>
38776         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38777         sigaltstack check, add missing cfi directives.
38778         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38779         missing cfi directives, and sigaltstack handling.
38781 2011-08-16  Andreas Schwab  <schwab@redhat.com>
38783         [BZ #11724]
38784         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38785         object is seen twice.
38786         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38788         * elf/Makefile (distribute): Add tst-initorder2.c.
38789         (tests): Add tst-initorder2.
38790         (modules-names): Add tst-initorder2a tst-initorder2b
38791         tst-initorder2c tst-initorder2d.  Add rules to build them.
38792         ($(objpfx)tst-initorder2.out): New rule.
38793         * elf/tst-initorder2.c: New file.
38794         * elf/tst-initorder2.exp: New file.
38796 2011-08-22  Andreas Schwab  <schwab@redhat.com>
38798         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38800         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38801         dependencies back to end of function.
38803         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38804         $(elfobjdir)/ld.so.
38806 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
38808         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38809         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38810         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38811         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38812         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38813         of __vdso_gettimeofday.
38814         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38815         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
38816         attribute_hidden.
38817         (_libc_vdso_platform_setup): Remove initialization of
38818         __vdso_gettimeofday and __vdso_time.
38820 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38822         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38823         and fgetc_unlocked.
38824         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38825         getc_unlocked.
38827         * elf/dl-open.c (add_to_global): Report additions to the global scope
38828         for LD_DEBUG=scopes.
38829         (dl_open_worker): Also print scope of newly loaded dependencies.
38830         (_dl_show_scope): Indicate if there is no scope.
38832         [BZ #13114]
38833         * stdio-common/Makefile (tests): Add bug24.
38834         * stdio-common/bug24.c: New file.
38836 2011-08-19  Andreas Jaeger  <aj@suse.de>
38838         [BZ #13114]
38839         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38840         non-existant file when using close-on-exec mode.
38842 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38845         the very first instruction.
38847         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38848         the CFI state in the end.
38849         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38850         inclusion of dl-trampoline.h.
38851         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38853 2011-08-19  Andreas Schwab  <schwab@redhat.com>
38855         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38856         expectations for long double.
38858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38859         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38861 2011-08-14  David S. Miller  <davem@davemloft.net>
38863         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38864         artificual limit depends upon the system page size.
38866 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38868         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38869         * resolv/Makefile: Define CFLAGS-libresolv.
38871 2011-08-17  Andreas Schwab  <schwab@redhat.com>
38873         * nss/makedb.c (compute_tables): Make variables used in nested
38874         function static.
38876 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38878         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38879         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38880         if buffer was too small.
38882         * elf/pldd.c (main): Attach to all threads in the process.
38883         Rewrite /proc handling to use *at functions.
38885 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
38887         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38888         specifies first scope to show.
38889         (dl_open_worker): Update callers.  Move printing scope of new
38890         object to before the relocation.
38891         * elf/rtld.c (dl_main): Update _dl_show_scope call.
38892         * sysdeps/generic/ldsodefs.h: Update declaration.
38894         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38895         string for the scope number.
38897 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
38899         * nscd/servicescache.c (cache_addserv): Make sure written is always
38900         initialized.
38902 2011-08-14  Roland McGrath  <roland@hack.frob.com>
38904         * sysdeps/i386/i486/bits/atomic.h
38905         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38906         statement expression, so as to suppress "set but not used" warning.
38907         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38909         * string/strncat.c (STRNCAT): Use prototype definition.
38911         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38912         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38913         -Iprograms here.
38914         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38915         (localedef-modules): Add localedef.
38916         (locale-modules): Add locale.
38918         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38919         * elf/rtld.c (dl_main): Invert order of assignment in last change,
38920         to avoid a warning.
38922 2011-08-14  David S. Miller  <davem@davemloft.net>
38924         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38925         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38927 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
38929         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38930         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38931         * elf/rtld.c (dl_main): Set l_name of vDSO.
38932         Call _dl_show_scope when DL_DEBUG_SCOPES.
38933         (process_dl_debug): Recognize scopes flag and also set it for all.
38934         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38935         Declare _dl_show_scope.
38937         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38938         (do_dlopen): Pass caller_dlopen to dl_open.
38939         (__libc_dlopen_mode): Initialize caller_dlopen.
38941         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38942         of libc.  Make tolower call locale-independent.  Optimize a bit by
38943         using isdigit instead of isalnum.
38944         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38946 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
38948         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38949         was a dependency or dynamically loaded.
38951 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
38953         * intl/l10nflist.c: Allow architecture-specific pop function.
38954         * sysdeps/x86_64/l10nflist.c: New file.
38956         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38957         classification.
38959 2011-08-10  Andreas Schwab  <schwab@redhat.com>
38961         * include/dirent.h: Add libc_hidden_proto for scandirat and
38962         scandirat64.  Don't declare __scandirat64.
38963         * dirent/scandirat.c: Add libc_hidden_def.
38964         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38965         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38967 2011-08-10  David S. Miller  <davem@davemloft.net>
38969         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38970         enum.
38971         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38972         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38973         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38975 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
38977         * Versions.def [libc]: Add GLIBC_2.15.
38978         * dirent/Makefile (routines): Add scandirat and scandirat64.
38979         * dirent/Versions [libc]: Export scandirat and scandirat64 for
38980         GLIBC_2.15.
38981         * dirent/dirent.h: Declare scandirat and scandirat64.
38982         * dirent/scandirat.c: New file.
38983         * dirent/scandirat64.c: New file.
38984         * sysdeps/wordsize-64/scandirat.c: New file.
38985         * sysdeps/wordsize-64/scandirat64.c: New file.
38986         * dirent/opendir.c: Define opendirat.
38987         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
38988         using scandirat.
38989         * dirent/scandir64.c: Adjust for scandir.c change.
38990         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
38991         __scandirat64, and __scandir_cancel_handler.
38992         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
38993         additional parameter and use openat instead of open (outside of ld.so).
38994         Add new __opendir as wrapper around __opendirat.
38995         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38996         here without requiring old scandirat implementation.
38998 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
39000         * dirent/scandir.c (cancel_handler): Renamed to
39001         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
39002         defined.  Adjust users.
39003         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39004         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39006 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
39008         * string/test-string.h (IMPL): Use __STRING to expand name and then
39009         stringify it.
39011         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
39012         of cleanups.
39014 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39016         * string/Makefile: Update.
39017         (strop-tests): Append strncat.
39018         * string/test-wcscmp.c: New file.
39019         New comprehensive test for wcscmp.
39020         * string/test-strcmp.c: Update.
39021         (WIDE): New define.
39023 2011-07-22  Andreas Schwab  <schwab@redhat.com>
39025         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39026         line.
39028 2011-07-26  Andreas Schwab  <schwab@redhat.com>
39030         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39031         encoding to ACE if AI_IDN.
39033 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
39035         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39036         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39038 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39040         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39041         Fix overflow bug in strncat.
39042         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39044         * string/test-strncat.c: Update.
39045         Add new tests for checking overflow bugs.
39047 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39049         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39050         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39051         * sysdeps/i386/i686/multiarch/strcat.S: New file.
39052         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39053         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39054         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39055         * sysdeps/i386/i686/multiarch/strncat.S: New file.
39056         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39057         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39059         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39060         (USE_AS_STRCAT): Define.
39061         Add strcat and strncat support.
39062         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39064 2011-07-25  Andreas Schwab  <schwab@redhat.com>
39066         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39067         __n bigger than INT_MAX+1.
39068         (__strncmp_g): Likewise.
39070 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
39072         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39073         * libio/stido.h: Likewise.
39075         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39076         (AF_NFC): Define.
39077         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39078         (AF_NFC): Define.
39080         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39081         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39082         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39083         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39084         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39086         [BZ #13021]
39087         * scripts/test-installation.pl: Don't expect libnss_test1 to be
39088         installed.
39090         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39091         typo.
39092         (_dl_x86_64_save_sse): Likewise.
39094 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
39096         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39097         OSXSAVE.
39098         (_dl_x86_64_save_sse): Likewise.
39100         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39102         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39104 2011-07-21  Andreas Schwab  <schwab@redhat.com>
39106         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39107         change.
39108         (_dl_x86_64_save_sse): Use correct AVX check.
39110 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39112         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39113         bug in strncpy/strncat.
39114         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39116 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
39118         * string/tester.c (test_strcat): Add tests for different alignments
39119         of source and destination.
39120         (test_strncat): Likewise.
39122 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39124         [BZ #12852]
39125         * posix/glob.c (glob): Check passed in values before using them in
39126         expressions to avoid some overflows.
39127         (glob_in_dir): Likewise.
39129         [BZ #13007]
39130         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39131         check for AVX enablement so that we don't crash with old kernels and
39132         new hardware.
39133         * elf/tst-audit4.c: Add same checks here.
39134         * elf/tst-audit6.c: Likewise.
39136         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39138 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
39140         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39142 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
39144         * po/cs.po: Update from translation team.
39145         * po/bg.po: Likewise.
39147 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
39149         * misc/sys/cdefs.h: Add support for const attribute.
39150         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39151         to gnu_dev_{major,minor,makedev} functions.
39153 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
39155         * intl/dcigettext.c (get_output_charset): Add missing bracket.
39157 2011-07-20  Andreas Schwab  <schwab@redhat.com>
39159         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39160         strlen results.
39162 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39164         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39165         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39166         register in order to avoid conflicts with the soft frame pointer
39167         being held in r11 when necessary.
39168         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39169         (INTERNAL_VSYSCALL_NCS): Likewise.
39171 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
39173         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39174         * elf/dl-fini.c (_dl_fini): Adjust caller.
39175         * elf/dl-close.c (_dl_close_worker): Likewise.
39176         * sysdeps/generic/ldsodefs.h: Adjust declaration.
39178 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39180         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39181         "aux_cache->nlibs < 0".
39183         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39184         in the reload-count case.
39186 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39189         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39190         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39191         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39192         * sysdeps/x86_64/multiarch/strcat.S: New file.
39193         * sysdeps/x86_64/multiarch/strncat.S: New file.
39194         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39195         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39196         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39197         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39198         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39199         (USE_AS_STRCAT): Define.
39200         Add strcat and strncat support.
39201         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39202         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39203         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39204         * string/strncat.c: Update.
39205         (USE_AS_STRNCAT): Define.
39206         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39207         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39208         and i7.
39209         * sysdeps/x86_64/multiarch/init-arch.h
39210         (bit_Prefer_PMINUB_for_stringop): New.
39211         (index_Prefer_PMINUB_for_stringop): Likewise.
39212         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39213         bit_Prefer_PMINUB_for_stringop.
39215 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39217         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39218         buffer64.
39219         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39220         of casting of buffer.
39221         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39222         buffer32 and buffer64.
39223         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39224         writes instead of casting of buffer.
39225         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39226         buffer32.
39227         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39228         casting of buffer.
39230 2011-07-19  Andreas Schwab  <schwab@redhat.com>
39232         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39234 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39236         * nscd/nscd.c (termination_handler): Don't do anything for a database
39237         if it has not yet been initialized.
39239 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39241         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39243 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39245         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39247 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39249         * po/nl.po: Update from translation team.
39250         * po/sv.po: Likewise.
39252 2011-07-16  Roland McGrath  <roland@hack.frob.com>
39254         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39255         now disallowed by GCC.
39257         * configure.in (use-default-link): Default to yes if a test -shared
39258         link meets our qualifications.
39259         * configure: Regenerated.
39261         * config.make.in (output-format): New variable.
39262         * configure.in: Check for ld --print-output-format support.
39263         * configure: Regenerated.
39264         * Makerules ($(common-objpfx)format.lds)
39265         [$(output-format) != unknown]: Just use $(output-format),
39266         instead of the linker-script munging.
39268 2011-07-14  Roland McGrath  <roland@hack.frob.com>
39270         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39271         of $(common-objpfx)shlib.lds.
39272         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39274         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39275         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39277         * configure.in (-z relro check): Adjust test code to add a large
39278         writable data section after it.
39279         * configure: Regenerated.
39281 2011-07-11  Roland McGrath  <roland@hack.frob.com>
39283         * configure.in (-z relro check): Fix test code to make the variable
39284         truly const.
39285         * configure: Regenerated.
39287 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
39289         * nscd/nscd.h (struct traced_file): Define.
39290         (struct database_dyn): Remove inotify_descr, reset_res, and filename
39291         elements.  Add traced_files.
39292         (inotify_fd): Declare.
39293         (register_traced_file): Declare.
39294         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39295         (inotify_fd): Export.
39296         (resolv_conf_descr): Remove.
39297         (nscd_init): Move inotify descriptor creation to main.
39298         Don't register files for notification here.
39299         (register_traced_file): New function.
39300         (invalidate_cache): Don't use reset_res to determine whether to call
39301         res_init, go through the list of registered files.
39302         (main_loop_poll): The inotify descriptors are now stored in the
39303         structures for the traced files.
39304         (main_loop_epoll): Likewise
39305         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
39306         to __nss_disable_nscd.
39307         * nscd/cache.c (prune_cache): There is no single inotify descriptor
39308         for a database anymore.  Check the records for all the registered
39309         files instead.
39310         * nss/Makefile (libnss_files-routines): Add files-init.
39311         (libnss_db-routines): Add db-init.
39312         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39313         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39314         * nss/nss_db/db-init.c: New file.
39315         * nss/nss_files/files-init.c: New file.
39316         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
39317         __nss_lookup_function.
39318         (__nss_lookup_function): Call nss_load_library.
39319         (nss_load_all_libraries): New function.
39320         (__nss_disable_nscd): Take parameter with callback function for files
39321         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
39322         used for the cached services.
39323         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39324         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39325         options for features to all the files in nscd.
39327         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39329 2011-07-10  Roland McGrath  <roland@hack.frob.com>
39331         * csu/elf-init.c (__libc_csu_init): Comment typo.
39333 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
39335         * po/pl.po: Update from translation team.
39336         * po/ja.po: Likewise.
39337         * po/ru.po: Likewise.
39338         * po/ko.po: Likewise.
39339         * po/fr.po: Likewise.
39341 2011-07-09  Roland McGrath  <roland@hack.frob.com>
39343         * configure.in (.ctors/.dtors header and trailer check):
39344         Use an empirical test on a built program.
39345         * configure: Regenerated.
39347         * configure.in (-z relro check): Use an empirical test on a built DSO.
39348         Detect, but do not require, on ia64.
39349         * configure: Regenerated.
39351         * configure.in (READELF): Find it with AC_CHECK_TOOL.
39352         Update tests that use readelf to use $READELF instead.
39353         * configure: Regenerated.
39355 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
39357         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39358         if the result is not used.
39360 2011-07-05  Andreas Jaeger  <aj@suse.de>
39362         [BZ#9696]
39363         * stdlib/tst-strtod.c: Add testcase.
39365 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
39367         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39368         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39369         The latter has a higher limit.  Take additional parameter to pass to
39370         the new function.
39371         (__pathconf): Pass file to __statfs_link_max.
39372         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39373         __statfs_link_max.
39374         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39375         __statfs_link_max.
39377         [BZ #12868]
39378         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39379         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39380         Handle Lustre.
39381         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39382         (__statfs_filesize_max): Likewise.
39383         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39385 2011-07-05  Andreas Jaeger  <aj@suse.de>
39387         * resolv/res_comp.c (dn_skipname): Remove unused variable.
39389 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
39391         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39392         `status' variable.
39393         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39394         Likewise.
39396 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
39398         * Makefile (strop-tests): Add strncat.
39399         * string/test-strncat.c: New file.
39401 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
39403         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39405 2011-06-21  Andreas Jaeger  <aj@suse.de>
39407         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39408         Copy rule from iconvdata/Makefile.
39410 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39412         [BZ #12922]
39413         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39414         but no long options are defined, just return 'W'.
39416 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
39418         [BZ #9696]
39419         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39421 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39423         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39424         netgroups to read.
39425         (innetgr): Likewise.
39427 2011-07-05  Roland McGrath  <roland@hack.frob.com>
39429         * config.make.in (install_root): Default to $(DESTDIR).
39431 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
39433         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39435 2011-07-02  Roland McGrath  <roland@hack.frob.com>
39437         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39439         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39440         containing directory rather than embedding absolute directory names.
39442         * scripts/check-local-headers.sh: Rewritten using awk.
39443         Match by word, not by line.  Print error messages for matches.
39444         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39446         * Makerules [shlib-lds-flags empty]:
39447         ($(common-objpfx)libc_pic.opts): New target.
39448         ($(common-objpfx)libc_pic.os.clean): New target.
39449         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39451         * config.make.in (OBJCOPY): New variable.
39452         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39453         * configure: Regenerated.
39455         * config.make.in (use-default-link): New variable.
39456         * configure.in (use_default_link): Grok --with-default-link to set it.
39457         * configure: Regenerated.
39458         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39459         (shlib-lds, shlib-lds-flags): Define to empty.
39461         * Makerules (shlib-lds): New variable.
39462         (shlib-lds-flags): New variable.
39463         (build-shlib, build-moduile, build-module-asneeded): Use it.
39464         ($(common-objpfx)libc.so): Use $(shlib-lds).
39465         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39466         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39468         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39469         DT_FLAGS/DT_FLAGS_1 with zero flags.
39471         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39472         linker script munging.
39474 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
39476         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39477         as 128-bit value.
39478         * crypt/sha512.c (sha512_process_block): Perform total addition using
39479         128-bit if possible.
39480         (__sha512_finish_ctx): Likewise.
39481         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39482         as 64-bit value.
39483         * crypt/sha256.c (SWAP64): Define.
39484         (sha256_process_block): Perform total addition using 64-bit if
39485         possible.
39486         (__sha256_finish_ctx): Likewise.
39488 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
39490         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
39491         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39492         * nscd/hstcache.c (cache_addhst): Likewise.
39493         * nscd/grpcache.c (cache_addgr): Likewise.
39494         * nscd/aicache.c (addhstaiX): Likewise
39495         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39497 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
39499         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39500         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39501         * nscd/hstcache.c (cache_addhst): Likewise.
39502         * nscd/grpcache.c (cache_addgr): Likewise.
39503         * nscd/aicache.c (addhstaiX): Likewise
39505 2011-07-01  Andreas Schwab  <schwab@redhat.com>
39507         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39508         domain only when needed.
39510 2011-06-30  Andreas Schwab  <schwab@redhat.com>
39512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39513         is always restored.
39515 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
39517         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39518         are re-adding the entry.
39519         * nscd/servicescache.c (cache_addserv): Likewise.
39521 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
39523         * sysdeps/generic/dl-irel.h: fix protection against multiple
39524         inclusions.
39525         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39527 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
39529         [BZ #12935]
39530         * malloc/memusage.sh: Fix quoting in message.
39531         * debug/xtrace.sh: Likewise.
39533         * configure.in: Remove support for --experimental-malloc option, make
39534         it the default.
39535         * config.make.in: Likewise.
39536         * malloc/Makefile: Likewise.
39538 2011-06-27  Andreas Schwab  <schwab@redhat.com>
39540         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39541         two-byte characters.
39543 2011-06-27  Roland McGrath  <roland@hack.frob.com>
39545         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39546         AC_CACHE_CHECK invocation.
39547         * configure: Regenerated.
39549         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39551 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
39553         [BZ #12350]
39554         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
39555         bit from old_res_options.
39557         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39559         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39560         value type for setfct.
39562 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
39564         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39565         __gettimeofday instead of gettimeofday.
39567 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
39569         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39571 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
39573         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39575         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39576         info.
39578 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39581         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39582         strcpy-sse2-unaligned strncpy-sse2-unaligned
39583         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39584         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39585         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39586         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39587         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39588         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39589         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39590         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39591         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39592         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39593         (STRCPY): Support SSE2 and SSSE3 versions.
39595 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
39597         [BZ #12874]
39598         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39599         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39600         kernels which artificially limit size of requests.
39602 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39604         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39605         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39606         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39607         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39608         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39609         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39610         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39611         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39612         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39613         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39614         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39615         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39616         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39617         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39618         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39619         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39620         Enable unaligned load optimization for Intel Core i3, i5 and i7
39621         processors.
39622         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39623         Define.
39624         (index_Fast_Unaligned_Load): Define.
39625         (HAS_FAST_UNALIGNED_LOAD): Define.
39627 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
39629         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39631 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39633         [BZ #12907]
39634         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39635         until it is clear that the information is realy needed.
39636         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39638 2011-06-22  Andreas Schwab  <schwab@redhat.com>
39640         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39642 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39644         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39645         /sys/devices/system/cpu/online if it is usable.
39647         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39648         reading the information from the /proc filesystem to once a second.
39650 2011-06-21  Andreas Jaeger  <aj@suse.de>
39652         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39653         NULL after inclusion of kernel headers.
39655 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
39657         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39658         calls to internal_setent.
39660         [BZ #12885]
39661         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39662         addresses using gethostbyname4_r ignore IPv4 addresses.
39664         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39665         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
39667         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39669 2011-06-20  David S. Miller  <davem@davemloft.net>
39671         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39672         inclusions.
39673         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39675         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39676         (elf_irel): Use it.
39677         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39678         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39679         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39680         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39681         * sysdeps/x86_64/dl-irel.h: Likewise.
39683         * elf/dl-runtime.c: Use elf_ifunc_invoke.
39684         * elf/dl-sym.c: Likewise.
39686 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39688         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
39689         need to dereference resplen2.
39691 2011-06-14  Andreas Schwab  <schwab@redhat.com>
39693         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39695 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39697         * Makeconfig: Define vardbdir and inst_vardbdir.
39698         * nss/Makefile: Add rules to install db-Makefile.
39700         * nss/nss_db/db-XXX.c: Cleanup.
39702         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39703         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39704         GLIBC_PRIVATE.
39705         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39706         * nss/makedb.c: Implement -g option to specify that value strings
39707         are generated and should not be added to table iterated over for
39708         get*ent calls.
39709         * nss/nss_db/db-initgroups.c: New file.
39711         * nss/getent.c: Add support for initgroups lookups through getgrouplist
39712         interface.
39714         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39715         (internal_getgrouplist): Adjust to name change.
39716         Update use_initgroups_entry if this is not the first call.
39717         * nss/databases.def: Add initgroups entry.
39719         * nss/makedb.c (compute_tables): Check result of multiple hash table
39720         sizes to minimize maximum chain length.
39722 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
39724         * Versions.def: Add entry for libnss_db.
39725         * shlib-versions: Likewise.
39726         * nss/Makefile: Add rules to build libnss_db.
39727         * nss/Versions: Add libnss_db information.  Organize libnss_files
39728         entries better.
39729         * nss/db-Makefile: Add gshadow support.  Change rules for the new
39730         makedb progra.  Some minor improvements to generate smaller files.
39731         * nss/nss_db/nss_db.h: Move NSS database header data structures to
39732         here from...
39733         * nss/makedb.c: ...here.
39734         Improve database format to be smaller and require less memory at
39735         runtime.
39736         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
39737         db anymore.
39738         * nss/nss_db/db-netgrp.c: Likewise.
39739         * nss/nss_db/db-open.c: Likewise.
39740         * nss/nss_files/flies-XXX.x: Adjust comments.
39741         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39742         * nss/nss_files/files-grp.c: Likewise.
39743         * nss/nss_files/files-hosts.c: Likewise.
39744         * nss/nss_files/files-network.c: Likewise.
39745         * nss/nss_files/files-proto.c: Likewise.
39746         * nss/nss_files/files-pwd.c: Likewise.
39747         * nss/nss_files/files-rpc.c: Likewise.
39748         * nss/nss_files/files-service.c: Likewise.
39749         * nss/nss_files/files-sgrp.c: Likewise.
39750         * nss/nss_files/files-spwd.c: Likewise.
39751         * nss/nss_db/db-alias.c: Removed.
39752         * nss/nss_db/dummy-db.h: Removed.
39754 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
39756         * nss/makedb.c: Rewritten to not use database library.
39757         * nss/Makefile: Update to build new makedb program.
39759 2011-06-14  Andreas Jaeger  <aj@suse.de>
39761         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39762         memset declaration.
39764 2011-06-10  Andreas Schwab  <schwab@redhat.com>
39766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39767         tmpbuf.
39769 2011-06-10  Roland McGrath  <roland@hack.frob.com>
39771         * Makerules (shlib.lds): Fail if the linker script comes out empty.
39772         * elf/Makefile ($(objpfx)ld.so): Likewise.
39774         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39775         Don't list ld.so twice in dependencies.
39777         * posix/bug-regex31.c: Include <stdlib.h>.
39779         * nscd/hstcache.c (cache_addhst): Remove unused variable.
39781         * nis/nss_compat/compat-spwd.c
39782         (getspent_next_nss_netgr): Remove unused variable.
39783         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39785         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39786         nonmembers" output to use the right array.
39788         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39790         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39792         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39793         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39794         * catgets/gencat.c (read_input_file): Likewise.
39795         * locale/programs/locarchive.c (enlarge_archive): Likewise.
39797         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39798         variable definition inside #if's controlling its use.
39800         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39802         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39804         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39806         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39807         unreachable code.
39809         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39811         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39812         * configure: Regenerated.
39814         * Makerules: Revert last change.
39815         * elf/Makefile: Likewise.
39817 2011-06-09  Roland McGrath  <roland@hack.frob.com>
39819         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39820         * elf/Makefile ($(objpfx)librtld.os): Likewise.
39821         (reloc-link): Likewise.
39823 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
39825         * elf/Makefile: Add rules to build pldd.
39826         * elf/pldd.c: New file.
39827         * elf/pldd-xx.c: New file.
39829 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
39831         * version.h: Update for 2.15 development version.
39833 2011-06-07  David S. Miller  <davem@davemloft.net>
39835         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39836         ifuncs.
39837         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39838         elf_machine_lazy_rel): Likewise.
39839         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39840         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39841         elf_machine_lazy_rel): Likewise.
39842         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39843         dl_hwcap via passed in argument.
39844         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39845         Likewise.
39847 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39849         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
39851 2011-06-06  Roland McGrath  <roland@hack.frob.com>
39853         [BZ #12849]
39854         * manual/fdl-1.1.texi: New file, verbatim from:
39855         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39856         * manual/lgpl-2.1.texi: New file, verbatim from:
39857         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39858         * manual/Makefile (licenses): New variable, list those new file names.
39859         (texis): Use it.
39860         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39862         * manual/fdl.texi: File removed.
39863         * manual/lesser.texi: File removed.
39864         * manual/libc.texinfo (Copying, Documentation License):
39865         Use new @include file names, put @appendix directive before @include.
39867 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
39869         [BZ #12841]
39870         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39871         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39872         (mq_open): Add __NTH.
39874 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
39876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39877         Assume Intel Core i3/i5/i7 processor if AVX is available.
39879 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39881         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39882         typo.
39884 2011-05-31  Andreas Schwab  <schwab@redhat.com>
39886         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39887         memory.  Use alloca_account.  Fix memory leak when retrying.
39889 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39891         * version.h (RELEASE): Bump for 2.14 release.
39892         * include/features.h (__GLIBC_MINOR__): Bump to 14.
39894         * config.make.in (RANLIB): Remove entry.
39896 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
39898         * po/Makefile (po-sed-cmd): Add ksh to extensions.
39899         (libc.pot): Work around missing support for .ksh extension in xgettext.
39901         [BZ #12684]
39902         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39903         if both request failed.
39904         (send_dg): In case of server errors clear resplen or *resplen2.
39906         [BZ #12454]
39907         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39908         when there are multiple maps.
39909         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39910         (_dl_fini): Remove test here.
39912         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39914 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
39916         [BZ #12350]
39917         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39918         bit from old_res_options.
39919         (gaih_inet): Likewise.
39921         [BZ #11099]
39922         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39923         as signed.
39925         * resolv/res_init.c (res_setoptions): Make the code more compact.
39927         [BZ #11558]
39928         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39929         set RES_USEVC.
39931         [BZ #11634]
39932         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39934         * malloc/malloc.h: Mark malloc hook variables as deprecated.
39936         [BZ #11781]
39937         * malloc/malloc.h: Declare malloc hook variables as volatile.
39939         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39940         in last patch.
39942         [BZ #11799]
39943         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39944         raise in the comment.
39945         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39946         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39947         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39949 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
39951         [BZ #12811]
39952         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39953         grow the buffers more if it already has to be sufficient.
39954         (build_wcs_upper_buffer): Likewise.
39955         * posix/regexec.c (check_matching): Likewise.
39956         (clean_state_log_if_needed): Likewise.
39957         (extend_buffers): Don't enlarge buffers beyond size of the input
39958         buffer.
39959         Patches mostly by Emil Wojak <emil@wojak.eu>.
39960         * posix/bug-regex32.c: New file.
39961         * posix/Makefile (tests): Add bug-regex32.
39963         * locale/findlocale.c (_nl_find_locale): Return right away if
39964         _nl_explode_name failed.
39965         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39967         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39969         * debug/xtrace.sh: Unify messages.
39970         * malloc/memusage.sh: Likewise.
39972         [BZ #12813]
39973         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39974         time symbol from vDSO.  Substitute with vsyscall if not available.
39975         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39976         __vdso_time.
39978         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39979         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39980         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39981         Add sendmmsg and internal_sendmmsg.
39982         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39983         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39984         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39986         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39987         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39988         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39990 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
39992         [BZ #12813]
39993         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39994         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
39995         available.
39996         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39997         __vdso_getcpu.
39999         [BZ #12814]
40000         * iconvdata/Makefile (tests): Add bug-iconv9.
40001         * iconvdata/bug-iconv9.c: New file.
40003 2011-05-27  Andreas Schwab  <schwab@redhat.com>
40005         [BZ #12814]
40006         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40008 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
40010         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40011         (struct user_regs_struct): Change intcs field back to cs.
40013 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
40015         * po/ja.po: Update from translation team.
40017 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
40019         [BZ #12795]
40020         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40021         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40023 2011-05-20  Andreas Schwab  <schwab@redhat.com>
40025         * stdlib/longlong.h: Update from GCC.
40027 2011-05-23  Andreas Schwab  <schwab@redhat.com>
40029         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40030         parameter name.
40031         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40032         Add parameter name.
40033         (__sysconf): Pass it down.
40035 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
40037         [BZ #12671]
40038         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40039         some situations.
40040         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40041         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40042         add in in __libc_use_alloca calls.  Adjust callers.
40043         (glob): Use malloc in some situations.
40045         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40046         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40047         pltexit.
40049 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
40051         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40052         and CLOCK_BOOTTIME_ALARM.
40054         [BZ #12782]
40055         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40056         is returned.
40058         * string/_strerror.c (__strerror_r): Print negative errors as signed
40059         numbers.
40061         [BZ #12777]
40062         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40063         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40064         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40066         * configure.in: Fix typo in redirection and correct removal of test
40067         files in two cases.
40069         [BZ #12788]
40070         * locale/setlocale.c (new_composite_name): Fix test to check for
40071         identical name of all categories.
40073         [BZ #12792]
40074         * libio/filedoalloc.c (local_isatty): New function.
40075         (_IO_file_doallocate): Use local_isatty.
40076         * stdio-common/perror.c (perror): In case a new stream is used
40077         forward the stream error.
40078         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40079         error flag.
40081 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
40083         [BZ #11869]
40084         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40085         alloca.
40086         * include/alloca.h (extend_alloca_account): Define.
40088         [BZ #11857]
40089         * posix/regex.h: Fix comments with documentation of user-accessible
40090         fields after compilation and describe correct free'ing of pattern
40091         after re_compile_pattern.
40092         Patch by Reuben Thomas <rrt@sc3d.org>.
40094 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
40096         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40097         and -mno-altivec to prevent the compiler from using Altivec and/or
40098         VSX instructions when the corresponding registers are not available.
40100 2011-05-19  Andreas Schwab  <schwab@redhat.com>
40102         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40104 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
40106         * libio/freopen.c (freopen): Use __dup2, not dup2.
40107         * libio/freopen64.c (freopen64): Likewise.
40109 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40111         [BZ #12775]
40112         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40113         * math/Makefile (tests): Add test-powl.
40114         (CFLAGS-test-powl.c): Define.
40115         * math/test-powl.c: New file.
40117 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40119         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40121 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
40123         [BZ #11837]
40124         * iconvdata/gb18030.c: Update to GB18020-2005.
40126 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
40128         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40129         RE_SYNTAX_POSIX_AWK): Update to match recent development.
40130         Patch by Aharon Robbins <arnold@skeeve.com>.
40132         [BZ #11892]
40133         * stdlib/putenv.c (putenv): Don't always create copy of the variable
40134         on the stack.
40136         [BZ #11895]
40137         * misc/pselect.c (__pselect): Handle timeout value errors hidden
40138         through underflows.
40140         [BZ #12766]
40141         * misc/error.c (error_at_line): Ensure file_name and old_file_name
40142         point to strings before performing equality test for error_one_per_line
40143         mode.
40145         [BZ #11697]
40146         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40148         [BZ #11820]
40149         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40150         (struct user_fpregs_struct): Avoid __uint*_t types.
40152         [BZ #6420]
40153         * malloc/mtrace.c (tr_where): Add additional parameter to point to
40154         symbol info.  Use it instead of calling _dl_addr locally.
40155         (lock_and_info): New function.
40156         (tr_freehook): Call lock_and_info and pass symbol info as additional
40157         parameter to tr_where.
40158         (tr_mallochook): Likewise.
40159         (tr_reallochook): Likewise.
40160         (tr_memalignhook): Likewise.
40162         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
40163         used and couldn't be at all thread-safe.
40165 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
40167         * libio/freopen.c (freopen): Don't close old file descriptor
40168         before the new one is opened.  Instead dup the new file descriptor
40169         to the old one after the new stream is created.
40170         * libio/freopen64.c (freopen64): Likewise.
40171         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40172         * libio/fileops.c (_IO_new_file_close_it): Handle new
40173         _IO_FLAGS2_NOCLOSE flag.
40174         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40175         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40176         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40177         _IO_FLAGS2_NOCLOSE flag.
40178         * include/unistd.h: Add hidden_proto for dup3.
40179         Define __have_dup3.
40180         * io/dup3.c: Define hidden symbol.
40181         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40183         [BZ #7101]
40184         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40185         when an incomplete long option is used.
40186         * posix/tst-getopt_long1.c: New file.
40187         * posix/Makefile (tests): Add tst-getopt_long1.
40189         [BZ #10138]
40190         * scripts/config.guess: Update from autoconf-2.68.
40191         * scripts/config.sub: Likewise.
40193         [BZ #10157]
40194         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40195         tests into ...
40196         (has_cpuclock): ...this.  New function.
40197         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40198         macro here based on has_cpuclock code.
40200         [BZ #10149]
40201         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40202         First byte (not low byte) is now always NUL.
40203         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40205         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40206         Use non-cancelable interfaces.
40208         [BZ #9809]
40209         * locale/iso-639.def: Add entry for Sorani.
40211         [BZ #11901]
40212         * include/stdlib.h: Move include protection to the right place.
40213         Define abort_msg_s.  Declare __abort_msg with it.
40214         * stdlib/abort.c (__abort_msg): Adjust type.
40215         * assert/assert.c (__assert_fail_base): New function.  Majority
40216         of code from __assert_fail.  Allocate memory for __abort_msg with
40217         mmap.
40218         (__assert_fail): Now call __assert_fail_base.
40219         * assert/assert-perr.c: Remove bulk of implementation.  Use
40220         __assert_fail_base.
40221         * include/assert.hL Declare __assert_fail_base.
40222         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40223         mmap.
40224         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40226 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
40228         [BZ #11952]
40229         [BZ #12453]
40230         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40231         until all modules are registered in the DTV.
40232         * elf/Makefile: Add rules to build and run tst-tls19.
40233         * elf/tst-tls19.c: New file.
40234         * elf/tst-tls19mod1.c: New file.
40235         * elf/tst-tls19mod2.c: New file.
40236         * elf/tst-tls19mod3.c: New file.
40237         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40239         [BZ #12083]
40240         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40241         correctly.
40243         [BZ #12601]
40244         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40245         two-byte sequence errors.
40246         * iconvdata/Makefile (tests): Add bug-iconv8.
40247         * iconvdata/bug-iconv8.c: New file.
40249         [BZ #12626]
40250         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40251         buf2 definition.
40253         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40255         [BZ #12432]
40256         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40257         (dummy_getcfa): New function.
40258         (init): Get _Unwind_GetCFA address, use dummy if not found.
40259         (backtrace_helper): In recursion check, also check whether CFA changes.
40260         (__backtrace): Completely initialize arg.
40262         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40263         storing incomplete byte sequence in state object.  Avoid testing for
40264         guaranteed too small input if we know there is enough data available.
40266 2011-05-11  Andreas Schwab  <schwab@redhat.com>
40268         * Makeconfig (+link-pie): Indent.
40269         * Rules (binaries-pie): Define if $(have-fpie) and
40270         $(build-shared).
40271         (binaries-shared): Also filter out $(binaries-pie).
40272         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40273         * nscd/Makefile (others-pie): Add nscd.
40274         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40275         ($(objpfx)nscd): Remove command override.
40276         * login/Makefile (others-pie): Add pt_chown.
40277         ($(objpfx)pt_chown): Remove command override.
40278         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40279         remove command overrides.
40281 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
40283         * libio/tst_putwc.c: Fix error messages.
40285         [BZ #12724]
40286         * libio/fileops.c (_IO_new_file_close_it): Always flush when
40287         currently writing and seek to current position when not.
40288         * libio/Makefile (tests): Add bug-fclose1.
40289         * libio/bug-fclose1.c: New file.
40291 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
40293         [BZ #12511]
40294         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40295         don't set DF_1_NODELETE here.
40296         (do_lookup_x): When entering new entry test for copy relocation
40297         and if necessary set DF_1_NODELETE flag.
40298         * elf/tst-unique4.cc: New file.
40299         * elf/tst-unique4.h: New file.
40300         * elf/tst-unique4lib.cc: New file.
40301         * elf/Makefile: Add rules to build and run tst-unique4.
40302         Patch by Piotr Bury <pbury@goahead.com>.
40304 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
40306         [BZ #12052]
40307         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40309         [BZ #12625]
40310         * misc/mntent_r.c (addmntent): Flush the stream after the output
40312         [BZ #12393]
40313         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40314         (is_trusted_path_normalize): Skip initial colon.  Append slash
40315         to empty buffer.  Duplicate is_trusted_path code but allow
40316         constructed patch to be prefix.
40317         (is_dst): Allow $ORIGIN followed by /.
40318         (_dl_dst_substitute): Correct clearing of check_for_trusted.
40319         Correct testing of result of is_trusted_path_normalize
40320         (decompose_rpath): Fix warning.
40322 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
40324         [BZ #11257]
40325         * grp/initgroups.c (internal_getgrouplist): When we found the service
40326         list through the initgroups entry in nsswitch.conf do not always
40327         continue on a successful lookup.  Don't always use the
40328         __nss_group_database value if it is set.
40329         * nss/nsswitch.conf (initgroups): Change action for successful db
40330         lookup to continue for compatibility.
40332 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
40334         [BZ #11532]
40335         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40336         and CP774 modules.
40337         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40338         and CP774 modules.
40339         * iconvdata/tst-tables.sh: Likewise.
40340         * iconvdata/cp770.c: New file.
40341         * iconvdata/cp771.c: New file.
40342         * iconvdata/cp772.c: New file.
40343         * iconvdata/cp773.c: New file.
40344         * iconvdata/cp774.c: New file.
40345         * iconvdata/testdata/CP770: New file.
40346         * iconvdata/testdata/CP770..UTF8: New file.
40347         * iconvdata/testdata/CP771: New file.
40348         * iconvdata/testdata/CP771..UTF8: New file.
40349         * iconvdata/testdata/CP772: New file.
40350         * iconvdata/testdata/CP772..UTF8: New file.
40351         * iconvdata/testdata/CP773: New file.
40352         * iconvdata/testdata/CP773..UTF8: New file.
40353         * iconvdata/testdata/CP774: New file.
40354         * iconvdata/testdata/CP774..UTF8: New file.
40356         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40357         END CHARMAP line.
40358         * iconvdata/gen-8bit-gap.sh: Likewise.
40359         * iconvdata/gen-8bit.sh: Likewise.
40361         * locale/iso-639.def: Add ary entry.
40363         [BZ #11258]
40364         * locale/C-translit.h.in: Add U20A1 transliteration.
40366         [BZ #12178]
40367         * locale/iso-639.def: Add wae entry.
40368         Patch by Kevin Bortis <bortis@translate-wae.ch>.
40370         [BZ #12545]
40371         * locale/programs/localedef.c (construct_output_path): Use ssize_t
40372         for n.
40374         [BZ #12711]
40375         * locale/C-translit.h.in: Add entry for U20B9.
40376         Patch by pravin.d.s@gmail.com.
40378 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
40380         [BZ #12713]
40381         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40382         ENAMETOOLONG use generic getcwd.
40383         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
40384         in rtld.  Use *stat64.
40385         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40386         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40387         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40388         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40389         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40390         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40391         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40392         __fstatat64 macros.
40393         * include/dirent.h: Add libc_hidden_proto for rewinddir.
40394         * dirent/rewinddir.c: Add libc_hidden_def.
40395         * sysdeps/mach/hurd/rewinddir.c: Likewise.
40396         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
40398         * include/dirent.h (__alloc_dir): Add flags parameter.
40399         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40400         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40401         __alloc_dir.
40402         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
40403         from fdopendir if O_CLOEXEC is already set.
40405 2011-03-15  Alan Modra  <amodra@gmail.com>
40407         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40408         l_tls_firstbyte_offset non-zero.  Save padding offset in
40409         l_tls_firstbyte_offset for later use.
40410         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40411         freeing static tls block.
40413 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
40415         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40416         where #ifdef was intended.  The intent is to prevent ARG_MAX from
40417         being defined by the kernel headers.
40419 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
40421         [BZ #12734]
40422         * resolv/resolv.h: Define RES_NOTLDQUERY.
40423         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40424         no-tld-query and set RES_NOTLDQUERY.
40425         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40426         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40427         modern BIND to search name as TLD unless forbidden.
40429 2011-05-07  Petr Baudis  <pasky@suse.cz>
40430             Ulrich Drepper  <drepper@gmail.com>
40432         [BZ #12393]
40433         * elf/dl-load.c (fillin_rpath): Move trusted path check...
40434         (is_trusted_path): ...to here.
40435         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40436         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40437         using is_trusted_path_normalize() in setuid scripts.
40439 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40441         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40442         __BEGIN/__END_DECLS.
40444 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
40446         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40447         NSS_STATUS_NOTFOUND if no record was found.
40449 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40451         * sunrpc/Makefile (headers): Add rpc/netdb.h.
40452         (headers-not-in-tirpc): Remove rpc/netdb.h
40453         * resolv/netdb.h: Revert last change.
40455 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40457         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40458         circular dependency between libgcc.a and libc.a.
40460 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40462         * resolv/netdb.h: Don't include <rpc/netdb.h>.
40463         * nis/Makefile: Don't install rpcsvc/*.
40464         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40465         instead of <rpc/types.h>.
40466         (MAXHOSTNAMELEN): Define.
40468 2011-05-03  Andreas Schwab  <schwab@redhat.com>
40470         * elf/ldconfig.c (add_dir): Don't crash on empty path.
40472 2011-04-28  Maciej Babinski  <mbabinski@google.com>
40474         [BZ #12714]
40475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40476         gethostbyname4_r when IPv6 results are possible.
40478 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
40480         [BZ #12723]
40481         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40482         _PC_PIPE_BUF handling.
40484 2011-04-30  Bruno Haible  <bruno@clisp.org>
40486         [BZ #12717]
40487         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40488         * resolv/netdb.h (getnameinfo): Change type of flags parameter
40489         to 'int'.
40490         * inet/getnameinfo.c (getnameinfo): Likewise.
40492 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
40494         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40495         to groups setting in database lookup.
40496         * nss/nsswitch.conf: Add initgroups entry.
40498 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
40500         [BZ #12685]
40501         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40502         mode string.
40503         Patch by Eric Blake <eblake@redhat.com>.
40505 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
40507         * sunrpc/Makefile (need-export-routines): Add svc_run.
40508         (routines): Remove svc_run.
40509         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40510         * sunrpc/clnt_perr.c (clnt_perrno): Export.
40511         * sunrpc/svc_run.c (svc_run): Likewise.
40512         * sunrpc/svc_udp.c (svcudp_create): Likewise.
40514 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
40516         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40517         problem in reallocation in last patch.
40519 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
40521         * sunrpc/Makefile: Move inclusion of Rules.
40523 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40525         * nss/nss_files/files-initgroups.c: New file.
40526         * nss/Makefile (libnss_files-routines): Add files-initgroups.
40527         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40528         _nss_files_initgroups_dyn.
40530 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
40532         * elf/elf.h (R_ARM_IRELATIVE): Define.
40534 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40536         * po/ru.po: Update from translation team.
40538 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40540         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40541         dependencies.
40543 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
40545         [BZ #12653]
40546         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40547         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40548         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40549         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40550         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40552 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
40554         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40555         differing bytes.
40556         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40557         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40558         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40560 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40562         [BZ #12420]
40563         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40564         storing it.
40565         * stdlib/bug-getcontext.c: New file.
40566         * stdlib/Makefile: Add rules to build and run bug-getcontext.
40568 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40570         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40571         instructions into .machine "z9-109".
40572         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40573         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40575 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40577         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40578         between environment variables and auxiliary vector.
40580 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
40582         * Makefile: Add rules to build linkobj/libc.so.
40583         * include/libc-symbols.h: Define libc_hidden_nolink.
40584         * include/rpc/auth.h: Mark functions which are to be hidden.
40585         * include/rpc/auth_des.h: Likewise.
40586         * include/rpc/auth_unix.h: Likewise.
40587         * include/rpc/clnt.h: Likewise.
40588         * include/rpc/des_crypt.h: Likewise.
40589         * include/rpc/key_prot.h: Likewise.
40590         * include/rpc/pmap_clnt.h: Likewise.
40591         * include/rpc/pmap_prot.h: Likewise.
40592         * include/rpc/pmap_rmt.h: Likewise.
40593         * include/rpc/rpc_msg.h: Likewise.
40594         * include/rpc/svc.h: Likewise.
40595         * include/rpc/svc_auth.h: Likewise.
40596         * include/rpc/xdr.h: Likewise.
40597         * nis/Makefile: Link all DSOs against linkobj/libc.so.
40598         * nss/Makefile: Likewise.
40599         * sunrpc/Makefile: Don't install headers.  Build library with normal
40600         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
40601         * sunrpc/auth_des.c: Hide exported symbols by default, export some
40602         for the compat linking library.  Remove use of INTDEF/INTUSE.
40603         * sunrpc/auth_none.c: Likewise.
40604         * sunrpc/auth_unix.c: Likewise.
40605         * sunrpc/authdes_prot.c: Likewise.
40606         * sunrpc/authuxprot.c: Likewise.
40607         * sunrpc/clnt_gen.c: Likewise.
40608         * sunrpc/clnt_perr.c: Likewise.
40609         * sunrpc/clnt_raw.c: Likewise.
40610         * sunrpc/clnt_simp.c: Likewise.
40611         * sunrpc/clnt_tcp.c: Likewise.
40612         * sunrpc/clnt_udp.c: Likewise.
40613         * sunrpc/clnt_unix.c: Likewise.
40614         * sunrpc/des_crypt.c: Likewise.
40615         * sunrpc/des_soft.c: Likewise.
40616         * sunrpc/get_myaddr.c: Likewise.
40617         * sunrpc/key_call.c: Likewise.
40618         * sunrpc/key_prot.c: Likewise.
40619         * sunrpc/netname.c: Likewise.
40620         * sunrpc/pm_getmaps.c: Likewise.
40621         * sunrpc/pm_getport.c: Likewise.
40622         * sunrpc/pmap_clnt.c: Likewise.
40623         * sunrpc/pmap_prot.c: Likewise.
40624         * sunrpc/pmap_prot2.c: Likewise.
40625         * sunrpc/pmap_rmt.c: Likewise.
40626         * sunrpc/publickey.c: Likewise.
40627         * sunrpc/rpc_cmsg.c: Likewise.
40628         * sunrpc/rpc_common.c: Likewise.
40629         * sunrpc/rpc_dtable.c: Likewise.
40630         * sunrpc/rpc_prot.c: Likewise.
40631         * sunrpc/rpc_thread.c: Likewise.
40632         * sunrpc/rtime.c: Likewise.
40633         * sunrpc/svc.c: Likewise.
40634         * sunrpc/svc_auth.c: Likewise.
40635         * sunrpc/svc_authux.c: Likewise.
40636         * sunrpc/svc_raw.c: Likewise.
40637         * sunrpc/svc_run.c: Likewise.
40638         * sunrpc/svc_simple.c: Likewise.
40639         * sunrpc/svc_tcp.c: Likewise.
40640         * sunrpc/svc_udp.c: Likewise.
40641         * sunrpc/svc_unix.c: Likewise.
40642         * sunrpc/svcauth_des.c: Likewise.
40643         * sunrpc/xcrypt.c: Likewise.
40644         * sunrpc/xdr.c: Likewise.
40645         * sunrpc/xdr_array.c: Likewise.
40646         * sunrpc/xdr_float.c: Likewise.
40647         * sunrpc/xdr_intXX_t.c: Likewise.
40648         * sunrpc/xdr_mem.c: Likewise.
40649         * sunrpc/xdr_rec.c: Likewise.
40650         * sunrpc/xdr_ref.c: Likewise.
40651         * sunrpc/xdr_sizeof.c: Likewise.
40652         * sunrpc/xdr_stdio.c: Likewise.
40654 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
40656         [BZ #12650]
40657         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40658         * sysdeps/ia64/dl-tls.h: Likewise.
40659         * sysdeps/powerpc/dl-tls.h: Likewise.
40660         * sysdeps/s390/dl-tls.h: Likewise.
40661         * sysdeps/sh/dl-tls.h: Likewise.
40662         * sysdeps/sparc/dl-tls.h: Likewise.
40663         * sysdeps/x86_64/dl-tls.h: Likewise.
40664         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40666 2011-03-14  Andreas Schwab  <schwab@redhat.com>
40668         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40669         rpath element also skip the following colon.
40670         (expand_dynamic_string_token): Add is_path parameter and pass
40671         down to DL_DST_REQUIRED and _dl_dst_substitute.
40672         (decompose_rpath): Call expand_dynamic_string_token with
40673         non-zero is_path.  Ignore empty rpaths.
40674         (_dl_map_object_from_fd): Call expand_dynamic_string_token
40675         with zero is_path.
40677 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
40679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40680         Make cancelable.
40682 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
40684         [BZ #12655]
40685         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40686         Patch by Filipe David Manana <fdmanana@apache.org>.
40688 2011-04-07  Andreas Schwab  <schwab@redhat.com>
40690         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40691         Maintain aligned stack.
40692         (CHECK_RSP): Remove unused macro.
40694 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
40696         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40697         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40699 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
40701         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40703         * include/features.h: Mention __USE_XOPEN2K8 in comment.
40705 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
40707         [BZ #12518]
40708         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40709         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40710         * sysdeps/x86_64/memmove.c: New file.
40711         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40712         (memcpy): Renamed to ...
40713         (__new_memcpy): This.
40714         (memcpy): Provide GLIBC_2_14 memcpy.
40715         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40716         (memcpy): Provide GLIBC_2_2_5 memcpy.
40718 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40720         [BZ #12631]
40721         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40723 2011-03-30  Andreas Schwab  <schwab@redhat.com>
40725         * misc/syncfs.c: New file.
40726         * misc/Makefile (routines): Add syncfs.
40727         * posix/unistd.h: Declare syncfs.
40728         * sysdeps/unix/syscalls.list: Add syncfs.
40730 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40732         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40733         open_by_handle_at.
40734         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
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/syscalls.list: Likewise.
40740         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40742 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40744         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40745         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40746         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40747         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40748         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40749         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40750         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40752         * io/Makefile: Compile fallocate.c, fallocate64.c, and
40753         sync_file_range.c with -fexceptions.
40754         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40755         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40756         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40757         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40758         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40759         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40760         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40761         sync_file_range as cancellation point
40762         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
40763         now a wrapper around __call_sync_file_range with cancellation handling.
40764         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40765         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
40766         function name to __call_sync_file_range.
40767         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40768         Add call_sync_file_range.
40770 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40772         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40773         bits/timex.h.
40775 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40777         * iconv/iconv.h: Fix typo in comment.
40778         * io/fcntl.h: Likewise.
40779         * libio/stdio.h: Likewise.
40780         * posix/spawn.h: Likewise.
40781         * posix/unistd.h: Likewise.
40782         * stdlib/stdlib.h: Likewise.
40783         * time/time.h: Likewise.
40784         * wcsmbs/wchar.h: Likewise.
40786         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40787         open_by_handle): Add.
40788         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40789         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
40790         Augment a few comments.
40791         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40793         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40794         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40795         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40796         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40797         open_by_handle.
40799         * io/fcntl.h (AT_EMPTY_PATH): Define.
40801 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
40803         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40804         * sysdeps/unix/sysv/linux/bits/time.h: New file.
40805         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40806         to...
40807         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
40808         * Versions.def: Add GLIBC_2.14.
40809         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40810         Export.
40812 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
40814         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40815         round counter.
40816         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40818 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40820         [BZ #12597]
40821         * string/test-strncmp.c (do_page_test): New function.
40822         (check2): Likewise.
40823         (test_main): Call check2.
40824         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40826 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
40828         [BZ #12587]
40829         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40830         Handle cache information in CPU leaf 4.
40831         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40833 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
40835         [BZ #12583]
40836         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40837         character representation.
40838         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40840 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
40842         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40843         END(__isnan) to END(__isnanf) to match function entry point/label
40844         EALIGN(__isnanf,...).
40846 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
40848         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40850 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
40852         [BZ #12510]
40853         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40854         copy from the symbol referenced in the relocation to initialize the
40855         used variable.
40856         Patch by Piotr Bury <pbury@goahead.com>.
40857         * elf/Makefile: Add rules to build and tst-unique3.
40858         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40859         * elf/tst-unique3.cc: New file.
40860         * elf/tst-unique3.h: New file.
40861         * elf/tst-unique3lib.cc: New file.
40862         * elf/tst-unique3lib2.cc: New file.
40864         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40866 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
40868         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40869         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
40870         to _start.
40872 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
40874         * elf/dl-load.c (_dl_map_object): If we are looking for the first
40875         to-be-loaded object along a path to loader is ld.so.
40877 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40878             Ulrich Drepper  <drepper@gmail.com>
40880         * sysdeps/x86_64/memset.S: After aligning destination, code
40881         branches to different locations depending on the value of
40882         misalignment, when multiarch is enabled. Fix this.
40884 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40886         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40887         Set _x86_64_preferred_memory_instruction for AMD processsors.
40888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40889         Set bit_Prefer_SSE_for_memop for AMD processors.
40891 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
40893         * libio/fmemopen.c (fmemopen): Optimize a bit.
40895 2011-03-03  Andreas Schwab  <schwab@redhat.com>
40897         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40899 2011-03-03  Roland McGrath  <roland@redhat.com>
40901         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40903 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
40905         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40906         __bzero_ultra1 instead of __memset_ultra1.
40908 2011-02-23  Andreas Schwab  <schwab@redhat.com>
40909             Ulrich Drepper  <drepper@gmail.com>
40911         [BZ #12509]
40912         * include/link.h (struct link_map): Add l_orig_initfini.
40913         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40914         returning unsuccessfully.
40915         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40916         close of a file loaded at startup, restore the original l_initfini
40917         list.
40918         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40919         list, store the pointer.
40920         * elf/Makefile ($(objpfx)noload-mem): New rule.
40921         (noload-ENV): Define.
40922         (tests): Add $(objpfx)noload-mem.
40923         * elf/noload.c: Include <memcheck.h>.
40924         (main): Call mtrace.  Close all opened handles.
40926 2011-02-17  Andreas Schwab  <schwab@redhat.com>
40928         [BZ #12454]
40929         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40930         dependencies are missing.
40932 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40934         Fix __if_freereq crash: Unlike the generic version which uses free,
40935         Hurd needs munmap.
40936         * sysdeps/mach/hurd/ifreq.h: New file.
40938 2011-01-27  Petr Baudis  <pasky@suse.cz>
40939             Ulrich Drepper  <drepper@gmail.com>
40941         [BZ 12445]#
40942         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40943         to extend_alloca().
40944         * stdio-common/bug23.c: New file.
40945         * stdio-common/Makefile (tests): Add bug23.
40947 2010-09-28  Andreas Schwab  <schwab@redhat.com>
40948             Ulrich Drepper  <drepper@gmail.com>
40950         [BZ #12489]
40951         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40952         before performing relro protection.  At old place add assertion
40953         to make sure nothing changed.
40955 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
40956             Glauber de Oliveira Costa  <glommer@gmail.com>
40958         * elf/elf.h: Add new ARM TLS relocs.
40960 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
40962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40963         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40964         cast from r3.
40965         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
40966         'tests' variable.
40967         * sysdeps/wordsize-64/tst-writev.c: New file.
40969 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
40971         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40972         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40973         insns in _dl_start to prevent a TOC reference before relocs are
40974         resolved.
40976 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
40978         [BZ #12469]
40979         * Makeconfig: Remove RANLIB definition.
40980         * Makerules: Don't use RANLIB.
40981         * aclocal.m4: Remove ranlib test.
40982         * configure.in: No need to check for ranlib.
40983         * elf/rtld-Rules: Don't use RANLIB.
40985 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40987         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40988         protection macro.
40989         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40990         inclusion protection macro.
40992         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40993         SIGRTMIN and SIGRTMAX and print information in that case only when
40994         SIGRTMIN is defined.
40996 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
40998         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40999         arginfo fn returning -1.
41001         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41002         and thousands string is zero terminated.
41004 2011-02-03  Andreas Schwab  <schwab@redhat.com>
41006         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41007         sysdeps/unix/sysv/linux/bits/socket.h.
41009 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41011         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41012         (__CPU_COUNT): Remove old macros.
41013         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41014         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41015         (__CPU_ALLOC, __CPU_FREE): Add macros.
41016         (__sched_cpualloc, __sched_cpufree): Add declarations.
41018 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
41020         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41021         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41022         * nscd/aicache.c (addhstaiX): Return timeout of added value.
41023         (readdhstai): Return value of addhstaiX call.
41024         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41025         (addgrbyX): Return value returned by cache_addgr.
41026         (readdgrbyname): Return value returned by addgrbyX.
41027         (readdgrbygid): Likewise.
41028         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41029         (addpwbyX): Return value returned by cache_addpw.
41030         (readdpwbyname): Return value returned by addhstbyX.
41031         (readdpwbyuid): Likewise.
41032         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41033         (addservbyX): Return value returned by cache_addserv.
41034         (readdservbyname): Return value returned by addservbyX:
41035         (readdservbyport): Likewise.
41036         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41037         (addhstbyX): Return value returned by cache_addhst.
41038         (readdhstbyname): Return value returned by addhstbyX.
41039         (readdhstbyaddr): Likewise.
41040         (readdhstbynamev6): Likewise.
41041         (readdhstbyaddrv6): Likewise.
41042         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41043         (readdinitgroups): Return value returned by addinitgroupsX.
41044         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41045         (prune_cache): Keep track of timeout value of re-added entries.
41046         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41047         * nscd/nscd.h: Adjust prototypes of readd* functions.
41049 2011-02-04  Roland McGrath  <roland@redhat.com>
41051         * nis/nis_server.c (nis_servstate): Use the right name for 0.
41052         (nis_stats): Likewise.
41053         * nis/nis_modify.c (nis_modify): Likewise.
41054         * nis/nis_remove.c (nis_remove): Likewise.
41055         * nis/nis_add.c (nis_add): Likewise.
41057         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41059         * posix/fnmatch_loop.c: Add some consts.
41061         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41063 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
41065         [BZ #12460]
41066         * config.make.in (config-cflags-novzeroupper): Define.
41067         * configure.in: Substitute libc_cv_cc_novzeroupper.
41068         * elf/Makefile (AVX-CFLAGS): Define.
41069         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41070         (CFLAGS-tst-auditmod4a.c): Likewise.
41071         (CFLAGS-tst-auditmod4b.c): Likewise.
41072         (CFLAGS-tst-auditmod6b.c): Likewise.
41073         (CFLAGS-tst-auditmod6c.c): Likewise.
41074         (CFLAGS-tst-auditmod7b.c): Likewise.
41075         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41077 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
41079         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41080         function to the callback.
41081         Patch partly by Jiri Olsa <jolsa@redhat.com>.
41083 2011-02-02  Andreas Schwab  <schwab@redhat.com>
41085         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41086         of errno.
41088 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
41090         [BZ #11724]
41091         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41092         of constructors.
41093         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41094         of destructors.
41095         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41097         [BZ #11724]
41098         * elf/Makefile: Add rules to build and run new test.
41099         * elf/tst-initorder.c: New file.
41100         * elf/tst-initorder.exp: New file.
41101         * elf/tst-initordera1.c: New file.
41102         * elf/tst-initordera2.c: New file.
41103         * elf/tst-initordera3.c: New file.
41104         * elf/tst-initordera4.c: New file.
41105         * elf/tst-initorderb1.c: New file.
41106         * elf/tst-initorderb2.c: New file.
41107         * elf/tst-order-a1.c: New file.
41108         * elf/tst-order-a2.c: New file.
41109         * elf/tst-order-a3.c: New file.
41110         * elf/tst-order-a4.c: New file.
41111         * elf/tst-order-b1.c: New file.
41112         * elf/tst-order-b2.c: New file.
41113         * elf/tst-order-main.c: New file.
41114         New test case by George Gensure <werkt0@gmail.com>.
41116 2010-10-01  Andreas Schwab  <schwab@redhat.com>
41118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41119         decoding ACE if AI_CANONIDN.
41121 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
41123         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41125 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
41127         * version.h (RELEASE): Bump for 2.13 release.
41128         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41130         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41132         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41133         MADV_NOHUGEPAGE.
41134         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41135         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41136         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41137         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41138         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41139         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41141         * posix/getconf.c: Update copyright year.
41142         * catgets/gencat.c: Likewise.
41143         * csu/version.c: Likewise.
41144         * debug/catchsegv.sh: Likewise.
41145         * debug/xtrace.sh: Likewise.
41146         * elf/ldconfig.c: Likewise.
41147         * elf/ldd.bash.in: Likewise.
41148         * elf/sprof.c (print_version): Likewise.
41149         * iconv/iconv_prog.c: Likewise.
41150         * iconv/iconvconfig.c: Likewise.
41151         * locale/programs/locale.c: Likewise.
41152         * locale/programs/localedef.c: Likewise.
41153         * malloc/memusage.sh: Likewise.
41154         * malloc/mtrace.pl: Likewise.
41155         * nscd/nscd.c (print_version): Likewise.
41156         * nss/getent.c: Likewise.
41158         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41159         PF_CAIF, and PF_ALG.
41160         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41162 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
41164         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41165         (modules-names): Use them.
41166         (ifunc-test-modules, ifunc-pie-tests): Define.
41167         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41168         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41169         (test-extras): Likewise.
41170         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41171         $(compile-command.c).
41172         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41173         (all-built-dso): Define.
41174         (check-textrel.out, check-execstack.out): Depend on it.
41176         * configure.in: Don't override --enable-multi-arch.
41178 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
41180         [BZ #6812]
41181         * nscd/hstcache.c (tryagain): Define.
41182         (cache_addhst): Return tryagain not notfound for temporary errors.
41183         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41184         failed.
41186 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
41188         [BZ #10563]
41189         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41190         to make the syscall.
41191         * sysdeps/unix/sysv/linux/setgroups.c: New file.
41193         [BZ #12378]
41194         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41195         and fall back to matching as normal character if the string ends before
41196         the matching ']' is found.  This is what POSIX requires.
41197         * posix/testfnm.c: Adjust test result.
41198         * posix/globtest.sh: Adjust test result.  Add new test.
41199         * posix/tst-fnmatch.input: Likewise.
41200         * posix/tst-fnmatch2.c: Add new test.
41202 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
41204         * elf/Makefile (check-execstack): Revert last change.  Depend on
41205         check-execstack.h.
41206         (check-execstack.h): New target.
41207         (generated): Add check-execstack.h.
41208         * elf/check-execstack.c: Include "check-execstack.h".
41209         (main): Revert last change.
41210         (handle_file): Return zero if GNU_STACK is absent and
41211         DEFAULT_STACK_PERMS doesn't include PF_X.
41213 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
41215         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41216         in child fails because the descriptor is already closed.
41217         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41218         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41219         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41221         [BZ #12397]
41222         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41223         syscall.
41225         [BZ #10484]
41226         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41227         temporary buffer used to handle multi lookups locally.
41228         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41230 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41232         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41233         loader is ld.so.
41235 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
41237         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41238         alignment for SSE2.
41240 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41242         [BZ #12394]
41243         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41244         characters.  When rounding increased number of integer digits recompute
41245         number of groups.
41246         * stdio-common/tst-grouping.c: New file.
41247         * stdio-common/Makefile: Add rules to build and run tst-grouping.
41249 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
41251         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41252         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
41254         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41255         void.
41256         * bits/select.h: Likewise.
41258 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
41260         * po/ja.po: Update from translation team.
41262 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
41264         [BZ #11155]
41265         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41266         implementation just like for lxstat, fxstatat, et al.
41268 2010-12-27  Jim Meyering  <meyering@redhat.com>
41270         [BZ #12348]
41271         * posix/regexec.c (build_trtable): Return failure indication upon
41272         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
41274 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
41276         [BZ #12201]
41277         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41278         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41279         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41280         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41282         [BZ #12207]
41283         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41285         [BZ #12204]
41286         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41287         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41289 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
41291         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41292         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41293         script has SORT_BY_INIT_PRIORITY.
41294         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41295         NO_CTORS_DTORS_SECTIONS is defined.
41296         * elf/soinit.c: Likewise.
41297         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41298         NO_CTORS_DTORS_SECTIONS is defined.
41299         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41300         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41301         * sysdeps/sh/init-first.c: Likewise.
41302         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41304 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
41306         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41307         always use the slow path.
41309 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
41311         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41312         similar rule which adds the sysdep directories to the header search in
41313         order to pick up the correct platform stackinfo.h.
41314         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41315         perform test if it is, otherwise return successfully without testing.
41316         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41317         DEFAULT_STACK_PERMS define in stackinfo.h.
41318         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41319         defined in stackinfo.h.
41320         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41321         DEFAULT_STACK_PERMS defined in stackinfo.h.
41322         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41323         * sysdeps/ia64/stackinfo.h: Likewise.
41324         * sysdeps/s390/stackinfo.h: Likewise.
41325         * sysdeps/sh/stackinfo.h: Likewise.
41326         * sysdeps/sparc/stackinfo.h: Likewise.
41327         * sysdeps/x86_64/stackinfo.h: Likewise.
41328         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41329         PF_X for powerpc64.  Retain PF_X for powerpc32.
41331 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
41333         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41334         accurately.
41335         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41336         GETDENTS_64BIT_ALIGNED.
41338 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
41340         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41342 2010-12-10  Andreas Schwab  <schwab@redhat.com>
41344         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41345         _GNU_SOURCE.
41347         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41348         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41349         Remove __restrict.
41350         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41351         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41353 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
41355         [BZ #11655]
41356         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41357         are initialized.
41359 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
41361         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41363 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
41365         * po/it.po: Update from translation team.
41367 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
41369         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41370         unused codes.
41372 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
41374         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41376 2010-11-24  Andreas Schwab  <schwab@redhat.com>
41378         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41379         specially.
41380         (gaih_getanswer_slice): Likewise.
41382 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
41384         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41386 2010-05-31  Petr Baudis  <pasky@suse.cz>
41388         [BZ #11149]
41389         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41390         silently even in the chroot mode.
41392 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
41394         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41395         last patch a bit.  Pretty printing
41397 2010-05-31  Petr Baudis <pasky@suse.cz>
41399         [BZ #10085]
41400         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41401         initialization of skip_initgroups_dyn.
41403 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
41405         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41406         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41408 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
41410         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41412 2010-11-11  Andreas Schwab  <schwab@redhat.com>
41414         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41415         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41416         (tst-fnmatch-ENV): Set MALLOC_TRACE.
41417         ($(objpfx)tst-fnmatch-mem): New rule.
41418         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41419         * posix/tst-fnmatch.c (main): Call mtrace.
41421 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
41423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41424         Support Intel processor model 6 and model 0x2c.
41426 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
41428         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41429           signed comparison.
41431 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
41433         [BZ #12205]
41434         * string/test-strncasecmp.c (check_result): New function.
41435         (do_one_test): Use it.
41436         (check1): New function.
41437         (test_main): Use it.
41438         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41439         Support strcasecmp and strncasecmp.
41441 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
41443         [BZ #12194]
41444         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41445         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41447 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41449         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41450         IFUNC support.
41451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41452         memset-x86-64.
41453         * sysdeps/x86_64/multiarch/bzero.S: New file.
41454         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41455         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41456         * sysdeps/x86_64/multiarch/memset.S: New file.
41457         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41459         Set bit_Prefer_SSE_for_memop for Intel processors.
41460         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41461         Define.
41462         (index_Prefer_SSE_for_memop): Define.
41463         (HAS_PREFER_SSE_FOR_MEMOP): Define.
41465 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
41467         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41468         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41470 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
41472         [BZ #12191]
41473         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41474         (__x86_64_raw_data_cache_size_half): Likewise.
41475         (__x86_64_raw_shared_cache_size): Likewise.
41476         (__x86_64_raw_shared_cache_size_half): Likewise.
41478         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41479         (__x86_64_raw_data_cache_size_half): Likewise.
41480         (__x86_64_raw_shared_cache_size): Likewise.
41481         (__x86_64_raw_shared_cache_size_half): Likewise.
41482         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41483         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41484         and __x86_64_raw_shared_cache_size_half.  Round
41485         __x86_64_data_cache_size_half, __x86_64_data_cache_size
41486         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41487         to multiple of 256 bytes.
41489 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
41491         [BZ #12167]
41492         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41493         of inacessible symlinks.  Verify result of symlink before returning it.
41494         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41495         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41497 2010-10-28  Erich Ritz  <erichritz@gmail.com>
41499         * math/math.h (isinf): Fix typo in comment.
41501 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
41503         * po/da.po: Update from translation team.
41505 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
41507         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41508         is added to the list.
41510 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41511             Ulrich Drepper  <drepper@gmail.com>
41513         * elf/dl-object.c (_dl_new_object): Don't append the new object to
41514         the global list here.  Move code to...
41515         (_dl_add_to_namespace_list): ...here.  New function.
41516         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41517         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41518         * elf/dl-load.c (lose): Don't remove the element from the list.
41519         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41520         (_dl_map_object): Likewise.
41522 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
41524         [BZ #12159]
41525         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41526         into all bytes of SSE register.
41527         Patch by Richard Li <richardpku@gmail.com>.
41529 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
41531         [BZ #12140]
41532         * malloc/malloc.c (_int_free): Fill correct number of bytes when
41533         perturbing.
41535 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
41537         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41538         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41539         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41540         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41542         submachine.
41543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41545 2010-10-22  Andreas Schwab  <schwab@redhat.com>
41547         * include/dlfcn.h (__RTLD_SECURE): Define.
41548         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
41549         mode & __RTLD_SECURE instead.
41550         (open_path): Rename preloaded parameter to secure.
41551         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41552         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41553         * elf/dl-deps.c (openaux): Likewise.
41554         * elf/rtld.c (struct map_args): Remove is_preloaded.
41555         (map_doit): Don't use it.
41556         (dl_main): Likewise.
41557         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41558         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41560 2010-09-09  Andreas Schwab  <schwab@redhat.com>
41562         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41563         (sysd-rules-targets): Remove duplicates.
41564         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41565         rtld-%.$o dependency.
41567 2010-10-18  Andreas Schwab  <schwab@redhat.com>
41569         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41570         _dl_map_object do it.
41572 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
41574         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41575         fast fma builtins, define the macros in the C99 standard.
41576         (FP_FAST_FMAF): Likewise.
41577         (FP_FAST_FMAL): Likewise.
41578         * sysdeps/x86_64/bits/mathdef.h: Likewise.
41580         * bits/mathdef.h: Update copyright year.
41581         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41583 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
41585         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41586         builtins, define the macros in the C99 standard.
41587         (FP_FAST_FMAF): Likewise.
41588         (FP_FAST_FMAL): Likewise.
41589         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41590         multiply/add.
41591         (FP_FAST_FMAF): Likewise.
41593 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
41595         [BZ #3268]
41596         * math/libm-test.inc (fma_test): Some new testcases.
41597         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41598         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41599         y and infinite z.  Do multiplication by C already in long double.
41600         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41601         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41602         y and infinite z.  Do bitwise or of inexact bit into u.d.
41603         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41604         * sysdeps/i386/fpu/s_fmaf.S: Removed.
41605         * sysdeps/i386/fpu/s_fma.S: Removed.
41606         * sysdeps/i386/fpu/s_fmal.S: Removed.
41608 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
41610         [BZ #3268]
41611         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41612         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41613         computation is not scheduled after fetestexcept.  Fix value
41614         of minimum denormal long double.
41616 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
41618         [BZ #3268]
41619         * math/libm-test.inc (fma_test): Add some more tests.
41620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41621         correctly.
41623 2010-10-15  Andreas Schwab  <schwab@redhat.com>
41625         * scripts/data/localplt-s390-linux-gnu.data: New file.
41626         * scripts/data/localplt-s390x-linux-gnu.data: New file.
41628 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
41630         [BZ #3268]
41631         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41632         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41633         instead of dbl-64.
41634         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41635         inlines.
41636         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41638         if one of x and y is very large and the other is subnormal.
41639         * sysdeps/s390/fpu/s_fmaf.c: New file.
41640         * sysdeps/s390/fpu/s_fma.c: New file.
41641         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41642         * sysdeps/powerpc/fpu/s_fma.S: New file.
41643         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41644         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41645         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41647 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
41649         [BZ #3268]
41650         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41651         fma tests.
41652         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41653         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41654         * sysdeps/i386/i686/multiarch/s_fma.c: Include
41655         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41656         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41657         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41658         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41660 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
41662         [BZ #12078]
41663         * posix/regcomp.c (parse_branch): One more memory leak plugged.
41664         * posix/bug-regex31.input: Add test case.
41666 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41668         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41669         * posix/bug-regex31.input: New file.
41671         [BZ #12078]
41672         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41673         (parse_sub_exp): Fix last change, use postorder.
41675         * posix/bug-regex31.c: New file.
41676         * posix/Makefile: Add rules to build and run bug-regex31.
41678         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41680         [BZ #12078]
41681         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41683         [BZ #12108]
41684         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41685         to have entries in sys_siglist.
41687         [BZ #12093]
41688         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41689         be NULL.
41691 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
41693         [BZ #3268]
41694         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41695         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41696         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41697         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41698         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41699         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41700         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41701         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41702         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41703         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41704         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41705         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41706         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41707         * math/ftestexcept.c (fetestexcept): Likewise.
41708         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41709         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41710         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41711         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41712         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41713         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41714         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41716 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41718         [BZ #12107]
41719         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41720         newline.
41722 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
41724         * string/bug-strstr1.c: New file.
41725         * string/Makefile: Add rules to build and run bug-strstr1.
41727 2010-10-05  Eric Blake  <eblake@redhat.com>
41729         [BZ #12092]
41730         * string/str-two-way.h (two_way_long_needle): Always clear memory
41731         when skipping input due to the shift table.
41733 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
41735         [BZ #12005]
41736         * malloc/mcheck.c: Handle large requests.
41738         [BZ #12077]
41739         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41740         for strncmp and strncasecmp.
41741         * string/stratcliff.c: Add tests for strcmp and strncmp.
41742         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41744 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41746         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41747         __set_fpscr.
41749 2010-09-30  Andreas Jaeger  <aj@suse.de>
41751         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41752         (CGROUP_SUPER_MAGIC): Define.
41753         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41754         Handle btrfs and cgroup file systems.
41755         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41756         Likewise.
41758 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
41760         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41761         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41763 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41765         [BZ #12067]
41766         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41767         trying to locate the ELF header.
41769 2010-09-27  Andreas Schwab  <schwab@redhat.com>
41771         [BZ #11611]
41772         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41773         Mask out sign-bit copies when constructing f_fsid.
41775 2010-09-24  Petr Baudis <pasky@suse.cz>
41777         * debug/stack_chk_fail_local.c: Add missing licence exception.
41778         * debug/warning-nop.c: Likewise.
41780 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
41782         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41783         implementing getdents64 using getdents syscall, set d_type if
41784         __ASSUME_GETDENTS32_D_TYPE.
41786 2010-09-16  Andreas Schwab  <schwab@redhat.com>
41788         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41789         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41791 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
41793         [BZ #12037]
41794         * posix/unistd.h: Undo change of feature selection for ftruncate from
41795         2010-01-11.
41797 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
41799         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41800         detection.
41802 2010-09-20  Andreas Schwab  <schwab@redhat.com>
41804         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41805         fanotify_mark.
41806         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41808 2010-09-14  Andreas Schwab  <schwab@redhat.com>
41810         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41811         variables after CHECK_SP call.
41812         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41814 2010-09-13  Andreas Schwab  <schwab@redhat.com>
41815             Ulrich Drepper  <drepper@redhat.com>
41817         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41818         re-relocationg ld.so.
41819         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41820         _dl_init_paths call.
41821         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
41822         here anymore.
41824 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
41826         * resolv/res_init.c (__res_vinit): Count the default server we added.
41828 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
41829             Ulrich Drepper  <drepper@redhat.com>
41831         [BZ #11968]
41832         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41833         (____longjmp_chk): Use %ebx for saving value across system call.
41834         Add unwind info.
41836 2010-09-06  Andreas Schwab  <schwab@redhat.com>
41838         * manual/Makefile: Don't mix pattern rules with normal rules.
41840 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41842         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41843         operation.
41844         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41845         * libio/iofopncook.c (_IO_cookie_init): Likewise.
41846         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41847         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41848         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41849         Likewise.
41851 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
41853         [BZ #11979]
41854         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41855         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41857 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
41859         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41860         * sysdeps/x86_64/addmul_1.S: Likewise.
41861         * sysdeps/x86_64/lshift.S: Likewise.
41862         * sysdeps/x86_64/mul_1.S: Likewise.
41863         * sysdeps/x86_64/rshift.S: Likewise.
41864         * sysdeps/x86_64/sub_n.S: Likewise.
41865         * sysdeps/x86_64/submul_1.S: Likewise.
41867 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41869         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41870         Define __sched_param instead of SCHED_* and sched_param when
41871         <bits/sched.h> is included with __need_schedparam defined.
41872         * bits/sched.h [__need_schedparam]
41873         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41874         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41875         (__defined_schedparam): Define to 1.
41876         (__sched_param): New structure, identical to sched_param.
41877         (__need_schedparam): Undefine.
41879 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
41881         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41882         (epoll_create1): Declare.
41884         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41886 2010-08-31  Andreas Schwab  <schwab@redhat.com>
41888         [BZ #7066]
41889         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41890         shifting retval into place.
41892 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
41894         * nis/rpcsvc/nis.h: Update copyright notice.
41895         * nis/rpcsvc/nis.x: Likewise.
41896         * nis/rpcsvc/nis_callback.h: Likewise.
41897         * nis/rpcsvc/nis_callback.x: Likewise.
41898         * nis/rpcsvc/nis_object.x: Likewise.
41899         * nis/rpcsvc/nis_tags.h: Likewise.
41900         * nis/rpcsvc/yp.h: Likewise.
41901         * nis/rpcsvc/yp.x: Likewise.
41902         * nis/rpcsvc/ypupd.h: Likewise.
41903         * nis/yp_xdr.c: Likewise.
41904         * nis/ypupdate_xdr.c: Likewise.
41906         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
41907         mainly the body of pmap_getport.  Add parameters to specify timeouts.
41908         (pmap_getport): Use __libc_rpc_getport.
41909         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41910         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41911         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41913 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
41915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41916         fanotify_mark.
41918 2010-08-27  Roland McGrath  <roland@redhat.com>
41920         * sysdeps/i386/i686/multiarch/Makefile
41921         (CFLAGS-varshift.c): New variable.
41923 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
41925         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41926         * sysdeps/i386/i686/multiarch/varshift.c: New file.
41928         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41930         * sysdeps/x86_64/strlen.S: Minimal code improvement.
41932 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
41934         * sysdeps/x86_64/strlen.S: Unroll the loop.
41935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41936         strlen-sse2 strlen-sse2-bsf.
41937         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41938         __strlen_no_bsf if bit_Slow_BSF is set.
41939         (__strlen_sse42): Removed.
41940         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41941         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41943 2010-08-25  Roland McGrath  <roland@redhat.com>
41945         * sysdeps/x86_64/multiarch/varshift.S: File removed.
41946         * sysdeps/x86_64/multiarch/varshift.c: New file.
41947         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41948         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41949         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41950         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41952 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
41954         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41955         strlen-sse2 strlen-sse2-bsf.
41956         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41957         __strlen_sse2_bsf if bit_Slow_BSF is unset.
41958         (__strlen_sse2): Removed.
41959         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41960         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41962         bit_Slow_BSF for Atom.
41963         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41964         (index_Slow_BSF): Define.
41965         (HAS_SLOW_BSF): Define.
41967 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
41969         [BZ #10851]
41970         * resolv/res_init.c (__res_vinit): When no server address at all
41971         is given default to loopback.
41973 2010-08-24  Roland McGrath  <roland@redhat.com>
41975         * configure.in: Remove config-name.h generation.
41976         * configure: Regenerated.
41977         * config-name.in: File removed.
41978         * scripts/config-uname.sh: New file.
41979         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41980         ($(objdir)config-name.h): New target.
41982         * sunrpc/rpc_parse.h: Avoid nested comment.
41984 2010-08-24  Richard Henderson  <rth@redhat.com>
41985             Ulrich Drepper  <drepper@redhat.com>
41986             H.J. Lu  <hongjiu.lu@intel.com>
41988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41990         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41991         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
41992         _mm_alignr_epi8 with _mm_loadu_si128.
41993         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41994         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41995         (__m128i_shift_right): Removed.
41996         * sysdeps/i386/i686/multiarch/varshift.h: New file.
41997         * sysdeps/i386/i686/multiarch/varshift.S: New file.
41998         * sysdeps/x86_64/multiarch/varshift.h: New file.
41999         * sysdeps/x86_64/multiarch/varshift.S: New file.
42001 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
42003         * configure.in: Move assembler checks to before sysdep dir checking.
42005 2010-08-20  Petr Baudis  <pasky@suse.cz>
42007         * LICENSES: Sync the sunrpc license.
42009 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
42011         * sunrpc/auth_des.c: Update copyright notice once again.
42012         * sunrpc/auth_none.c: Likewise.
42013         * sunrpc/auth_unix.c: Likewise.
42014         * sunrpc/authdes_prot.c: Likewise.
42015         * sunrpc/authuxprot.c: Likewise.
42016         * sunrpc/bindrsvprt.c: Likewise.
42017         * sunrpc/clnt_gen.c: Likewise.
42018         * sunrpc/clnt_perr.c: Likewise.
42019         * sunrpc/clnt_raw.c: Likewise.
42020         * sunrpc/clnt_simp.c: Likewise.
42021         * sunrpc/clnt_tcp.c: Likewise.
42022         * sunrpc/clnt_udp.c: Likewise.
42023         * sunrpc/clnt_unix.c: Likewise.
42024         * sunrpc/des_crypt.c: Likewise.
42025         * sunrpc/des_soft.c: Likewise.
42026         * sunrpc/get_myaddr.c: Likewise.
42027         * sunrpc/getrpcport.c: Likewise.
42028         * sunrpc/key_call.c: Likewise.
42029         * sunrpc/key_prot.c: Likewise.
42030         * sunrpc/openchild.c: Likewise.
42031         * sunrpc/pm_getmaps.c: Likewise.
42032         * sunrpc/pm_getport.c: Likewise.
42033         * sunrpc/pmap_clnt.c: Likewise.
42034         * sunrpc/pmap_prot.c: Likewise.
42035         * sunrpc/pmap_prot2.c: Likewise.
42036         * sunrpc/pmap_rmt.c: Likewise.
42037         * sunrpc/rpc/auth.h: Likewise.
42038         * sunrpc/rpc/auth_unix.h: Likewise.
42039         * sunrpc/rpc/clnt.h: Likewise.
42040         * sunrpc/rpc/des_crypt.h: Likewise.
42041         * sunrpc/rpc/key_prot.h: Likewise.
42042         * sunrpc/rpc/netdb.h: Likewise.
42043         * sunrpc/rpc/pmap_clnt.h: Likewise.
42044         * sunrpc/rpc/pmap_prot.h: Likewise.
42045         * sunrpc/rpc/pmap_rmt.h: Likewise.
42046         * sunrpc/rpc/rpc.h: Likewise.
42047         * sunrpc/rpc/rpc_des.h: Likewise.
42048         * sunrpc/rpc/rpc_msg.h: Likewise.
42049         * sunrpc/rpc/svc.h: Likewise.
42050         * sunrpc/rpc/svc_auth.h: Likewise.
42051         * sunrpc/rpc/types.h: Likewise.
42052         * sunrpc/rpc/xdr.h: Likewise.
42053         * sunrpc/rpc_clntout.c: Likewise.
42054         * sunrpc/rpc_cmsg.c: Likewise.
42055         * sunrpc/rpc_common.c: Likewise.
42056         * sunrpc/rpc_cout.c: Likewise.
42057         * sunrpc/rpc_dtable.c: Likewise.
42058         * sunrpc/rpc_hout.c: Likewise.
42059         * sunrpc/rpc_main.c: Likewise.
42060         * sunrpc/rpc_parse.c: Likewise.
42061         * sunrpc/rpc_parse.h: Likewise.
42062         * sunrpc/rpc_prot.c: Likewise.
42063         * sunrpc/rpc_sample.c: Likewise.
42064         * sunrpc/rpc_scan.c: Likewise.
42065         * sunrpc/rpc_scan.h: Likewise.
42066         * sunrpc/rpc_svcout.c: Likewise.
42067         * sunrpc/rpc_tblout.c: Likewise.
42068         * sunrpc/rpc_util.c: Likewise.
42069         * sunrpc/rpc_util.h: Likewise.
42070         * sunrpc/rpcinfo.c: Likewise.
42071         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42072         * sunrpc/rpcsvc/key_prot.x: Likewise.
42073         * sunrpc/rpcsvc/klm_prot.x: Likewise.
42074         * sunrpc/rpcsvc/mount.x: Likewise.
42075         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42076         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42077         * sunrpc/rpcsvc/rex.x: Likewise.
42078         * sunrpc/rpcsvc/rstat.x: Likewise.
42079         * sunrpc/rpcsvc/rusers.x: Likewise.
42080         * sunrpc/rpcsvc/sm_inter.x: Likewise.
42081         * sunrpc/rpcsvc/spray.x: Likewise.
42082         * sunrpc/rpcsvc/yppasswd.x: Likewise.
42083         * sunrpc/rtime.c: Likewise.
42084         * sunrpc/svc.c: Likewise.
42085         * sunrpc/svc_auth.c: Likewise.
42086         * sunrpc/svc_authux.c: Likewise.
42087         * sunrpc/svc_raw.c: Likewise.
42088         * sunrpc/svc_run.c: Likewise.
42089         * sunrpc/svc_simple.c: Likewise.
42090         * sunrpc/svc_tcp.c: Likewise.
42091         * sunrpc/svc_udp.c: Likewise.
42092         * sunrpc/svc_unix.c: Likewise.
42093         * sunrpc/svcauth_des.c: Likewise.
42094         * sunrpc/xcrypt.c: Likewise.
42095         * sunrpc/xdr.c: Likewise.
42096         * sunrpc/xdr_array.c: Likewise.
42097         * sunrpc/xdr_float.c: Likewise.
42098         * sunrpc/xdr_mem.c: Likewise.
42099         * sunrpc/xdr_rec.c: Likewise.
42100         * sunrpc/xdr_ref.c: Likewise.
42101         * sunrpc/xdr_sizeof.c: Likewise.
42102         * sunrpc/xdr_stdio.c: Likewise.
42104         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42105         handling.
42107 2010-08-19  Andreas Schwab  <schwab@redhat.com>
42109         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42111 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
42113         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42114         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42115         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42116         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42117         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42118         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42119         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42120         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42121         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42122         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42123         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42124         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42125         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42126         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42128 2010-07-26  Anton Blanchard  <anton@samba.org>
42130         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42131         * malloc/arena.c (heap_trim): Likewise.
42133 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
42135         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42136         here.  Not...
42137         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42138         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42140 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
42142         * sysdeps/i386/elf/Makefile: New file.
42144 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42146         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42147         from fanotify_init.
42148         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42149         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42151 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
42153         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42154         of strncasecmp_l.
42155         * sysdeps/multiarch/strcmp.S: Likewise.
42157 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
42159         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42160         strncase_l-nonascii.
42161         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42162         Add strncase_l-ssse3.
42163         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42164         * sysdeps/x86_64/strcmp.S: Likewise.
42165         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42166         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42167         * sysdeps/x86_64/strncase.S: New file.
42168         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42169         * sysdeps/x86_64/strncase_l.S: New file.
42170         * string/Makefile (strop-tests): Add strncasecmp.
42171         * string/test-strncasecmp.c: New file.
42173         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42174         warning.
42176         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42177         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42179 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42181         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42183 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
42185         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42186         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42187         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42189 2010-05-01  Alan Modra  <amodra@gmail.com>
42191         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42192         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42193         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42194         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42195         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42196         tidying.  Don't tail-call __sigjmp_save for static lib.
42197         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42198         save location.
42199         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42200         (CALL_MCOUNT): Add eh info, and nop after bl.
42201         (TAIL_CALL_SYSCALL_ERROR): New macro.
42202         (PSEUDO_RET): Use it.
42203         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42204         Correct save location of integer regs and cr.
42205         (_dl_profile_resolve): Correct cr save location.  Delete nops
42206         after bl when SHARED.  Reduce cfi size a little by better
42207         placement of cfi directives.
42208         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42209         make a stack frame.  Instead use parm save area as a temp.
42210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42211         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
42212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42213         Don't make a stack frame for parent, use parm save area.
42214         Increase child stack frame to 112 bytes.  Don't save unused reg,
42215         and adjust reg usage.  Set up cfi on error recovery and
42216         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42218         (__makecontext): Add dummy nop after jump to exit.
42219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42220         Use correct parm save area and cr save, reduce stack frame.
42221         Correct cfi for possible PSEUDO_RET frame setup.
42222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42223         Branch to local label emitted by PSEUDO_RET rather than
42224         __syscall_error.
42226 2010-08-12  Andreas Schwab  <schwab@redhat.com>
42228         [BZ #11904]
42229         * locale/programs/locale.c (print_assignment): New function.
42230         (show_locale_vars): Use it.
42232 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
42234         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42235         field.
42236         (struct statfs64): Likewise.
42237         (_STATFS_F_FLAGS): Define.
42238         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42239         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42240         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42241         (ST_VALID): Define locally.
42242         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42243         __statvfs_getflags, use the provided value.
42244         * sysdeps/unix/sysv/linux/kernel-features.h: Define
42245         __ASSUME_STATFS_F_FLAGS.
42247         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42249         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42250         Add sys/fanotify.h.
42251         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42252         fanotify_mask for GLIBC_2.13.
42253         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42254         fanotify_init and fanotify_mark.
42255         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42256         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42258         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42259         Add prlimit.
42260         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42261         prlimit64 for GLIBC_2.13.
42262         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42263         prlimit64.
42264         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42265         syscall.
42266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42267         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42268         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42269         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42270         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
42271         add prlimit alias.
42272         * sysdeps/unix/sysv/linux/prlimit.c: New file.
42274         [BZ #11903]
42275         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42276         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42278         * nss/Makefile: Add rules to build and run tst-nss-test1.
42279         * shlib-versions: Add entry for libnss_test1.
42280         * nss/nss_test1.c: New file.
42281         * nss/tst-nss-test1.c: New file.
42283         * nss/nsswitch.c (__nss_database_custom): Define new variable.
42284         (__nss_configure_lookup): Set appropriate entry in
42285         __nss_configure_lookup to true.
42286         * nss/nsswitch.h: Define enum with indeces of databases in
42287         databases and __nss_database_custom arrays.  Declare
42288         __nss_database_custom.
42289         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42290         to avoid using nscd when custom rules are installed.
42291         * nss/getXXbyYY_r.c: Likewise.
42292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42294         * nss/nss_files/files-parse.c: Whitespace fixes.
42296 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
42298         [BZ #11883]
42299         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42300         * posix/fnmatch_loop.c: Likewise.
42302 2010-07-17  Andi Kleen  <ak@linux.intel.com>
42304         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42305         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42306         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42307         * Versions.def [GLIBC_2.13]: Add.
42309 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
42311         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42312         Also fail if tpwd after pwuid call is NULL.
42314 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42316         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42317         when converting to ms.
42319 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42321         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42322         EOPNOTSUPP errors with ENOTTY.
42323         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42324         EOPNOTSUPP errors with ENOTTY.
42326 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
42328         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42329         Add strcasecmp_l-ssse3.
42330         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42331         strcasecmp.
42332         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42333         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42334         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42336 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
42338         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42340         * string/Makefile (strop-tests): Add strcasecmp.
42341         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42342         strcasecmp_l-nonascii.
42343         (gen-as-const-headers): Add locale-defines.sym.
42344         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42345         * sysdeps/x86_64/strcasecmp.S: New file.
42346         * sysdeps/x86_64/strcasecmp_l.S: New file.
42347         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42348         * sysdeps/x86_64/locale-defines.sym: New file.
42349         * string/test-strcasecmp.c: New file.
42351         * string/test-strcasestr.c: Test both ends of the range of characters.
42352         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42354 2010-07-29  Roland McGrath  <roland@redhat.com>
42356         [BZ #11856]
42357         * manual/locale.texi (Yes-or-No Questions): Fix example code.
42359 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
42361         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42362         for ld.so.
42364 2010-07-27  Andreas Schwab  <schwab@redhat.com>
42366         * manual/memory.texi (Malloc Tunable Parameters): Document
42367         M_PERTURB.
42369 2010-07-26  Roland McGrath  <roland@redhat.com>
42371         [BZ #11840]
42372         * configure.in (-fgnu89-inline check): Set and substitute
42373         gnu89_inline, not libc_cv_gnu89_inline.
42374         * configure: Regenerated.
42375         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42377 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
42379         * string/test-strnlen.c: New file.
42380         * string/Makefile (strop-tests): Add strnlen.
42381         * string/tester.c (test_strnlen): Add a few more test cases.
42382         * string/tst-strlen.c: Better error reporting.
42384         * sysdeps/x86_64/strnlen.S: New file.
42386 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
42388         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42389         lower-latency instructions.
42391 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
42393         * string/test-strcasestr.c: New file.
42394         * string/test-strstr.c: New file.
42395         * string/Makefile (strop-tests): Add strstr and strcasestr.
42396         * string/str-two-way.h: Don't undefine MAX.
42397         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42399 2010-07-21  Andreas Schwab  <schwab@redhat.com>
42401         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42402         strcasestr-nonascii.
42403         (CFLAGS-strcasestr-nonascii.c): Define.
42404         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42405         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42406         Remove unused attribute.
42408 2010-07-20  Roland McGrath  <roland@redhat.com>
42410         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42411         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
42412         ld.so.cache was broken.  With it, there is no way to disable dsocaps
42413         like LD_HWCAP_MASK can disable hwcaps.
42415 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42417         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42419 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
42421         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42422         call in strcasestr.
42423         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42424         __strcasestr_sse42_nonascii.
42425         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42426         strcasestr-nonascii.c.
42427         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42429 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
42431         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42432         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42433         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42434         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42436 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
42438         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42439         fcntl.
42441 2010-07-06  Andreas Schwab  <schwab@redhat.com>
42443         [BZ #11577]
42444         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42445         dl_signal_cerror.
42447 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
42449         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42450         _PC_PIPE_BUF using F_GETPIPE_SZ.
42452 2010-07-05  Roland McGrath  <roland@redhat.com>
42454         * manual/arith.texi (Rounding Functions): Fix rint description
42455         implicit in round description.
42457 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
42459         * elf/Makefile: Fix linking for a few tests to make recent linker
42460         happy.
42462 2010-06-30  Andreas Schwab  <schwab@redhat.com>
42464         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42465         $(common-objpfx)libc_nonshared.a.
42467 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
42469         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42470         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42471         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42472         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42473         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42474         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42475         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42476         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42491         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42492         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42493         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42494         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42495         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42496         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42497         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42498         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42499         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42500         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42501         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42502         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42518 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
42520         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42521         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
42522         * string/memmove.c (memmove): Renamed to ...
42523         (MEMMOVE): ...this.  Default to memmove.
42524         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42525         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42526         (END_CHK): Define.
42527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42528         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42529         mempcpy-ssse3-back memmove-ssse3-back.
42530         * sysdeps/x86_64/multiarch/bcopy.S: New file .
42531         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42532         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42533         * sysdeps/x86_64/multiarch/memcpy.S: New file.
42534         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42535         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42536         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42537         * sysdeps/x86_64/multiarch/memmove.c: New file.
42538         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42539         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42540         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42541         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42542         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42543         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42544         Define.
42545         (index_Fast_Copy_Backward): Define.
42546         (HAS_ARCH_FEATURE): Define.
42547         (HAS_FAST_REP_STRING): Define.
42548         (HAS_FAST_COPY_BACKWARD): Define.
42550 2010-06-21  Andreas Schwab  <schwab@redhat.com>
42552         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42553         Restore proper fallback handling.
42555 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
42557         [BZ #11701]
42558         * posix/group_member.c (__group_member): Correct checking loop.
42560         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42561         OOM in getpwuid_r correctly.  Return error number when the caller
42562         should return, otherwise -1.
42563         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42564         call returning > 0 value.
42565         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42567 2010-06-07  Andreas Schwab  <schwab@redhat.com>
42569         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42570         libc_nonshared.a from targets in modules-names.
42572 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
42574         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42575         requires it.
42577 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
42579         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42580         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42581         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42582         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42584 2010-06-02  Andreas Schwab  <schwab@redhat.com>
42586         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42588 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
42590         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42591         and F_GETPIPE_SZ.
42592         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42593         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42595         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42596         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42597         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42599 2010-06-14  Roland McGrath  <roland@redhat.com>
42601         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42603 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
42605         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42606         __REDIRECT followed by __THROW.
42607         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42608         * posix/getopt.h (getopt): Likewise.
42610 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42612         * hurd/lookup-at.c (__file_name_lookup_at): Accept
42613         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
42614         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42615         in AT_FLAGS.
42616         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42617         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42619 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
42621         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42623 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
42625         [BZ #11640]
42626         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42627         Properly check family and model.
42629 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
42631         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42633 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
42635         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42637 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
42639         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42640         symbol reference.
42642 2010-05-19  Andreas Schwab  <schwab@redhat.com>
42644         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42645         symbol reference.
42647 2010-05-21  Andreas Schwab  <schwab@redhat.com>
42649         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42650         and internal_recvmmsg.
42651         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42652         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42653         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42654         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42656         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42657         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42658         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42660 2010-05-20  Andreas Schwab  <schwab@redhat.com>
42662         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42664 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
42666         POWER7 optimizations.
42667         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42668         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42670 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
42672         * version.h: Update for 2.13 development version.
42674 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
42676         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42677         exceptions.  Return 0.
42679 2010-05-07  Roland McGrath  <roland@redhat.com>
42681         * elf/ldconfig.c (main): Add a const.
42683 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
42685         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42686         (args_options): Add no-idn option.
42687         (ahosts_keys_int): Add idn_flags to ai_flags.
42688         (parse_option): Handle 'i' option to clear idn_flags.
42690         * malloc/malloc.c (_int_free): Possible race in the most recently
42691         added check.  Only act on the data if no current modification
42692         happened.
42694 See ChangeLog.17 for earlier changes.