Implement benchmarking script in python
[glibc.git] / ChangeLog
blobe570173294e37663c9037574d47337a62c3761c4
1 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * scripts/bench.pl: Remove file.
4         * scripts/bench.py: New benchmark script.
5         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6         * benchtests/README: Mention python dependency.
7         * scripts/pylintrc: New file.
8         * scripts/pylint: New file.
10         * bits/mathdef.h: Use #ifdef instead of #if.
11         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23         and strpbrk-ppc64 objects.
24         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
26         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
27         multiarch strpbrk for POWER7.
28         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29         multiarch strpbrk for PPC64.
30         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31         ifunc selector.
32         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33         strpbrk for POWER7.
35 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38         (atan_test): Likewise.
39         (atanh_test_data): Use NO_TEST_INLINE for two tests.
40         (atanh_test): Use ALL_RM_TEST.
41         (atan2_test_data): Likewise.
42         (cabs_test): Likewise.
43         (cacosh_test): Likewise.
44         (carg_test): Likewise.
45         (casin_test): Likewise.
46         (casinh_test): Likewise.
47         (cbrt_test): Likewise.
48         (csqrt_test): Likewise.
49         (erf_test): Likewise.
50         (erfc_test): Likewise.
51         (pow10_test): Likewise.
52         (exp2_test): Likewise.
53         (hypot_test): Likewise.
54         (j0_test): Likewise.
55         (j1_test): Likewise.
56         (lgamma_test): Likewise.
57         (gamma_test): Likewise.
58         (sincos_test): Likewise.
59         (tanh_test): Likewise.
60         (y0_test): Likewise.
61         (y1_test): Likewise.
62         * sysdeps/i386/fpu/libm-test-ulps: Update.
63         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
68         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
69         and strcspn-ppc64 objects.
70         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
71         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
72         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
73         multiarch strcspn for POWER7.
74         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
75         multiarch strcspn for PPC64.
76         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
77         ifunc selector.
78         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
79         strcspn for POWER7.
81 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
83         * math/gen-libm-test.pl (generate_testfile): Expect only function
84         name as argument to AUTO_TESTS_* and pass results for all rounding
85         modes to parse_args.
86         (parse_auto_input): Separate inputs of automatic tests from
87         outputs before storing in %auto_tests.
88         * math/libm-test.inc (acos_test_data): Update call to
89         AUTO_TESTS_f_f.
90         (acos_test): Use ALL_RM_TEST.
91         (acos_tonearest_test_data): Remove.
92         (acos_test_tonearest): Likewise.
93         (acos_towardzero_test_data): Likewise.
94         (acos_test_towardzero): Likewise.
95         (acos_downward_test_data): Likewise.
96         (acos_test_downward): Likewise.
97         (acos_upward_test_data): Likewise.
98         (acos_test_upward): Likewise.
99         (acosh_test_data): Update call to AUTO_TESTS_f_f.
100         (asin_test_data): Likewise.
101         (asin_test): Use ALL_RM_TEST.
102         (asin_tonearest_test_data): Remove.
103         (asin_test_tonearest): Likewise.
104         (asin_towardzero_test_data): Likewise.
105         (asin_test_towardzero): Likewise.
106         (asin_downward_test_data): Likewise.
107         (asin_test_downward): Likewise.
108         (asin_upward_test_data): Likewise.
109         (asin_test_upward): Likewise.
110         (asinh_test_data): Update call to AUTO_TESTS_f_f.
111         (atan_test_data): Likewise.
112         (atanh_test_data): Likewise.
113         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
114         (cabs_test_data): Update call to AUTO_TESTS_c_f.
115         (carg_test_data): Likewise.
116         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
117         (ccos_test_data): Update call to AUTO_TESTS_c_c.
118         (ccosh_test_data): Likewise.
119         (cexp_test_data): Likewise.
120         (clog_test_data): Likewise.
121         (clog10_test_data): Likewise.
122         (cos_test_data): Update call to AUTO_TESTS_f_f.
123         (cos_test): Use ALL_RM_TEST.
124         (cos_tonearest_test_data): Remove.
125         (cos_test_tonearest): Likewise.
126         (cos_towardzero_test_data): Likewise.
127         (cos_test_towardzero): Likewise.
128         (cos_downward_test_data): Likewise.
129         (cos_test_downward): Likewise.
130         (cos_upward_test_data): Likewise.
131         (cos_test_upward): Likewise.
132         (cosh_test_data): Update call to AUTO_TESTS_f_f.
133         (cosh_test): Use ALL_RM_TEST.
134         (cosh_tonearest_test_data): Remove.
135         (cosh_test_tonearest): Likewise.
136         (cosh_towardzero_test_data): Likewise.
137         (cosh_test_towardzero): Likewise.
138         (cosh_downward_test_data): Likewise.
139         (cosh_test_downward): Likewise.
140         (cosh_upward_test_data): Likewise.
141         (cosh_test_upward): Likewise.
142         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
143         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
144         (ctan_test_data): Likewise.
145         (ctan_test): Use ALL_RM_TEST.
146         (ctan_tonearest_test_data): Remove.
147         (ctan_test_tonearest): Likewise.
148         (ctan_towardzero_test_data): Likewise.
149         (ctan_test_towardzero): Likewise.
150         (ctan_downward_test_data): Likewise.
151         (ctan_test_downward): Likewise.
152         (ctan_upward_test_data): Likewise.
153         (ctan_test_upward): Likewise.
154         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
155         (ctanh_test): Use ALL_RM_TEST.
156         (ctanh_tonearest_test_data): Remove.
157         (ctanh_test_tonearest): Likewise.
158         (ctanh_towardzero_test_data): Likewise.
159         (ctanh_test_towardzero): Likewise.
160         (ctanh_downward_test_data): Likewise.
161         (ctanh_test_downward): Likewise.
162         (ctanh_upward_test_data): Likewise.
163         (ctanh_test_upward): Likewise.
164         (erf_test_data): Update call to AUTO_TESTS_f_f.
165         (erfc_test_data): Likewise.
166         (exp_test_data): Likewise.
167         (exp_test): Use ALL_RM_TEST.
168         (exp_tonearest_test_data): Remove.
169         (exp_test_tonearest): Likewise.
170         (exp_towardzero_test_data): Likewise.
171         (exp_test_towardzero): Likewise.
172         (exp_downward_test_data): Likewise.
173         (exp_test_downward): Likewise.
174         (exp_upward_test_data): Likewise.
175         (exp_test_upward): Likewise.
176         (exp10_test_data): Update call to AUTO_TESTS_f_f.
177         (exp10_test): Use ALL_RM_TEST.
178         (exp10_tonearest_test_data): Remove.
179         (exp10_test_tonearest): Likewise.
180         (exp10_towardzero_test_data): Likewise.
181         (exp10_test_towardzero): Likewise.
182         (exp10_downward_test_data): Likewise.
183         (exp10_test_downward): Likewise.
184         (exp10_upward_test_data): Likewise.
185         (exp10_test_upward): Likewise.
186         (exp2_test_data): Update call to AUTO_TESTS_f_f.
187         (expm1_test_data): Likewise.
188         (expm1_test): Use ALL_RM_TEST.
189         (expm1_tonearest_test_data): Remove.
190         (expm1_test_tonearest): Likewise.
191         (expm1_towardzero_test_data): Likewise.
192         (expm1_test_towardzero): Likewise.
193         (expm1_downward_test_data): Likewise.
194         (expm1_test_downward): Likewise.
195         (expm1_upward_test_data): Likewise.
196         (expm1_test_upward): Likewise.
197         (fma_test_data): Update call to AUTO_TESTS_fff_f.
198         (fma_test): Use ALL_RM_TEST.
199         (fma_towardzero_test_data): Remove.
200         (fma_test_towardzero): Likewise.
201         (fma_downward_test_data): Likewise.
202         (fma_test_downward): Likewise.
203         (fma_upward_test_data): Likewise.
204         (fma_test_upward): Likewise.
205         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
206         (j0_test_data): Update call to AUTO_TESTS_f_f.
207         (j1_test_data): Likewise.
208         (jn_test_data): Update call to AUTO_TESTS_if_f.
209         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
210         (log_test_data): Update call to AUTO_TESTS_f_f.
211         (log10_test_data): Likewise.
212         (log1p_test_data): Likewise.
213         (log2_test_data): Likewise.
214         (pow_test_data): Update call to AUTO_TESTS_ff_f.
215         (pow_tonearest_test_data): Likewise.
216         (sin_test_data): Update call to AUTO_TESTS_f_f.
217         (sin_test): Use ALL_RM_TEST.
218         (sin_tonearest_test_data): Remove.
219         (sin_test_tonearest): Likewise.
220         (sin_towardzero_test_data): Likewise.
221         (sin_test_towardzero): Likewise.
222         (sin_downward_test_data): Likewise.
223         (sin_test_downward): Likewise.
224         (sin_upward_test_data): Likewise.
225         (sin_test_upward): Likewise.
226         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
227         (sinh_test_data): Update call to AUTO_TESTS_f_f.
228         (sinh_test): Use ALL_RM_TEST.
229         (sinh_tonearest_test_data): Remove.
230         (sinh_test_tonearest): Likewise.
231         (sinh_towardzero_test_data): Likewise.
232         (sinh_test_towardzero): Likewise.
233         (sinh_downward_test_data): Likewise.
234         (sinh_test_downward): Likewise.
235         (sinh_upward_test_data): Likewise.
236         (sinh_test_upward): Likewise.
237         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
238         (sqrt_test): Use ALL_RM_TEST.
239         (sqrt_tonearest_test_data): Remove.
240         (sqrt_test_tonearest): Likewise.
241         (sqrt_towardzero_test_data): Likewise.
242         (sqrt_test_towardzero): Likewise.
243         (sqrt_downward_test_data): Likewise.
244         (sqrt_test_downward): Likewise.
245         (sqrt_upward_test_data): Likewise.
246         (sqrt_test_upward): Likewise.
247         (tan_test_data): Update call to AUTO_TESTS_f_f.
248         (tan_test): Use ALL_RM_TEST.
249         (tan_tonearest_test_data): Remove.
250         (tan_test_tonearest): Likewise.
251         (tan_towardzero_test_data): Likewise.
252         (tan_test_towardzero): Likewise.
253         (tan_downward_test_data): Likewise.
254         (tan_test_downward): Likewise.
255         (tan_upward_test_data): Likewise.
256         (tan_test_upward): Likewise.
257         (tanh_test_data): Update call to AUTO_TESTS_f_f.
258         (tgamma_test_data): Likewise.
259         (y0_test_data): Likewise.
260         (y1_test_data): Likewise.
261         (yn_test_data): Update call to AUTO_TESTS_if_f.
262         (main): Do not call removed functions.
264 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
266         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
267         (ldexp_test_data): Remove.
268         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
269         scalbn_test_data.
270         (scalb_test): Use ALL_RM_TEST.
272 2014-03-19  Andreas Schwab  <schwab@suse.de>
274         * nscd/nscd.service: Also invalidate netgroup cache on reload.
276 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
278         [BZ #16649]
279         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
280         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
281         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
282         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
283         (__ASSUME_PREADV): Undefine.
284         (__ASSUME_PWRITEV): Likewise.
286 2014-03-18  Roland McGrath  <roland@hack.frob.com>
288         * bits/mman-linux.h: Add comment about non-Linux use.
289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
290         bits/mman-linux.h resting place.
292         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
293         * bits/mman-linux.h: ... here.
295 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
297         * conform/conformtest.pl: Add standard definition when calling C
298         preprocessor on data files.
299         (checknamespace): Remove unused variable.
301 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
303         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
304         minus_oflow, plus_uflow and minus_uflow in expected results.
305         * math/libm-test.inc (scalbn_test_data): Add more tests of
306         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
307         minus_uflow.
308         (scalbn_test): Use ALL_RM_TEST.
309         (scalbln_test_data): Add more tests of negative arguments.  Use
310         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
311         (scalbln_test): Use ALL_RM_TEST.
313 2014-03-18  Roland McGrath  <roland@hack.frob.com>
315         * scripts/abilist.awk: Ignore symbols marked with .hidden.
317 2014-03-18  Will Newton  <will.newton@linaro.org>
319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
320         inaccurate comment.
322 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
324         * Makerules [!subdir] (check-abi): Exit with error status if a
325         test failed.
327 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
329         * math/libm-test.inc (nearbyint_test_data): Include all tests used
330         for rint.  Include results for all rounding modes.
331         (nearbyint_test): Use ALL_RM_TEST.
332         (rint_test_data): Include all tests used for nearbyint.
334 2014-03-17  Will Newton  <will.newton@linaro.org>
336         * nptl/sysdeps/pthread/pthread.h: Revert previous
337         change.
339         * sysdeps/generic/ldsodefs.h: Revert previous
340         change.
342         * libio/genops.c: Revert previous change.
343         * libio/libioP.h: Likewise.
344         * stdio-common/vfprintf.c: Likewise.
346         * sysdeps/generic/math_private.h: Revert previous
347         change.
349         * sysdeps/generic/math_private.h: Check whether
350         HAVE_RM_CTX is defined with #ifdef rather
351         than #if.
353         * argp/argp-fmtstream.h: Check whether
354         __STRICT_ANSI__ is defined with #ifdef rather
355         than #if.
356         * argp/argp.h: Likewise.
358         * libio/genops.c: Check whether
359         _IO_JUMPS_OFFSET is defined with #ifdef rather
360         than #if.
361         * libio/libioP.h: Likewise.
362         * stdio-common/vfprintf.c: Likewise.
364         * sysdeps/generic/ldsodefs.h: Check whether
365         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
366         than #if.
368         * nptl/sysdeps/pthread/pthread.h: Check
369         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
370         its value.
372 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
374         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
375         setting O_APPEND.
376         * libio/tst-ftell-active-handler.c (do_append_test): Add a
377         test case.
379         [BZ #16680]
380         * libio/fileops.c (_IO_file_open): Seek to end of file but
381         don't cache the offset.
382         (get_file_offset): Remove function.
383         (do_ftell): Use cached offset when available.
384         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
385         don't cache the offset.
386         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
387         case.
388         (do_one_test): Call it.
389         (do_ftell_test): Fix up expected old offset for a+ mode.
390         * libio/wfileops.c (do_ftell_wide): Used cached offset when
391         available.
393         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
394         up test status with function return status.
395         (do_write_test): Likewise.
396         (do_append_test): Likewise.
398         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
399         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
400         Remove.
402 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
404         * math/gen-libm-test.pl (parse_args): Handle results specified for
405         each rounding mode separately.
406         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
407         tests and results from lrint_tonearest_test_data,
408         lrint_towardzero_test_data, lrint_downward_test_data and
409         lrint_upward_test_data.
410         (lrint_test): Use ALL_RM_TEST.
411         (lrint_tonearest_test_data): Remove.
412         (lrint_test_tonearest): Likewise.
413         (lrint_towardzero_test_data): Likewise.
414         (lrint_test_towardzero): Likewise.
415         (lrint_downward_test_data): Likewise.
416         (lrint_test_downward): Likewise.
417         (lrint_upward_test_data): Likewise.
418         (lrint_test_upward): Likewise.
419         (llrint_test_data): Merge in per-rounding-mode tests and results
420         from llrint_tonearest_test_data, llrint_towardzero_test_data,
421         llrint_downward_test_data and llrint_upward_test_data.
422         (llrint_test): Use ALL_RM_TEST.
423         (llrint_tonearest_test_data): Remove.
424         (llrint_test_tonearest): Likewise.
425         (llrint_towardzero_test_data): Likewise.
426         (llrint_test_towardzero): Likewise.
427         (llrint_downward_test_data): Likewise.
428         (llrint_test_downward): Likewise.
429         (llrint_upward_test_data): Likewise.
430         (llrint_test_upward): Likewise.
431         (rint_test_data): Merge in per-rounding-mode tests and results
432         from rint_tonearest_test_data, rint_towardzero_test_data,
433         rint_downward_test_data and rint_upward_test_data.  Add
434         per-rounding-mode results for tests not in those arrays.
435         (rint_test): Use ALL_RM_TEST.
436         (rint_tonearest_test_data): Remove.
437         (rint_test_tonearest): Likewise.
438         (rint_towardzero_test_data): Likewise.
439         (rint_test_towardzero): Likewise.
440         (rint_downward_test_data): Likewise.
441         (rint_test_downward): Likewise.
442         (rint_upward_test_data): Likewise.
443         (rint_test_upward): Likewise.
444         (main): Don't call removed functions.
446 2014-03-14  Roland McGrath  <roland@hack.frob.com>
448         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
449         "Compiled on ..." crapola.  It is anti-useful.
451 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
453         * scripts/evaluate-test.sh: Handle fourth argument to determine
454         whether test run should stop on failure.
455         * Makeconfig (stop-on-test-failure): New variable.
456         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
457         $(stop-on-test-failure).
458         * Makefile (tests): Give a summary of results from testing and
459         exit with failure status if they include an ERROR or FAIL.
460         (xtests): Likewise.
461         * manual/install.texi (Configuring and compiling): Mention
462         stop-on-test-failure=y.
463         * INSTALL: Regenerated.
465 2014-03-14  Roland McGrath  <roland@hack.frob.com>
467         * scripts/versionlist.awk: New file.
468         * Makerules [$(build-shared) = yes]
469         (postclean-generated): Add Versions.def, not Versions.def.v and
470         Versions.def.v.i.
471         ($(common-objpfx)Versions.def.v.i): Target removed.
472         ($(common-objpfx)Versions.def): New target.
473         ($(common-objpfx)Versions.all): Depend on that rather that
474         $(common-objpfx)Versions.def.v.
475         * Versions.def: File removed.
477         * Makeconfig (+gccwarn): Add -Wundef.
478         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
479         a dl-sysdep.h breaking its contract.
480         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
481         * include/stackinfo.h: New file.
482         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
483         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
484         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
485         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
486         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
487         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
488         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
489         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
490         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
491         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
492         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
493         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
494         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
495         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
496         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
498 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
500         [BZ #16707]
501         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
502         implementation.
503         * math/libm-test.inc (round_test_data): Add more tests.
505 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
507         [BZ #16706]
508         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
509         implementation.
510         * math/libm-test.inc (nearbyint_test_data): Add more tests.
512 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
514         [BZ #16701]
515         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
516         implementation.
517         * math/libm-test.inc (ceil_test_data): Add more tests.
519 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
521         * math/libm-test.inc (trunc_test_data): Add more tests related to
522         BZ#16414.
524 2014-03-14  Roland McGrath  <roland@hack.frob.com>
526         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
527         with #if rather than #ifdef.
528         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
530 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
532         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
533         first.  Disable AVX-512 GCC support if assembler doesn't support
534         it.
535         * sysdeps/x86_64/configure: Regenerated.
537 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
539         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
540         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
541         (__old_pthread_attr_setstack): Likewise.
542         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
543         [!_STACK_GROWS_DOWN]: Likewise.
545 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
547         * config.make.in (have-bash2): Delete.
548         * configure.ac (libc_cv_have_bash2): Delete.
549         * configure: Regenerate.
550         * elf/Makefile (common-ldd-rewrite): Rename to ...
551         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
552         (sh-ldd-rewrite): Delete.
553         (bash-ldd-rewrite): Delete.
554         (have-bash2): Delete checks.
555         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
557 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
559         * config.make.in (have-ksh): Delete.
560         (KSH): Delete.
561         * configure.ac (libc_cv_have_ksh): Delete.
562         * configure: Regenerate.
564 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
566         * elf/Makefile: Delete $(have-ksh) check.
567         ($(objpfx)sotruss): Change KSH to BASH.
568         * elf/sotruss.ksh: Rename to ...
569         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
570         function style to match POSIX.  Drop ksh vim mode setting.
572 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
574         * manual/time.texi (Specifying the Time Zone with TZ): Change
575         Tuesday to Thursday.
577 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
579         * debug/tst-longjmp_chk2.c: Update header comment.
580         (stackoverflow_handler): Add comment.  Call assert on pass value.
582 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
584         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
585         (HAVE_AVX512_ASM_SUPPORT): Likewise.
586         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
587         (La_x86_64_vector): Add zmm.
588         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
589         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
590         ($(objpfx)tst-audit10): New target.
591         ($(objpfx)tst-audit10.out): Likewise.
592         (tst-audit10-ENV): New.
593         (AVX512-CFLAGS): Likewise.
594         (CFLAGS-tst-audit10.c): Likewise.
595         (CFLAGS-tst-auditmod10a.c): Likewise.
596         (CFLAGS-tst-auditmod10b.c): Likewise.
597         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
598         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
599         * sysdeps/x86_64/configure: Regenerated.
600         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
601         AVX-512 zmm register support.
602         (_dl_x86_64_save_sse): Likewise.
603         (_dl_x86_64_restore_sse): Likewise.
604         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
605         size vector registers.
606         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
607         (ZMM_SIZE): Likewise.
608         * sysdeps/x86_64/tst-audit10.c: New file.
609         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
610         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
612 2014-03-13  Roland McGrath  <roland@hack.frob.com>
614         * configure.ac (HAVE_EHDR_START): New check.
615         * configure: Regenerated.
616         * config.h.in (HAVE_EHDR_START): New #undef.
617         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
618         assuming the lowest-addressed segment maps the start of the file.
620 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
622         * INSTALL: Regenerated.
624 2014-03-13  Will Newton  <will.newton@linaro.org>
626         * manual/setjmp.texi (System V contexts): Improve
627         clarity and grammar of documentation.
629 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
631         [BZ #16381]
632         * elf/Makefile (tests): Add tst-pie2.
633         (tests-pie): Add tst-pie2.
634         * elf/tst-pie2.c: New file.
635         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
636         for ET_EXEC.
637         * elf/rtld.c (map_doit): Load executable as lt_executable.
638         (dl_main): Likewise.
640 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
642         [BZ #16642]
643         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
644         (__ASSUME_PSELECT): Undefine.
646 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
648         [BZ #16689]
649         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
650         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
651         static build.
652         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
653         selector for static builds.
655 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
657         [BZ #16695]
658         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
659         key in the buffer.
661 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
663         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
664         selector for static builds.
666 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
668         * sysdeps/mips/math_private.h [__mips_hard_float]
669         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
670         libc_feresetround_mips_ctx.
671         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
672         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
673         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
675         [BZ #16677]
676         * math/s_nextafter.c (__nextafter): Do not return value from
677         overflowing computation.
678         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
679         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
680         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
681         Likewise.
682         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
683         Likewise.
684         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
685         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
687 2014-03-11  Roland McGrath  <roland@hack.frob.com>
689         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
690         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
691         Move sfi_sp use from the load-multiple (that no longer sets sp) to
692         the new mov targetting sp.
694 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
696         [BZ #16683]
697         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
698         Define it for static builds as well.
699         (NO_BZERO_IMPL): Likewise.
701 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
703         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
704         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
705         multiarch strspn for PPC64.
706         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
707         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
709         (__libc_ifunc_impl_list): Likewise.
710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
711         multiarch optimizations
712         * string/strspn.c (strspn): Using macro to redefine symbol name.
714 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
715             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
717         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
718         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
719         multiarch strncat for PPC64.
720         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
721         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
723         (__libc_ifunc_impl_list): Likewise.
724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
725         multiarch optimizations
727 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
729         [BZ #16639]
730         * nscd/nscd.service: Make service type forking.
732 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
734         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
735         sign in non default rounding modes.
736         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
738 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
740         * math/libm-test.inc (ALL_RM_TEST): New macro.
741         (ceil_test): Use ALL_RM_TEST.
742         (cimag_test): Likewise.
743         (conj_test): Likewise.
744         (copysign_test): Likewise.
745         (cproj_test): Likewise.
746         (creal_test): Likewise.
747         (fabs_test): Likewise.
748         (floor_test): Likewise.
749         (fmax_test): Likewise.
750         (fmin_test): Likewise.
751         (fmod_test): Likewise.
752         (fpclassify_test): Likewise.
753         (frexp_test): Likewise.
754         (ilogb_test): Likewise.
755         (isfinite_test): Likewise.
756         (finite_test): Likewise.
757         (isgreater_test): Likewise.
758         (isgreaterequal_test): Likewise.
759         (isinf_test): Likewise.
760         (isless_test): Likewise.
761         (islessequal_test): Likewise.
762         (islessgreater_test): Likewise.
763         (isnan_test): Likewise.
764         (isnormal_test): Likewise.
765         (issignaling_test): Likewise.
766         (isunordered_test): Likewise.
767         (logb_test): Likewise.
768         (logb_downward_test_data): Remove.
769         (logb_test_downward): Likewise.
770         (lround_test): Use ALL_RM_TEST.
771         (llround_test): Likewise.
772         (modf_test): Likewise.
773         (nexttoward_test): Likewise.
774         (remainder_test): Likewise.
775         (drem_test): Likewise.
776         (remainder_tonearest_test_data): Likewise.
777         (remainder_test_tonearest): Likewise.
778         (drem_test_tonearest): Likewise.
779         (remainder_towardzero_test_data): Likewise.
780         (remainder_test_towardzero): Likewise.
781         (drem_test_towardzero): Likewise.
782         (remainder_downward_test_data): Likewise.
783         (remainder_test_downward): Likewise.
784         (drem_test_downward): Likewise.
785         (remainder_upward_test_data): Likewise.
786         (remainder_test_upward): Likewise.
787         (drem_test_upward): Likewise.
788         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
789         (round_test): Use ALL_RM_TEST.
790         (signbit_test): Likewise.
791         (trunc_test): Likewise.
792         (significand_test): Likewise.
793         (main): Don't call removed functions.
795 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
797         [BZ #16674]
798         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
799         || __USE_XOPEN2K8].
800         (ILL_ILLOPN): Likewise.
801         (ILL_ILLADR): Likewise.
802         (ILL_ILLTRP): Likewise.
803         (ILL_PRVOPC): Likewise.
804         (ILL_PRVREG): Likewise.
805         (ILL_COPROC): Likewise.
806         (ILL_BADSTK): Likewise.
807         (FPE_INTDIV): Likewise.
808         (FPE_INTOVF): Likewise.
809         (FPE_FLTDIV): Likewise.
810         (FPE_FLTOVF): Likewise.
811         (FPE_FLTUND): Likewise.
812         (FPE_FLTRES): Likewise.
813         (FPE_FLTINV): Likewise.
814         (FPE_FLTSUB): Likewise.
815         (SEGV_MAPERR): Likewise.
816         (SEGV_ACCERR): Likewise.
817         (BUS_ADRALN): Likewise.
818         (BUS_ADRERR): Likewise.
819         (BUS_OBJERR): Likewise.
820         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
821         (TRAP_TRACE): Likewise.
822         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
823         __USE_XOPEN2K8].
824         (CLD_KILLED): Likewise.
825         (CLD_DUMPED): Likewise.
826         (CLD_TRAPPED): Likewise.
827         (CLD_STOPPED): Likewise.
828         (CLD_CONTINUED): Likewise.
829         (POLL_IN): Likewise.
830         (POLL_OUT): Likewise.
831         (POLL_MSG): Likewise.
832         (POLL_ERR): Likewise.
833         (POLL_PRI): Likewise.
834         (POLL_HUP): Likewise.
835         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
836         Likewise.
837         (ILL_ILLOPN): Likewise.
838         (ILL_ILLADR): Likewise.
839         (ILL_ILLTRP): Likewise.
840         (ILL_PRVOPC): Likewise.
841         (ILL_PRVREG): Likewise.
842         (ILL_COPROC): Likewise.
843         (ILL_BADSTK): Likewise.
844         (FPE_INTDIV): Likewise.
845         (FPE_INTOVF): Likewise.
846         (FPE_FLTDIV): Likewise.
847         (FPE_FLTOVF): Likewise.
848         (FPE_FLTUND): Likewise.
849         (FPE_FLTRES): Likewise.
850         (FPE_FLTINV): Likewise.
851         (FPE_FLTSUB): Likewise.
852         (SEGV_MAPERR): Likewise.
853         (SEGV_ACCERR): Likewise.
854         (BUS_ADRALN): Likewise.
855         (BUS_ADRERR): Likewise.
856         (BUS_OBJERR): Likewise.
857         (BUS_MCEERR_AR): Likewise.
858         (BUS_MCEERR_AO): Likewise.
859         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
860         (TRAP_TRACE): Likewise.
861         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
862         __USE_XOPEN2K8].
863         (CLD_KILLED): Likewise.
864         (CLD_DUMPED): Likewise.
865         (CLD_TRAPPED): Likewise.
866         (CLD_STOPPED): Likewise.
867         (CLD_CONTINUED): Likewise.
868         (POLL_IN): Likewise.
869         (POLL_OUT): Likewise.
870         (POLL_MSG): Likewise.
871         (POLL_ERR): Likewise.
872         (POLL_PRI): Likewise.
873         (POLL_HUP): Likewise.
874         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
875         (ILL_ILLOPN): Likewise.
876         (ILL_ILLADR): Likewise.
877         (ILL_ILLTRP): Likewise.
878         (ILL_PRVOPC): Likewise.
879         (ILL_PRVREG): Likewise.
880         (ILL_COPROC): Likewise.
881         (ILL_BADSTK): Likewise.
882         (FPE_INTDIV): Likewise.
883         (FPE_INTOVF): Likewise.
884         (FPE_FLTDIV): Likewise.
885         (FPE_FLTOVF): Likewise.
886         (FPE_FLTUND): Likewise.
887         (FPE_FLTRES): Likewise.
888         (FPE_FLTINV): Likewise.
889         (FPE_FLTSUB): Likewise.
890         (SEGV_MAPERR): Likewise.
891         (SEGV_ACCERR): Likewise.
892         (BUS_ADRALN): Likewise.
893         (BUS_ADRERR): Likewise.
894         (BUS_OBJERR): Likewise.
895         (BUS_MCEERR_AR): Likewise.
896         (BUS_MCEERR_AO): Likewise.
897         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
898         (TRAP_TRACE): Likewise.
899         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
900         __USE_XOPEN2K8].
901         (CLD_KILLED): Likewise.
902         (CLD_DUMPED): Likewise.
903         (CLD_TRAPPED): Likewise.
904         (CLD_STOPPED): Likewise.
905         (CLD_CONTINUED): Likewise.
906         (POLL_IN): Likewise.
907         (POLL_OUT): Likewise.
908         (POLL_MSG): Likewise.
909         (POLL_ERR): Likewise.
910         (POLL_PRI): Likewise.
911         (POLL_HUP): Likewise.
912         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
913         Likewise.
914         (ILL_ILLOPN): Likewise.
915         (ILL_ILLADR): Likewise.
916         (ILL_ILLTRP): Likewise.
917         (ILL_PRVOPC): Likewise.
918         (ILL_PRVREG): Likewise.
919         (ILL_COPROC): Likewise.
920         (ILL_BADSTK): Likewise.
921         (ILL_BADIADDR): Likewise.
922         (ILL_BREAK): Likewise.
923         (FPE_INTDIV): Likewise.
924         (FPE_INTOVF): Likewise.
925         (FPE_FLTDIV): Likewise.
926         (FPE_FLTOVF): Likewise.
927         (FPE_FLTUND): Likewise.
928         (FPE_FLTRES): Likewise.
929         (FPE_FLTINV): Likewise.
930         (FPE_FLTSUB): Likewise.
931         (FPE_DECOVF): Likewise.
932         (FPE_DECDIV): Likewise.
933         (FPE_DECERR): Likewise.
934         (FPE_INVASC): Likewise.
935         (FPE_INVDEC): Likewise.
936         (SEGV_MAPERR): Likewise.
937         (SEGV_ACCERR): Likewise.
938         (SEGV_PSTKOVF): Likewise.
939         (BUS_ADRALN): Likewise.
940         (BUS_ADRERR): Likewise.
941         (BUS_OBJERR): Likewise.
942         (BUS_MCEERR_AR): Likewise.
943         (BUS_MCEERR_AO): Likewise.
944         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
945         (TRAP_TRACE): Likewise.
946         (TRAP_BRANCH): Likewise.
947         (TRAP_HWBKPT): Likewise.
948         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
949         __USE_XOPEN2K8].
950         (CLD_KILLED): Likewise.
951         (CLD_DUMPED): Likewise.
952         (CLD_TRAPPED): Likewise.
953         (CLD_STOPPED): Likewise.
954         (CLD_CONTINUED): Likewise.
955         (POLL_IN): Likewise.
956         (POLL_OUT): Likewise.
957         (POLL_MSG): Likewise.
958         (POLL_ERR): Likewise.
959         (POLL_PRI): Likewise.
960         (POLL_HUP): Likewise.
961         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
962         (ILL_ILLOPN): Likewise.
963         (ILL_ILLADR): Likewise.
964         (ILL_ILLTRP): Likewise.
965         (ILL_PRVOPC): Likewise.
966         (ILL_PRVREG): Likewise.
967         (ILL_COPROC): Likewise.
968         (ILL_BADSTK): Likewise.
969         (FPE_INTDIV): Likewise.
970         (FPE_INTOVF): Likewise.
971         (FPE_FLTDIV): Likewise.
972         (FPE_FLTOVF): Likewise.
973         (FPE_FLTUND): Likewise.
974         (FPE_FLTRES): Likewise.
975         (FPE_FLTINV): Likewise.
976         (FPE_FLTSUB): Likewise.
977         (SEGV_MAPERR): Likewise.
978         (SEGV_ACCERR): Likewise.
979         (BUS_ADRALN): Likewise.
980         (BUS_ADRERR): Likewise.
981         (BUS_OBJERR): Likewise.
982         (BUS_MCEERR_AR): Likewise.
983         (BUS_MCEERR_AO): Likewise.
984         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
985         (TRAP_TRACE): Likewise.
986         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
987         __USE_XOPEN2K8].
988         (CLD_KILLED): Likewise.
989         (CLD_DUMPED): Likewise.
990         (CLD_TRAPPED): Likewise.
991         (CLD_STOPPED): Likewise.
992         (CLD_CONTINUED): Likewise.
993         (POLL_IN): Likewise.
994         (POLL_OUT): Likewise.
995         (POLL_MSG): Likewise.
996         (POLL_ERR): Likewise.
997         (POLL_PRI): Likewise.
998         (POLL_HUP): Likewise.
999         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1000         (ILL_ILLOPN): Likewise.
1001         (ILL_ILLADR): Likewise.
1002         (ILL_ILLTRP): Likewise.
1003         (ILL_PRVOPC): Likewise.
1004         (ILL_PRVREG): Likewise.
1005         (ILL_COPROC): Likewise.
1006         (ILL_BADSTK): Likewise.
1007         (FPE_INTDIV): Likewise.
1008         (FPE_INTOVF): Likewise.
1009         (FPE_FLTDIV): Likewise.
1010         (FPE_FLTOVF): Likewise.
1011         (FPE_FLTUND): Likewise.
1012         (FPE_FLTRES): Likewise.
1013         (FPE_FLTINV): Likewise.
1014         (FPE_FLTSUB): Likewise.
1015         (SEGV_MAPERR): Likewise.
1016         (SEGV_ACCERR): Likewise.
1017         (BUS_ADRALN): Likewise.
1018         (BUS_ADRERR): Likewise.
1019         (BUS_OBJERR): Likewise.
1020         (BUS_MCEERR_AR): Likewise.
1021         (BUS_MCEERR_AO): Likewise.
1022         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1023         (TRAP_TRACE): Likewise.
1024         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1025         __USE_XOPEN2K8].
1026         (CLD_KILLED): Likewise.
1027         (CLD_DUMPED): Likewise.
1028         (CLD_TRAPPED): Likewise.
1029         (CLD_STOPPED): Likewise.
1030         (CLD_CONTINUED): Likewise.
1031         (POLL_IN): Likewise.
1032         (POLL_OUT): Likewise.
1033         (POLL_MSG): Likewise.
1034         (POLL_ERR): Likewise.
1035         (POLL_PRI): Likewise.
1036         (POLL_HUP): Likewise.
1037         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1038         (ILL_ILLOPN): Likewise.
1039         (ILL_ILLADR): Likewise.
1040         (ILL_ILLTRP): Likewise.
1041         (ILL_PRVOPC): Likewise.
1042         (ILL_PRVREG): Likewise.
1043         (ILL_COPROC): Likewise.
1044         (ILL_BADSTK): Likewise.
1045         (FPE_INTDIV): Likewise.
1046         (FPE_INTOVF): Likewise.
1047         (FPE_FLTDIV): Likewise.
1048         (FPE_FLTOVF): Likewise.
1049         (FPE_FLTUND): Likewise.
1050         (FPE_FLTRES): Likewise.
1051         (FPE_FLTINV): Likewise.
1052         (FPE_FLTSUB): Likewise.
1053         (SEGV_MAPERR): Likewise.
1054         (SEGV_ACCERR): Likewise.
1055         (BUS_ADRALN): Likewise.
1056         (BUS_ADRERR): Likewise.
1057         (BUS_OBJERR): Likewise.
1058         (BUS_MCEERR_AR): Likewise.
1059         (BUS_MCEERR_AO): Likewise.
1060         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1061         (TRAP_TRACE): Likewise.
1062         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1063         __USE_XOPEN2K8].
1064         (CLD_KILLED): Likewise.
1065         (CLD_DUMPED): Likewise.
1066         (CLD_TRAPPED): Likewise.
1067         (CLD_STOPPED): Likewise.
1068         (CLD_CONTINUED): Likewise.
1069         (POLL_IN): Likewise.
1070         (POLL_OUT): Likewise.
1071         (POLL_MSG): Likewise.
1072         (POLL_ERR): Likewise.
1073         (POLL_PRI): Likewise.
1074         (POLL_HUP): Likewise.
1075         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1076         (ILL_ILLOPN): Likewise.
1077         (ILL_ILLADR): Likewise.
1078         (ILL_ILLTRP): Likewise.
1079         (ILL_PRVOPC): Likewise.
1080         (ILL_PRVREG): Likewise.
1081         (ILL_COPROC): Likewise.
1082         (ILL_BADSTK): Likewise.
1083         (ILL_DBLFLT): Likewise.
1084         (ILL_HARDWALL): Likewise.
1085         (FPE_INTDIV): Likewise.
1086         (FPE_INTOVF): Likewise.
1087         (FPE_FLTDIV): Likewise.
1088         (FPE_FLTOVF): Likewise.
1089         (FPE_FLTUND): Likewise.
1090         (FPE_FLTRES): Likewise.
1091         (FPE_FLTINV): Likewise.
1092         (FPE_FLTSUB): Likewise.
1093         (SEGV_MAPERR): Likewise.
1094         (SEGV_ACCERR): Likewise.
1095         (BUS_ADRALN): Likewise.
1096         (BUS_ADRERR): Likewise.
1097         (BUS_OBJERR): Likewise.
1098         (BUS_MCEERR_AR): Likewise.
1099         (BUS_MCEERR_AO): Likewise.
1100         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1101         (TRAP_TRACE): Likewise.
1102         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1103         __USE_XOPEN2K8].
1104         (CLD_KILLED): Likewise.
1105         (CLD_DUMPED): Likewise.
1106         (CLD_TRAPPED): Likewise.
1107         (CLD_STOPPED): Likewise.
1108         (CLD_CONTINUED): Likewise.
1109         (POLL_IN): Likewise.
1110         (POLL_OUT): Likewise.
1111         (POLL_MSG): Likewise.
1112         (POLL_ERR): Likewise.
1113         (POLL_PRI): Likewise.
1114         (POLL_HUP): Likewise.
1115         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1116         (ILL_ILLOPN): Likewise.
1117         (ILL_ILLADR): Likewise.
1118         (ILL_ILLTRP): Likewise.
1119         (ILL_PRVOPC): Likewise.
1120         (ILL_PRVREG): Likewise.
1121         (ILL_COPROC): Likewise.
1122         (ILL_BADSTK): Likewise.
1123         (FPE_INTDIV): Likewise.
1124         (FPE_INTOVF): Likewise.
1125         (FPE_FLTDIV): Likewise.
1126         (FPE_FLTOVF): Likewise.
1127         (FPE_FLTUND): Likewise.
1128         (FPE_FLTRES): Likewise.
1129         (FPE_FLTINV): Likewise.
1130         (FPE_FLTSUB): Likewise.
1131         (SEGV_MAPERR): Likewise.
1132         (SEGV_ACCERR): Likewise.
1133         (BUS_ADRALN): Likewise.
1134         (BUS_ADRERR): Likewise.
1135         (BUS_OBJERR): Likewise.
1136         (BUS_MCEERR_AR): Likewise.
1137         (BUS_MCEERR_AO): Likewise.
1138         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1139         (TRAP_TRACE): Likewise.
1140         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1141         __USE_XOPEN2K8].
1142         (CLD_KILLED): Likewise.
1143         (CLD_DUMPED): Likewise.
1144         (CLD_TRAPPED): Likewise.
1145         (CLD_STOPPED): Likewise.
1146         (CLD_CONTINUED): Likewise.
1147         (POLL_IN): Likewise.
1148         (POLL_OUT): Likewise.
1149         (POLL_MSG): Likewise.
1150         (POLL_ERR): Likewise.
1151         (POLL_PRI): Likewise.
1152         (POLL_HUP): Likewise.
1153         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1154         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1156         [BZ #16670]
1157         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1158         before #include of <time.h>.
1159         [!__USE_XOPEN2K] (__need_timespec): Likewise.
1160         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1161         (test-xfail-UNIX98/sched.h/conform): Likewise.
1163 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1165         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1166         error absence of trapping exception support.
1167         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1169 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1171         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1172         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1173         * timezone/Makefile (testdata): Move definition above include of
1174         Rules.
1175         (test-zones): New variable.
1176         (tests-special): Add zone files.
1177         (build-testdata): Use $(evaluate-test).
1179         * elf/Makefile (tests-special): Rename tests to end with .out.
1180         ($(objpfx)noload-mem): Likewise.
1181         ($(objpfx)tst-leaks1-mem): Likewise.
1182         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1183         * iconv/Makefile (xtests-special): Change test-iconvconfig to
1184         $(objpfx)test-iconvconfig.out.
1185         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
1186         set -e inside subshell and redirect output to file.
1187         * iconvdata/Makefile (generated): Rename tests to end with .out.
1188         Correct type.
1189         (tests-special): Rename tests to end with .out.
1190         ($(objpfx)mtrace-tst-loading): Likewise.
1191         * intl/Makefile (generated): Likewise.
1192         (tests-special): Likewise.
1193         ($(objpfx)mtrace-tst-gettext): Likewise.
1194         * misc/Makefile (generated): Likewise.
1195         (tests-special): Likewise.
1196         ($(objpfx)tst-error1-mem): Likewise.
1197         * nptl/Makefile (tests-special): Likewise.
1198         ($(objpfx)tst-stack3-mem): Likewise.
1199         (generated): Likewise.
1200         * posix/Makefile (generated): Likewise.
1201         (tests-special): Likewise.
1202         (xtests-special): Likewise.
1203         ($(objpfx)tst-fnmatch-mem): Likewise.
1204         ($(objpfx)bug-regex2-mem): Likewise.
1205         ($(objpfx)bug-regex14-mem): Likewise.
1206         ($(objpfx)bug-regex21-mem): Likewise.
1207         ($(objpfx)bug-regex31-mem): Likewise.
1208         ($(objpfx)tst-vfork3-mem): Likewise.
1209         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1210         ($(objpfx)tst-pcre-mem): Likewise.
1211         ($(objpfx)tst-boost-mem): Likewise.
1212         ($(objpfx)bug-ga2-mem): Likewise.
1213         ($(objpfx)bug-glob2-mem): Likewise.
1214         * resolv/Makefile (generate): Likewise.
1215         (tests-special): Likewise.
1216         (xtests-special): Likewise.
1217         (generated): Likewise.
1218         ($(objpfx)mtrace-tst-leaks): Likewise.
1219         ($(objpfx)mtrace-tst-leaks2): Likewise.
1221         * scripts/merge-test-results.sh: New file.
1222         * Makefile (tests-special-notdir): New variable.
1223         (tests): Run merge-test-results.sh.
1224         (xtests): Likewise.
1225         * Rules (tests-special-notdir): New variable.
1226         (xtests-special-notdir): Likewise.
1227         (tests): Run merge-test-results.sh
1228         (xtests): Likewise.
1230         * Makeconfig (test-xfail-name): New variable.
1231         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1232         compute variable name for expected failures.
1233         * conform/Makefile (conformtest-headers-data): New variable.
1234         (conformtest-standards): Likewise.
1235         (conformtest-headers-ISO): Likewise.
1236         (conformtest-headers-ISO99): Likewise.
1237         (conformtest-headers-ISO11): Likewise.
1238         (conformtest-headers-POSIX): Likewise.
1239         (conformtest-headers-XPG3): Likewise.
1240         (conformtest-headers-XPG4): Likewise.
1241         (conformtest-headers-UNIX98): Likewise.
1242         (conformtest-headers-XOPEN2K): Likewise.
1243         (conformtest-headers-POSIX2008): Likewise.
1244         (conformtest-headers-XOPEN2K8): Likewise.
1245         (conformtest-header-list-base): Likewise.
1246         (conformtest-header-list-tests): Likewise.
1247         (conformtest-header-base): Likewise.
1248         (conformtest-header-tests): Likewise.
1249         (tests-special): Add $(conformtest-header-list-tests).  If
1250         [$(fast-check) && !$(cross-compiling)], add
1251         $(conformtest-header-tests) instead of
1252         $(objpfx)run-conformtest.out.
1253         (generated): Add $(conformtest-header-list-base).  If
1254         [$(fast-check) && !$(cross-compiling)], add
1255         $(conformtest-header-base).  Remove previous setting.
1256         ($(conformtest-header-list-tests)): New target.
1257         (test-xfail-run-conformtest): Remove variable.
1258         ($(objpfx)run-conformtest.out): Remove target.
1259         (test-xfail-ISO11/complex.h/conform): New variable.
1260         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1261         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1262         (test-xfail-XPG3/varargs.h/conform): Likewise.
1263         (test-xfail-XPG4/varargs.h/conform): Likewise.
1264         (test-xfail-UNIX98/varargs.h/conform): Likewise.
1265         (test-xfail-XPG4/ndbm.h/conform): Likewise.
1266         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1267         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1268         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1269         (test-xfail-XPG3/fcntl.h/conform): Likewise.
1270         (test-xfail-XPG3/ftw.h/conform): Likewise.
1271         (test-xfail-XPG3/grp.h/conform): Likewise.
1272         (test-xfail-XPG3/langinfo.h/conform): Likewise.
1273         (test-xfail-XPG3/limits.h/conform): Likewise.
1274         (test-xfail-XPG3/pwd.h/conform): Likewise.
1275         (test-xfail-XPG3/search.h/conform): Likewise.
1276         (test-xfail-XPG3/signal.h/conform): Likewise.
1277         (test-xfail-XPG3/stdio.h/conform): Likewise.
1278         (test-xfail-XPG3/stdlib.h/conform): Likewise.
1279         (test-xfail-XPG3/string.h/conform): Likewise.
1280         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1281         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1282         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1283         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1284         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1285         (test-xfail-XPG3/sys/types.h/conform): Likewise.
1286         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1287         (test-xfail-XPG3/termios.h/conform): Likewise.
1288         (test-xfail-XPG3/time.h/conform): Likewise.
1289         (test-xfail-XPG3/unistd.h/conform): Likewise.
1290         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1291         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1292         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1293         (test-xfail-XPG4/netdb.h/conform): Likewise.
1294         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1295         (test-xfail-XPG4/signal.h/conform): Likewise.
1296         (test-xfail-XPG4/stdio.h/conform): Likewise.
1297         (test-xfail-XPG4/stdlib.h/conform): Likewise.
1298         (test-xfail-XPG4/stropts.h/conform): Likewise.
1299         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1300         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1301         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1302         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1303         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1304         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1305         (test-xfail-XPG4/sys/time.h/conform): Likewise.
1306         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1307         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1308         (test-xfail-XPG4/termios.h/conform): Likewise.
1309         (test-xfail-XPG4/ucontext.h/conform): Likewise.
1310         (test-xfail-XPG4/unistd.h/conform): Likewise.
1311         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1312         (test-xfail-POSIX/sched.h/conform): Likewise.
1313         (test-xfail-POSIX/signal.h/conform): Likewise.
1314         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1315         (test-xfail-POSIX/tar.h/conform): Likewise.
1316         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1317         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1318         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1319         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1320         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1321         (test-xfail-UNIX98/sched.h/conform): Likewise.
1322         (test-xfail-UNIX98/signal.h/conform): Likewise.
1323         (test-xfail-UNIX98/stdio.h/conform): Likewise.
1324         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1325         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1326         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1327         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1328         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1329         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1330         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1331         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1332         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1333         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1334         (test-xfail-UNIX98/unistd.h/conform): Likewise.
1335         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1336         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1337         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1338         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1339         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1340         (test-xfail-XOPEN2K/math.h/conform): Likewise.
1341         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1342         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1343         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1344         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1345         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1346         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1347         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1348         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1349         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1350         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1351         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1352         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1353         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1354         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1355         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1356         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1357         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1358         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1359         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1360         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1361         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1362         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1363         (test-xfail-POSIX2008/signal.h/conform): Likewise.
1364         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1365         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1366         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1367         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1368         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1369         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1370         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1371         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1372         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1373         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1374         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1375         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1376         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1377         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1378         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1379         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1380         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1381         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1382         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1383         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1384         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1385         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1386         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1387         (conformtest-cc-flags): Likewise.
1388         ($(conformtest-header-tests): New target.
1389         * conform/check-header-lists.sh: New file.
1390         * conform/run-conformtest.sh: Remove.
1392         * conform/conformtest.pl: Allow ' and \ in values given for
1393         constants.
1394         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1395         inclusion.
1396         [POSIX] (sys/types.h): Likewise.
1397         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1398         inclusion.
1399         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1400         inclusion.
1401         * conform/data/signal.h-data (SIGIO): Remove expectation.
1402         [XPG3] (SIGBUS): Do not expect.
1403         [POSIX || XPG3] (SIGPOLL): Likewise.
1404         [POSIX || XPG3] (SIGPROF): Likewise.
1405         [POSIX || XPG3] (SIGSYS): Likewise.
1406         [XPG3] (SIGTRAP): Likewise.
1407         [POSIX || XPG3] (SIGURG): Likewise.
1408         [POSIX || XPG3] (SIGVTALRM): Likewise.
1409         [POSIX || XPG3] (SIGXCPU): Likewise.
1410         [POSIX || XPG3] (SIGXFSZ): Likewise.
1411         [POSIX] (SA_SIGINFO): Expect.
1412         [XPG3] (siginfo_t): Do not expect type or contents.
1413         [POSIX] (si_pid): Do not expect element.
1414         [POSIX] (si_uid): Likewise.
1415         [POSIX] (si_addr): Likewise.
1416         [POSIX] (si_status): Likewise.
1417         [POSIX] (si_band): Likewise.
1418         [XPG4] (si_value): Likewise.
1419         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1420         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1421         [POSIX || XPG3] (ILL_ILLADR): Likewise.
1422         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1423         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1424         [POSIX || XPG3] (ILL_PRVREG): Likewise.
1425         [POSIX || XPG3] (ILL_COPROC): Likewise.
1426         [POSIX || XPG3] (ILL_BADSTK): Likewise.
1427         [POSIX || XPG3] (FPE_INTDIV): Likewise.
1428         [POSIX || XPG3] (FPE_INTOVF): Likewise.
1429         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1430         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1431         [POSIX || XPG3] (FPE_FLTUND): Likewise.
1432         [POSIX || XPG3] (FPE_FLTRES): Likewise.
1433         [POSIX || XPG3] (FPE_FLTINV): Likewise.
1434         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1435         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1436         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1437         [POSIX || XPG3] (BUS_ADRALN): Likewise.
1438         [POSIX || XPG3] (BUS_ADRERR): Likewise.
1439         [POSIX || XPG3] (BUS_OBJERR): Likewise.
1440         [POSIX || XPG3] (CLD_EXITED): Likewise.
1441         [POSIX || XPG3] (CLD_KILLED): Likewise.
1442         [POSIX || XPG3] (CLD_DUMPED): Likewise.
1443         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1444         [POSIX || XPG3] (CLD_STOPPED): Likewise.
1445         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1446         [POSIX || XPG3] (POLL_IN): Likewise.
1447         [POSIX || XPG3] (POLL_OUT): Likewise.
1448         [POSIX || XPG3] (POLL_MSG): Likewise.
1449         [POSIX || XPG3] (POLL_ERR): Likewise.
1450         [POSIX || XPG3] (POLL_PRI): Likewise.
1451         [POSIX || XPG3] (POLL_HUP): Likewise.
1452         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1453         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1454         (SIG*): Do not allow.
1455         [XPG3] (si_*): Likewise.
1456         [XPG3] (SI_*): Likewise.
1457         [XPG3 || XPG4] (sigev_*): Likewise.
1458         [XPG3 || XPG4] (SIGEV_*): Likewise.
1459         [XPG3 || XPG4] (sival_*): Likewise.
1460         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1461         [POSIX || XPG3] (BUS_*): Likewise.
1462         [POSIX || XPG3] (CLD_*): Likewise.
1463         [POSIX || XPG3] (FPE_*): Likewise.
1464         [POSIX || XPG3] (ILL_*): Likewise.
1465         [POSIX || XPG3] (POLL_*): Likewise.
1466         [POSIX || XPG3] (SEGV_*): Likewise.
1467         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1468         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1469         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1470         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1471         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1472         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1473         Specify type and value.
1474         (TVERSLEN): Likewise.
1475         (REGTYPE): Likewise.
1476         (AREGTYPE): Likewise.
1477         (LNKTYPE): Likewise.
1478         (SYMTYPE): Likewise.
1479         (CHRTYPE): Likewise.
1480         (BLKTYPE): Likewise.
1481         (DIRTYPE): Likewise.
1482         (FIFOTYPE): Likewise.
1483         (CONTTYPE): Likewise.
1484         (TSUID): Likewise.
1485         (TSGID): Likewise.
1486         (TSVTX): Likewise.
1487         (TUREAD): Likewise.
1488         (TUWRITE): Likewise.
1489         (TUEXEC): Likewise.
1490         (TGREAD): Likewise.
1491         (TGWRITE): Likewise.
1492         (TGEXEC): Likewise.
1493         (TOREAD): Likewise.
1494         (TOWRITE): Likewise.
1495         (TOEXEC): Likewise.
1496         [POSIX] (TSVTX): Expect constant.
1498 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
1500         * Makefile (tests): Change dependencies to ....
1501         (tests-special): ... additions to this variable.
1502         (tests): Depend on $(tests-special).
1503         * Makerules (check-abi-list): New variable.
1504         (check-abi): Depend on $(check-abi-list).
1505         [$(subdir) = elf] (tests-special): Add
1506         $(objpfx)check-abi-libc.out.
1507         [$(build-shared) = yes && subdir] (tests-special): Add
1508         $(check-abi-list).
1509         [$(build-shared) = yes && subdir] (tests): Do not depend on
1510         check-abi.
1511         * Rules (tests): Depend on $(tests-special).
1512         (xtests): Depend on $(xtests-special).
1513         * catgets/Makefile (tests): Change dependencies to ....
1514         (tests-special): ... additions to this variable.
1515         * conform/Makefile (tests): Change dependencies to ....
1516         (tests-special): ... additions to this variable.
1517         * elf/Makefile (tests): Change dependencies to ....
1518         (tests-special): ... additions to this variable.
1519         * grp/Makefile (tests): Change dependencies to ....
1520         (tests-special): ... additions to this variable.
1521         * iconv/Makefile (xtests): Change dependencies to ....
1522         (xtests-special): ... additions to this variable.
1523         * iconvdata/Makefile (tests): Change dependencies to ....
1524         (tests-special): ... additions to this variable.
1525         * intl/Makefile (tests): Change dependencies to ....
1526         (tests-special): ... additions to this variable.  Also add
1527         $(objpfx)tst-gettext.out.
1528         * io/Makefile (tests): Change dependencies to ....
1529         (tests-special): ... additions to this variable.
1530         * libio/Makefile (tests): Change dependencies to ....
1531         (tests-special): ... additions to this variable.
1532         * malloc/Makefile (tests): Change dependencies to ....
1533         (tests-special): ... additions to this variable.
1534         * misc/Makefile (tests): Change dependencies to ....
1535         (tests-special): ... additions to this variable.
1536         * nptl/Makefile (tests): Change dependencies to ....
1537         (tests-special): ... additions to this variable.
1538         * nptl_db/Makefile (tests): Change dependencies to ....
1539         (tests-special): ... additions to this variable.
1540         * posix/Makefile (tests): Change dependencies to ....
1541         (tests-special): ... additions to this variable.
1542         (xtests): Change dependencies to ....
1543         (xtests-special): ... additions to this variable.
1544         * resolv/Makefile (tests): Change dependencies to ....
1545         (tests-special): ... additions to this variable.
1546         (xtests): Change dependencies to ....
1547         (xtests-special): ... additions to this variable.
1548         * stdio-common/Makefile (tests): Change dependencies to ....
1549         (tests-special): ... additions to this variable.
1550         (do-tst-unbputc): Remove target.
1551         (do-tst-printf): Likewise.
1552         * stdlib/Makefile (tests): Change dependencies to ....
1553         (tests-special): ... additions to this variable.
1554         * string/Makefile (tests): Change dependencies to ....
1555         (tests-special): ... additions to this variable.
1556         * sysdeps/x86/Makefile (tests): Change dependencies to ....
1557         (tests-special): ... additions to this variable.
1559         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1560         whole file.
1561         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1562         whole file.
1563         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1564         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1566         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1567         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1568         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1569         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1570         * conform/data/libgen.h-data [XPG3]: Likewise.
1571         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1572         * conform/data/ndbm.h-data [XPG3]: Likewise.
1573         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1574         * conform/data/netdb.h-data [XPG3]: Likewise.
1575         * conform/data/netinet/in.h-data [XPG3]: Likewise.
1576         * conform/data/poll.h-data [XPG3]: Likewise.
1577         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1578         * conform/data/strings.h-data [XPG3]: Likewise.
1579         * conform/data/stropts.h-data [XPG3]: Likewise.
1580         * conform/data/sys/mman.h-data [XPG3]: Likewise.
1581         * conform/data/sys/resource.h-data [XPG3]: Likewise.
1582         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1583         Likewise.
1584         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1585         * conform/data/sys/time.h-data [XPG3]: Likewise.
1586         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1587         * conform/data/sys/uio.h-data [XPG3]: Likewise.
1588         * conform/data/sys/un.h-data [XPG3]: Likewise.
1589         * conform/data/syslog.h-data [XPG3]: Likewise.
1590         * conform/data/ucontext.h-data [XPG3]: Likewise.
1591         * conform/data/utmpx.h-data [XPG3]: Likewise.
1592         * conform/data/varargs.h-data [UNIX98]: Enable file.
1594         * manual/Makefile (INSTALL_INFO): Remove variable setting.
1596         * math/libm-test.inc (struct test_f_f_data): Move expected results
1597         into structure for each rounding mode.
1598         (struct test_ff_f_data): Likewise.
1599         (struct test_ff_f_data_nexttoward): Likewise.
1600         (struct test_fi_f_data): Likewise.
1601         (struct test_fl_f_data): Likewise.
1602         (struct test_if_f_data): Likewise.
1603         (struct test_fff_f_data): Likewise.
1604         (struct test_c_f_data): Likewise.
1605         (struct test_f_f1_data): Likewise.
1606         (struct test_fF_f1_data): Likewise.
1607         (struct test_ffI_f1_data): Likewise.
1608         (struct test_c_c_data): Likewise.
1609         (struct test_cc_c_data): Likewise.
1610         (struct test_f_i_data): Likewise.
1611         (struct test_ff_i_data): Likewise.
1612         (struct test_f_l_data): Likewise.
1613         (struct test_f_L_data): Likewise.
1614         (struct test_fFF_11_data): Likewise.
1615         (RM_): New macro.
1616         (RM_FE_DOWNWARD): Likewise.
1617         (RM_FE_TONEAREST): Likewise.
1618         (RM_FE_TOWARDZERO): Likewise.
1619         (RM_FE_UPWARD): Likewise.
1620         (RUN_TEST_LOOP_f_f): Update references to expected results.
1621         (RUN_TEST_LOOP_2_f): Likewise.
1622         (RUN_TEST_LOOP_fff_f): Likewise.
1623         (RUN_TEST_LOOP_c_f): Likewise.
1624         (RUN_TEST_LOOP_f_f1): Likewise.
1625         (RUN_TEST_LOOP_fF_f1): Likewise.
1626         (RUN_TEST_LOOP_fI_f1): Likewise.
1627         (RUN_TEST_LOOP_ffI_f1): Likewise.
1628         (RUN_TEST_LOOP_c_c): Likewise.
1629         (RUN_TEST_LOOP_cc_c): Likewise.
1630         (RUN_TEST_LOOP_f_i): Likewise.
1631         (RUN_TEST_LOOP_f_i_tg): Likewise.
1632         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1633         (RUN_TEST_LOOP_f_b): Likewise.
1634         (RUN_TEST_LOOP_f_b_tg): Likewise.
1635         (RUN_TEST_LOOP_f_l): Likewise.
1636         (RUN_TEST_LOOP_f_L): Likewise.
1637         (RUN_TEST_LOOP_fFF_11): Likewise.
1638         * math/gen-libm-test.pl (parse_args): Output four copies of
1639         expected results for each test.
1641         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1642         (__ASSUME_UTIMES): Remove.
1643         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1644         (__ASSUME_UTIMES): Likewise.
1646         * math/gen-auto-libm-tests.c: Update comment on output format.
1647         (output_for_one_input_case): Generate before-rounding and
1648         after-rounding information as conditions on output flags not
1649         floating-point format.
1650         * math/auto-libm-test-out: Regenerated.
1651         * math/gen-libm-test.pl (cond_value): New function.
1652         (or_cond_value): Use cond_value.
1653         (generate_testfile): Handle conditional exceptions.
1655 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
1657         * math/libm-test.inc (max_valid_error): New variable.
1658         (init_max_error): Take new argument specifying whether function
1659         results are exactly determined.  Set max_valid_error and bound
1660         other variables for errors based on this argument.
1661         (set_max_error): Do not record results above max_valid_error.
1662         (check_float_internal): Only accept errors of up to 0.5ulps if
1663         also at most max_valid_error.
1664         (START): Take new argument EXACT and pass it to init_max_error.
1665         (acos_test): Update call to START.
1666         (acos_test_tonearest): Likewise.
1667         (acos_test_towardzero): Likewise.
1668         (acos_test_downward): Likewise.
1669         (acos_test_upward): Likewise.
1670         (acosh_test): Likewise.
1671         (asin_test): Likewise.
1672         (asin_test_tonearest): Likewise.
1673         (asin_test_towardzero): Likewise.
1674         (asin_test_downward): Likewise.
1675         (asin_test_upward): Likewise.
1676         (asinh_test): Likewise.
1677         (atan_test): Likewise.
1678         (atanh_test): Likewise.
1679         (atan2_test): Likewise.
1680         (cabs_test): Likewise.
1681         (cacos_test): Likewise.
1682         (cacosh_test): Likewise.
1683         (carg_test): Likewise.
1684         (casin_test): Likewise.
1685         (casinh_test): Likewise.
1686         (catan_test): Likewise.
1687         (catanh_test): Likewise.
1688         (cbrt_test): Likewise.
1689         (ccos_test): Likewise.
1690         (ccosh_test): Likewise.
1691         (ceil_test): Likewise.
1692         (cexp_test): Likewise.
1693         (cimag_test): Likewise.
1694         (clog_test): Likewise.
1695         (clog10_test): Likewise.
1696         (conj_test): Likewise.
1697         (copysign_test): Likewise.
1698         (cos_test): Likewise.
1699         (cos_test_tonearest): Likewise.
1700         (cos_test_towardzero): Likewise.
1701         (cos_test_downward): Likewise.
1702         (cos_test_upward): Likewise.
1703         (cosh_test): Likewise.
1704         (cosh_test_tonearest): Likewise.
1705         (cosh_test_towardzero): Likewise.
1706         (cosh_test_downward): Likewise.
1707         (cosh_test_upward): Likewise.
1708         (cpow_test): Likewise.
1709         (cproj_test): Likewise.
1710         (creal_test): Likewise.
1711         (csin_test): Likewise.
1712         (csinh_test): Likewise.
1713         (csqrt_test): Likewise.
1714         (ctan_test): Likewise.
1715         (ctan_test_tonearest): Likewise.
1716         (ctan_test_towardzero): Likewise.
1717         (ctan_test_downward): Likewise.
1718         (ctan_test_upward): Likewise.
1719         (ctanh_test): Likewise.
1720         (ctanh_test_tonearest): Likewise.
1721         (ctanh_test_towardzero): Likewise.
1722         (ctanh_test_downward): Likewise.
1723         (ctanh_test_upward): Likewise.
1724         (erf_test): Likewise.
1725         (erfc_test): Likewise.
1726         (exp_test): Likewise.
1727         (exp_test_tonearest): Likewise.
1728         (exp_test_towardzero): Likewise.
1729         (exp_test_downward): Likewise.
1730         (exp_test_upward): Likewise.
1731         (exp10_test): Likewise.
1732         (exp10_test_tonearest): Likewise.
1733         (exp10_test_towardzero): Likewise.
1734         (exp10_test_downward): Likewise.
1735         (exp10_test_upward): Likewise.
1736         (pow10_test): Likewise.
1737         (exp2_test): Likewise.
1738         (expm1_test): Likewise.
1739         (expm1_test_tonearest): Likewise.
1740         (expm1_test_towardzero): Likewise.
1741         (expm1_test_downward): Likewise.
1742         (expm1_test_upward): Likewise.
1743         (fabs_test): Likewise.
1744         (fdim_test): Likewise.
1745         (floor_test): Likewise.
1746         (fma_test): Likewise.
1747         (fma_test_towardzero): Likewise.
1748         (fma_test_downward): Likewise.
1749         (fma_test_upward): Likewise.
1750         (fmax_test): Likewise.
1751         (fmin_test): Likewise.
1752         (fmod_test): Likewise.
1753         (fpclassify_test): Likewise.
1754         (frexp_test): Likewise.
1755         (hypot_test): Likewise.
1756         (ilogb_test): Likewise.
1757         (isfinite_test): Likewise.
1758         (finite_test): Likewise.
1759         (isgreater_test): Likewise.
1760         (isgreaterequal_test): Likewise.
1761         (isinf_test): Likewise.
1762         (isless_test): Likewise.
1763         (islessequal_test): Likewise.
1764         (islessgreater_test): Likewise.
1765         (isnan_test): Likewise.
1766         (isnormal_test): Likewise.
1767         (issignaling_test): Likewise.
1768         (isunordered_test): Likewise.
1769         (j0_test): Likewise.
1770         (j1_test): Likewise.
1771         (jn_test): Likewise.
1772         (ldexp_test): Likewise.
1773         (lgamma_test): Likewise.
1774         (gamma_test): Likewise.
1775         (lrint_test): Likewise.
1776         (lrint_test_tonearest): Likewise.
1777         (lrint_test_towardzero): Likewise.
1778         (lrint_test_downward): Likewise.
1779         (lrint_test_upward): Likewise.
1780         (llrint_test): Likewise.
1781         (llrint_test_tonearest): Likewise.
1782         (llrint_test_towardzero): Likewise.
1783         (llrint_test_downward): Likewise.
1784         (llrint_test_upward): Likewise.
1785         (log_test): Likewise.
1786         (log10_test): Likewise.
1787         (log1p_test): Likewise.
1788         (log2_test): Likewise.
1789         (logb_test): Likewise.
1790         (logb_test_downward): Likewise.
1791         (lround_test): Likewise.
1792         (llround_test): Likewise.
1793         (modf_test): Likewise.
1794         (nearbyint_test): Likewise.
1795         (nextafter_test): Likewise.
1796         (nexttoward_test): Likewise.
1797         (pow_test): Likewise.
1798         (pow_test_tonearest): Likewise.
1799         (pow_test_towardzero): Likewise.
1800         (pow_test_downward): Likewise.
1801         (pow_test_upward): Likewise.
1802         (remainder_test): Likewise.
1803         (drem_test): Likewise.
1804         (remainder_test_tonearest): Likewise.
1805         (drem_test_tonearest): Likewise.
1806         (remainder_test_towardzero): Likewise.
1807         (drem_test_towardzero): Likewise.
1808         (remainder_test_downward): Likewise.
1809         (drem_test_downward): Likewise.
1810         (remainder_test_upward): Likewise.
1811         (drem_test_upward): Likewise.
1812         (remquo_test): Likewise.
1813         (rint_test): Likewise.
1814         (rint_test_tonearest): Likewise.
1815         (rint_test_towardzero): Likewise.
1816         (rint_test_downward): Likewise.
1817         (rint_test_upward): Likewise.
1818         (round_test): Likewise.
1819         (scalb_test): Likewise.
1820         (scalbn_test): Likewise.
1821         (scalbln_test): Likewise.
1822         (signbit_test): Likewise.
1823         (sin_test): Likewise.
1824         (sin_test_tonearest): Likewise.
1825         (sin_test_towardzero): Likewise.
1826         (sin_test_downward): Likewise.
1827         (sin_test_upward): Likewise.
1828         (sincos_test): Likewise.
1829         (sinh_test): Likewise.
1830         (sinh_test_tonearest): Likewise.
1831         (sinh_test_towardzero): Likewise.
1832         (sinh_test_downward): Likewise.
1833         (sinh_test_upward): Likewise.
1834         (sqrt_test): Likewise.
1835         (sqrt_test_tonearest): Likewise.
1836         (sqrt_test_towardzero): Likewise.
1837         (sqrt_test_downward): Likewise.
1838         (sqrt_test_upward): Likewise.
1839         (tan_test): Likewise.
1840         (tan_test_tonearest): Likewise.
1841         (tan_test_towardzero): Likewise.
1842         (tan_test_downward): Likewise.
1843         (tan_test_upward): Likewise.
1844         (tanh_test): Likewise.
1845         (tgamma_test): Likewise.
1846         (trunc_test): Likewise.
1847         (y0_test): Likewise.
1848         (y1_test): Likewise.
1849         (yn_test): Likewise.
1850         (significand_test): Likewise.
1852         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1853         individual tests in comment.
1854         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1855         (prev_max_error): New variable.
1856         (prev_real_max_error): Likewise.
1857         (prev_imag_max_error): Likewise.
1858         (compare_ulp_data): Don't refer to test names in comment.
1859         (find_test_ulps): Remove function.
1860         (find_function_ulps): Likewise.
1861         (find_complex_function_ulps): Likewise.
1862         (init_max_error): Take function name as argument.  Look up ulps
1863         for that function.
1864         (print_ulps): Remove function.
1865         (print_max_error): Use prev_max_error instead of calling
1866         find_function_ulps.
1867         (print_complex_max_error): Use prev_real_max_error and
1868         prev_imag_max_error instead of calling find_complex_function_ulps.
1869         (check_float_internal): Take max_ulp parameter instead of calling
1870         find_test_ulps.  Don't call print_ulps.
1871         (check_float): Update call to check_float_internal.
1872         (check_complex): Update calls to check_float_internal.
1873         (START): Pass argument to init_max_error.
1874         * math/gen-libm-test.pl (%results): Don't include "kind"
1875         information.
1876         (parse_ulps): Don't handle ulps of individual tests.
1877         (print_ulps_file): Likewise.
1878         (output_ulps): Likewise.
1879         * math/README.libm-test: Update.
1880         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1881         individual tests.
1882         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1883         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1884         * sysdeps/arm/libm-test-ulps: Likewise.
1885         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1886         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1887         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1888         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1889         * sysdeps/microblaze/libm-test-ulps: Likewise.
1890         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1891         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1892         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1893         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1894         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1895         * sysdeps/sh/libm-test-ulps: Likewise.
1896         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1897         * sysdeps/tile/libm-test-ulps: Likewise.
1898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1900 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
1902         * math/libm-test.inc (print_complex_max_error): Check separately
1903         whether real and imaginary errors are within allowed range and
1904         pass 0 to print_complex_function_ulps instead of value within
1905         allowed range.
1907 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1909         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1910         formatting.
1911         (get_handles_fopen): Likewise.
1912         (do_write_test): Likewise.
1914         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1916         * libio/fileops.c (do_ftell): Use cached offset when
1917         available.
1918         * libio/iofwide.c (do_ftell_wide): Likewise.
1919         * libio/iofdopen.c (_IO_new_fdopen): Don't use
1920         _IO_file_attach.
1921         * libio/wfileops.c (_IO_fwide): Don't cache offset.
1923         [BZ #16532]
1924         * libio/libioP.h (get_file_offset): New function.
1925         * libio/fileops.c (get_file_offset): Likewise.
1926         (do_ftell): Likewise.
1927         (_IO_new_file_seekoff): Split out ftell logic.
1928         * libio/wfileops.c (do_ftell_wide): Likewise.
1929         (_IO_wfile_seekoff): Split out ftell logic.
1930         * libio/tst-ftell-active-handler.c: New test case.
1931         * libio/Makefile (tests): Add it.
1933 2014-03-03  Roland McGrath  <roland@hack.frob.com>
1935         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1936         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1938 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1940         [BZ #16639]
1941         * nscd/connections.c (nscd_init): Call do_exit.
1942         (start_threads): Call do_exit and notify_parent.
1943         (begin_drop_privileges): Call do_exit.
1944         (finish_drop_privileges): Likewise.
1945         * nscd/selinux.c (preserve_capabilities): Likewise.
1946         (install_real_capabilities): Likewise.
1947         (nscd_selinux_enabled): Likewise.
1948         (avc_create_thread): Likewise.
1949         (avc_alloc_lock): Likewise.
1950         (nscd_avc_init): Likewise.
1951         * nscd/nscd.c (parent_fd): New static variable.
1952         (main): Create a pipe between parent and child processes.
1953         Skip closing parent_fd.
1954         (monitor_child): New function.
1955         (do_exit): Likewise.
1956         (notify_parent): Likewise.
1957         * nscd/nscd.h (notify_parent): Likewise.
1958         (do_exit): Likewise.
1960 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
1962         * malloc/malloc.c (__libc_calloc): Revert last change.
1964 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1968 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1970         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1972         implementation.
1973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1974         (__libc_ifunc_impl_list): Likewise.
1975         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1976         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1977         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1978         * string/strrchr.c: Define STRRCHR.
1980 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
1982         * benchtest/bench-strtok.c (simple_strtok): Delete.
1983         (strtok_string): Use as benchmark.
1984         * string/strtok (STRTOK): New macro.
1986 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
1988         * manual/threads.texi: Add header and standard comments to all
1989         functions.
1991         * elf/dl-lookup.c (check_match): New function.
1992         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1993         (do_lookup_x): Remove nested function check_match. Use non-nested
1994         function check_match.
1996 2014-02-28  Roland McGrath  <roland@hack.frob.com>
1998         * csu/Makefile (generated, before-compile): Use += rather than =.
1999         * catgets/Makefile (generated, generated-dirs): Likewise.
2000         * debug/Makefile (generated): Likewise.
2001         * dlfcn/Makefile (generated): Likewise.
2002         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2003         * iconvdata/Makefile (before-compile, generated): Likewise.
2004         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2005         * libio/Makefile (generated): Likewise.
2006         * malloc/Makefile (generated): Likewise.
2007         * manual/Makefile (generated, generated-dirs): Likewise.
2008         * misc/Makefile (generated): Likewise.
2009         * posix/Makefile (generated): Likewise.
2010         * resolv/Makefile (generated): Likewise.
2011         * sunrpc/Makefile (generated, generated-dirs): Likewise.
2012         * timezone/Makefile (generated, generated-dirs): Likewise.
2014         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2016 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2019         implementation.
2020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2021         POWER8 llround ifunc implementation.
2022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2023         POWER8 implementation.
2024         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2025         POWER8 llround implementation.
2027 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2030         implementation.
2031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2032         POWER8 llrint ifunc implementation.
2033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2034         POWER8 implementation.
2035         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2036         POWER8 llrint implementation.
2038 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2040         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2041         implementation.
2042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2043         POWER8 finite ifunc implementation.
2044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2045         POWER8 implementation.
2046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2047         Likewise.
2048         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2049         POWER8 finite implementation.
2050         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2052 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2055         implementation.
2056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2057         POWER8 isinf ifunc implementation.
2058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2059         POWER8 implementation.
2060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2061         Likewise.
2062         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2063         POWER8 isinf implementation.
2064         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2066 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2068         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2069         Add hwcap2 initialization.
2070         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2071         implementation.
2072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2073         POWER8 isnan ifunc implementation.
2074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2075         POWER8 implementation.
2076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2077         Likewise.
2078         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2079         POWER8 isnan implementation.
2080         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2082 2014-02-27  Joey Ye  <joey.ye@arm.com>
2084         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2085         (_FP_NANFRAC_Q): Set to zero.
2087 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2089         [BZ #16623]
2090         * math/auto-libm-test-in: New test inputs.
2091         * math/auto-libm-test-out: Regenerate.
2092         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2093         and DA.
2094         (__cos): Likewise.
2095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2097 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
2099         * scripts/evaluate-test.sh: Take new argument indicating whether
2100         failure is expected.
2101         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2102         indicating whether failure is expected.
2103         * conform/Makefile (test-xfail-run-conformtest): New variable.
2104         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2105         level.
2106         * posix/Makefile (test-xfail-annexc): New variable.
2107         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2109 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
2111         * argp/Makefile: Include Makeconfig immediately after defining
2112         subdir.
2113         * assert/Makefile: Likewise.
2114         * benchtests/Makefile: Likewise.
2115         * catgets/Makefile: Likewise.
2116         * conform/Makefile: Likewise.
2117         * crypt/Makefile: Likewise.
2118         * csu/Makefile: Likewise.
2119         (all): Remove target.
2120         * ctype/Makefile: Include Makeconfig immediately after defining
2121         subdir.
2122         * debug/Makefile: Likewise.
2123         * dirent/Makefile: Likewise.
2124         * dlfcn/Makefile: Likewise.
2125         * gmon/Makefile: Likewise.
2126         * gnulib/Makefile: Likewise.
2127         * grp/Makefile: Likewise.
2128         * gshadow/Makefile: Likewise.
2129         * hesiod/Makefile: Likewise.
2130         * hurd/Makefile: Likewise.
2131         (all): Remove target.
2132         * iconvdata/Makefile: Include Makeconfig immediately after
2133         defining subdir.
2134         * inet/Makefile: Likewise.
2135         * intl/Makefile: Likewise.
2136         * io/Makefile: Likewise.
2137         * libio/Makefile: Likewise.
2138         (all): Remove target.
2139         * locale/Makefile: Include Makeconfig immediately after defining
2140         subdir.
2141         * login/Makefile: Likewise.
2142         * mach/Makefile: Likewise.
2143         (all): Remove target.
2144         * malloc/Makefile: Include Makeconfig immediately after defining
2145         subdir.
2146         (all): Remove target.
2147         * manual/Makefile: Include Makeconfig immediately after defining
2148         subdir.
2149         * math/Makefile: Likewise.
2150         * misc/Makefile: Likewise.
2151         * nis/Makefile: Likewise.
2152         * nss/Makefile: Likewise.
2153         * po/Makefile: Likewise.
2154         (all): Remove target.
2155         * posix/Makefile: Include Makeconfig immediately after defining
2156         subdir.
2157         * pwd/Makefile: Likewise.
2158         * resolv/Makefile: Likewise.
2159         * resource/Makefile: Likewise.
2160         * rt/Makefile: Likewise.
2161         * setjmp/Makefile: Likewise.
2162         * shadow/Makefile: Likewise.
2163         * signal/Makefile: Likewise.
2164         * socket/Makefile: Likewise.
2165         * soft-fp/Makefile: Likewise.
2166         * stdio-common/Makefile: Likewise.
2167         * stdlib/Makefile: Likewise.
2168         * streams/Makefile: Likewise.
2169         * string/Makefile: Likewise.
2170         * sunrpc/Makefile: Likewise.
2171         (all): Remove target.
2172         * sysvipc/Makefile: Include Makeconfig immediately after defining
2173         subdir.
2174         * termios/Makefile: Likewise.
2175         * time/Makefile: Likewise.
2176         * timezone/Makefile: Likewise.
2177         (all): Remove target.
2178         * wcsmbs/Makefile: Include Makeconfig immediately after defining
2179         subdir.
2180         * wctype/Makefile: Likewise.
2182 2014-02-26  Steve Ellcey  <sellcey@mips.com>
2184         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2185         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2186         (libc_feholdexcept_setround_mips): Ditto.
2187         (libc_feholdsetround): New.
2188         (libc_feholdsetroundf): New.
2189         (libc_feholdsetroundl): New.
2190         (libc_feupdateenv_test_mips): New.
2191         (libc_feupdateenv_test): New.
2192         (libc_feupdateenv_testf): New.
2193         (libc_feupdateenv_testl): New.
2194         (libc_feresetround): New.
2195         (libc_feresetroundf): New.
2196         (libc_feresetroundl): New.
2197         (libc_fetestexcept_mips): New.
2198         (libc_fetestexcept): New.
2199         (libc_fetestexceptf): New.
2200         (libc_fetestexceptl): New.
2201         (HAVE_RM_CTX): New.
2202         (libc_feholdexcept_setround_mips_ctx): New.
2203         (libc_feholdexcept_setround_ctx): New.
2204         (libc_feholdexcept_setroundf_ctx): New.
2205         (libc_feholdexcept_setroundl_ctx): New.
2206         (libc_fesetenv_mips_ctx): New.
2207         (libc_fesetenv_ctx): New.
2208         (libc_fesetenv_ctxf): New.
2209         (libc_fesetenv_ctxl): New.
2210         (libc_feupdateenv_mips_ctx): New.
2211         (libc_feupdateenv_ctx): New.
2212         (libc_feupdateenvf_ctx): New.
2213         (libc_feupdateenvl_ctx): New.
2214         (libc_feholdsetround_mips_ctx): New.
2215         (libc_feholdsetround_ctx): New.
2216         (libc_feholdsetroundf_ctx): New.
2217         (libc_feholdsetroundl_ctx): New.
2218         (libc_feresetround_mips_ctx): New.
2219         (libc_feresetround_ctx): New.
2220         (libc_feresetroundf_ctx): New.
2221         (libc_feresetroundl_ctx): New.
2223 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
2225         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2227         * manual/ipc.texi: New file.
2228         * manual/Makefile (chapters): Add ipc.
2229         * manual/job.texi: Add "Inter-Process Communication" to next.
2230         * manual/process.texi: Add "Inter-Process Communication" to prev.
2232 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2236 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
2238         * malloc/malloc.c (__libc_calloc): Simplify implementation.
2240         * manual/arith.texi: Fix spaces after sentences.
2241         * manual/charset.texi: Likewise.
2242         * manual/errno.texi: Likewise.
2243         * manual/install.texi: Likewise.
2244         * manual/llio.texi: Likewise.
2245         * manual/locale.texi: Likewise.
2246         * manual/maint.texi: Likewise.
2247         * manual/math.texi: Likewise.
2248         * manual/memory.texi: Likewise.
2249         * manual/message.texi: Likewise.
2250         * manual/probes.texi: Likewise.
2251         * manual/resource.texi: Likewise.
2252         * manual/signal.texi: Likewise.
2253         * manual/socket.texi: Likewise.
2254         * manual/stdio.texi: Likewise.
2255         * manual/string.texi: Likewise.
2256         * manual/time.texi: Likewise.
2257         * manual/users.texi: Likewise.
2259 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
2261         [BZ #16632]
2262         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2263         _DEFAULT_SOURCE is defined.
2265 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
2266             Carlos O'Donell  <carlos@redhat.com>
2268         [BZ #16613]
2269         * elf/dl-tls.c (_dl_count_modids): New function.
2270         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2271         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2272         audit library and increment generation counter.
2273         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2274         * elf/tst-audit9.c: New file.
2275         * elf/tst-auditmod9a.c: New file.
2276         * elf/tst-auditmod9b.c: New file.
2277         * elf/Makefile: Add rules to build and run tst-audit9.
2279 2014-02-25  Florian Weimer  <fweimer@redhat.com>
2281         [BZ #15347]
2282         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2284 2014-02-25  Will Newton  <will.newton@linaro.org>
2286         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2287         (__longjmp): Restore sp and lr before restoring callee
2288         saved registers.  Add longjmp and longjmp_target
2289         SystemTap probe point.
2290         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2291         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2292         Define to zero to match jmpbuf layout.
2293         * sysdeps/arm/setjmp.S: Include stap-probe.h.
2294         (__sigsetjmp): Save sp and lr before saving callee
2295         saved registers.  Add setjmp SystemTap probe point.
2297 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2299         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2301 2014-02-24  Andreas Schwab  <schwab@suse.de>
2303         [BZ #15804]
2304         * elf/pldd.c (wait_for_ptrace_stop): New function.
2305         (main): Call it after attaching.
2307 2014-02-22  Roland McGrath  <roland@hack.frob.com>
2309         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2310         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2311         Versions files is now verboten.
2312         * hurd/Versions (libc: GLIBC_2.0):
2313         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2314         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2315         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2316         * mach/Versions: Likewise.
2318         * csu/Versions: Remove unused %include.
2319         * resolv/Versions: Likewise.
2321 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
2323         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2324         ($(objpfx)check-local-headers.out): Likewise.
2325         ($(objpfx)begin-end-check.out): Likewise.
2326         * Makerules (check-abi-%.out): Likewise.
2327         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2328         ($(objpfx)test2.cat): Likewise.
2329         ($(objpfx)de/libc.cat): Likewise.
2330         ($(objpfx)test-gencat.out): Likewise.
2331         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2332         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2333         ($(objpfx)noload-mem): Likewise.
2334         ($(objpfx)tst-pathopt.out): Likewise.
2335         ($(objpfx)tst-rtld-load-self.out): Likewise.
2336         ($(objpfx)tst-array1-cmp.out): Likewise.
2337         ($(objpfx)tst-array1-static-cmp.out): Likewise.
2338         ($(objpfx)tst-array2-cmp.out): Likewise.
2339         ($(objpfx)tst-array3-cmp.out): Likewise.
2340         ($(objpfx)tst-array4-cmp.out): Likewise.
2341         ($(objpfx)tst-array5-cmp.out): Likewise.
2342         ($(objpfx)tst-array5-static-cmp.out): Likewise.
2343         ($(objpfx)check-textrel.out): Likewise.
2344         ($(objpfx)check-execstack.out): Likewise.
2345         ($(objpfx)check-localplt.out): Likewise.
2346         ($(objpfx)order2-cmp.out): Likewise.
2347         ($(objpfx)tst-leaks1-mem): Likewise.
2348         ($(objpfx)tst-leaks1-static-mem): Likewise.
2349         ($(objpfx)tst-initorder-cmp.out): Likewise.
2350         ($(objpfx)tst-initorder2-cmp.out): Likewise.
2351         ($(objpfx)tst-unused-dep.out): Likewise.
2352         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2353         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2354         * iconv/Makefile (test-iconvconfig): Likewise.
2355         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2356         ($(objpfx)iconv-test.out): Likewise.
2357         ($(objpfx)tst-tables.out): Likewise.
2358         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2359         ($(objpfx)tst-gettext.out): Likewise.
2360         ($(objpfx)tst-translit.out): Likewise.
2361         ($(objpfx)tst-gettext2.out): Likewise.
2362         ($(objpfx)tst-gettext4.out): Likewise.
2363         ($(objpfx)tst-gettext6.out): Likewise.
2364         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2365         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2366         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2367         ($(objpfx)tst-fopenloc-mem.out): Likewise.
2368         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2369         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2370         * posix/Makefile ($(objpfx)globtest.out): Likewise.
2371         ($(objpfx)wordexp-tst.out): Likewise.
2372         ($(objpfx)annexc.out): Likewise.
2373         ($(objpfx)tst-fnmatch-mem): Likewise.
2374         ($(objpfx)bug-regex2-mem): Likewise.
2375         ($(objpfx)bug-regex14-mem): Likewise.
2376         ($(objpfx)bug-regex21-mem): Likewise.
2377         ($(objpfx)bug-regex31-mem): Likewise.
2378         ($(objpfx)tst-vfork3-mem): Likewise.
2379         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2380         ($(objpfx)tst-pcre-mem): Likewise.
2381         ($(objpfx)tst-boost-mem): Likewise.
2382         ($(objpfx)tst-getconf.out): Likewise.
2383         ($(objpfx)bug-ga2-mem): Likewise.
2384         ($(objpfx)bug-glob2-mem): Likewise.
2385         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2386         ($(objpfx)mtrace-tst-leaks2): Likewise.
2387         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2388         ($(objpfx)tst-printf.out): Likewise.
2389         ($(objpfx)tst-setvbuf1.out): Likewise.
2390         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2391         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2392         ($(objpfx)tst-fmtmsg.out): Likewise.
2393         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2394         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2396         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2397         * bits/sigaction.h [__USE_MISC]: Likewise.
2398         * bits/waitstatus.h: Update #endif comments.
2399         * ctype/ctype.h: Likewise.
2400         * dirent/dirent.h: Likewise.
2401         [__USE_MISC]: Remove redundant conditionals.
2402         * grp/grp.h: Update #endif comments.
2403         [__USE_GNU]: Remove redundant conditionals.
2404         [__USE_MISC]: Likewise.
2405         * inet/netinet/in.h [__USE_GNU]: Likewise.
2406         * io/sys/stat.h [__USE_MISC]: Likewise.
2407         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2408         * libio/bits/stdio.h: Update #endif comments.
2409         [__USE_MISC]: Remove redundant conditionals.
2410         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2411         * libio/stdio.h: Update #endif comments.
2412         [__USE_MISC]: Remove redundant conditionals.
2413         * math/bits/math-finite.h [__USE_MISC]: Likewise.
2414         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2415         * math/math.h: Update #else and #endif comments.
2416         [__USE_MISC]: Remove redundant conditionals.
2417         * misc/sys/uio.h: Update #endif comments.
2418         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2419         * posix/glob.h [__USE_MISC]: Likewise.
2420         * posix/sys/types.h: Update #endif comments.
2421         [__USE_MISC]: Remove redundant conditionals.
2422         * posix/sys/wait.h: Update #endif comments.
2423         [__USE_MISC]: Remove redundant conditionals.
2424         * posix/unistd.h: Update #endif comments.
2425         [__USE_MISC]: Remove redundant conditionals.
2426         * pwd/pwd.h [__USE_GNU]: Likewise.
2427         [__USE_MISC]: Likewise.
2428         * resolv/netdb.h [__USE_GNU]: Likewise.
2429         * signal/signal.h: Update #endif comments.
2430         [__USE_MISC]: Remove redundant conditionals.
2431         * stdlib/stdlib.h: Update #else and #endif comments.
2432         [__USE_MISC]: Remove redundant conditionals.
2433         [__USE_GNU]: Likewise.
2434         * string/bits/string2.h [__USE_MISC]: Likewise.
2435         * string/string.h: Update #endif comments.
2436         [__USE_MISC]: Remove redundant conditionals.
2437         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2438         Likewise.
2439         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2440         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2441         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2442         Likewise.
2443         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2444         Likewise.
2445         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2446         comments.
2447         [__USE_MISC]: Remove redundant conditionals.
2448         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2449         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2450         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2451         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2452         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2453         Likewise.
2454         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2455         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2456         Likewise.
2457         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2458         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2459         Likewise.
2460         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2461         Likewise.
2462         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2463         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2464         Likewise.
2465         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2466         Likewise.
2467         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2468         * sysdeps/x86/bits/string.h: Update #endif comments.
2469         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2470         conditionals.
2471         * time/sys/time.h: Update #endif comments.
2472         * time/time.h: Likewise.
2473         [__USE_MISC]: Remove redundant conditionals.
2475 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
2477         [BZ #16600]
2478         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2480 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
2482         * Versions.def (librt): Add GLIBC_2.17.
2484 2014-02-21  Adam Conrad  <adconrad@0c3.net>
2486         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2487         synonym for _SYS_AUXV_H to allow direct inclusion.
2488         * sysdeps/sparc/bits/hwcap.h: Likewise.
2489         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2490         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2491         * sysdeps/sparc/sysdep.h: Likewise.
2493 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2495         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2497 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2499         * benchtests/bench-strrchr.c: Print length instead of position.
2501 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
2503         [BZ #16611]
2504         * sysdeps/unix/sysv/linux/kernel-features.h
2505         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2506         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2507         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2508         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2509         Likewise.
2510         [__i386__ || __powerpc__ || __sh__ || __sparc__]
2511         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2512         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2513         (__ASSUME_SENDMMSG): Define instead of using previous
2514         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2515         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2516         (__ASSUME_SENDMMSG_SYSCALL): Define.
2517         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2518         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2519         Likewise.
2520         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2521         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2522         Likewise.
2523         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2524         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2525         Likewise.
2526         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2527         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2528         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2529         [__ASSUME_SENDMMSG]: Change conditionals to
2530         [__ASSUME_SENDMMSG_SOCKETCALL].
2531         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2532         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2533         Define.
2534         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2535         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2536         Likewise.
2537         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2538         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2539         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2540         [!__ASSUME_SENDMMSG]: Change conditional to
2541         [!__ASSUME_SENDMMSG_SOCKETCALL].
2542         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2543         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2544         Define.
2546         [BZ #16610]
2547         * sysdeps/unix/sysv/linux/kernel-features.h
2548         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2549         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2550         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2551         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2552         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2553         [__i386__ || __sparc__]
2554         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2555         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2556         (__ASSUME_RECVMMSG): Define instead of using previous
2557         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2558         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2559         (__ASSUME_RECVMMSG_SYSCALL): Define.
2560         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2561         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2562         Likewise.
2563         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2564         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2565         Likewise.
2566         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2567         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2568         Likewise.
2569         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2570         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2571         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2572         [__ASSUME_RECVMMSG]: Change condition to
2573         [__ASSUME_RECVMMSG_SOCKETCALL].
2574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2575         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2576         Define.
2577         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2578         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2579         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2580         Likewise.
2581         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2582         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2583         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2584         [!__ASSUME_RECVMMSG]: Change condition to
2585         [!__ASSUME_RECVMMSG_SOCKETCALL].
2586         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2587         (__ASSUME_RECVMMSG_SYSCALL): Define.
2589         [BZ #16609]
2590         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2591         __powerpc__ || __s390__ || __sh__ || __sparc__]
2592         (__ASSUME_SOCKETCALL): Define.
2593         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2594         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2595         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2596         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2597         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2598         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2599         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2600         (__ASSUME_ACCEPT4): Define instead of using previous
2601         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2602         __powerpc__ || __sparc__ || __s390__)] condition.
2603         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2604         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2605         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2606         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2607         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2608         [!__ASSUME_ACCEPT4]: Change condition to
2609         [!__ASSUME_ACCEPT4_SOCKETCALL].
2610         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2611         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
2612         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2613         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2614         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2615         __ASSUME_ACCEPT4_SYSCALL.
2616         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2617         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2618         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2619         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2620         __ASSUME_ACCEPT4_SYSCALL.
2621         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2622         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2623         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2624         [__ASSUME_ACCEPT4]: Change condition to
2625         [__ASSUME_ACCEPT4_SOCKETCALL].
2626         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2627         (__ASSUME_SOCKETCALL): Define.
2628         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2629         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2630         (__ASSUME_SOCKETCALL): Define.
2631         (__ASSUME_ACCEPT4): Remove.
2632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2633         Define.
2634         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2635         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2636         Likewise.
2637         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2638         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2640         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2641         macro.
2642         (HWCAP_ARM_LPAE): Likewise.
2643         (HWCAP_ARM_EVTSTRM): Likewise.
2644         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2645         Add vpfd32, lpae and evtstrm.
2646         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2647         Increase to 22.
2649 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
2651         * math/auto-libm-test-in: Add tests of clog10.
2652         * math/auto-libm-test-out: Regenerated.
2653         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2654         * sysdeps/i386/fpu/libm-test-ulps: Update.
2655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2657 2014-02-18  Andreas Schwab  <schwab@suse.de>
2659         [BZ #16574]
2660         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2661         Store non-zero if the second buffer was newly allocated.
2662         (send_dg): Likewise.
2663         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2664         to send_vc and send_dg.
2665         (res_nsend): Pass NULL for ansp2_malloced.
2666         * resolv/res_query.c (__libc_res_nquery): Add parameter
2667         answerp2_malloced and pass it down to __libc_res_nsend.
2668         (res_nquery): Pass additional NULL to __libc_res_nquery.
2669         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2670         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
2671         second answer buffer if answerp2_malloced was set.
2672         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2673         (__libc_res_nquerydomain): Add parameter
2674         answerp2_malloced and pass it down to __libc_res_nquery.
2675         (res_nquerydomain): Pass additional NULL to
2676         __libc_res_nquerydomain.
2677         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2678         additional NULL to __libc_res_nsend and __libc_res_nquery.
2679         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2680         additional NULL to __libc_res_nsearch.
2681         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
2682         parameter of __libc_res_nsearch to check for separately allocated
2683         second buffer.
2684         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2685         __libc_res_nquery.
2686         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2687         additional NULL to __libc_res_nquery.
2688         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2689         __libc_res_nsearch.
2690         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2691         * include/resolv.h: Update prototypes of __libc_res_nquery,
2692         __libc_res_nsearch, __libc_res_nsend.
2694 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
2696         * math/auto-libm-test-in: Add tests of fma.
2697         * math/auto-libm-test-out: Regenerated.
2698         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2699         (fma_towardzero_test_data): Likewise.
2700         (fma_downward_test_data): Likewise.
2701         (fma_upward_test_data): Likewise.
2702         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2703         mpc_mode.
2704         (rounding_modes): Add values for new field.
2705         (func_calc_method): Add value mpfr_fff_f.
2706         (func_calc_desc): Add mpfr_fff_f union field.
2707         (test_function): Add field exact_args.
2708         (FUNC): Add macro argument EXACT_ARGS.
2709         (FUNC_mpfr_f_f): Update call to FUNC.
2710         (FUNC_mpfr_f_f): Likewise.
2711         (FUNC_mpfr_ff_f): Likewise.
2712         (FUNC_mpfr_if_f): Likewise.
2713         (FUNC_mpc_c_f): Likewise.
2714         (FUNC_mpc_c_c): Likewise.
2715         (test_functions): Add fma.  Update calls to FUNC.
2716         (handle_input_arg): Add argument exact_args.
2717         (add_test): Update call to handle_input_arg.
2718         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
2719         (output_for_one_input_case): Update call to calc_generic_results.
2720         Recalculate exact zero results in each rounding mode.
2722         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2723         non-negative before setting low bit.
2724         * math/auto-libm-test-in: Mark one asin test possibly having
2725         spurious underflow.
2726         * math/auto-libm-test-out: Regenerated.
2727         * sysdeps/i386/fpu/libm-test-ulps: Update.
2728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2730 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
2732         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2733         * sysdeps/unix/sysv/linux/microblaze: Move directory from
2734         ports/sysdeps/unix/sysv/linux/microblaze.
2735         * README: Add missing listing for microblaze*-*-linux-gnu.
2737 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
2739         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2740         * sysdeps/unix/sysv/linux/ia64: Move directory from
2741         ports/sysdeps/unix/sysv/linux/ia64.
2742         * README: Update listing for ia64-*-linux-gnu.
2744 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
2745             Joseph Myers  <joseph@codesourcery.com>
2747         * Makeconfig (test-name): New variable.
2748         (evaluate-test): Likewise.
2749         * Makerules (do-test-clean): Remove .test-result files.
2750         (common-mostlyclean): Likewise.
2751         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2752         * scripts/evaluate-test.sh: New file.
2754 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
2756         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2757         separate $(objpfx)tst-fopenloc-cmp.out and
2758         $(objpfx)tst-fopenloc-mem.out targets.
2759         (tests): Update dependencies.
2760         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2761         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2762         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2763         (tst-rxspencer-no-utf8-ARGS): New variable.
2764         (tst-rxspencer-no-utf8-ENV): Likewise.
2765         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2766         instead of $(objpfx)tst-rxspencer-mem.
2767         ($(objpfx)tst-rxspencer-mem): Change target to
2768         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
2769         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2770         * posix/tst-rxspencer-no-utf8.c: New file.
2772         * elf/Makefile ($(objpfx)order.out): Remove rule.
2773         [$(run-built-tests) = yes] (tests): Depend on
2774         $(objpfx)order-cmp.out.
2775         ($(objpfx)order-cmp.out): New rule.
2776         [$(run-built-tests) = yes] (tests): Depend on
2777         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2778         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2779         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2780         $(objpfx)tst-array5-static-cmp.out.
2781         ($(objpfx)tst-array1.out): Remove rule.
2782         ($(objpfx)tst-array1-cmp.out): New rule.
2783         ($(objpfx)tst-array1-static.out): Remove rule.
2784         ($(objpfx)tst-array1-static-cmp.out): New rule.
2785         ($(objpfx)tst-array2.out): Remove rule.
2786         ($(objpfx)tst-array2-cmp.out): New rule.
2787         ($(objpfx)tst-array3.out): Remove rule.
2788         ($(objpfx)tst-array3-cmp.out): New rule.
2789         ($(objpfx)tst-array4.out): Remove rule.
2790         ($(objpfx)tst-array4-cmp.out): New rule.
2791         ($(objpfx)tst-array5.out): Remove rule.
2792         ($(objpfx)tst-array5-cmp.out): New rule.
2793         ($(objpfx)tst-array5-static.out): Remove rule.
2794         ($(objpfx)tst-array5-static-cmp.out): New rule.
2795         [$(run-built-tests) = yes] (tests): Depend on
2796         $(objpfx)order2-cmp.out.
2797         ($(objpfx)order2.out): Remove rule.
2798         ($(objpfx)order2-cmp.out): New rule.
2799         ($(objpfx)tst-initorder.out): Remove rule.
2800         [$(run-built-tests) = yes] (tests): Depend on
2801         $(objpfx)tst-initorder-cmp.out.
2802         ($(objpfx)tst-initorder-cmp.out): New rule.
2803         ($(objpfx)tst-initorder2.out): Remove rule.
2804         [$(run-built-tests) = yes] (tests): Depend on
2805         $(objpfx)tst-initorder2-cmp.out.
2806         ($(objpfx)tst-initorder2-cmp.out): New rule.
2807         [$(run-built-tests) = yes] (tests): Depend on
2808         $(objpfx)tst-unused-dep-cmp.out.
2809         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2810         ($(objpfx)tst-unused-dep-cmp.out): New rule.
2811         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2812         on $(objpfx)tst-setvbuf1-cmp.out.
2813         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2814         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2815         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2816         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2817         ($(objpfx)tst-svc.out): Remove rule.
2818         ($(objpfx)tst-svc-cmp.out): New rule.
2820 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
2822         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2823         * ctype/ctype.h [__USE_MISC]: Likewise.
2824         * dirent/dirent.h [__USE_MISC]: Likewise.
2825         * grp/grp.h [__USE_MISC]: Likewise.
2826         * io/fcntl.h [__USE_MISC]: Likewise.
2827         * io/sys/stat.h [__USE_MISC]: Likewise.
2828         * libio/stdio.h [__USE_MISC]: Likewise.
2829         * posix/unistd.h [__USE_MISC]: Likewise.
2830         * pwd/pwd.h [__USE_MISC]: Likewise.
2831         * stdlib.h [__USE_MISC]: Likewise.
2832         * string/bits/string2.h [__USE_MISC]: Likewise.
2833         * string/string.h [__USE_MISC]: Likewise.
2834         * time/time.h [__USE_MISC]: Likewise.
2836 2014-02-13  Andreas Schwab  <schwab@suse.de>
2838         [BZ #16574]
2839         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2840         second answer buffer if it was separately allocated.
2842 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2844         * sysdeps/mips/math-tests.h: Include <features.h>.
2845         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2846         (ROUNDING_TESTS_long_double): Do not define.
2847         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2848         (EXCEPTION_TESTS_long_double): Likewise.
2849         * sysdeps/mips/mips64/libm-test-ulps: Update.
2851         * include/features.h (__USE_BSD): Remove macro definitions.
2852         (__USE_SVID): Likewise.
2853         (_BSD_SOURCE): Likewise.
2854         (_SVID_SOURCE): Likewise.
2855         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2856         from definition of _DEFAULT_SOURCE.
2857         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2858         [_DEFAULT_SOURCE].
2859         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2860         * bits/mman.h [__USE_BSD]: Likewise.
2861         * bits/termios.h [__USE_BSD]: Likewise.
2862         * bits/waitstatus.h [__USE_BSD]: Likewise.
2863         * ctype/ctype.h [__USE_SVID]: Likewise.
2864         * dirent/dirent.h [__USE_BSD]: Likewise.
2865         * grp/grp.h [__USE_SVID]: Likewise.
2866         [__USE_BSD]: Likewise.
2867         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2868         * io/fcntl.h [__USE_BSD]: Likewise.
2869         * io/ftw.h [__USE_BSD]: Likewise.
2870         * io/sys/stat.h [__USE_BSD]: Likewise.
2871         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2872         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2873         * libio/stdio.h [__USE_SVID]: Likewise.
2874         [__USE_BSD]: Likewise.
2875         * math/math.h [__USE_SVID]: Likewise.
2876         [__USE_BSD]: Likewise.
2877         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2878         * misc/bits/syslog.h [__USE_BSD]: Likewise.
2879         * misc/search.h [__USE_SVID]: Likewise.
2880         * misc/sys/mman.h [__USE_BSD]: Likewise.
2881         * misc/sys/syslog.h [__USE_BSD]: Likewise.
2882         * misc/sys/uio.h [__USE_BSD]: Likewise.
2883         * posix/bits/unistd.h [__USE_BSD]: Likewise.
2884         * posix/glob.h [__USE_BSD]: Likewise.
2885         * posix/regex.h [__USE_BSD]: Likewise.
2886         * posix/sys/types.h [__USE_BSD]: Likewise.
2887         [__USE_SVID]: Likewise.
2888         * posix/sys/utsname.h [__USE_SVID]: Likewise.
2889         * posix/sys/wait.h [__USE_BSD]: Likewise.
2890         [__USE_SVID]: Likewise.
2891         * posix/unistd.h [__USE_BSD]: Likewise.
2892         [__USE_SVID]: Likewise.
2893         * pwd/pwd.h [__USE_SVID]: Likewise.
2894         * resolv/netdb.h [__USE_BSD]: Likewise.
2895         * setjmp/setjmp.h [__USE_BSD]: Likewise.
2896         * signal/signal.h [__USE_BSD]: Likewise.
2897         [__USE_SVID]: Likewise.
2898         * socket/sys/socket.h [__USE_BSD]: Likewise.
2899         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2900         * stdlib/stdlib.h [__USE_BSD]: Likewise.
2901         [__USE_SVID]: Likewise.
2902         * string/bits/string2.h [__USE_BSD]: Likewise.
2903         [__USE_SVID]: Likewise.
2904         * string/bits/string3.h [__USE_BSD]: Likewise.
2905         * string/endian.h [__USE_BSD]: Likewise.
2906         * string/string.h [__USE_SVID]: Likewise.
2907         [__USE_BSD]: Likewise.
2908         * string/strings.h [__USE_BSD]: Likewise.
2909         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2910         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2911         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2912         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2913         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2914         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2915         Likewise.
2916         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2917         Likewise.
2918         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2919         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2920         Likewise.
2921         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2922         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2923         Likewise.
2924         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2925         Likewise.
2926         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2927         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2928         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2929         Likewise.
2930         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2931         Likewise.
2932         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2933         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2934         * termios/termios.h [__USE_BSD]: Likewise.
2935         * time/sys/time.h [__USE_BSD]: Likewise.
2936         * time/time.h [__USE_BSD]: Likewise.
2937         [__USE_SVID]: Likewise.
2939         * Makefile (subdir_targets): Remove subdir_lint.out.
2941         * stdio-common/Makefile (do-tst-unbputc): Remove target.
2942         (do-tst-printf): Likewise.
2943         (tests): Depend directly on $(objpfx)tst-unbputc.out and
2944         $(objpfx)tst-printf.out.
2946         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2948         * Makerules (check-abi-%): Change target to
2949         $(objpfx)check-abi-%.out.
2950         (check-abi target): Update dependencies.
2951         (check-abi-pattern variable): Redirect output of diff to $@.
2952         (check-abi variable): Likewise.
2953         * elf/Makefile (check-abi): Update dependencies.
2955         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2956         unused.
2957         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2958         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2959         subnormal range.
2960         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2961         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2962         value has largest subnormal exponent.
2963         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2964         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2965         * sysdeps/aarch64/soft-fp/sfp-machine.h
2966         (_FP_TININESS_AFTER_ROUNDING): New macro.
2967         * sysdeps/alpha/soft-fp/sfp-machine.h
2968         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2969         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2970         Likewise.
2971         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2972         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2973         * sysdeps/mips/soft-fp/sfp-machine.h
2974         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2975         * sysdeps/powerpc/soft-fp/sfp-machine.h
2976         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2977         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2978         Likewise.
2979         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2980         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2981         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2982         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2983         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2984         Likewise.
2986 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
2988         [BZ #16545]
2989         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2990         model 1.
2992 2014-02-12  Richard Henderson  <rth@redhat.com>
2994         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2995         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2996         * sysdeps/unix/sysv/linux/alpha: Move directory from
2997         ports/sysdeps/unix/sysv/linux/alpha.
2998         * README: Update listing for alpha-*-linux-gnu.
3000 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
3002         * include/features.h: Update comment documenting feature test
3003         macros.
3004         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
3005         _DEFAULT_SOURCE.
3006         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3007         (_SVID_SOURCE): Likewise.
3008         (_DEFAULT_SOURCE): Update description of default features.
3009         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3010         with _GNU_SOURCE.
3011         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3012         (S_ISVTX): Likewise.
3013         * manual/math.texi (Mathematical Constants): Likewise.
3014         * manual/signal.texi (Interrupted Primitives): Likewise.
3015         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3016         * math/test-matherr.c (_SVID_SOURCE): Do not define.
3017         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3018         Don't refer to _SVID_SOURCE in warning text.
3020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3022         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3023         already defined.
3024         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3025         * sysdeps/mips/dl-lookup.c: Remove.
3026         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3028 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3030         [BZ #16447]
3031         * math/auto-libm-test-in: Add testcase for expl.
3032         * math/auto-libm-test-out: Regenerate.
3033         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3034         calculation of unsafe.
3035         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3037 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3039         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3040         * sysdeps/unix/sysv/linux/aarch64: Move directory from
3041         ports/sysdeps/unix/sysv/linux/aarch64.
3042         * README: Update listing for aarch64*-*-linux-gnu.
3044 2014-02-11  Will Newton  <will.newton@linaro.org>
3046         * manual/probes.texi (Mathematical Function Probes): Use
3047         "triggered" instead of "hit".
3049 2014-02-11  Will Newton  <will.newton@linaro.org>
3051         * manual/probes.texi (Internal Probes): Add documentation
3052         of setjmp, longjmp and longjmp_target probes.
3054 2014-02-11  Will Newton  <will.newton@linaro.org>
3056         * include/stap-probe.h: Add comment about probe argument
3057         format.
3059 2014-02-11  Will Newton  <will.newton@linaro.org>
3061         * malloc/mtrace.c (attribute_hidden): Remove unused macro
3062         definition.  (tr_where, tr_freehook, tr_mallochook,
3063         tr_reallochook, tr_memalignhook): Use ANSI protoype.
3065 2014-02-11  David S. Miller  <davem@davemloft.net>
3067         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3068         processing int_tests.
3070 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
3072         * sysdeps/mips: Move directory from ports/sysdeps/mips.
3073         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3074         * sysdeps/unix/sysv/linux/mips: Move directory from
3075         ports/sysdeps/unix/sysv/linux/mips.
3076         * README: Update listing for mips-*-linux-gnu and
3077         mips64-*-linux-gnu.
3079 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
3081         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3082         * sysdeps/unix/sysv/linux/m68k: Move directory from
3083         ports/sysdeps/unix/sysv/linux/m68k.
3084         * README: Update listing for m68k-*-linux-gnu.
3086 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
3088         * sysdeps/tile: Move directory from ports/sysdeps/tile.
3089         * sysdeps/unix/sysv/linux/generic: Move directory from
3090         ports/sysdeps/unix/sysv/linux/generic.
3091         * sysdeps/unix/sysv/linux/tile: Move directory from
3092         ports/sysdeps/unix/sysv/linux/tile.
3093         * README: Update listing for tile*-*-linux-gnu.
3095 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3097         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3098         * benchtests/bench-memmem.c (simple_memmem): Likewise.
3099         * catgets/open_catalog.c (__open_catalog): Likewise.
3100         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3101         * debug/confstr_chk.c: Likewise.
3102         * debug/fread_chk.c (__fread_chk): Likewise.
3103         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3104         * debug/getgroups_chk.c: Likewise.
3105         * debug/mbsnrtowcs_chk.c: Likewise.
3106         * debug/mbsrtowcs_chk.c: Likewise.
3107         * debug/mbstowcs_chk.c: Likewise.
3108         * debug/memcpy_chk.c: Likewise.
3109         * debug/memmove_chk.c: Likewise.
3110         * debug/mempcpy_chk.c: Likewise.
3111         * debug/memset_chk.c: Likewise.
3112         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3113         * debug/strcat_chk.c (__strcat_chk): Likewise.
3114         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3115         * debug/strncat_chk.c (__strncat_chk): Likewise.
3116         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3117         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3118         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3119         * debug/wcpncpy_chk.c: Likewise.
3120         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3121         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3122         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3123         * debug/wcsncpy_chk.c: Likewise.
3124         * debug/wcsnrtombs_chk.c: Likewise.
3125         * debug/wcsrtombs_chk.c: Likewise.
3126         * debug/wcstombs_chk.c: Likewise.
3127         * debug/wmemcpy_chk.c: Likewise.
3128         * debug/wmemmove_chk.c: Likewise.
3129         * debug/wmempcpy_chk.c: Likewise.
3130         * debug/wmemset_chk.c: Likewise.
3131         * dirent/scandirat.c (SCANDIRAT): Likewise.
3132         * dlfcn/dladdr1.c (dladdr1): Likewise.
3133         * dlfcn/dladdr.c (dladdr): Likewise.
3134         * dlfcn/dlclose.c (dlclose_doit): Likewise.
3135         * dlfcn/dlerror.c (__dlerror): Likewise.
3136         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3137         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3138         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3139         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3140         * dlfcn/dlsym.c (dlsym_doit): Likewise.
3141         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3142         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3143         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3144         Likewise.
3145         * elf/dl-conflict.c: Likewise.
3146         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3147         * elf/dl-dst.h: Likewise.
3148         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3149         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3150         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3151         * elf/dl-init.c (call_init, _dl_init): Likewise.
3152         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3153         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3154         _dl_map_object_from_fd, open_verify, open_path,
3155         _dl_map_object): Likewise.
3156         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3157         Likewise.
3158         * elf/dl-minimal.c (__libc_memalign): Likewise.
3159         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3160         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3161         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3162         * elf/dl-sym.c (do_sym): Likewise.
3163         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3164         _dl_tls_get_addr_soft): Likewise.
3165         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3166         * elf/dl-writev.h (_dl_writev): Likewise.
3167         * elf/ldconfig.c (search_dir): Likewise.
3168         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3169         dl_main): Likewise.
3170         * elf/setup-vdso.h (setup_vdso): Likewise.
3171         * grp/compat-initgroups.c (compat_call): Likewise.
3172         * grp/fgetgrent.c (fgetgrent): Likewise.
3173         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3174         * grp/putgrent.c (putgrent): Likewise.
3175         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3176         Likewise.
3177         * hurd/hurdinit.c: Likewise.
3178         * iconvdata/8bit-gap.c (struct): Likewise.
3179         * iconvdata/ansi_x3.110.c : Likewise.
3180         * iconvdata/big5.c : Likewise.
3181         * iconvdata/big5hkscs.c : Likewise.
3182         * iconvdata/cp1255.c: Likewise.
3183         * iconvdata/cp1258.c : Likewise.
3184         * iconvdata/cp932.c : Likewise.
3185         * iconvdata/euc-cn.c: Likewise.
3186         * iconvdata/euc-jisx0213.c : Likewise.
3187         * iconvdata/euc-jp.c: Likewise.
3188         * iconvdata/euc-jp-ms.c : Likewise.
3189         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3190         * iconvdata/gb18030.c : Likewise.
3191         * iconvdata/gbbig5.c (const): Likewise.
3192         * iconvdata/gbgbk.c: Likewise.
3193         * iconvdata/gbk.c : Likewise.
3194         * iconvdata/ibm1364.c : Likewise.
3195         * iconvdata/ibm930.c : Likewise.
3196         * iconvdata/ibm932.c: Likewise.
3197         * iconvdata/ibm933.c : Likewise.
3198         * iconvdata/ibm935.c : Likewise.
3199         * iconvdata/ibm937.c : Likewise.
3200         * iconvdata/ibm939.c : Likewise.
3201         * iconvdata/ibm943.c: Likewise.
3202         * iconvdata/iso_11548-1.c: Likewise.
3203         * iconvdata/iso-2022-cn.c : Likewise.
3204         * iconvdata/iso-2022-cn-ext.c : Likewise.
3205         * iconvdata/iso-2022-jp-3.c: Likewise.
3206         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3207         * iconvdata/iso-2022-kr.c : Likewise.
3208         * iconvdata/iso646.c (gconv_end): Likewise.
3209         * iconvdata/iso_6937-2.c : Likewise.
3210         * iconvdata/iso_6937.c : Likewise.
3211         * iconvdata/iso8859-1.c: Likewise.
3212         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3213         * iconvdata/shift_jisx0213.c : Likewise.
3214         * iconvdata/sjis.c : Likewise.
3215         * iconvdata/t.61.c : Likewise.
3216         * iconvdata/tcvn5712-1.c : Likewise.
3217         * iconvdata/tscii.c: Likewise.
3218         * iconvdata/uhc.c : Likewise.
3219         * iconvdata/unicode.c (gconv_end): Likewise.
3220         * iconvdata/utf-16.c (gconv_end): Likewise.
3221         * iconvdata/utf-32.c (gconv_end): Likewise.
3222         * iconvdata/utf-7.c (base64): Likewise.
3223         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3224         * iconv/gconv_close.c (__gconv_close): Likewise.
3225         * iconv/gconv_open.c (__gconv_open): Likewise.
3226         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3227         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3228         internal_ucs4le_loop_single, ucs4le_internal_loop,
3229         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3230         * iconv/iconv.c (iconv): Likewise.
3231         * iconv/iconv_close.c: Likewise.
3232         * iconv/loop.c (SINGLE): Likewise.
3233         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3234         * include/atomic.h: Likewise.
3235         * inet/inet6_option.c (option_alloc): Likewise.
3236         * intl/bindtextdom.c (set_binding_values): Likewise.
3237         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3238         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3239         * intl/localealias.c (read_alias_file): Likewise.
3240         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3241         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3242         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3243         * libio/fmemopen.c (fmemopen): Likewise.
3244         * libio/iofgets.c (_IO_fgets): Likewise.
3245         * libio/iofgets_u.c (fgets_unlocked): Likewise.
3246         * libio/iofgetws.c (fgetws): Likewise.
3247         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3248         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3249         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3250         adjust_wide_data, _IO_wfile_seekoff): Likewise.
3251         * locale/findlocale.c (_nl_find_locale): Likewise.
3252         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3253         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3254         Likewise.
3255         * locale/setlocale.c (setlocale): Likewise.
3256         * login/programs/pt_chown.c (main): Likewise.
3257         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3258         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3259         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3260         mmap, mmap64, mremap, munmap): Likewise.
3261         * math/e_exp2l.c: Likewise.
3262         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3263         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3264         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3265         * math/s_catan.c (__catan): Likewise.
3266         * math/s_catanf.c (__catanf): Likewise.
3267         * math/s_catanh.c (__catanh): Likewise.
3268         * math/s_catanhf.c (__catanhf): Likewise.
3269         * math/s_catanhl.c (__catanhl): Likewise.
3270         * math/s_catanl.c (__catanl): Likewise.
3271         * math/s_ccosh.c (__ccosh): Likewise.
3272         * math/s_ccoshf.c (__ccoshf): Likewise.
3273         * math/s_ccoshl.c (__ccoshl): Likewise.
3274         * math/s_cexp.c (__cexp): Likewise.
3275         * math/s_cexpf.c (__cexpf): Likewise.
3276         * math/s_cexpl.c (__cexpl): Likewise.
3277         * math/s_clog10.c (__clog10): Likewise.
3278         * math/s_clog10f.c (__clog10f): Likewise.
3279         * math/s_clog10l.c (__clog10l): Likewise.
3280         * math/s_clog.c (__clog): Likewise.
3281         * math/s_clogf.c (__clogf): Likewise.
3282         * math/s_clogl.c (__clogl): Likewise.
3283         * math/s_csin.c (__csin): Likewise.
3284         * math/s_csinf.c (__csinf): Likewise.
3285         * math/s_csinh.c (__csinh): Likewise.
3286         * math/s_csinhf.c (__csinhf): Likewise.
3287         * math/s_csinhl.c (__csinhl): Likewise.
3288         * math/s_csinl.c (__csinl): Likewise.
3289         * math/s_csqrt.c (__csqrt): Likewise.
3290         * math/s_csqrtf.c (__csqrtf): Likewise.
3291         * math/s_csqrtl.c (__csqrtl): Likewise.
3292         * math/s_ctan.c (__ctan): Likewise.
3293         * math/s_ctanf.c (__ctanf): Likewise.
3294         * math/s_ctanh.c (__ctanh): Likewise.
3295         * math/s_ctanhf.c (__ctanhf): Likewise.
3296         * math/s_ctanhl.c (__ctanhl): Likewise.
3297         * math/s_ctanl.c (__ctanl): Likewise.
3298         * math/w_pow.c: Likewise.
3299         * math/w_powf.c: Likewise.
3300         * math/w_powl.c: Likewise.
3301         * math/w_scalb.c (sysv_scalb): Likewise.
3302         * math/w_scalbf.c (sysv_scalbf): Likewise.
3303         * math/w_scalbl.c (sysv_scalbl): Likewise.
3304         * misc/error.c (error_tail): Likewise.
3305         * misc/pselect.c (__pselect): Likewise.
3306         * nis/nis_callback.c (__nis_create_callback): Likewise.
3307         * nis/nis_call.c (__nisfind_server): Likewise.
3308         * nis/nis_creategroup.c (nis_creategroup): Likewise.
3309         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3310         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3311         * nis/nis_getservlist.c (nis_getservlist): Likewise.
3312         * nis/nis_lookup.c (nis_lookup): Likewise.
3313         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3314         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3315         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3316         * nis/nis_xdr.c (xdr_endpoint): Likewise.
3317         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3318         internal_getgrgid_r): Likewise.
3319         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3320         Likewise.
3321         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3322         internal_getpwuid_r): Likewise.
3323         * nis/nss_compat/compat-spwd.c (getspent_next_file,
3324         internal_getspnam_r): Likewise.
3325         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3326         _nss_nis_getaliasbyname_r): Likewise.
3327         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3328         _nss_nis_getntohost_r): Likewise.
3329         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3330         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3331         Likewise.
3332         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3333         internal_nis_gethostent_r, internal_gethostbyname2_r,
3334         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3335         _nss_nis_gethostbyname4_r): Likewise.
3336         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3337         initgroups_netid): Likewise.
3338         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3339         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3340         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3341         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3342         _nss_nis_getprotobynumber_r): Likewise.
3343         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3344         _nss_nis_getsecretkey): Likewise.
3345         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3346         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3347         Likewise.
3348         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3349         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3350         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3351         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3352         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3353         _nss_nis_getspnam_r): Likewise.
3354         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3355         Likewise.
3356         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3357         _nss_nisplus_getntohost_r): Likewise.
3358         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3359         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3360         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3361         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3362         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3363         Likewise.
3364         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3365         _nss_nisplus_getnetbyaddr_r): Likewise.
3366         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3367         _nss_nisplus_getprotobynumber_r): Likewise.
3368         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3369         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3370         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3371         Likewise.
3372         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3373         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3374         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3375         _nss_nisplus_getspnam_r): Likewise.
3376         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3377         * nscd/aicache.c (addhstaiX): Likewise.
3378         * nscd/cache.c (cache_search, prune_cache): Likewise.
3379         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3380         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3381         * nscd/grpcache.c (addgrbyX): Likewise.
3382         * nscd/hstcache.c (addhstbyX): Likewise.
3383         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3384         * nscd/mem.c (gc, mempool_alloc): Likewise.
3385         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3386         Likewise.
3387         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3388         Likewise.
3389         * nscd/nscd_getai.c (__nscd_getai): Likewise.
3390         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3391         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3392         Likewise.
3393         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3394         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3395         * nscd/nscd_helper.c (__readvall, open_socket,
3396         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3397         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3398         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3399         * nscd/pwdcache.c (addpwbyX): Likewise.
3400         * nscd/selinux.c (preserve_capabilities): Likewise.
3401         * nscd/servicescache.c (addservbyX): Likewise.
3402         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3403         * posix/fnmatch.c (fnmatch): Likewise.
3404         * posix/getopt.c (_getopt_internal_r): Likewise.
3405         * posix/glob.c (glob, glob_in_dir): Likewise.
3406         * posix/wordexp.c (exec_comm_child): Likewise.
3407         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3408         gaih_getanswer_slice): Likewise.
3409         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3410         * resolv/res_init.c: Likewise.
3411         * resolv/res_mkquery.c (res_nmkquery): Likewise.
3412         * resolv/res_query.c (__libc_res_nquery): Likewise.
3413         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3414         Likewise.
3415         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3416         * stdio-common/perror.c (perror): Likewise.
3417         * stdio-common/printf_fp.c (___printf_fp): Likewise.
3418         * stdio-common/tmpnam.c (tmpnam): Likewise.
3419         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3420         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3421         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3422         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3423         * stdlib/putenv.c (putenv): Likewise.
3424         * stdlib/setenv.c (__add_to_environ): Likewise.
3425         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3426         * stdlib/strtol_l.c (INTERNAL): Likewise.
3427         * string/memmem.c (memmem): Likewise.
3428         * string/strerror.c (strerror): Likewise.
3429         * string/strnlen.c (__strnlen): Likewise.
3430         * string/test-memmem.c (simple_memmem): Likewise.
3431         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3432         * sunrpc/pm_getport.c (__get_socket): Likewise.
3433         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3434         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3435         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3436         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3437         Likewise.
3438         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3439         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3440         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3441         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3442         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3443         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3444         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3445         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3446         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3447         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3448         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3449         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3451         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3452         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3453         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3454         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3455         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3456         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3457         Likewise.
3458         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3459         Likewise.
3460         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3461         Likewise.
3462         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3463         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3464         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3465         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3466         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3467         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3468         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3469         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3470         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3471         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3472         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3473         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3474         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3475         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3476         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3477         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3478         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3479         Likewise.
3480         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3481         Likewise.
3482         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3483         Likewise.
3484         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3486         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3487         Likewise.
3488         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3489         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3490         * sysdeps/posix/opendir.c (__opendirat): Likewise.
3491         * sysdeps/posix/sleep.c: Likewise.
3492         * sysdeps/posix/tempname.c: Likewise.
3493         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3494         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3495         Likewise.
3496         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3497         elf_machine_rela): Likewise.
3498         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3499         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3500         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3501         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3502         Likewise.
3503         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3504         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3505         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3506         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3507         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3508         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3509         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3510         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3511         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3512         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3513         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3514         elf_machine_lazy_rel): Likewise.
3515         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3516         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3517         elf_machine_lazy_rel): Likewise.
3518         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3519         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3520         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3521         * sysdeps/unix/grantpt.c (grantpt): Likewise.
3522         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3523         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3524         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3525         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3526         Likewise.
3527         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3528         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3529         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3530         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3531         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3532         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3533         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3534         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3535         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3536         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3537         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3538         Likewise.
3539         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3540         (__posix_fallocate64_l64): Likewise.
3541         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3542         (posix_fallocate): Likewise.
3543         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3544         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3545         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3546         getifaddrs_internal): Likewise.
3547         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3548         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3549         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3550         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3551         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3552         (__posix_fallocate64_l64): Likewise.
3553         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3554         Likewise.
3555         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3556         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3557         Likewise.
3558         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3559         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3560         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3561         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3562         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3563         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3564         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3565         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3566         Likewise.
3567         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3568         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3569         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3570         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3571         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3572         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3573         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3574         Likewise.
3575         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3576         (posix_fallocate): Likewise.
3577         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3578         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3579         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3580         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3581         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3582         Likewise.
3583         * time/asctime.c (asctime_internal): Likewise.
3584         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3585         * time/tzset.c (__tzset_parse_tz): Likewise.
3586         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3587         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3588         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3589         * wcsmbs/wcsmbsload.h: Likewise.
3591 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3593         [BZ #15894]
3594         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3596 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3598         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3599         arena_get2): Remove THREAD_STATS conditionals.
3600         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3601         __malloc_stats, int): Likewise.
3603 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3605         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3606         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
3608 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3610         * manual/setjmp.texi: Fix typos/grammar errors.
3612 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3614         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3615         Only return early when n is <= 0.  Delete unused return statement.
3617 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3619         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3620         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3621         * debug/tst-longjmp_chk3.c: New file.
3623 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3625         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3626         (test_main): Replace code with set_fortify_handler call.
3627         * debug/test-strcpy_chk.c: Likewise.
3628         * debug/tst-chk1.c: Likewise.
3629         * debug/tst-longjmp_chk.c: Likewise.
3630         * test-skeleton.c: Include fcntl.h & paths.h
3631         (set_fortify_handler): Define.
3633 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3635         * debug/tst-longjmp_chk.c: Add header comment and include
3636         ../test-skeleton.c.
3637         (do_test): Mark static.
3638         (TEST_FUNCTION): Define.
3640 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3642         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3643         (IP_PMTUDISC_INTERFACE): Likewise.
3644         (IP_MULTICAST_IF): Likewise.
3645         (IP_MULTICAST_TTL): Likewise.
3646         (IP_MULTICAST_LOOP): Likewise.
3647         (IP_ADD_MEMBERSHIP): Likewise.
3648         (IP_DROP_MEMBERSHIP): Likewise.
3649         (IP_UNBLOCK_SOURCE): Likewise.
3650         (IP_BLOCK_SOURCE): Likewise.
3651         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3652         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3653         (IP_MSFILTER): Likewise.
3654         (MCAST_JOIN_GROUP): Likewise.
3655         (MCAST_BLOCK_SOURCE): Likewise.
3656         (MCAST_UNBLOCK_SOURCE): Likewise.
3657         (MCAST_LEAVE_GROUP): Likewise.
3658         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3659         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3660         (MCAST_MSFILTER): Likewise.
3661         (IP_MULTICAST_ALL): Likewise.
3662         (IP_UNICAST_IF): Likewise.
3664 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3666         * timezone/Makefile: Delete $(have-ksh) check.
3667         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3668         * timezone/tzselect.ksh: Add +x mode bits.
3670 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3672         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3673         (ANON_INODE_FS_MAGIC): Likewise.
3674         (BDEVFS_MAGIC): Likewise.
3675         (BINFMTFS_MAGIC): Likewise.
3676         (BTRFS_TEST_MAGIC): Likewise.
3677         (CRAMFS_MAGIC_WEND): Likewise.
3678         (DEBUGFS_MAGIC): Likewise.
3679         (ECRYPTFS_SUPER_MAGIC): Likewise.
3680         (EXT3_SUPER_MAGIC): Likewise.
3681         (EXT4_SUPER_MAGIC): Likewise.
3682         (FUTEXFS_SUPER_MAGIC): Likewise.
3683         (HOSTFS_SUPER_MAGIC): Likewise.
3684         (HUGETLBFS_MAGIC): Likewise.
3685         (MINIX3_SUPER_MAGIC): Likewise.
3686         (MTD_INODE_FS_MAGIC): Likewise.
3687         (NILFS_SUPER_MAGIC): Likewise.
3688         (OPENPROM_SUPER_MAGIC): Likewise.
3689         (PIPEFS_MAGIC): Likewise.
3690         (PSTOREFS_MAGIC): Likewise.
3691         (QNX6_SUPER_MAGIC): Likewise.
3692         (RAMFS_MAGIC): Likewise.
3693         (REISERFS_SUPER_MAGIC_STRING): Likewise.
3694         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3695         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3696         (SECURITYFS_MAGIC): Likewise.
3697         (SELINUX_MAGIC): Likewise.
3698         (SMACK_MAGIC): Likewise.
3699         (SOCKFS_MAGIC): Likewise.
3700         (SQUASHFS_MAGIC): Likewise.
3701         (STACK_END_MAGIC): Likewise.
3702         (TMPFS_MAGIC): Likewise.
3703         (USBDEVICE_SUPER_MAGIC): Likewise.
3704         (V9FS_MAGIC): Likewise.
3705         (XENFS_SUPER_MAGIC): Likewise.
3706         (CRAMFS_MAGIC): Fix typo in comment.
3707         (EXT2_SUPER_MAGIC): Update comment.
3708         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3710 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
3712         * sysdeps/arm: Move directory from ports/sysdeps/arm.
3713         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3714         * sysdeps/unix/sysv/linux/arm: Move directory from
3715         ports/sysdeps/unix/sysv/linux/arm.
3716         * README: Update listing for arm-*-linux-gnueabi.
3718         * README: Remove mention of am33.
3720 2014-02-07  Roland McGrath  <roland@hack.frob.com>
3722         * bits/sigset.h (__sigemptyset): Use a statement expression rather
3723         than the comma operator, to avoid "rhs of comma has no effect"
3724         compiler warnings.
3725         (__sigfillset, __sigandset, __sigorset): Likewise.
3726         * include/signal.h (__sigemptyset): Likewise.
3727         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3729 2014-02-07  Allan McRae  <allan@archlinux.org>
3731         * version.h (RELEASE): Set to "development".
3732         (VERSION): Set to "2.19.90"
3733         * NEWS: Add 2.20 section.
3735 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
3737         [BZ #16529]
3738         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3740 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3742         * manual/contrib.texi: Update entry for Carlos O'Donell,
3743         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3745 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3747         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3749         * sysdeps/unix/sysv/linux/kernel-features.h
3750         [__LINUX_KERNEL_VERSION >= 0x020621]
3751         (__ASSUME_PROC_PID_TASK_COMM): Define.
3753 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3755         [BZ #16398]
3756         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3757         conversion when destination buffer does not have enough space.
3758         * libio/tst-ftell-partial-wide.c: New test case.
3759         * libio/Makefile (tests): Add tst-ftell-partial-wide.
3761         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3762         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
3763         Leonard and Allan McRae.
3765 2014-02-04  David S. Miller  <davem@davemloft.net>
3767         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3768         32-bit.
3770 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3773         file
3774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3775         New file
3776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3777         file.
3778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3779         file.
3780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3781         New file.
3782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3783         file.
3784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3785         file.
3786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3787         New file.
3788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3789         New file.
3790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3791         New file.
3792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3793         New file.
3794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3795         New file.
3796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3797         New file.
3799 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3801         * nptl/shlib-versions: Change powerpc*le start to 2.17.
3802         * shlib-versions: Likewise.
3804 2014-02-04  Roland McGrath  <roland@hack.frob.com>
3805             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3807         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3808         (abilist-pattern): New variable, set to %-le.abilist.
3810         * Makerules (abilist-pattern): New variable.
3811         (vpath): Use $(abilist-pattern) in place of %.abilist.
3812         (check-abi-% pattern rule): Likewise.
3813         (check-abi, update-abi): Likewise.
3815 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3819 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3823 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
3825         * manual/startup.texi: Add next, previous, and top entries for
3826         the `Program Arguments' and `Environment Variables' nodes.
3828 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
3830         * manual/macros.texi: Add comments before MTASC-safety macros.
3832         * manual/users.texi: Document MTASC-safety properties.
3834         * manual/threads.texi (pthread_key_create, pthread_key_delete,
3835         pthread_getspecific, pthread_setspecific): Format with
3836         @deftypefun, and add @safety note.
3837         * manual/signal.texi: Move comments that analyze the above
3838         functions to their home place.
3840 2014-02-03  Allan McRae  <allan@archlinux.org>
3842         * po/sl.po: Update Slovenian translation from translation project.
3844 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
3846         * manual/time.texi (timegm): Add missing blank after @c.
3847         Reported by Joseph Myers <joseph@codesourcery.com>.
3849 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
3851         * manual/check-safety.sh: New.
3852         * manual/Makefile ($(objpfx)stamp-summary): Run it.
3854         * manual/terminal.texi: Document MTASC-safety properties.
3856         * manual/filesys.texi: Document MTASC-safety properties.
3858         * manual/errno.texi: Document MTASC-safety properties.
3860         * manual/intro.texi: Document safety identifiers and
3861         conditionals.
3863         * manual/string.texi (wcstok): Fix prototype.
3864         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3866         * manual/time.texi: Document MTASC-safety properties.
3868         * manual/string.texi: Document MTASC-safety properties.
3870         * manual/threads.texi: Document MTASC-safety properties.
3872         * manual/stdio.texi: Document MTASC-safety properties.
3874         * manual/syslog.texi: Document MTASC-safety properties.
3876         * manual/sysinfo.texi: Document MTASC-safety properties.
3878         * manual/startup.texi: Document MTASC-safety properties.
3880         * manual/socket.texi: Document MTASC-safety properties.
3882         * manual/signal.texi: Document MTASC-safety properties.
3884 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
3886         * manual/setjmp.texi: Document MTASC-safety properties.
3888         * manual/search.texi: Document MTASC-safety properties.
3890         * manual/resource.texi: Document MTASC-safety properties.
3892         * manual/process.texi: Document MTASC-safety properties.
3894         * manual/platform.texi: Document MTASC-safety properties.
3896         * manual/pipe.texi: Document MTASC-safety properties.
3898         * manual/pattern.texi: Document MTASC-safety properties.
3900         * manual/message.texi: Document MTASC-safety properties.
3902         [BZ #12751]
3903         * manual/memory.texi: Document MTASC-safety properties.
3905         * manual/math.texi: Document MTASC-safety properties.
3907         * manual/locale.texi: Document MTASC-safety properties.
3909         * manual/llio.texi: Document MTASC-safety properties.
3911         * manual/libdl.texi: New.
3913         * manual/lang.texi: Document MTASC-safety properties.
3915         * manual/job.texi: Document MTASC-safety properties.
3917         * manual/getopt.texi: Document MTASC-safety properties.
3919         * manual/ctype.texi: Document MTASC-safety properties.
3921 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
3923         [BZ #16046]
3924         * csu/libc-tls.c (static_map): Remove variable.
3925         (__libc_setup_tls): Use main executable's link map for TLS data.
3926         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3927         casing for LM_ID_BASE and GL(dl_nns).
3928         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3929         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
3930         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3931         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3932         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3933         member.
3934         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3935         l_phnum members.
3937 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
3939         * manual/debug.texi: Document MTASC-safety properties.
3941 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
3943         [BZ #16510]
3944         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3945         of __x86_64__ when disabling x87 inline functions.
3947 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
3949         * manual/charset.texi: Document MTASC-safety properties.
3951         * manual/crypt.texi: Document MTASC-safety properties.
3953         * manual/conf.texi: Document MTASC-safety properties.
3955         * manual/arith.texi: Document MTASC-safety properties.
3957         * manual/argp.texi: Document MTASC-safety properties.
3959         * manual/macros.texi: Introduce macros to document multi
3960         thread, asynchronous signal and asynchronous cancellation
3961         safety properties.
3962         * manual/intro.texi: Introduce the properties themselves.
3964 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3966         * sysdeps/sh/sh4/Makefile: New file.
3968 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
3970         * math/gen-libm-test.pl ($srcdir): New variable.
3971         ($auto_input): Use it.
3973 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3975         [BZ #16506]
3976         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3977         access beyond array bounds when parsing netgroups file.
3979         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3980         the old buffer before realloc.
3982 2014-01-27  Allan McRae  <allan@archlinux.org>
3984         * po/fr.po: Update French translation from translation project.
3986 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3988         * sysdeps/sh/libm-test-ulps: Regenerate.
3990 2014-01-24  David S. Miller  <davem@davemloft.net>
3992         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3994 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3996         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3997         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3999 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4001         [BZ #16474]
4002         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4003         string pointers after reallocation.
4005 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4007         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4008         __SH4A__ instead of __SH_FPU_ANY__.
4010 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4012         * sysdeps/sh/fpu_control.h: New file.
4013         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4014         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4015         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4016         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4017         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4018         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4019         * sysdeps/sh/sys/ucontext.h: Remove.
4020         * sysdeps/sh/sys: Remove directory.
4022 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4024         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4025         s390/sys/ucontext.h.
4026         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4027         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4029 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
4031         [BZ #15605]
4032         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4034 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4036         [BZ#16431]
4037         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4038         Adjust the vDSO correctly for internal calls.
4039         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4041 2014-01-20  Allan McRae  <allan@archlinux.org>
4043         * po/ca.po: Update Catalan translation from translation project.
4045 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
4047         * sysdeps/s390/sotruss-lib.c: New file.
4049 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4051         [BZ#16430]
4052         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4053         (__GI___gettimeofday): Alias for a different internal symbol to avoid
4054         local calls issues by not having a PLT stub required for IFUNC calls.
4055         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4057 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
4059         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4060         * math/test-fpucw-static.c: Likewise.
4062 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4064         [BZ #16453]
4065         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4067 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4069         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4070         implementation for powerpc.
4072 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
4074         [BZ #14782]
4075         * sysdeps/posix/system.c (__libc_system): Do not enable
4076         asynchronous cancellation.
4078 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4080         [BZ #16427]
4081         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4082         handling only for numbers special also in the IEEE case.
4084 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4086         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4088 2014-01-11  Allan McRae  <allan@archlinux.org>
4090         * po/bg.po: Update Bulgarian translation from translation project.
4092         * po/de.po: Update German translation from translation project.
4094 2014-01-10  Roland McGrath  <roland@hack.frob.com>
4096         * sysdeps/generic/gcc-compat.h: New file.
4098 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4100         * benchtests/asin-inputs: Correct slow inputs.
4101         * benchtests/acos-inputs: Likewise.
4103 2014-01-10  Allan McRae  <allan@archlinux.org>
4105         * po:sv.po: Update Swedish translation from translation project.
4107         * po/vi.po: Update Vietnamese translation from translation project.
4109         * po/eo.po: Update Esperanto translation from translation project.
4111         * po/cs.po: Update Czech translation from translation project.
4113         * po/nl.po: Update Dutch translation from translation project.
4115         * po/pl.po: Update Polish translation from translation project.
4117         * po/ru.po: Update Russian translation from translation project.
4119         * po/uk.po: Update Ukrainian translation from translation project.
4121 2014-01-08  Brooks Moses  <bmoses@google.com>
4123         * elf/dl-load.c: Fix comment typo.
4125 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
4127         * po/header.pot: Rename to...
4128         * po/pot.header: ... this.
4129         * po/Makefile: Use pot.header.
4131 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
4132             Maxim Kuvyrkov  <maxim@kugelworks.com>
4134         [BZ #16394]
4135         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4136         SRC and DEST against LEN.
4138 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4140         [BZ #16414]
4141         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4142         implementation.
4143         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4145 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4149 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
4151         [BZ #16408]
4152         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4153         for large positive arguments.
4155 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
4157         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4159         * math/auto-libm-test-in: Mark various tests with
4160         xfail-rounding:ldbl-128ibm.
4161         * math/auto-libm-test-out: Regenerated.
4163         [BZ #16407]
4164         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4165         Increase overflow threshold.
4167 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
4169         [BZ #14286]
4170         * stdio-common/vfprintf.c: Check for integer overflow.
4172 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4174         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4175         the first argument and return value of __tls_get_addr_internal.
4177 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4179         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4180         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4182 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4184         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4185         * sysdeps/s390/rtld-global-offsets.sym: New file.
4186         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4187         GLIBC_2.19 symbol.
4188         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4189         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4190         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4191         ... this.
4192         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4193         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4194         ... this.
4195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4196         Regenerate.
4197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4198         Regenerate.
4199         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4200         halfs of GPRs for high_gprs contexts.
4201         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4202         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
4203         field.
4204         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4205         uc_flags field.
4206         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4207         64 bit versions:
4208         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4209         for high GPRs (uc_high_gprs) and for future extensions
4210         (__reserved).
4211         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4212         for future extensions (__reserved).
4213         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4214         64 bit versions:
4215         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4216         SC_HIGHGPRS offset definition.
4217         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4218         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4220 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4222         * Versions.def: Add GLIBC_2.19 for libpthread.
4223         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4224         siglongjmp for libpthread with GLIBC_2.19 symver.
4225         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4226         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4227         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4228         * sysdeps/s390/__longjmp.c: New file.
4229         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4230         * sysdeps/s390/longjmp.c: New file.
4231         * sysdeps/s390/setjmp.S: New file.
4232         * sysdeps/s390/sigjmp.S: New file.
4233         * sysdeps/s390/v1-longjmp.c: New file.
4234         * sysdeps/s390/v1-setjmp.h: New file.
4235         * sysdeps/s390/v1-sigjmp.c: New file.
4236         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4237         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4238         GLIBC_2.19 version.
4239         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4240         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4241         versioned symbols for ____longjmp_chk.
4242         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4243         Likewise.
4244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4245         Regenerate.
4246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4247         Regenerate.
4248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4249         Regenerate.
4250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4251         Regenerate.
4252         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4253         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4254         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4255         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4256         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4257         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4258         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4259         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4260         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4261         * sysdeps/s390/rtld-__longjmp.c: New file.
4262         * sysdeps/s390/rtld-setjmp.S: New file.
4264 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
4266         [BZ #16400]
4267         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4268         Return -__logl (x) for small positive arguments without evaluating
4269         a polynomial.
4271 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
4273         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4274         Rename to ...
4275         (__ptrace_peeksiginfo_args): ... this.
4276         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4277         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4278         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4280 2014-01-06  Allan McRae  <allan@archlinux.org>
4282         * inet/netinet/in.h: Fix typo in comment.
4284 2014-01-05  Andreas Jaeger  <aj@suse.de>
4286         * sysdeps/i386/fpu/libm-test-ulps: Update.
4288 2014-01-05  Allan McRae  <allan@archlinux.org>
4290         * po/libc.pot: Regenerated.
4292         * malloc/memusagestat.c: Fix gettext call formatting.
4294 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
4296         * nscd/nscd.c: Improve usage() output.
4298 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
4300         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4301         * sysdeps/unix/sysv/linux/configure: Regenerated.
4302         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4303         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4305 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4307         [BZ #16390]
4308         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4309         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4311 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4313         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4314         extra tokens at end of #undef directive.
4315         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4316         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4317         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4319 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4321         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4323         * math/auto-libm-test-in: Mark various tests with
4324         xfail-rounding:ldbl-128ibm.
4325         * math/auto-libm-test-out: Regenerated.
4327 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4329         [BZ #16386]
4330         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4331         numbers with subnormal high part when calculating exponent.
4333         [BZ #16385]
4334         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4335         fabs.
4337         [BZ #16384]
4338         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4339         M_LN2l.
4340         (__ieee754_acoshl): Use __log1pl not __log1p.
4342 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
4344         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4345         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4346         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4347         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4348         Convert to GNU style.
4349         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4350         mem2mem_check, mem2chunk_check, top_check, realloc_check,
4351         memalign_check, __malloc_set_state): Likewise.
4352         * malloc/mallocbug.c (main): Likewise.
4353         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4354         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4355         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4356         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4357         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4358         * malloc/malloc.h: Likewise.
4359         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4360         memalignhook, reallochook, mabort): Likewise.
4361         * malloc/mcheck.h: Likewise.
4362         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4363         mmap64, mremap, munmap, dest): Likewise.
4364         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4365         * malloc/morecore.c (__default_morecore): Likewise.
4366         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4367         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4368         _obstack_allocated_p, obstack_free, _obstack_memory_used,
4369         print_and_abort): Likewise.
4370         * malloc/obstack.h: Likewise.
4371         * malloc/set-freeres.c (__libc_freeres): Likewise.
4372         * malloc/tst-mallocstate.c (main): Likewise.
4373         * malloc/tst-mtrace.c (main): Likewise.
4374         * malloc/tst-realloc.c (do_test): Likewise.
4376 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4378         [BZ #16366]
4379         * nscd/netgroupcache.c (do_notfound): New function.
4380         (addgetnetgrentX): Use it.
4382         [BZ # 16365]
4383         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4384         NSS_STATUS_NOTFOUND.
4386 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
4388         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4391 2014-01-01  Allan McRae  <allan@archlinux.org>
4393         * scripts/update-copyrights: Update configure input file suffix.
4395         * NEWS: Update copyright year.
4396         * catgets/gencat.c: Likewise.
4397         * csu/version.c: Likewise.
4398         * debug/catchsegv.sh: Likewise.
4399         * debug/pcprofiledump.c: Likewise.
4400         * debug/xtrace.sh: Likewise.
4401         * elf/ldconfig.c: Likewise.
4402         * elf/ldd.bash.in: Likewise.
4403         * elf/pldd.c: Likewise.
4404         * elf/sotruss.ksh: Likewise.
4405         * elf/sprof.c: Likewise.
4406         * iconv/iconv_prog.c: Likewise.
4407         * iconv/iconvconfig.c: Likewise.
4408         * locale/programs/locale.c: Likewise.
4409         * locale/programs/localedef.c: Likewise.
4410         * login/programs/pt_chown.c: Likewise.
4411         * malloc/memusage.sh: Likewise.
4412         * malloc/memusagestat.c: Likewise.
4413         * malloc/mtrace.pl: Likewise.
4414         * manual/libc.texinfo: Likewise.
4415         * nscd/nscd.c: Likewise.
4416         * nss/getent.c: Likewise.
4417         * nss/makedb.c: Likewise.
4418         * posix/getconf.c: Likewise.
4419         * scripts/test-installation.pl: Likewise.
4421         * All files with FSF copyright notices: Update copyright dates
4422         using scripts/update-copyrights.
4423         * intl/plural.c: Regenerated.
4424         * locale/programs/charmap-kw.h: Likewise.
4425         * locale/programs/locfile-kw.h: Likewise.
4427 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
4429         * sysdeps/unix/sysv/linux/configure: Regenerated.
4430         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4431         the linux/fanotify.h header.
4432         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4433         HAVE_LINUX_FANOTIFY_H is defined.
4435 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4437         * benchtests/cos-inputs: New inputs.
4438         * benchtests/sin-inputs: Likewise.
4440         * benchtests/atan-inputs: New inputs. Fix name of multiple
4441         precision fallback inputs.
4443         * benchtests/atanh-inputs: New inputs.
4444         * benchtests/tanh-inputs: Likewise.
4446         * benchtests/acosh-inputs: New inputs.
4447         * benchtests/asinh-inputs: Likewise.
4449         * benchtests/cosh-inputs: New inputs.
4450         * benchtests/sinh-inputs: Likewise.
4452         * benchtests/acos-inputs: Add more inputs.
4453         * benchtests/asin-inputs: Likewise.
4455 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
4457         [BZ #16375]
4458         * manual/arith.texi: Fix spelling.
4459         * manual/charset.texi: Likewise.
4460         * manual/errno.texi: Likewise.
4461         * manual/filesys.texi: Likewise.
4462         * manual/lang.texi: Likewise.
4463         * manual/llio.texi: Likewise.
4464         * manual/locale.texi: Likewise.
4465         * manual/message.texi: Likewise.
4466         * manual/resource.texi: Likewise.
4467         * manual/search.texi: Likewise.
4468         * manual/setjmp.texi: Likewise.
4469         * manual/stdio.texi: Likewise.
4470         * manual/string.texi: Likewise.
4471         * manual/sysinfo.texi: Likewise.
4472         * manual/time.texi: Likewise.
4474 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
4476         * po/sl.po: New file.
4478 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
4480         * .gitignore: Add core/.gdbinit/.gdb_history.
4482 2013-12-27  Allan McRae  <allan@archlinux.org>
4484         [BZ #16369]
4485         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4486         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4488 2013-12-24  Brooks Moses  <bmoses@google.com>
4490         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4491         all compilers that claim C++98 compliance, not just GCC.
4492         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4493         Likewise.
4495 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4497         * NEWS: Restore accidentally deleted bug-fix entries.
4499 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4500             Ondřej Bílka  <neleai@seznam.cz>
4502         [BZ #15073]
4503         * malloc/malloc.c (_int_free): Perform sanity check only if we
4504         have_lock.
4506 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
4508         [BZ #12986]
4509         * manual/stdio.texi (String Input Conversions): Clarify that character
4510         classes are not supported.
4512 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4516 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
4518         [BZ #16337]
4519         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4520         Calculate results for small negative arguments directly rather
4521         than using reflection formula with special underflow handling.
4523         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4524         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4525         sysdeps/unix/bsd/bsd4.4/syscalls.list.
4526         (fchflags): Likewise.
4527         (revoke): Likewise.
4528         (setlogin): Likewise.
4529         (sigaltstack): Likewise.
4530         (wait4): Likewise.
4531         (sigblock): Remove.
4532         (sigsetmask): Likewise.
4533         (wait3): Likewise.
4534         (waitpid): Likewise.
4535         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4536         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4537         file.
4538         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4539         * sysdeps/unix/bsd/Makefile: ... here.
4540         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4541         * sysdeps/unix/bsd/Versions: ... here.
4542         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4543         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4544         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4545         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4546         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4547         * sysdeps/unix/bsd/sigblock.c: ... here.
4548         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4549         * sysdeps/unix/bsd/sigsetmask.c: ... here.
4550         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4551         * sysdeps/unix/bsd/sigvec.c: ... here.
4552         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4553         * sysdeps/unix/bsd/tcdrain.c: ... here.
4554         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4555         * sysdeps/unix/bsd/tcgetattr.c: ... here.
4556         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4557         * sysdeps/unix/bsd/tcsetattr.c: ... here.
4558         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4559         * sysdeps/unix/bsd/wait.c: ... here.
4560         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4561         * sysdeps/unix/bsd/wait3.c: ... here.
4562         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4563         * sysdeps/unix/bsd/waitpid.c: ... here.
4565 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
4567         [BZ #16356]
4568         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4569         round-to-nearest for [!USE_AS_EXPM1L].
4570         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4571         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
4572         more tests of exp and exp10.  Expect some exp10 tests to miss
4573         exceptions or fail in directed rounding modes.
4574         * math/auto-libm-test-out: Regenerated.
4575         * math/libm-test.inc (exp10_tonearest_test_data): New array.
4576         (exp10_test_tonearest): New function.
4577         (exp10_towardzero_test_data): New array.
4578         (exp10_test_towardzero): New function.
4579         (exp10_downward_test_data): New array.
4580         (exp10_test_downward): New function.
4581         (exp10_upward_test_data): New array.
4582         (exp10_test_upward): New function.
4583         (main): Call the new functions.
4584         * sysdeps/i386/fpu/libm-test-ulps: Update.
4585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4587 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
4589         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4590         asinh, atan, atan2, atanh, cbrt, cos and cosh.
4591         * math/auto-libm-test-out: Regenerated.
4592         * math/libm-test.inc (acosh_test_data): Add more tests.
4593         (atanh_test_data): Likewise.
4594         (ceil_test_data): Likewise.
4595         (copysign_test_data): Likewise.
4596         * sysdeps/i386/fpu/libm-test-ulps: Update.
4597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4599         * timezone/checktab.awk: Update from tzcode 2013i.
4600         * timezone/private.h: Likewise.
4601         * timezone/scheck.c: Likewise.
4602         * timezone/tzfile.h: Likewise.
4603         * timezone/tzselect.ksh: Likewise.
4604         * timezone/zdump.c: Likewise.
4605         * timezone/zic.c: Likewise.
4607         * math/auto-libm-test-in: Add tests of cpow.
4608         * math/auto-libm-test-out: Regenerated.
4609         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4610         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4611         mpc_cc_c.
4612         (func_calc_desc): Add mpc_cc_c union field.
4613         (test_functions): Add cpow.
4614         (special_fill_2pi): New function.
4615         (special_real_inputs): Add 2pi.
4616         (calc_generic_results): Handle mpc_cc_c.
4617         * sysdeps/i386/fpu/libm-test-ulps: Update.
4618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4620         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4621         csqrt, ctan and ctanh.
4622         * math/auto-libm-test-out: Regenerated.
4623         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4624         (TEST_COND_x86): Likewise.
4625         (ccos_test_data): Use AUTO_TESTS_c_c.
4626         (ccosh_test_data): Likewise.
4627         (cexp_test_data): Likewise.
4628         (clog_test_data): Likewise.
4629         (csqrt_test_data): Likewise.
4630         (ctan_test_data): Likewise.
4631         (ctan_tonearest_test_data): Likewise.
4632         (ctan_towardzero_test_data): Likewise.
4633         (ctan_downward_test_data): Likewise.
4634         (ctan_upward_test_data): Likewise.
4635         (ctanh_test_data): Likewise.
4636         (ctanh_tonearest_test_data): Likewise.
4637         (ctanh_towardzero_test_data): Likewise.
4638         (ctanh_downward_test_data): Likewise.
4639         (ctanh_upward_test_data): Likewise.
4640         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4641         mpc_c_c.
4642         (func_calc_desc): Add mpc_c_c union field.
4643         (FUNC_mpc_c_c): New macro.
4644         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4645         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4646         ctanh.
4647         (special_fill_min_subnorm_p120): New function.
4648         (special_real_inputs): Add min_subnorm_p120.
4649         (calc_generic_results): Handle mpc_c_c.
4650         * sysdeps/i386/fpu/libm-test-ulps: Update.
4651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4653 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4655         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4656         do_sin_slow): New functions.
4657         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4658         cslow2, csloww1, csloww2): Use the new functions.
4660         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4661         Use M to change sign of result instead of X.  Assume X is
4662         positive.
4663         (csloww1): Likewise.
4664         (__sin): Adjust.
4665         (__cos): Adjust.
4667         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4668         arguments A and DA.
4669         (__sin): Adjust.
4670         (__cos): Likewise.
4672         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4673         (__cos): Likewise.
4674         (sloww1): Don't adjust sign of DX.
4675         (csloww1): Likewise.
4676         (sloww2): Use X directly and don't adjust sign of DX.
4677         (csloww2): Likewise.
4679 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4681         * math/auto-libm-test-in: Add tests of cabs and carg.
4682         * math/auto-libm-test-out: Regenerated.
4683         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4684         (carg_test_data): Likewise.
4685         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4686         mpc_c_f.
4687         (func_calc_desc): Add mpc_c_f union field.
4688         (test_functions): Add cabs and carg.
4689         (calc_generic_results): Handle mpc_c_f.
4691         * sysdeps/powerpc/powerpc32/libgcc-compat.S
4692         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4693         as a macro and a compat symbol.
4694         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4695         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4696         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4697         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4698         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4699         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4700         not use .hidden.
4701         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4702         Likewise.
4703         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4704         Likewise.
4705         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4706         Likewise.
4707         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4708         Likewise.
4709         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4710         Likewise.
4711         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4712         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4713         from GLIBC_2.3.2.
4715 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4719 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4721         * manual/texinfo.tex: Update to version 2013-11-26.10 with
4722         trailing whitespace removed.
4723         * scripts/config.guess: Update to version 2013-11-29.
4724         * scripts/config.sub: Update to version 2013-10-01.
4726         * math/auto-libm-test-in: Add tests of sincos.
4727         * math/auto-libm-test-out: Regenerated.
4728         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4729         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4730         mpfr_f_11.
4731         (func_calc_desc): Add mpfr_f_11 union field.
4732         (test_functions): Add sincos.
4733         (calc_generic_results): Handle mpfr_f_11.
4734         * sysdeps/i386/fpu/libm-test-ulps: Update.
4735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4737 2013-12-19  Andreas Schwab  <schwab@suse.de>
4739         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4740         CALL_MCOUNT.
4741         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4742         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4743         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4745 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4747         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4748         * sysdeps/i386/fpu/libm-test-ulps: Update.
4749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4751         [BZ #16293]
4752         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4753         round-to-nearest mode when using frndint.
4754         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4755         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4756         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4757         Likewise.
4758         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
4759         sinh test to fail.
4760         * math/auto-libm-test-out: Regenerated.
4761         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4762         (TEST_COND_x86): Likewise.
4763         (expm1_tonearest_test_data): New array.
4764         (expm1_test_tonearest): New function.
4765         (expm1_towardzero_test_data): New array.
4766         (expm1_test_towardzero): New function.
4767         (expm1_downward_test_data): New array.
4768         (expm1_test_downward): New function.
4769         (expm1_upward_test_data): New array.
4770         (expm1_test_upward): New function.
4771         (main): Run the new test functions.
4772         * sysdeps/i386/fpu/libm-test-ulps: Update.
4773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4775         * include/features.h: Update comment documenting feature test
4776         macros.  Mention _DEFAULT_SOURCE in comment.
4777         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4778         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4779         _BSD_SOURCE and _SVID_SOURCE.
4780         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4781         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4782         !_SVID_SOURCE]: Likewise.
4783         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4784         (__USE_POSIX_IMPLICITLY): Define.
4785         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4786         (_POSIX_SOURCE): Undefine and redefine.
4787         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4788         (_POSIX_C_SOURCE): Likewise.
4789         * manual/creature.texi (_DEFAULT_SOURCE): Document.
4790         (Feature Test Macros): Update documentation of default features.
4792 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4794         * benchtests/Makefile: Add bench-strtok.
4795         * benchtests/bench-strtok.c: New file: strtok benchtest.
4797 2013-12-19  Allan McRae  <allan@archlinux.org>
4799         * manual/install.texi: Suppress menu for plain text output.
4800         * INSTALL: Regenerated.
4802 2013-12-18  Brooks Moses  <bmoses@google.com>
4804         [BZ #15846]
4805         * misc/getauxval.c: Include errno.h.
4806         (__getauxval): Set errno to ENOENT if the requested type is not
4807         found.
4808         * misc/sys/auxv.h (getauxval): Document that it may set errno;
4809         don't declare with __attribute_const__.
4810         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4811         * manual/startup.texi: Document that getauxval sets errno.
4813 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4815         * math/auto-libm-test-in: Add tests of jn and yn.
4816         * math/auto-libm-test-out: Regenerated.
4817         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4818         (yn_test_data): Likewise.
4819         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4820         mpfr_if_f.
4821         (func_calc_desc): Add mpfr_if_f union field.
4822         (FUNC_mpfr_if_f): New macro.
4823         (test_functions): Add jn and yn.
4824         (calc_generic_results): Assert type of second input for
4825         mpfr_ff_f.  Handle mpfr_if_f.
4826         (output_for_one_input_case): Disable all checking for arguments
4827         fitting floating-point types in case of an integer argument.
4828         * sysdeps/i386/fpu/libm-test-ulps: Update.
4829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4832         Don't expect fegetround reference in libm.so.
4834 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4836         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4837         $(config-cflags-nofma).
4839 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4841         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4842         * math/auto-libm-test-out: Regenerated.
4844         [BZ #16338]
4845         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4846         to determine exponent and adjust argument to have exponent of -1.
4847         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4848         log2.
4849         * math/auto-libm-test-out: Regenerated.
4850         * sysdeps/i386/fpu/libm-test-ulps: Update.
4851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4853 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
4855         * manual/probes.texi: Remove cases when per-thread arenas are
4856         disabled.
4858 2013-12-18  Andreas Schwab  <schwab@suse.de>
4860         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4861         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4862         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4863         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4864         * sysdeps/i386/i686/multiarch/Makefile: Update.
4865         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4867 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4869         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4870         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4872 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
4874         [BZ #15968]
4875         Support TZ transition times < 00:00:00.
4876         This is needed for version-3 tz-format files; it supports time
4877         stamps past 2037 for America/Godthab (the only entry in the tz
4878         database for which this change is relevant).
4879         * manual/time.texi (TZ Variable): Document transition times
4880         from -167:59:59 through -00:00:01.
4881         * time/tzset.c (tz_rule): Time of day is now signed.
4882         (__tzset_parse_tz): Parse negative time of day.
4884         Document TZ transition times >= 25:00:00.
4885         * manual/time.texi (TZ Variable): Document transition times from
4886         25:00:00 through 167:59:59.  These are already supported, and this
4887         support will help with version-3 tz-format files.
4889         * manual/time.texi (TZ Variable): Modernize North America example
4890         to reflect current (i.e., 2007-and-later) daylight saving rules.
4892         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4894 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4896         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4897         * sysdeps/unix/bsd/bits/stat.h: Likewise.
4898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4899         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4900         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4901         * sysdeps/unix/bsd/bsdstat.h: Likewise.
4902         * sysdeps/unix/bsd/clock.c: Likewise.
4903         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4904         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4905         * sysdeps/unix/bsd/init-posix.c: Likewise.
4906         * sysdeps/unix/bsd/poll.c: Likewise.
4907         * sysdeps/unix/bsd/ptsname.c: Likewise.
4908         * sysdeps/unix/bsd/seekdir.c: Likewise.
4909         * sysdeps/unix/bsd/setegid.c: Likewise.
4910         * sysdeps/unix/bsd/seteuid.c: Likewise.
4911         * sysdeps/unix/bsd/setgid.c: Likewise.
4912         * sysdeps/unix/bsd/setrgid.c: Likewise.
4913         * sysdeps/unix/bsd/setruid.c: Likewise.
4914         * sysdeps/unix/bsd/setsid.c: Likewise.
4915         * sysdeps/unix/bsd/setuid.c: Likewise.
4916         * sysdeps/unix/bsd/sigaction.c: Likewise.
4917         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4918         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4919         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4920         * sysdeps/unix/bsd/telldir.c: Likewise.
4921         * sysdeps/unix/bsd/times.c: Likewise.
4922         * sysdeps/unix/bsd/usleep.c: Likewise.
4924         * misc/Makefile (install-lib): Remove libbsd-compat.a.
4925         ($(objpfx)libbsd-compat.a): Remove rule.
4927         * include/features.h (__FAVOR_BSD): Do not define.
4928         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4929         features conflicting with POSIX.
4930         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4931         (_BSD_SOURCE): Remove description of not being a subset of other
4932         feature test macros.
4933         * manual/job.texi (getpgrp): Do not document BSD version.
4934         (getpgid): Do not document by reference to BSD getpgrp.
4935         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4936         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4937         * signal/signal.h [__FAVOR_BSD]: Likewise.
4938         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4939         instead of making contents conditional on [__FAVOR_BSD].
4940         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4942 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4946 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4948         [BZ #16314]
4949         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4950         values below 2**-450, not 2**-500.
4951         * math/auto-libm-test-in: Don't allow spurious underflow from
4952         hypot.
4953         * math/auto-libm-test-out: Regenerated.
4955         [BZ #16316]
4956         [BZ #16330]
4957         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4958         values of ha and hb and sort them after adjusting subnormal
4959         arguments.
4960         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4961         Likewise.
4962         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4963         values of ea and eb and sort them after adjusting subnormal
4964         arguments.
4965         * math/auto-libm-test-in: Do not expect some hypot tests of
4966         subnormals to fail.  Add more hypot tests.
4967         * math/auto-libm-test-out: Regenerated.
4969 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4971         [BZ #13304]
4972         * sysdeps/sh/s_fma.c: New file.
4973         * sysdeps/sh/s_fmaf.c: New file.
4974         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
4975         version.
4976         * sysdeps/sh/Implies: Add sh/soft-fp.
4978 2013-12-16  Roland McGrath  <roland@hack.frob.com>
4980         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
4981         level of indirection to members `objname', `errstring', `malloced'.
4982         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4983         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
4984         it as the __longjmp argument (just pass 1 instead).
4985         (_dl_catch_error): Initialize C with argument pointers and address of
4986         volatile local ERRCODE rather than copying values out of C at return.
4988 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
4990         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4991         * math/auto-libm-test-out: Regenerated.
4992         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4993         (hypot_test_data): Likewise.
4994         (pow_test_data): Likewise.
4995         (pow_tonearest_test_data): Likewise.
4996         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4997         mpfr_ff_f.
4998         (func_calc_desc): Add mpfr_ff_f union field.
4999         (FUNC_mpfr_ff_f): New macro.
5000         (test_functions): Add atan2, hypot and pow.
5001         (special_fill_min): New function.
5002         (special_fill_minus_min): Likewise.
5003         (special_fill_min_subnorm): Likewise.
5004         (special_fill_minus_min_subnorm): Likewise.
5005         (special_real_inputs): Add min, -min, min_subnorm and
5006         -min_subnorm.
5007         (calc_generic_results): Handle mpfr_ff_f.
5008         * sysdeps/i386/fpu/libm-test-ulps: Update.
5009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5011 2013-12-16  Will Newton  <will.newton@linaro.org>
5013         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5014         (Aligned Memory Blocks): Add documentation for aligned_alloc
5015         and suggest it as an alternative to posix_memalign.
5016         (Hooks for Malloc): Document __memalign_hook is also called
5017         for aligned_alloc.  (Summary of Malloc): Add summary for
5018         aligned alloc.  Document __memalign_hook is also called
5019         for aligned_alloc.
5021 2013-12-16  Will Newton  <will.newton@linaro.org>
5023         * manual/memory.texi (Malloc Examples): Clarify default
5024         alignment documentation.  Suggest posix_memalign rather
5025         than memalign or valloc.
5026         (Aligned Memory Blocks): Remove suggestion to use memalign
5027         or valloc.  Remove obsolete comment about BSD.
5028         Document memalign errno values and mark the function obsolete.
5029         Document posix_memalign returned error codes.  Mark valloc
5030         as obsolete.  (Hooks for Malloc): __memalign_hook is also
5031         called for posix_memalign and valloc.
5032         (Summary of Malloc): Add posix_memalign to function summary.
5033         __memalign_hook is also called for posix_memalign and valloc.
5035 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5037         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5038         TAYLOR_SIN.
5039         (__sin): Adjust.
5040         (__cos): Likewise.
5041         (sloww): Use mynumber union.  Expand ternary operator into
5042         if-else statements.
5043         (cslow): use mynumber union.
5045 2013-12-16  Allan McRae  <allan@archlinux.org>
5047         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5048         * configure: Regenerated.
5050         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5052         [BZ #14120]
5053         * configure.ac: Added --enable-maintainer-mode. Check for
5054         autoconf when enabled.
5055         * configure: Regenerated.
5057         * nscd/nscd.service: New file.
5058         * nscd/nscd.tmpfiles: New file.
5060 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
5062         [BZ #12100]
5063         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5064         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5065         * sysdeps/x86_64/multiarch/strstr.c: ... here.
5066         (strstr): Add __strstr_sse2_unaligned ifunc.
5067         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5068         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5069         (strcasestr): Remove __strcasestr_sse42 ifunc.
5070         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5071         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5074 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5076         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5077         * sysdeps/sh/bits/fenv.h: ... here.
5078         * sysdeps/sh/sh4/fpu/bits: Remove directory.
5080 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5082         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5084 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5087         hypotf multiarch implementations.
5088         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5089         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5090         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5091         multiarch hypot for PPC64.
5092         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5093         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5094         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5095         multiarch hypotf for PPC64.
5097 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5099         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5100         modff multiarch implementations.
5101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5104         multiarch modf for PPC64.
5105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5108         multiarch modff for PPC64.
5110 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5113         and logl multiarch implementations.
5114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5117         multiarch logb for PPC64.
5118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5121         multiarch logb for PPC64.
5122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5125         multiarch logb for PPC64.
5127 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5130         isinff multiarch implementation.
5131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5132         file.
5133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5135         multiarch isinf for PPC64.
5136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5137         file.
5138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5139         multiarch isinff for PPC64.
5141 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5144         finitef multiarch implementation.
5145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5146         file.
5147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5149         multiarch finite for PPC64.
5150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5151         file.
5152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5153         multiarch finitef for PPC64.
5155 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5157         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5158         lrint multiarch implementation.
5159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5160         file.
5161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5163         multiarch llrint for PPC64.
5164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5165         multiarch lrint for PPC64.
5167 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5169         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5170         copysignf multiarch implementation.
5171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5172         file.
5173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5174         file.
5175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5176         multiarch copysign for PPC64.
5177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5178         multiarch copysignf for PPC64.
5180 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5182         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5183         multiarch implementation.
5184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5185         file.
5186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5187         file.
5188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5189         file.
5190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5191         file.
5192         multiarch llround for PPC64.
5193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5194         multiarch trunc for PPC64.
5195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5196         multiarch truncf for PPC64.
5198 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5201         multiarch implementation.
5202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5203         file.
5204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5205         file.
5206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5207         file.
5208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5209         file.
5210         multiarch llround for PPC64.
5211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5212         multiarch round for PPC64.
5213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5214         multiarch roundf for PPC64.
5216 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5218         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5219         multiarch implementation.
5220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5221         file.
5222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5223         file.
5224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5225         file.
5226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5227         file.
5228         multiarch llround for PPC64.
5229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5230         multiarch floor for PPC64.
5231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5232         multiarch floorf for PPC64.
5234 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5237         multiarch implementation.
5238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5239         file.
5240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5241         file.
5242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5243         file.
5244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5245         file.
5246         multiarch llround for PPC64.
5247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5248         multiarch ceil for PPC64.
5249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5250         multiarch ceilf for PPC64.
5252 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5255         multiarch implementation.
5256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5257         file.
5258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5259         file.
5260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5261         file.
5262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5263         multiarch llround for PPC64.
5264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5265         multiarch lround for PPC64.
5267 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5270         multiarch implementation.
5271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5274         file.
5275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5278         multiarch isnan for PPC64.
5279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5280         multiarch isnanf for PPC64.
5282 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5284         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5285         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5286         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5287         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5288         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5291 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5293         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5294         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5295         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5296         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5298 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5301         multiarch implementations.
5302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5303         (__libc_ifunc_impl_list): Likewise.
5304         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5305         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5306         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5307         multiarch stpcpy for PPC64.
5309 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5312         multiarch implementations.
5313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5314         (__libc_ifunc_impl_list): Likewise.
5315         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5316         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5317         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5318         multiarch strcpy for PPC64.
5320 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5322         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5323         redefine function name.
5324         (_wordcopy_fwd_dest_aligned): Likewise.
5325         (_wordcopy_bwd_aligned): Likewise.
5326         (_wordcopy_bwd_dest_aligned): Likewise.
5327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5328         multiarch implementations.
5329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5330         (__libc_ifunc_impl_list): Likewise.
5331         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5332         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5333         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5334         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5335         multiarch wcscpy for PPC64.
5337 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5340         multiarch implementations.
5341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5342         (__libc_ifunc_impl_list): Likewise.
5343         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5344         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5345         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5346         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5347         multiarch wcscpy for PPC64.
5349 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5352         multiarch implementations.
5353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5354         (__libc_ifunc_impl_list): Likewise.
5355         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5356         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5357         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5358         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5359         multiarch wcsrchr for PPC64.
5361 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5364         multiarch implementations.
5365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5366         (__libc_ifunc_impl_list): Likewise.
5367         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5368         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5369         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5370         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5371         multiarch wcschr for PPC64.
5373 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5376         multiarch implementations.
5377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5378         (__libc_ifunc_impl_list): Likewise.
5379         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5380         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5381         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5382         multiarch strchrnul for PPC64.
5384 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5387         implementations.
5388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5389         (__libc_ifunc_impl_list): Likewise.
5390         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5391         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5392         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5393         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5394         strchr for PPC64.
5396 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5398         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5399         implementations.
5400         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5401         (__libc_ifunc_impl_list): Likewise.
5402         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5403         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5404         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5405         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5406         strncmp for PPC64.
5408 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5411         multiarch implementations.
5412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5413         (__libc_ifunc_impl_list): Likewise.
5414         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5415         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5416         strncasecmp for PPC64.
5417         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5418         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5419         multiarch strncasecmp_l for PPC64.
5421 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5424         multiarch implementations.
5425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5426         (__libc_ifunc_impl_list): Likewise.
5427         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5428         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5429         multiarch strcasecmp for PPC64.
5430         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5431         file.
5432         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5433         multiarch strcasecmp_l for PPC64.
5435 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5438         implementations.
5439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5440         (__libc_ifunc_impl_list): Likewise.
5441         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5442         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5443         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5444         strnlen for PPC64.
5446 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5449         implementations.
5450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5451         (__libc_ifunc_impl_list): Likewise.
5452         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5453         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5454         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5455         strlen for PPC64.
5457 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5460         implementations.
5461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5462         (__libc_ifunc_impl_list): Likewise.
5463         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5464         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5465         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5466         rawmemrchr for PPC64.
5468 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5471         implementation.
5472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5473         (__libc_ifunc_impl_list): Likewise.
5474         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5475         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5476         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5477         memrchr for PPC64.
5479 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5481         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5482         implementation.
5483         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5484         (__libc_ifunc_impl_list): Likewise.
5485         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5486         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5487         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5488         memchr for PPC64.
5490 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5493         implementation.
5494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5495         (__libc_ifunc_impl_list): Likewise.
5496         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5497         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5498         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5499         mempcpy for PPC64.
5501 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5503         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5504         avoid cretion of __bzero symbol.
5505         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5506         Likewise.
5507         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5508         Likewise.
5509         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5510         Likewise.
5511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5512         multiarch implementations.
5513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5514         (__libc_ifunc_impl_list): Likewise.
5515         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5516         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5517         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5518         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5519         bzero for PPC32.
5520         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5521         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5522         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5523         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5524         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5525         memset for PPC64.
5526         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5528 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5530         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5532         implementations.
5533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5534         (__libc_ifunc_impl_list): Likewise.
5535         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5536         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5537         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5538         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5539         memcmp for PPC64.
5541 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5544         multiarch for POWER/PPC64.
5545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5546         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5547         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5548         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5549         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5550         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5551         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5552         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5553         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5554         memcpy for PPC64.
5556 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5558         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5559         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5560         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5561         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5562         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5563         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5564         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5565         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5566         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5567         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5568         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5569         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5570         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5571         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5572         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5581 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5583         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5585 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5587         * benchtests/Makefile (bench): Add exp2 and log2.
5588         (LDLIBS-bench-exp2): Add -lm.
5589         (LDLIBS-bench-log2): Likewise.
5590         * benchtests/exp2-inputs: New inputs file.
5591         * benchtests/log2-inputs: New inputs file.
5592         * benchtests/log-inputs: Add new inputs.
5593         * benchtests/tan-inputs: Likewise.
5595 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5597         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5598         definition...
5599         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5600         csloww1, csloww2): ... from here.
5602         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5603         instead of structures.
5604         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5605         (POLYNOMIAL): Likewise.
5606         (TAYLOR_SLOW): Likewise.
5607         (__sin): Likewise.
5608         (__cos): Likewise.
5609         (slow1): Likewise.
5610         (slow2): Likewise.
5611         (sloww): Likewise.
5612         (sloww1); Likewise.
5613         (sloww2): Likewise.
5614         (bsloww1): Likewise.
5615         (bsloww2): Likewise.
5616         (cslow2): Likewise.
5617         (csloww): Likewise.
5618         (csloww1): Likewise.
5619         (csloww2): Likewise.
5621 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5623         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5624         (__malloc_assert, __libc_realloc, __libc_calloc,
5625         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5626         memcpy and memset.
5627         * malloc/hooks.c (realloc_check): Likewise.
5629 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5631         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5632         * malloc/arena.c: Remove PER_THREAD conditional.
5633         [!PER_THREAD]: Remove code.
5634         (ptmalloc_unlock_all2): Likewise.
5635         (ptmalloc_init): Likewise.
5636         (_int_new_arena): Likewise.
5637         (arena_get2): Likewise.
5638         * malloc/hooks.c (__malloc_get_state): Likewise.
5639         (__malloc_set_state): Likewise.
5640         * malloc/malloc.c: Likewise.
5641         (struct malloc_state): Likewise.
5642         (struct malloc_par): Likewise.
5643         (__libc_realloc): Likewise.
5644         (__libc_mallopt): Likewise.
5646 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5648         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5650 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5652         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5653         macro to a function.  Check for zero perturb_byte.
5654         (_int_malloc, _int_free): Remove zero perturb_byte checks.
5656 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5658         * malloc/malloc.c: (force_reg): Remove.
5659         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5660         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5661         force_reg by atomic_forced_read.
5662         * malloc/arena.c (ptmalloc_init): Likewise.
5663         * malloc/hooks.c (top_check): Likewise.
5665 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5669 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
5671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5673 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
5675         * math/auto-libm-test-in: Add tests of lgamma.
5676         * math/auto-libm-test-out: Regenerated.
5677         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5678         (M_LOG_2_SQRT_PIl): Likewise.
5679         (lgamma_test_data): Use AUTO_TESTS_f_f1.
5680         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5681         mpfr_f_f1.
5682         (func_calc_desc): Add mpfr_f_f1 union field.
5683         (ARGS1): New macro.
5684         (ARGS2): Likewise.
5685         (ARGS3): Likewise.
5686         (ARGS4): Likewise.
5687         (RET1): Likewise.
5688         (RET2): Likewise.
5689         (CALC): Likewise.
5690         (FUNC): Likewise.
5691         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5692         (test_functions): Add lgamma.
5693         (calc_generic_results): Handle mpfr_f_f1.
5694         * sysdeps/i386/fpu/libm-test-ulps: Update.
5695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5697 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5699         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5700         __mpn_add_n for PowerPC64/POWER7.
5701         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5702         __mpn_sub_n for PowerPC64/POWER7.
5704 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5706         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5707         __mpn_addmul_1 for PowerPC64.
5708         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5709         __mpn_submul_1 for PowerPC64.
5710         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5711         for PowerPC64.
5712         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5713         for PowerPC64.
5715 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
5717         [BZ #15089]
5718         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5720 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5722         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5724 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5726         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5727         add multiarch folders.
5728         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5729         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5730         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5731         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5732         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5733         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5734         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5735         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5736         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5737         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5738         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5746 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5749         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5751         New file.
5752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5753         New file.
5754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5755         multiarch __ieee754_hypot for PowerPC32.
5756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5757         New file.
5758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5759         New file.
5760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5761         multiarch __ieee754_hypotf for PowerPC32.
5763 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5765         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5766         long_double_symbol only if __logbl is defined.
5767         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5768         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5769         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5770         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5771         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5772         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5773         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5774         path for implementation.
5775         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5776         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5778         logb, and logbl multiarch implementations for PowerPC32.
5779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5780         file.
5781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5782         file.
5783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5784         multiarch logb for PowerPC32.
5785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5786         file.
5787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5788         file.
5789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5790         multiarch logbf for PowerPC32.
5791         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5793         file.
5794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5795         multiarch logbl implementation for PowerPC32.
5797 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5800         and modff multiarch implementations.
5801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5802         New file.
5803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5804         New file.
5805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5806         multiarch modf for PowerPC32.
5807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5808         New file.
5809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5810         New file.
5811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5812         multiarch modff for PowerPC32.
5814 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5817         and lrintf multiarch implementations.
5818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5819         New file.
5820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5821         New file.
5822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5823         multiarch lrint for PowerPC32.
5824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5825         file: multiarch lrintf for PowerPC32.
5827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5830         and lroundf multiarch implementations.
5831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5832         New file.
5833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5834         New file.
5835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5836         New file.
5837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5838         multiarch lround for PowerPC32.
5839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5840         file: multiarch lroundf for PowerPC32.
5842 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5845         copysign and copysignf multiarch implementations.
5846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5847         New file.
5848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5849         New file.
5850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5851         file: multiarch copysign for PowerPC32.
5852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5853         file: multiarch copysignf for PowerPC32.
5855 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5858         and truncf multiarch implementations.
5859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5860         New file.
5861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5862         file.
5863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5864         multiarch trunc for PowerPC32.
5865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5866         New file.
5867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5868         New file.
5869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5870         multiarch truncf for PowerPC32.
5872 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5875         and roundf multiarch implementations.
5876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5877         New file.
5878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5879         file.
5880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5881         multiarch round for PowerPC32.
5882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5883         New file.
5884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5885         New file.
5886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5887         multiarch roundf for PowerPC32.
5889 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5892         and floorf multiarch implementations.
5893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5894         New file.
5895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5896         file.
5897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5898         multiarch floor for PowerPC32.
5899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5900         New file.
5901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5902         New file.
5903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5904         multiarch floorf for PowerPC32.
5906 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5909         and ceilf multiarch implementations.
5910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5911         New file.
5912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5913         file.
5914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5915         multiarch ceil for PowerPC32.
5916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5917         New file.
5918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5919         file.
5920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5921         multiarch ceilf for PowerPC32.
5923 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5925         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5926         is defined.
5927         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5928         FINITEF is defined.
5929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5930         and finitef multiarch implementations.
5931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5932         New file.
5933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5934         file.
5935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5936         multiarch finite for PowerPC32.
5937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5938         New file.
5939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5940         file: multiarch finitef for PowerPC32.
5942 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5945         and isinff multiarch implementations.
5946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5947         file.
5948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5949         file.
5950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5951         multiarch isinf for PowerPC32.
5952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5953         New file.
5954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5955         multiarch isinff for PowerPC32.
5957 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5959         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5960         alias when __isnan is defined.
5961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5962         and isnanf multiarch implementations.
5963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5964         file.
5965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5966         file.
5967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5968         file.
5969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5970         file.
5971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5972         multiarch isnan for PowerPC32.
5973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5974         New file.
5975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5976         New file.
5977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5978         multiarch isnanf for PowerPC32.
5980 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5983         and sqrtf multiarch implementations.
5984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5985         file.
5986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5987         file.
5988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5989         multiarch sqrt for PowerPC32.
5990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5991         file.
5992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5993         file.
5994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5995         multiarch sqrtf for PowerPC32.
5997 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6000         and llroundf multiarch implementations.
6001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6002         New file.
6003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6004         New file.
6005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6006         New file.
6007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6008         file: multiarch llround for PowerPC32.
6009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6010         file: multiarch llroundf for PowerPC32.
6012 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6015         multiarch PowerPC32 fpu implementations.
6016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6017         New file.
6018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6019         New file.
6020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6021         multiarch llrint for PowerPC32.
6022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6023         New file.
6024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6025         New file.
6026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6027         file.
6029 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6033 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6035         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6036         file.
6037         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6038         file.
6039         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6040         file.
6041         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6042         multiarch wordcopy for PPC32.
6043         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6044         wordcopy objects.
6045         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6046         (__libc_ifunc_impl_list): Likewise.
6047         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6048         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6049         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6050         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6051         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6052         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6054 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6056         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6058         file.
6059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6060         file.
6061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6062         file.
6063         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6064         multiarch wcscpy for PPC32.
6065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6066         multiarch objects.
6067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6068         (__libc_ifunc_impl_list): Likewise.
6069         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6070         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6071         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6072         sysdeps/powerpc/power6/wcscpy.c.
6074 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6076         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6077         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6078         file.
6079         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6080         file.
6081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6082         file.
6083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6084         multiarch wcsrchr for PPC32.
6085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6086         multiarch objects.
6087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6088         (__libc_ifunc_impl_list): Likewise.
6089         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6090         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6091         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6092         sysdeps/powerpc/power6/wcsrchr.c.
6094 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6096         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6097         file.
6098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6099         file.
6100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6102         multiarch wcschr for PPc32.
6103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6104         multiarch objects.
6105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6106         (__libc_ifunc_impl_list): Likewise.
6107         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6108         * sysdeps/powerpc/power6/wcschr.c: ... to here.
6109         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6110         sysdeps/powerpc/power6/wcschr.c.
6112 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6114         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6115         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6116         file.
6117         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6118         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6119         file: multiarch strchr for PPC32.
6120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6121         multiarch objects.
6122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6123         (__libc_ifunc_impl_list): Likewise.
6125 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6127         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6128         name.
6129         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6130         file.
6131         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6132         file.
6133         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6134         multiarch strchrnul for PPC32.
6135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6136         multiarch objects.
6137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6138         (__libc_ifunc_impl_list): Likewise.
6140 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6143         file.
6144         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6145         multiarch strncasecmp for PPC32.
6146         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6147         file.
6148         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6149         multiarch strncasecmp_l for PPC32.
6150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6151         strncasecmp multiarch objects.
6152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6153         (__libc_ifunc_impl_list): Likewise.
6155 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6157         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6158         file.
6159         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6160         multiarch strncasecmp for PPC32.
6161         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6162         New file.
6163         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6164         multiarch strcasecmp_l for PPC32.
6165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6166         multiarch objects.
6167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6168         (__libc_ifunc_impl_list): Likewise.
6170 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6172         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6173         file.
6174         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6175         file.
6176         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6177         multiarch strncmp for PPC32.
6178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6179         multiarch objects.
6180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6181         (__libc_ifunc_impl_list): Likewise.
6183 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6185         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6186         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6187         file.
6188         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6189         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6191         multiarch objects.
6192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6193         (__libc_ifunc_impl_list): Likewise.
6195 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6197         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6198         file.
6199         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6200         file.
6201         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6203         multiarch objects.
6204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6205         (__libc_ifunc_impl_list): Likewise.
6207 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6209         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6210         file.
6211         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6212         file.
6213         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6214         multiarch rawmemchr for PPC32.
6215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6216         multiarch objects.
6217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6218         (__libc_ifunc_impl_list): Likewise.
6220 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6222         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6223         file.
6224         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6225         file.
6226         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6227         file: memrchr multiarch for PPC32.
6228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6229         multiarch objects.
6230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6231         (__libc_ifunc_impl_list): Likewise.
6233 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6235         * string/memchr.c (__memchr): Using macro to redefine symbol name.
6236         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6237         file.
6238         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6239         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6240         multiarch memchr for PPC32.
6241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6242         multiarch objects.
6243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6244         (__libc_ifunc_impl_list): Likewise.
6246 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6248         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6249         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6250         file.
6251         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6252         file.
6253         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6254         file: multiarch mempcpy for PPC32.
6255         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6256         multiarch objects.
6257         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6258         (__libc_ifunc_impl_list): Likewise.
6260 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6262         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6263         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6264         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6265         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6266         multiarch bzero for PPC32.
6267         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6268         file.
6269         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6270         file.
6271         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6272         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6273         file: multiarch memset for PPC32.
6274         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6275         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6276         memset multiarch objects.
6277         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6278         (__libc_ifunc_impl_list): Likewise.
6280 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6282         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6283         file.
6284         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6286         memcmp for PPC32.
6287         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6288         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6289         multiarch objects.
6290         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6291         (__libc_ifunc_impl_list): Likewise.
6293 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6298         file.
6299         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6300         file.
6301         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6302         file.
6303         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6304         multiarch memcpy for PPC32.
6305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6306         multiarch objects.
6307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6308         (__libc_ifunc_impl_list): Likewise.
6310 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6312         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6313         support multiarch for POWER/PPC32.
6314         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6315         Likewise.
6316         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6318         Implies file to make multiarch folder appers before the fpu and
6319         default folder for power4 configuration.
6321 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6323         * scripts/bench.pl: Append volatile keyword to type.
6325 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6327         * sysdeps/sh/sotruss-lib.c: New file.
6328         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6330 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6334 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
6336         [BZ #6810]
6337         * math/w_tgamma.c: Include <errno.h>.
6338         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
6339         * math/w_tgammaf.c: Include <errno.h>.
6340         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
6341         * math/w_tgammal.c: Include <errno.h>.
6342         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
6343         * math/auto-libm-test-in: Do not allow missing errno on tgamma
6344         underflow.  Add more tgamma tests.
6345         * math/auto-libm-test-out: Regenerated.
6346         * sysdeps/i386/fpu/libm-test-ulps: Update.
6347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6349         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6350         sin, sinh, tan, tanh, tgamma, y0 and y1.
6351         * math/auto-libm-test-out: Regenerated.
6352         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6353         (TEST_COND_x86): Likewise.
6354         (M_E2l): Remove macro.
6355         (M_E3l): Likewise.
6356         (M_2_SQRT_PIl): Likewise.
6357         (M_SQRT_PIl): Likewise.
6358         (M_1_DIV_El): Likewise.
6359         (log_test_data): Use AUTO_TESTS_f_f.
6360         (log10_test_data): Likewise.
6361         (log1p_test_data): Likewise.
6362         (log2_test_data): Likewise.
6363         (sin_test_data): Likewise.
6364         (sin_tonearest_test_data): Likewise.
6365         (sin_towardzero_test_data): Likewise.
6366         (sin_downward_test_data): Likewise.
6367         (sin_upward_test_data): Likewise.
6368         (sinh_test_data): Likewise.
6369         (sinh_tonearest_test_data): Likewise.
6370         (sinh_towardzero_test_data): Likewise.
6371         (sinh_downward_test_data): Likewise.
6372         (sinh_upward_test_data): Likewise.
6373         (tan_test_data): Likewise.
6374         (tan_tonearest_test_data): Likewise.
6375         (tan_towardzero_test_data): Likewise.
6376         (tan_downward_test_data): Likewise.
6377         (tan_upward_test_data): Likewise.
6378         (tanh_test_data): Likewise.
6379         (tgamma_test_data): Likewise.
6380         (y0_test_data): Likewise.
6381         (y1_test_data): Likewise.
6382         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6383         (special_real_inputs): Add pi/4.
6384         * sysdeps/i386/fpu/libm-test-ulps: Update.
6385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6387 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6389         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6390         "longjmp_target" static probes.
6391         (__longjmp): Rename to __longjmp_symbol.
6392         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6393         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6394         on which longjmp to generate.
6395         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6396         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6397         probe.
6398         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6399         (__sigjmp_save): Rename to __sigjmp_save_symbol.
6400         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6401         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6402         and __sigjmp_save_symbol based on which sigsetjmp to generated.
6403         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6405         __longjmp_symbol based on which __longjmp to generate.
6406         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6407         probe.
6408         (setjmp): Rename to setjmp_symbol.
6409         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6410         (_setjmp): Rename to _setjmp_symbol.
6411         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6412         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6413         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6414         which setjmp to generate.
6415         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6416         "longjmp_target" static probes.
6418 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6420         * benchtests/README: Add note about output arguments.
6421         * benchtests/bench-sincos.c: Remove file.
6422         * benchtests/sincos-inputs: New file.
6423         * scripts/bench.pl: Identify output arguments and define
6424         static variables for them.
6426         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6428         [BZ #15941]
6429         * Makefile (INSTALL): Add install-plain.texi as the primary
6430         dependency.
6431         * manual/install-plain.texi: New file.
6432         * manual/install.texi: Include node directive only for
6433         non-plaintext output.
6435 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
6437         * stdlib/longlong.h: Update from GCC.
6439         [BZ #6807]
6440         [BZ #15901]
6441         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6442         * math/w_j0f.c (y0f): Likewise.
6443         * math/w_j0l.c (__y0l): Likewise.
6444         * math/w_j1.c (y1): Likewise.
6445         * math/w_j1f.c (y1f): Likewise.
6446         * math/w_j1l.c (__y1l): Likewise
6447         * math/w_jn.c (yn): Likewise.
6448         * math/w_jnf.c (ynf): Likewise.
6449         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6450         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
6451         value for Bessel function domain errors outside _SVID_ mode.
6452         Adjust sign of return value for yn (negative integer, 0).
6453         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6454         by zero in return for negative x and set sign appropriately for
6455         negative n.
6456         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6457         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6458         * math/libm-test.inc (y0_test_data): Add more tests and adjust
6459         expectations in error cases.
6460         (y1_test_data): Likewise.
6461         (yn_test_data): Likewise.
6462         * sysdeps/i386/fpu/libm-test-ulps: Update.
6463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6465 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6467         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6468         "64" to "64-v1".  Add "64-v2".
6469         (abi-64-options): Rename to ...
6470         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
6471         (abi-64-condition): Rename to ...
6472         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
6473         (abi-64-ld-soname): Rename to ...
6474         (abi-64-v1-ld-soname): ... this.
6475         (abi-64-v2-options): Define.
6476         (abi-64-v2-condition): Likewise.
6477         (abi-64-v2-ld-soname): Likewise.
6478         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6479         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6484 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6485             Alan Modra  <amodra@gmail.com>
6487         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6488         New versions for use with the ELFv2 ABI.
6489         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6490         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6491         declaration.
6492         (struct La_ppc64v2_retval): Likewise.
6493         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6494         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6495         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6496         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6497         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6498         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6499         Do not save or restore CR.
6500         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6501         (_dl_profile_resolve): Do no save or restore CR.  Support extended
6502         return values for ELFv2 ABI.  Fix location of FPR return registers.
6503         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6504         updated values for _CALL_ELF == 2.
6505         (La_regs, La_retval, int_retval): Likewise.
6507 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6509         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6510         (FRAME_MIN_SIZE_PARM): Likewise.
6511         (FRAME_BACKCHAIN): Likewise.
6512         (FRAME_CR_SAVE): Likewise.
6513         (FRAME_LR_SAVE): Likewise.
6514         (FRAME_TOC_SAVE): Likewise.
6515         (FRAME_PARM_SAVE): Likewise.
6516         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6517         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6518         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6519         (call_mcount_parm_offset): New macro.
6520         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6521         (PROF): Use symbolic stack frame offsets.
6522         (TAIL_CALL_SYSCALL_ERROR): Likewise.
6523         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6524         Redefine in terms of FRAME_MIN_SIZE.
6525         (_dl_runtime_resolve): Use symbolic stack frame offsets.
6526         (_dl_profile_resolve): Likewise.  Update comment.
6527         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6528         symbols stack frame offsets.
6529         (__sigsetjmp): Likewise.
6530         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6531         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6532         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6533         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6536         (FRAME_BACKCHAIN): Remove.
6537         (FRAME_CR_SAVE): Likewise.
6538         (FRAME_LR_SAVE): Likewise.
6539         (FRAME_COMPILER_DW): Likewise.
6540         (FRAME_LINKER_DW): Likewise.
6541         (FRAME_TOC_SAVE): Likewise.
6542         (FRAME_PARM_SAVE): Likewise.
6543         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6544         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6545         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6547         (CHECK_SP): Use symbolic stack frame offsets.
6548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6549         zone" instead of caller's parameter save area for temp storage.
6550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6551         Likewise.  Also, use symbolic stack frame offsets.
6552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6553         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6554         our own stack frame instead of the caller's.
6555         (__socket): Use symbolic stack frame offsets.
6557 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6558             Alan Modra  <amodra@gmail.com>
6560         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6561         Define.
6562         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6563         PPC64_LOCAL_ENTRY_OFFSET): Define.
6564         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6565         New function.
6566         (elf_machine_fixup_plt): Call it.
6567         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
6568         reloc arguments.
6569         (elf_machine_rela): Update call to elf_machine_plt_conflict.
6570         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6571         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6572         r2 before calling target.
6574 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6575             Alan Modra  <amodra@gmail.com>
6577         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6578         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6579         versions of macros to support ELFv2 ABI.
6580         (LOCALENTRY): New macro.
6581         (ENTRY, EALIGN): Use it.
6582         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6583         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6584         fall through into ENTRY entry point.
6585         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6586         Only define if _CALL_ELF != 2.
6588         (elf_machine_matches_host): Verify ABI version matches.
6589         (RTLD_START): Use LOCALENTRY.
6590         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6591         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6592         (PLT_ENTRY_WORDS): New macro.
6593         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6594         (elf_machine_runtime_setup): Support ELFv2 ABI.
6595         (elf_machine_fixup_plt): Likewise.
6596         (elf_machine_plt_conflict): Likewise.
6597         (resolve_ifunc): Likewise.
6598         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6599         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6600         Likewise.
6601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6602         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6604         (makecontext): Support ELFv2 ABI.
6605         * elf/elf.h (EF_PPC64_ABI): Define.
6607 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6609         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6610         New assembler macro.
6611         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6612         [ASSEMBLER] (ENTRY): ... but instead here ...
6613         [ASSEMBLER] (EALIGN): ... and here.
6614         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6615         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6616         [!ASSEMBLER] (ENTRY_2): Use it.
6617         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6618         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
6619         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6620         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6621         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6623         Use PPC64_LOAD_FUNCPTR.
6625 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6627         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6629 2013-12-04  Alan Modra  <amodra@gmail.com>
6631         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6632         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6633         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6634         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6636         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6637         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6638         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6639         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6640         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6641         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6643 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6646         (__makecontext): Fix incorrect CFI when backtracing out of
6647         context created via makecontext.
6648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6649         (__setcontext): Fix incorrect CFI during switch to new context.
6650         (__novec_setcontext): Likewise.
6652 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6654         [BZ #4772]
6655         * time/strptime_l.c (__strptime_internal): Allow modifiers
6656         in strptime.
6657         * time/tst-strptime.c (day_tests): Add testcase.
6660 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6662         * scripts/bench.pl: Skip over blank lines.
6664 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6666         [BZ #926]
6667         * manual/time.texi (Calendar Time): Clarify what timezone functions
6668         use.
6670 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6674 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6676         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6677         implementation.
6678         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6679         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6680         * debug/memset_chk.c (__memset_chk): Likewise.
6681         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6682         * debug/strncpy_chk.c: Likewise.
6684 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6686         [BZ #15268]
6687         [BZ #15425]
6688         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6689         (__ieee754_exp): For possibly underflowing results, check size of
6690         result and force underflow exception if required.
6691         * math/auto-libm-test-in: Add more tests of exp.
6692         * math/auto-libm-test-out: Regenerated.
6693         * sysdeps/i386/fpu/libm-test-ulps: Update.
6694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6696         [BZ #16283]
6697         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6698         * math/w_exp2f.c (__exp2f): Likewise.
6699         * math/w_exp2l.c (__exp2l): Likewise.
6700         * math/auto-libm-test-in: Do not allow missing errno on exp2
6701         underflow.
6702         * math/auto-libm-test-out: Regenerated.
6704 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
6706         [BZ #16274]
6707         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6708         handle filename validation.
6709         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6710         (do_open): Delete.
6712 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6714         [BZ #6786]
6715         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6716         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6717         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6718         <float.h>.
6719         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6720         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6721         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6722         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6723         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6724         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6725         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6726         * math/auto-libm-test-in: Don't allow missing errno from erfc.
6727         Add more erfc tests.
6728         * math/auto-libm-test-out: Regenerated.
6729         * sysdeps/i386/fpu/libm-test-ulps: Update.
6730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6732         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6733         exp2, expm1, j0 and j1.
6734         * math/auto-libm-test-out: Regenerated.
6735         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6736         (erfc_test_data): Likewise.
6737         (exp_test_data): Likewise.
6738         (exp_tonearest_test_data): Likewise.
6739         (exp_towardzero_test_data): Likewise.
6740         (exp_downward_test_data): Likewise.
6741         (exp_upward_test_data): Likewise.
6742         (exp10_test_data): Likewise.
6743         (exp2_test_data): Likewise.
6744         (expm1_test_data): Likewise.
6745         (j0_test_data): Likewise.
6746         (j1_test_data): Likewise.
6747         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6748         (input_flag_type): Add flag_xfail_rounding.
6749         (input_flags): Add xfail-rounding.
6750         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6751         (output_for_one_input_case): Handle flag_xfail_rounding.
6752         * sysdeps/i386/fpu/libm-test-ulps: Update.
6753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6755 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
6757         [BZ #16289]
6758         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6759         division by 0.
6761 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6763         [BZ #16195]
6764         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6765         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6766         (STAP_PROBE0): New macro.
6767         (STAP_PROBE1): Likewise.
6768         (STAP_PROBE2): Likewise.
6769         (STAP_PROBE3): Likewise.
6770         (STAP_PROBE4): Likewise.
6772 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
6774         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6776 2013-12-02  Steve Ellcey  <sellcey@mips.com>
6778         * benchtests/Makefile (bench): Add sqrt.
6779         (LDLIBS-bench-sqrt): New.
6780         * benchtests/sqrt-input: New.
6782 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
6784         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6785         (GAIH_EAI): Likewise.
6786         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6787         (gaih_inet): Likewise.
6788         (getaddrinfo): Don't use GAIH_EAI.
6790         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6791         (struct gaih): Remove definition.
6793 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6795         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6796         Use HERRNOP directly.
6798 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6802 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
6804         * math/gen-auto-libm-tests.c (test_functions): Add more
6805         single-argument functions.
6806         (special_fill_pi_2): New function.
6807         (special_fill_minus_pi_2): Likewise.
6808         (special_fill_pi_6): Likewise.
6809         (special_fill_minus_pi_6): Likewise.
6810         (special_fill_pi_3): Likewise.
6811         (special_fill_2pi_3): Likewise.
6812         (special_fill_e): Likewise.
6813         (special_fill_1_e): Likewise.
6814         (special_fill_e_minus_1): Likewise.
6815         (special_real_inputs): Add more special inputs.
6816         (output_for_one_input_case): Do not require ERANGE on underflow to
6817         zero if round-to-nearest result does not underflow to zero, unless
6818         exact results required.
6819         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6820         atan, atanh, cbrt, cos and cosh.
6821         * math/auto-libm-test-out: Regenerated.
6822         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6823         (acos_tonearest_test_data): Likewise.
6824         (acos_towardzero_test_data): Likewise.
6825         (acos_downward_test_data): Likewise.
6826         (acos_upward_test_data): Likewise.
6827         (acosh_test_data): Likewise.
6828         (asin_test_data): Likewise.
6829         (asin_tonearest_test_data): Likewise.
6830         (asin_towardzero_test_data): Likewise.
6831         (asin_upward_test_data): Likewise.
6832         (asinh_test_data): Likewise.
6833         (atan_test_data): Likewise.
6834         (atanh_test_data): Likewise.
6835         (cbrt_test_data): Likewise.
6836         (cos_test_data): Likewise.
6837         (cos_tonearest_test_data): Likewise.
6838         (cos_towardzero_test_data): Likewise.
6839         (cos_downward_test_data): Likewise.
6840         (cos_upward_test_data): Likewise.
6841         (cosh_test_data): Likewise.
6842         (cosh_tonearest_test_data): Likewise.
6843         (cosh_towardzero_test_data): Likewise.
6844         (cosh_downward_test_data): Likewise.
6845         (cosh_upward_test_data): Likewise.
6846         * sysdeps/i386/fpu/libm-test-ulps: Update.
6847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6849 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
6851         [BZ #6787]
6852         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6853         * math/w_exp10f.c (__exp10f): Likewise.
6854         * math/w_exp10l.c (__exp10l): Likewise.
6855         * math/libm-test.inc (exp10_test_data): Add more tests and expect
6856         errno settings in existing tests.
6858         [BZ #14032]
6859         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6860         precision control set to double precision.
6861         * sysdeps/i386/fpu/w_sqrt.c: New file.
6862         * math/auto-libm-test-in: Add more tests.
6863         * math/auto-libm-test-out: Update.
6865         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6866         (sqrt_test_tonearest): New function.
6867         (sqrt_towardzero_test_data): New variable.
6868         (sqrt_test_towardzero): New function.
6869         (sqrt_downward_test_data): New variable.
6870         (sqrt_test_downward): New function.
6871         (sqrt_upward_test_data): New variable.
6872         (sqrt_test_upward): New function.
6873         (main): Call the new functions.
6875         * math/gen-auto-libm-tests.c: New file.
6876         * math/auto-libm-test-in: Likewise.
6877         * math/auto-libm-test-out: New generated file.
6878         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6879         variables.
6880         (%beautify): Add generated representations of zero.
6881         (top level): Set $auto_input and call parse_auto_input.
6882         (beautify): Remove trailing "f" from hex float constants.
6883         (parse_args): Handle XFAIL_TEST.
6884         (convert_condition): New function.
6885         (or_value): Likewise.
6886         (or_cond_value): Likewise.
6887         (generate_testfile): Handle AUTO_TESTS_* lines.
6888         (parse_auto_input): New function.
6889         * math/libm-test.inc (XFAIL_TEST): New macro.
6890         (ERRNO_UNCHANGED): Update value.
6891         (ERRNO_EDOM): Likewise.
6892         (ERRNO_ERANGE): Likewise.
6893         (IGNORE_RESULT): Likewise.
6894         (TEST_COND_flt_32): New macro.
6895         (TEST_COND_dbl_64): Likewise.
6896         (TEST_COND_ldbl_96_intel): Likewise.
6897         (TEST_COND_ldbl_96_m68k): Likewise.
6898         (TEST_COND_ldbl_128): Likewise.
6899         (TEST_COND_ldbl_128ibm): Likewise.
6900         (TEST_COND_long32): Likewise.
6901         (TEST_COND_long64): Likewise.
6902         (TEST_COND_before_rounding): Likewise.
6903         (TEST_COND_after_rounding): Likewise.
6904         (enable_test): Handle XFAIL_TEST flag.
6905         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6906         with finite results.
6907         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6908         auto-libm-test-out.
6910 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6911             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6913         [BZ #16214]
6914         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6915         __tls_get_addr_internal instead of __tls_get_offset in order to
6916         avoid GOT pointer dependency.  Make rtld export
6917         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6918         __tls_get_addr since we are a __tls_get_offset platform.
6919         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6920         GOT pointer being set up before.
6921         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6923 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
6925         * manual/math.texi (Errors in Math Functions): Document accuracy
6926         goals.
6928         [BZ #15004]
6929         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6930         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6931         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6932         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6933         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6934         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6935         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6936         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6937         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6938         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6939         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6940         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6941         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6942         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6943         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6944         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6946         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6947         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6948         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6949         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6950         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6951         Likewise.
6952         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6953         Likewise.
6954         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6955         Likewise.
6956         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6957         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6958         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6959         atomic-feupdateenv and flt-rounds.
6960         * sysdeps/powerpc/nofpu/Versions (libc): Add
6961         __atomic_feholdexcept, __atomic_feclearexcept,
6962         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6963         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6964         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6965         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6966         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6967         here.
6968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6969         Update.
6971         * manual/arith.texi (FP Exceptions): Document that exceptions may
6972         not be raised when matherr is used.
6973         (Math Error Reporting): Document overflow in directed rounding
6974         modes.  Document that errno may not be set when finite values are
6975         returned on overflow.  Document intent to set errno on underflow
6976         only for underflow to zero.
6978         [BZ #16271]
6979         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6980         round-to-nearest then adjust result for other rounding modes.
6981         * include/fenv.h (fegetround): Use libm_hidden_proto.
6982         * math/fegetround.c (fegetround): Use libm_hidden_def.
6983         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6984         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6985         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6986         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6987         Likewise.
6988         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6989         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6990         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6991         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6993 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6995         [BZ #16077]
6996         * nss/Versions (libnss_files): Add
6997         _nss_files_gethostbyname3_r.
6998         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6999         New function.
7000         (HOST_DB_LOOKUP): Remove macro.
7001         (_nss_files_gethostbyname_r): Implement function without the
7002         HOST_DB_LOOKUP macro.
7003         (_nss_files_gethostbyname2_r): Likewise.
7005 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
7007         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7009 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
7011         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7012         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7013         warning.
7015 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7017         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7018         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7019         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7020         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7021         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7022         __fe_nomask_env_priv and attribute_hidden.
7023         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7024         (libc_feupdateenv_test_ppc): Likewise.
7025         (libc_feresetround_ppc): Likewise.
7026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7027         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7028         compat_symbol macro.
7029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7030         (__fe_nomask_env): Likewise.
7031         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7033 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7035         * string/Makefile: Remove ifunc tests.
7036         * string/test-string.h: Define TEST_IFUNC.
7037         * string/test-bcopy-ifunc.c: Remove.
7038         * string/test-bzero-ifunc.c: Likewise.
7039         * string/test-memccpy-ifunc.c: Likewise.
7040         * string/test-memchr-ifunc.c: Likewise.
7041         * string/test-memcmp-ifunc.c: Likewise.
7042         * string/test-memcpy-ifunc.c: Likewise.
7043         * string/test-memmem-ifunc.c: Likewise.
7044         * string/test-memmove-ifunc.c: Likewise.
7045         * string/test-mempcpy-ifunc.c: Likewise.
7046         * string/test-memrchr-ifunc.c: Likewise.
7047         * string/test-memset-ifunc.c: Likewise.
7048         * string/test-rawmemchr-ifunc.c: Likewise.
7049         * string/test-stpcpy-ifunc.c: Likewise.
7050         * string/test-stpncpy-ifunc.c: Likewise.
7051         * string/test-strcasecmp-ifunc.c: Likewise.
7052         * string/test-strcasestr-ifunc.c: Likewise.
7053         * string/test-strcat-ifunc.c: Likewise.
7054         * string/test-strchr-ifunc.c: Likewise.
7055         * string/test-strchrnul-ifunc.c: Likewise.
7056         * string/test-strcmp-ifunc.c: Likewise.
7057         * string/test-strcpy-ifunc.c: Likewise.
7058         * string/test-strcspn-ifunc.c: Likewise.
7059         * string/test-strlen-ifunc.c: Likewise.
7060         * string/test-strncasecmp-ifunc.c: Likewise.
7061         * string/test-strncat-ifunc.c: Likewise.
7062         * string/test-strncmp-ifunc.c: Likewise.
7063         * string/test-strncpy-ifunc.c: Likewise.
7064         * string/test-strnlen-ifunc.c: Likewise.
7065         * string/test-strpbrk-ifunc.c: Likewise.
7066         * string/test-strrchr-ifunc.c: Likewise.
7067         * string/test-strspn-ifunc.c: Likewise.
7068         * string/test-strstr-ifunc.c: Likewise.
7070 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7072         * benchtests/Makefile: Remove ifunc tests.
7073         * benchtests/bench-string.h: Define TEST_IFUNC.
7074         * benchtests/bench-bcopy-ifunc.c: Remove.
7075         * benchtests/bench-bzero-ifunc.c: Likewise.
7076         * benchtests/bench-memccpy-ifunc.c: Likewise.
7077         * benchtests/bench-memchr-ifunc.c: Likewise.
7078         * benchtests/bench-memcmp-ifunc.c: Likewise.
7079         * benchtests/bench-memcpy-ifunc.c: Likewise.
7080         * benchtests/bench-memmem-ifunc.c: Likewise.
7081         * benchtests/bench-memmove-ifunc.c: Likewise.
7082         * benchtests/bench-mempcpy-ifunc.c: Likewise.
7083         * benchtests/bench-memrchr-ifunc.c: Likewise.
7084         * benchtests/bench-memset-ifunc.c: Likewise.
7085         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7086         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7087         * benchtests/bench-stpcpy-ifunc.c: Likewise.
7088         * benchtests/bench-stpncpy-ifunc.c: Likewise.
7089         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7090         * benchtests/bench-strcasestr-ifunc.c: Likewise.
7091         * benchtests/bench-strcat-ifunc.c: Likewise.
7092         * benchtests/bench-strchr-ifunc.c: Likewise.
7093         * benchtests/bench-strchrnul-ifunc.c: Likewise.
7094         * benchtests/bench-strcmp-ifunc.c: Likewise.
7095         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7096         * benchtests/bench-strcpy-ifunc.c: Likewise.
7097         * benchtests/bench-strcspn-ifunc.c: Likewise.
7098         * benchtests/bench-strlen-ifunc.c: Likewise.
7099         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7100         * benchtests/bench-strncat-ifunc.c: Likewise.
7101         * benchtests/bench-strncmp-ifunc.c: Likewise.
7102         * benchtests/bench-strncpy-ifunc.c: Likewise.
7103         * benchtests/bench-strnlen-ifunc.c: Likewise.
7104         * benchtests/bench-strpbrk-ifunc.c: Likewise.
7105         * benchtests/bench-strrchr-ifunc.c: Likewise.
7106         * benchtests/bench-strsep-ifunc.c: Likewise.
7107         * benchtests/bench-strspn-ifunc.c: Likewise.
7108         * benchtests/bench-strstr-ifunc.c: Likewise.
7110 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7112         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7114 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7116         * resolv/netdb.h: Use __glibc_reserved instead __unused.
7117         * rt/aio.h: Likewise.
7118         * sysdeps/gnu/bits/utmp.h: Likewise.
7119         * sysdeps/gnu/bits/utmpx.h: Likewise.
7120         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7121         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7122         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7123         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7124         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7125         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7126         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7127         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7128         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7129         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7130         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7131         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7132         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7134         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7135         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7136         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7137         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7138         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7139         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7140         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7141         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7142         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7143         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7144         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7146         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7147         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7148         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7149         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7150         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7151         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7152         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7153         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7154         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7155         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7156         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7157         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7158         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7159         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7160         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7161         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7163 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
7165         [BZ #16245]
7166         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7167         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7169 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
7171         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7172         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7173         Likewise.
7175 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7177         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7178         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7179         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7180         (__fesetround): Remove define.
7181         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7182         rounding and exceptions handling.
7183         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7184         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7185         (__fe_nomask_env): Likewise.
7186         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7187         __fegetround instead of fegetround.
7188         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7189         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7191 2013-11-21  Roland McGrath  <roland@hack.frob.com>
7193         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7194         it's there.
7196         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7198 2013-11-21  Meador Inge  <meadori@codesourcery.com>
7200         [BZ #11157]
7201         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7202         (encrypt_r): Likewise.
7203         * malloc/obstack.h (obstack_free): Likewise.
7204         * posix/unistd.h (encrypt): Likewise.
7206 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7208         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7209         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7210         DL_CALL_DT_FINI() that call the functions directly.
7211         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7212         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7213         * elf/dl-fini.c: Likewise.
7215 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
7217         * malloc/hooks.c (memalign_check): Add alignment rounding.
7218         * malloc/malloc.c (_mid_memalign): New function.
7219         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7220         Implement by calling _mid_memalign.
7221         * manual/probes.texi (Memory Allocation Probes): Remove
7222         memory_valloc_retry and memory_pvalloc_retry.
7224 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7226         * locale/programs/locarchive.c (open_archive): Add const
7227         qualifier to ARCHIVEFNAME and copy default fname to
7228         DEFAULT_FNAME.
7230         [BZ #15601]
7231         * libio/tst-widetext.input: Rename Oriya to Odia.
7232         * locale/iso-639.def: Likewise.
7234         * manual/probes.texi (Mathematical Function Probes): Add
7235         documentation for sin, cos, asin and acos probes.
7236         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7237         (__sin32): Add slowasin probe.
7238         (__cos32): Add slowacos probe.
7239         (__mpsin): Add slowsin probe.
7240         (__mpcos): Add slowcos probe.
7242 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
7244         [BZ #15483]
7245         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7246         thread-local __sim_exceptions_thread and global
7247         __sim_exceptions_global.
7248         (__sim_disabled_exceptions): Change to thread-local
7249         __sim_disabled_exceptions_thread and global
7250         __sim_disabled_exceptions_global.
7251         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7252         and global __sim_round_mode_global.
7253         (__simulate_exceptions): Use thread-local floating-point state and
7254         set global state from it as needed.
7255         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7256         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7257         __sim_round_mode_thread.
7258         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7259         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7260         and global __sim_exceptions_global.
7261         (__sim_disabled_exceptions): Change to thread-local
7262         __sim_disabled_exceptions_thread and global
7263         __sim_disabled_exceptions_global.
7264         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7265         and global __sim_round_mode_global.
7266         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7267         (SIM_SET_GLOBAL): Likewise.
7268         * sysdeps/powerpc/soft-fp/sfp-machine.h
7269         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7270         __sim_round_mode_thread.
7271         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7272         __sim_disabled_exceptions_thread.
7273         (__sim_exceptions): Change to __sim_exceptions_thread.
7274         (__sim_disabled_exceptions): Change to
7275         __sim_disabled_exceptions_thread.
7276         (__sim_round_mode): Change to __sim_round_mode_thread.
7277         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7278         thread-local floating-point state and set global state from it as
7279         needed.
7280         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7281         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7282         (__sim_disabled_exceptions): Remove extern declaration.
7283         (feenableexcept): Use thread-local floating-point state and set
7284         global state from it as needed.
7285         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7286         extern declaration.
7287         (__sim_disabled_exceptions): Likewise.
7288         (__sim_round_mode): Likewise.
7289         (__fegetenv): Use thread-local floating-point state.
7290         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7291         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7292         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7293         floating-point state and set global state from it as needed.
7294         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7295         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7296         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7297         Likewise.
7298         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7299         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7300         Likewise.
7301         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7302         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7303         Use __sim_round_mode_thread.
7304         * math/test-fenv-tls.c: New file.
7305         * math/Makefile (tests): Add test-fenv-tls.
7306         ($(objpfx)test-fenv-tls): Depend on
7307         $(common-objpfx)nptl/libpthread.so.
7309 2013-11-19  Andreas Schwab  <schwab@suse.de>
7311         * locale/programs/locale.c (show_info): Decode wordarray elements.
7312         * locale/categories.def (LC_MONETARY): Add element for
7313         _NL_MONETARY_CRNCYSTR.
7314         * locale/C-monetary.c (conversion_rate): New variable.
7315         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7316         element.
7318 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
7320         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7321         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7323 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7325         * elf/Makefile (tst-auxv): New test.
7326         * elf/tst-auxv.c: New
7327         * elf/rtld.c (dl_main): Adjust AT_EXECFN
7329 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
7331         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7332         (hidden_proto): Caller changed.
7333         (hidden_tls_proto): New macro.
7334         (libc_hidden_tls_proto): Likewise.
7335         (rtld_hidden_tls_proto): Likewise.
7336         (libm_hidden_tls_proto): Likewise.
7337         (libresolv_hidden_tls_proto): Likewise.
7338         (librt_hidden_tls_proto): Likewise.
7339         (libdl_hidden_tls_proto): Likewise.
7340         (libnss_files_hidden_tls_proto): Likewise.
7341         (libnsl_hidden_tls_proto): Likewise.
7342         (libnss_nisplus_hidden_tls_proto): Likewise.
7343         (libutil_hidden_tls_proto): Likewise.
7345 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
7347         [BZ #10253]
7348         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7349         (decompose_rpath): Defer expansion to fillin_rpath.
7350         (_dl_init_paths): Pass linkmap to fillin_rpath.
7352 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7354         * benchtests/Makefile: Add strsep.
7355         * benchtests/bench-strsep.c: New file: strsep benchtest.
7356         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7358 2013-11-18  Andreas Schwab  <schwab@suse.de>
7360         * locale/programs/locale.c (show_info) [case byte]: Check for
7361         '\377' instead of '\177'.
7362         * locale/C-monetary.c (not_available): Always use "\377".
7363         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7364         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
7365         detect unavailable sign_posn locale elements.
7366         * locale/localeconv.c (__localeconv): For grouping and
7367         mon_grouping handle "\177" and "\377" like no grouping.
7368         (INT_ELEM): New macro.  Use it to set all numeric members.
7369         * locale/programs/ld-monetary.c (monetary_read)
7370         <tok_mon_grouping>: Normalize single -1 to the empty string.
7371         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7372         Likewise.
7374 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7376         [BZ #16055]
7377         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7378         when we match (nil).
7379         * stdio-common/tst-sscanf.c (struct test): Add testcase.
7381 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
7383         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7384         (NO_TEST_INLINE): Update value.
7385         (ERRNO_UNCHANGED): Likewise.
7386         (ERRNO_EDOM): Likewise.
7387         (ERRNO_ERANGE): Likewise.
7388         (IGNORE_RESULT): Likewise.
7389         (check_float_internal): Check signs of NaN results if
7390         TEST_NAN_SIGN used.
7391         (check_complex): Pass TEST_NAN_SIGN flag through to second
7392         check_float_internal call.
7393         (copysign_test_data): Add tests with quiet NaNs as second
7394         argument.  Use TEST_NAN_SIGN.
7395         (fabs_test_data): Add test of negative quiet NaN argument.  Use
7396         TEST_NAN_SIGN.
7397         (signbit_test_data): Add tests of quiet NaN argument.
7398         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7400         * math/gen-libm-test.pl (show_exceptions): Take extra argument
7401         $ignore_result.
7402         (parse_args): Handle function results specified as IGNORE.
7403         * math/libm-test.inc (IGNORE_RESULT): New macro.
7404         (check_float_internal): Do not check numerical result if flag
7405         IGNORE_RESULT set.
7406         (check_complex): Pass through IGNORE_RESULT to second
7407         check_float_internal call.
7408         (check_int): Do not check numerical result if flag IGNORE_RESULT
7409         set.
7410         (check_long): Likewise.
7411         (check_bool): Likewise.
7412         (check_longlong): Likewise.
7413         (lrint_test_data): Add tests of infinite and NaN arguments.
7414         (lrint_tonearest_test_data): Likewise.
7415         (lrint_towardzero_test_data): Likewise.
7416         (lrint_downward_test_data): Likewise.
7417         (lrint_upward_test_data): Likewise.
7418         (llrint_test_data): Likewise.
7419         (llrint_tonearest_test_data): Likewise.
7420         (llrint_towardzero_test_data): Likewise.
7421         (llrint_downward_test_data): Likewise.
7422         (llrint_upward_test_data): Likewise.
7423         (lround_test_data): Likewise.
7424         (llround_test_data): Likewise.
7426         * math/libm-test.inc (NO_TEST_INLINE): New macro.
7427         (ERRNO_UNCHANGED): Update value.
7428         (ERRNO_EDOM): Likewise.
7429         (ERRNO_ERANGE): Likewise.
7430         (NO_TEST_INLINE_FLOAT): New macro.
7431         (NO_TEST_INLINE_DOUBLE): Likewise.
7432         (enable_test): New function.
7433         (RUN_TEST_f_f): Check enable_test before running test.
7434         (RUN_TEST_2_f): Likewise.
7435         (RUN_TEST_fff_f): Likewise.
7436         (RUN_TEST_c_f): Likewise.
7437         (RUN_TEST_f_f1): Likewise.
7438         (RUN_TEST_fF_f1): Likewise.
7439         (RUN_TEST_fI_f1): Likewise.
7440         (RUN_TEST_ffI_f1): Likewise.
7441         (RUN_TEST_c_c): Likewise.
7442         (RUN_TEST_cc_c): Likewise.
7443         (RUN_TEST_f_i): Likewise.
7444         (RUN_TEST_f_i_tg): Likewise.
7445         (RUN_TEST_ff_i_tg): Likewise.
7446         (RUN_TEST_f_b): Likewise.
7447         (RUN_TEST_f_b_tg): Likewise.
7448         (RUN_TEST_f_l): Likewise.
7449         (RUN_TEST_f_L): Likewise.
7450         (RUN_TEST_fFF_11): Likewise.
7451         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7452         conditionals.
7453         (cosh_test_data): Likewise.
7454         (exp_test_data): Likewise.
7455         (expm1_test_data): Likewise.
7456         (hypot_test_data): Likewise.
7457         (pow_test_data): Likewise.
7458         (sinh_test_data): Likewise.
7459         (tanh_test_data): Likewise.
7460         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7461         flags argument.
7463         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7464         tests with quiet NaN input and output.
7465         (acosh_test_data): Likewise.
7466         (asin_test_data): Likewise.
7467         (asinh_test_data): Likewise.
7468         (atan_test_data): Likewise.
7469         (atanh_test_data): Likewise.
7470         (atan2_test_data): Likewise.
7471         (cbrt_test_data): Likewise.
7472         (cos_test_data): Likewise.
7473         (cosh_test_data): Likewise.
7474         (erf_test_data): Likewise.
7475         (erfc_test_data): Likewise.
7476         (exp_test_data): Likewise.
7477         (exp10_test_data): Likewise.
7478         (exp2_test_data): Likewise.
7479         (expm1_test_data): Likewise.
7480         (hypot_test_data): Likewise.
7481         (j0_test_data): Likewise.
7482         (j1_test_data): Likewise.
7483         (jn_test_data): Likewise.
7484         (lgamma_test_data): Likewise.
7485         (log_test_data): Likewise.
7486         (log10_test_data): Likewise.
7487         (log1p_test_data): Likewise.
7488         (log2_test_data): Likewise.
7489         (pow_test_data): Likewise.
7490         (scalb_test_data): Likewise.
7491         (sin_test_data): Likewise.
7492         (sincos_test_data): Likewise.
7493         (sinh_test_data): Likewise.
7494         (tan_test_data): Likewise.
7495         (tanh_test_data): Likewise.
7496         (tgamma_test_data): Likewise.
7497         (y0_test_data): Likewise.
7498         (y1_test_data): Likewise.
7499         (yn_test_data): Likewise.
7501         [BZ #16167]
7502         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7503         argument being NaN and avoid computations with second argument in
7504         that case.
7505         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7506         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7507         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7509 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
7511         * locale/iso-639.def: Add Chitwani Tharu (the).
7513 2013-11-14  Andreas Schwab  <schwab@suse.de>
7515         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7516         word instead of empty string.
7518 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7521         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7523         (__fe_nomask_env): Likewise.
7525 2013-11-13  Steve Ellcey  <sellcey@mips.com>
7527         * benchtests/bench-timing.h: Include time.h.
7529 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
7531         [BZ #15997]
7532         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7533         to 3.4.0 for x32.
7534         * sysdeps/unix/sysv/linux/configure: Regenerated.
7536 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
7538         [BZ #16151]
7539         * stdlib/strtod_l.c (round_and_return): Do not consider
7540         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7541         exponent one less than half the least subnormal exponent.
7542         * stdlib/test-strtod-round-data: Add more tests.
7543         * stdlib/tst-strtod-round.c (tests): Regenerated.
7545 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7547         [BZ #14143]
7548         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7549         (__fe_mask_env): Likewise.
7550         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7551         libm_hidden_proto and add function prototype.
7552         (__fe_mask_env): Add function prototype.
7553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7554         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7556         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7558         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7560 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7562         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7563         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7565 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7567         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7568         of htab_find_slot().
7570 2013-11-11  David S. Miller  <davem@davemloft.net>
7572         [BZ #16150]
7573         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7574         symbol in the non-vis3 case in static builds.
7575         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7576         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7577         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7578         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7580 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7582         [BZ #387]
7583         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7584         it is empty.
7586 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7588         * benchtests/Makefile: Add bench-strtod.
7589         * benchtests/bench-strtod.c: New file: strtod benchtest
7591 2013-11-11  Andreas Schwab  <schwab@suse.de>
7593         [BZ #16153]
7594         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7595         terminating NUL in key length.
7597 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7599         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7600         Add artificial ODP entry for vDSO symbol for PPC64.
7601         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7602         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7604 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7606         [BZ #15374]
7607         * nss/getent.c (services_keys): Recognize services starting with digit.
7609 2013-11-06  David S. Miller  <davem@davemloft.net>
7611         [BZ #15985]
7612         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7613         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7615 2013-11-06  Will Newton  <will.newton@linaro.org>
7617         * manual/memory.texi (Malloc Examples): Remove register
7618         keyword from examples.
7620 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
7622         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7624 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
7626         [BZ #6981]
7627         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7628         depending on [__GCC_IEC_559 > 0].
7629         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7630         depending on [__GCC_IEC_559_COMPLEX > 0].
7632 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
7634         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7635         to iso-639.def.
7637 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
7639         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7641 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
7643         [BZ #16112]
7644         * malloc/malloc (malloc_info): Do not handle first bin as
7645         special case.
7647 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
7649         * locale/iso-639.def: Add Central Nahuatl (nhn).
7651 2013-11-01  Bruno Haible  <bruno@clisp.org>
7653         [BZ #7003]
7654         * manual/math.texi (BSD Random): Specify range upper bound as
7655         in POSIX.
7657 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
7659         * locale/iso-639.def: Add Meadow Mari (mhr).
7661 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
7663         [BZ #14752], [BZ #15763]
7664         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7665         Validate name.
7666         * rt/tst_shm.c: Add test for escaping directory.
7668 2013-10-31  Andreas Schwab  <schwab@suse.de>
7670         [BZ #15917]
7671         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7672         followed by 'x' as part of digit sequence.
7673         * stdio-common/tst-sscanf.c (double_tests2): New tests.
7675 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7677         [BZ #16037]
7678         * configure.ac: allow GNU Make 4.0 and greater.
7679         * configure: Regenerated.
7681 2013-10-30  Will Newton  <will.newton@linaro.org>
7683         [BZ #16038]
7684         * malloc/hooks.c (memalign_check): Limit alignment to the
7685         maximum representable power of two.
7686         * malloc/malloc.c (__libc_memalign): Likewise.
7687         * malloc/tst-memalign.c (do_test): Add test for very
7688         large alignment values.
7689         * malloc/tst-posix_memalign.c (do_test): Likewise.
7691 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7693         [BZ #11087]
7694         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7695         (munmap_chunk): Likewise.
7696         (mremap_chunk): Likewise.
7698 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7700         [BZ #15799]
7701         * stdlib/div.c (div): Remove obsolete code.
7702         * stdlib/ldiv.c (ldiv): Likewise.
7703         * stdlib/lldiv.c (lldiv): Likewise.
7705 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7707         [BZ #16071]
7708         * nss/nss_files/files-XXX.c (get_contents_ret): New
7709         enumerator.
7710         (get_contents): New function.
7711         (internal_getent): Use it.  Expand size of LINEBUFLEN.
7713 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
7715         * configure.in: Moved to ...
7716         * configure.ac: ... here. Change reference to configure.in
7717         to configure.ac.
7718         * sysdeps/arm/preconfigure.ac: ... here.
7719         configure.in to configure.ac.
7720         * sysdeps/gnu/configure.in: Moved to ...
7721         * sysdeps/gnu/configure.ac: ... here.
7722         * sysdeps/i386/configure.in: Moved to ...
7723         * sysdeps/i386/configure.ac: ... here.
7724         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7725         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7726         * sysdeps/mach/configure.in: Moved to ...
7727         * sysdeps/mach/configure.ac: ... here.
7728         * sysdeps/mach/hurd/configure.in: Moved to ...
7729         * sysdeps/mach/hurd/configure.ac: ... here.
7730         * sysdeps/powerpc/configure.in: Moved to ...
7731         * sysdeps/powerpc/configure.ac: ... here.
7732         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7733         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7734         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7735         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7736         * sysdeps/s390/s390-32/configure.in: Moved to ...
7737         * sysdeps/s390/s390-32/configure.ac: ... here.
7738         * sysdeps/s390/s390-64/configure.in: Moved to ...
7739         * sysdeps/s390/s390-64/configure.ac: ... here.
7740         * sysdeps/sh/configure.in: Moved to ...
7741         * sysdeps/sh/configure.ac: ... here.
7742         * sysdeps/sparc/configure.in: Moved to ...
7743         * sysdeps/sparc/configure.ac: ... here.
7744         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7745         * sysdeps/unix/sysv/linux/configure.ac: ... here.
7746         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7747         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7748         * sysdeps/x86_64/configure.in: Moved to ...
7749         * sysdeps/x86_64/configure.ac: ... here.
7750         * sysdeps/x86_64/preconfigure.in: Moved to ...
7751         * sysdeps/x86_64/preconfigure.ac: ... here.
7752         * aclocal.m4: Change reference to configure.in to configure.ac.
7753         * config.h.in: Likewise.
7754         * manual/install.texi: Likewise.
7755         * manual/maint.texi: Likewise.
7756         * Makefile: Likewise.
7757         * malloc/Makefile: Likewise.
7758         * nscd/Makefile: Likewise.
7759         * Makeconfig: Change reference to configure.in and
7760         preconfigure.in to configure.ac and preconfigure.ac
7761         respectively.
7762         * INSTALL: Regenerated.
7763         * configure: Likewise.
7764         * sysdeps/gnu/configure: Likewise.
7765         * sysdeps/i386/configure: Likewise.
7766         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7767         * sysdeps/mach/configure: Likewise.
7768         * sysdeps/mach/hurd/configure: Likewise.
7769         * sysdeps/powerpc/configure: Likewise.
7770         * sysdeps/powerpc/powerpc32/configure: Likewise.
7771         * sysdeps/powerpc/powerpc64/configure: Likewise.
7772         * sysdeps/s390/s390-32/configure: Likewise.
7773         * sysdeps/s390/s390-64/configure: Likewise.
7774         * sysdeps/sh/configure: Likewise.
7775         * sysdeps/sparc/configure: Likewise.
7776         * sysdeps/unix/sysv/linux/configure: Likewise.
7777         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7778         * sysdeps/x86_64/configure: Likewise.
7779         * sysdeps/x86_64/preconfigure: Likewise.
7781 2013-10-29  Andreas Schwab  <schwab@suse.de>
7783         * stdio-common/Makefile (tst-swscanf-ENV): Define.
7785 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7787         * benchtests/pow-inputs: Add new inputs.
7789         * benchtests/exp-inputs: Add new inputs.
7791         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7792         conditional check for return value.
7793         (__cos32): Likewise.
7795 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7797         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7798         to provide a boost for large inputs with word alignment.
7799         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7800         implementation based on optimized PPC64 strcpy.
7801         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7802         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7803         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7804         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7806 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7808         [BZ #2801]
7809         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7811 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7813         [BZ #14876]
7814         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7815         * time/tst-strptime.c (day_tests): Add testcase.
7817 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7819         [BZ #14029]
7820         * manual/pattern.texi: Acknowledge that fnmatch can fail.
7822 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
7824         [BZ #16074]
7825         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7826         MAP_FAILED on error.
7828 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7830         [BZ #16072]
7831         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7832         heap for large requests.
7834 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
7836         [BZ #9954]
7837         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7838         result if the result has no associated interface.
7839         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7840         interface for all 127.X.Y.Z addresses.
7842 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
7844         * locale/iso-639.def: Add Ligurian (lij)
7846 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
7848         [BZ #15825]
7849         * sunrpc/rpc_main.c: Document rpcgen -5.
7851 2013-10-19  Michael Stahl  <mstahl@redhat.com>
7853         * elf/rtld.c (do_preload): Print the reason why preloading failed.
7855 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7857         [BZ #10278]
7858         * posix/glob.c: Match only directories when trailing slash is present.
7859         * posix/tst-gnuglob.c (my_opendir): Do not open files.
7860         (main): Add testcase.
7862 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7864         [BZ #15670]
7865         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7867 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
7869         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7870         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7871         AUTH_DES and cindex for FIPS 140-2.
7872         (DES Encryption): Add cindex FIPS 46-3.
7874         * locale/locarchive.h (struct locarhandle): Add fname.
7875         * locale/programs/localedef.c (main): Pass ARGV[remaining]
7876         if an optional argument was specified to --list-archive,
7877         otherwise NULL.
7878         * locale/programs/locarchive.c (show_archive_content): Take new
7879         argument fname and pass it via ah.fname to open_archive.
7880         * locale/programs/localedef.h: Update decl.
7881         (open_archive): If AH->fname is non-null, open that file
7882         rather than the default file name, and don't ignore ENOENT.
7883         (create_archive): Set AH.fname to NULL.
7884         (delete_locales_from_archive): Likewise.
7885         (add_locales_to_archive): Likewise.
7886         * locale/programs/locfile.c (write_all_categories): Likewise.
7888 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
7889             Aldy Hernandez  <aldyh@redhat.com>
7891         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7892         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7893         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7894         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7895         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7896         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7897         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7898         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7899         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7900         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7901         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7902         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7903         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7904         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7905         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7906         Likewise.
7907         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7908         Likewise.
7909         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7910         Likewise.
7911         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7912         Likewise.
7913         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7914         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7915         Likewise.
7916         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7917         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7918         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7919         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7920         Likewise.
7921         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7922         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7923         * sysdeps/powerpc/preconfigure: Likewise.
7924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7925         Likewise.
7926         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7927         Replace contents of file by #include of <fenv_libc.h>.
7928         * sysdeps/powerpc/soft-fp/sfp-machine.h
7929         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7930         and <sys/prctl.h>.
7931         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7932         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7933         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7934         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7935         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7936         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7937         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7938         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7939         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7940         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7941         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7942         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7944         Allow copysignl PLT reference to be missing.
7946 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
7947             Joseph Myers  <joseph@codesourcery.com
7949         [BZ #15948]
7950         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7951         single character.
7952         (add_to_tablewc): Assert sequence of wide characters is nonempty.
7954 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7956         * elf/tst-tls-dlinfo.c: Don't include tls.h.
7957         * elf/tst-tls1.c: Likewise.
7958         * elf/tst-tls10.h: Likewise.
7959         * elf/tst-tls14.c: Likewise.
7960         * elf/tst-tls2.c: Likewise.
7961         * elf/tst-tls3.c: Likewise.
7962         * elf/tst-tls4.c: Likewise.
7963         * elf/tst-tls5.c: Likewise.
7964         * elf/tst-tls6.c: Likewise.
7965         * elf/tst-tls7.c: Likewise.
7966         * elf/tst-tls8.c: Likewise.
7967         * elf/tst-tls9.c: Likewise.
7968         * elf/tst-tlsmod1.c: Likewise.
7969         * elf/tst-tlsmod13.c: Likewise.
7970         * elf/tst-tlsmod13a.c: Likewise.
7971         * elf/tst-tlsmod14a.c: Likewise.
7972         * elf/tst-tlsmod16a.c: Likewise.
7973         * elf/tst-tlsmod16b.c: Likewise.
7974         * elf/tst-tlsmod2.c: Likewise.
7975         * elf/tst-tlsmod3.c: Likewise.
7976         * elf/tst-tlsmod4.c: Likewise.
7977         * elf/tst-tlsmod5.c: Likewise.
7978         * elf/tst-tlsmod6.c: Likewise.
7980 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
7982         [BZ #12486]
7983         * malloc/malloc.c: remove checks for statistics.
7985 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7987         [BZ #15277]
7988         * inet/inet_net.c (inet_network): Detect additional invalid strings.
7989         * inet/tst-network.c: Add testcase.
7991 2013-10-17  Andreas Schwab  <schwab@suse.de>
7993         [BZ #15218]
7994         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7995         to determine canonical name.
7997 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7999         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8000         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8001         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8002         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8004         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8005         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8006         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8007         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8008         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8009         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8010         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8011         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8012         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8013         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8014         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8015         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8016         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8017         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8018         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8019         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8020         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8021         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8022         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8023         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8024         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8025         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8026         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8027         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8028         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8029         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8030         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8031         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8032         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8033         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8034         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8035         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8036         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8037         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8038         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8039         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8040         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8041         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8042         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8043         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8044         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8045         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8046         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8047         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8048         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8049         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8050         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8051         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8052         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8053         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8054         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8055         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8056         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8058 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
8060         [BZ #16041]
8061         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8062         make result into a quiet NaN.
8064 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
8066         * soft-fp/adddf3.c: Fix horizontal whitespace.
8067         * soft-fp/addsf3.c: Likewise.
8068         * soft-fp/addtf3.c: Likewise.
8069         * soft-fp/divdf3.c: Likewise.
8070         * soft-fp/divsf3.c: Likewise.
8071         * soft-fp/divtf3.c: Likewise.
8072         * soft-fp/double.h: Likewise.
8073         * soft-fp/eqdf2.c: Likewise.
8074         * soft-fp/eqsf2.c: Likewise.
8075         * soft-fp/eqtf2.c: Likewise.
8076         * soft-fp/extenddftf2.c: Likewise.
8077         * soft-fp/extended.h: Likewise.
8078         * soft-fp/extendsfdf2.c: Likewise.
8079         * soft-fp/extendsftf2.c: Likewise.
8080         * soft-fp/extendxftf2.c: Likewise.
8081         * soft-fp/fixdfdi.c: Likewise.
8082         * soft-fp/fixdfsi.c: Likewise.
8083         * soft-fp/fixdfti.c: Likewise.
8084         * soft-fp/fixsfdi.c: Likewise.
8085         * soft-fp/fixsfsi.c: Likewise.
8086         * soft-fp/fixsfti.c: Likewise.
8087         * soft-fp/fixtfdi.c: Likewise.
8088         * soft-fp/fixtfsi.c: Likewise.
8089         * soft-fp/fixtfti.c: Likewise.
8090         * soft-fp/fixunsdfdi.c: Likewise.
8091         * soft-fp/fixunsdfsi.c: Likewise.
8092         * soft-fp/fixunsdfti.c: Likewise.
8093         * soft-fp/fixunssfdi.c: Likewise.
8094         * soft-fp/fixunssfsi.c: Likewise.
8095         * soft-fp/fixunssfti.c: Likewise.
8096         * soft-fp/fixunstfdi.c: Likewise.
8097         * soft-fp/fixunstfsi.c: Likewise.
8098         * soft-fp/fixunstfti.c: Likewise.
8099         * soft-fp/floatdidf.c: Likewise.
8100         * soft-fp/floatdisf.c: Likewise.
8101         * soft-fp/floatditf.c: Likewise.
8102         * soft-fp/floatsidf.c: Likewise.
8103         * soft-fp/floatsisf.c: Likewise.
8104         * soft-fp/floatsitf.c: Likewise.
8105         * soft-fp/floattidf.c: Likewise.
8106         * soft-fp/floattisf.c: Likewise.
8107         * soft-fp/floattitf.c: Likewise.
8108         * soft-fp/floatundidf.c: Likewise.
8109         * soft-fp/floatundisf.c: Likewise.
8110         * soft-fp/floatunditf.c: Likewise.
8111         * soft-fp/floatunsidf.c: Likewise.
8112         * soft-fp/floatunsisf.c: Likewise.
8113         * soft-fp/floatunsitf.c: Likewise.
8114         * soft-fp/floatuntidf.c: Likewise.
8115         * soft-fp/floatuntisf.c: Likewise.
8116         * soft-fp/floatuntitf.c: Likewise.
8117         * soft-fp/fmadf4.c: Likewise.
8118         * soft-fp/fmasf4.c: Likewise.
8119         * soft-fp/fmatf4.c: Likewise.
8120         * soft-fp/gedf2.c: Likewise.
8121         * soft-fp/gesf2.c: Likewise.
8122         * soft-fp/getf2.c: Likewise.
8123         * soft-fp/ledf2.c: Likewise.
8124         * soft-fp/lesf2.c: Likewise.
8125         * soft-fp/letf2.c: Likewise.
8126         * soft-fp/muldf3.c: Likewise.
8127         * soft-fp/mulsf3.c: Likewise.
8128         * soft-fp/multf3.c: Likewise.
8129         * soft-fp/negdf2.c: Likewise.
8130         * soft-fp/negsf2.c: Likewise.
8131         * soft-fp/negtf2.c: Likewise.
8132         * soft-fp/op-1.h: Likewise.
8133         * soft-fp/op-2.h: Likewise.
8134         * soft-fp/op-4.h: Likewise.
8135         * soft-fp/op-8.h: Likewise.
8136         * soft-fp/op-common.h: Likewise.
8137         * soft-fp/quad.h: Likewise.
8138         * soft-fp/single.h: Likewise.
8139         * soft-fp/soft-fp.h: Likewise.
8140         * soft-fp/sqrtdf2.c: Likewise.
8141         * soft-fp/sqrtsf2.c: Likewise.
8142         * soft-fp/sqrttf2.c: Likewise.
8143         * soft-fp/subdf3.c: Likewise.
8144         * soft-fp/subsf3.c: Likewise.
8145         * soft-fp/subtf3.c: Likewise.
8146         * soft-fp/truncdfsf2.c: Likewise.
8147         * soft-fp/trunctfdf2.c: Likewise.
8148         * soft-fp/trunctfsf2.c: Likewise.
8149         * soft-fp/trunctfxf2.c: Likewise.
8150         * soft-fp/unorddf2.c: Likewise.
8151         * soft-fp/unordsf2.c: Likewise.
8152         * soft-fp/unordtf2.c: Likewise.
8154 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
8156         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8157         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8159 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
8161         * elf/dl-libc.c: Clear initfini list after freeing.
8163 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
8165         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8166         * soft-fp/addsf3.c: Likewise.
8167         * soft-fp/addtf3.c: Likewise.
8168         * soft-fp/divdf3.c: Likewise.
8169         * soft-fp/divsf3.c: Likewise.
8170         * soft-fp/divtf3.c: Likewise.
8171         * soft-fp/double.h: Likewise.
8172         * soft-fp/eqdf2.c: Likewise.
8173         * soft-fp/eqsf2.c: Likewise.
8174         * soft-fp/eqtf2.c: Likewise.
8175         * soft-fp/extenddftf2.c: Likewise.
8176         * soft-fp/extended.h: Likewise.
8177         * soft-fp/extendsfdf2.c: Likewise.
8178         * soft-fp/extendsftf2.c: Likewise.
8179         * soft-fp/extendxftf2.c: Likewise.
8180         * soft-fp/fixdfdi.c: Likewise.
8181         * soft-fp/fixdfsi.c: Likewise.
8182         * soft-fp/fixdfti.c: Likewise.
8183         * soft-fp/fixsfdi.c: Likewise.
8184         * soft-fp/fixsfsi.c: Likewise.
8185         * soft-fp/fixsfti.c: Likewise.
8186         * soft-fp/fixtfdi.c: Likewise.
8187         * soft-fp/fixtfsi.c: Likewise.
8188         * soft-fp/fixtfti.c: Likewise.
8189         * soft-fp/fixunsdfdi.c: Likewise.
8190         * soft-fp/fixunsdfsi.c: Likewise.
8191         * soft-fp/fixunsdfti.c: Likewise.
8192         * soft-fp/fixunssfdi.c: Likewise.
8193         * soft-fp/fixunssfsi.c: Likewise.
8194         * soft-fp/fixunssfti.c: Likewise.
8195         * soft-fp/fixunstfdi.c: Likewise.
8196         * soft-fp/fixunstfsi.c: Likewise.
8197         * soft-fp/fixunstfti.c: Likewise.
8198         * soft-fp/floatdidf.c: Likewise.
8199         * soft-fp/floatdisf.c: Likewise.
8200         * soft-fp/floatditf.c: Likewise.
8201         * soft-fp/floatsidf.c: Likewise.
8202         * soft-fp/floatsisf.c: Likewise.
8203         * soft-fp/floatsitf.c: Likewise.
8204         * soft-fp/floattidf.c: Likewise.
8205         * soft-fp/floattisf.c: Likewise.
8206         * soft-fp/floattitf.c: Likewise.
8207         * soft-fp/floatundidf.c: Likewise.
8208         * soft-fp/floatundisf.c: Likewise.
8209         * soft-fp/floatunsidf.c: Likewise.
8210         * soft-fp/floatunsisf.c: Likewise.
8211         * soft-fp/floatuntidf.c: Likewise.
8212         * soft-fp/floatuntisf.c: Likewise.
8213         * soft-fp/floatuntitf.c: Likewise.
8214         * soft-fp/fmadf4.c: Likewise.
8215         * soft-fp/fmasf4.c: Likewise.
8216         * soft-fp/fmatf4.c: Likewise.
8217         * soft-fp/gedf2.c: Likewise.
8218         * soft-fp/gesf2.c: Likewise.
8219         * soft-fp/getf2.c: Likewise.
8220         * soft-fp/ledf2.c: Likewise.
8221         * soft-fp/lesf2.c: Likewise.
8222         * soft-fp/letf2.c: Likewise.
8223         * soft-fp/muldf3.c: Likewise.
8224         * soft-fp/mulsf3.c: Likewise.
8225         * soft-fp/multf3.c: Likewise.
8226         * soft-fp/negdf2.c: Likewise.
8227         * soft-fp/negsf2.c: Likewise.
8228         * soft-fp/negtf2.c: Likewise.
8229         * soft-fp/op-1.h: Likewise.
8230         * soft-fp/op-2.h: Likewise.
8231         * soft-fp/op-4.h: Likewise.
8232         * soft-fp/op-8.h: Likewise.
8233         * soft-fp/op-common.h: Likewise.
8234         * soft-fp/quad.h: Likewise.
8235         * soft-fp/single.h: Likewise.
8236         * soft-fp/soft-fp.h: Likewise.
8237         * soft-fp/sqrtdf2.c: Likewise.
8238         * soft-fp/sqrtsf2.c: Likewise.
8239         * soft-fp/sqrttf2.c: Likewise.
8240         * soft-fp/subdf3.c: Likewise.
8241         * soft-fp/subsf3.c: Likewise.
8242         * soft-fp/subtf3.c: Likewise.
8243         * soft-fp/truncdfsf2.c: Likewise.
8244         * soft-fp/trunctfdf2.c: Likewise.
8245         * soft-fp/trunctfsf2.c: Likewise.
8246         * soft-fp/trunctfxf2.c: Likewise.
8247         * soft-fp/unorddf2.c: Likewise.
8248         * soft-fp/unordsf2.c: Likewise.
8249         * soft-fp/unordtf2.c: Likewise.
8251 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
8253         [BZ #15672]
8254         * misc/error.c (error_tail): Fix possible buffer overflow.
8256 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
8258         [BZ #13028]
8259         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8260         address.
8262 2013-10-14  P. J. McDermott  <pj@pehjota.net>
8264         [BZ #832]
8265         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
8266         testing pipefail option.
8268 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8270         * soft-fp/double.h: Indent preprocessor directives inside #if.
8271         * soft-fp/extended.h: Likewise.
8272         * soft-fp/op-2.h: Likewise.
8273         * soft-fp/op-4.h: Likewise.
8274         * soft-fp/op-common.h: Likewise.
8275         * soft-fp/quad.h: Likewise.
8276         * soft-fp/single.h: Likewise.
8277         * soft-fp/soft-fp.h: Likewise.
8279 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
8281         * iconv/iconv_prog.c: Fix typos.
8282         * stdio-common/psiginfo-data.h: Likewise.
8284 2013-10-12   Reuben Thomas <rrt@sc3d.org>
8286         [BZ #15764]
8287         * locale/setlocale.c: Fix typo.
8289 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8291         [BZ #16036]
8292         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8293         signaling NaN arguments.
8294         * soft-fp/unordsf2.c (__unordsf2): Likewise.
8295         * soft-fp/unordtf2.c (__unordtf2): Likewise.
8297         [BZ #14910]
8298         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8299         unordered operands.
8300         * soft-fp/gesf2.c (__gesf2): Likewise.
8301         * soft-fp/getf2.c (__getf2): Likewise.
8302         * soft-fp/ledf2.c (__ledf2): Likewise.
8303         * soft-fp/lesf2.c (__lesf2): Likewise.
8304         * soft-fp/letf2.c (__letf2): Likewise.
8306         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8307         * soft-fp/eqsf2.c (__eqsf2): Likewise.
8308         * soft-fp/eqtf2.c (__eqtf2): Likewise.
8309         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8310         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8311         * soft-fp/fixdfti.c (__fixdfti): Likewise.
8312         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8313         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8314         * soft-fp/fixsfti.c (__fixsfti): Likewise.
8315         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8316         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8317         * soft-fp/fixtfti.c (__fixtfti): Likewise.
8318         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8319         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8320         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8321         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8322         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8323         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8324         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8325         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8326         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8327         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8328         * soft-fp/floatdisf.c (__floatdisf): Likewise.
8329         * soft-fp/floatsisf.c (__floatsisf): Likewise.
8330         * soft-fp/floattidf.c (__floattidf): Likewise.
8331         * soft-fp/floattisf.c (__floattisf): Likewise.
8332         * soft-fp/floattitf.c (__floattitf): Likewise.
8333         * soft-fp/floatundidf.c (__floatundidf): Likewise.
8334         * soft-fp/floatundisf.c (__floatundisf): Likewise.
8335         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8336         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8337         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8338         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8339         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8340         * soft-fp/gesf2.c (__gesf2): Likewise.
8341         * soft-fp/getf2.c (__getf2): Likewise.
8342         * soft-fp/ledf2.c (__ledf2): Likewise.
8343         * soft-fp/lesf2.c (__lesf2): Likewise.
8344         * soft-fp/letf2.c (__letf2): Likewise.
8346         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8347         Undefine and redefine.
8348         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8349         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8350         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8351         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8352         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8353         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8354         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8355         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8356         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8357         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8358         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8359         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8360         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8361         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8362         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8364         [BZ #16032]
8365         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8366         without decrementing exponent if mantissa >= that for the
8367         denominator, not >.
8368         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8369         denominator, not >.  Decrement exponent in < case instead of
8370         incrementing in >= case.
8371         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8372         without decrementing exponent if mantissa >= that for the
8373         denominator, not >.
8375         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8376         computing saturated result for unsigned overflow.
8378 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8379             Jeff Law  <law@redhat.com>
8381         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8382         (atan2Mp): Add systemtap probe marker.
8383         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8384         (__ieee754_log): Add systemtap probe marker.
8385         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8386         (atanMp): Add systemtap probe marker.
8387         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8388         (tanMp): Add systemtap probe marker.
8389         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8390         (__slowexp): Add systemtap probe marker.
8391         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8392         (__slowpow): Add systemtap probe marker.
8393         * manual/probes.texi: Document probes.
8395 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
8397         [BZ #15362]
8398         * libio/fileops.c (_IO_new_file_write): Return count of bytes
8399         written.
8400         (_IO_new_file_xsputn): Don't return EOF if nothing has been
8401         written.
8402         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8403         written to buffer but not flushed.
8404         * libio/iofwrite_u.c:  Likewise.
8405         * libio/iopadn.c:  Return bytes returned even if EOF was
8406         encountered.
8407         * libio/iowpadn.c:  Likewise.
8408         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8409         if _IO_padn does not write the whole buffer.
8410         [!COMPILE_WPRINTF] (PAD): Likewise.
8412 2013-10-10  David S. Miller  <davem@davemloft.net>
8414         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8415         directory block.
8417 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8419         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
8420         instead of FSF address.
8421         * soft-fp/fixdfti.c: Likewise.
8422         * soft-fp/fixsfti.c: Likewise.
8423         * soft-fp/fixtfti.c: Likewise.
8424         * soft-fp/fixunsdfti.c: Likewise.
8425         * soft-fp/fixunssfti.c: Likewise.
8426         * soft-fp/fixunstfti.c: Likewise.
8427         * soft-fp/floattidf.c: Likewise.
8428         * soft-fp/floattisf.c: Likewise.
8429         * soft-fp/floattitf.c: Likewise.
8430         * soft-fp/floatuntidf.c: Likewise.
8431         * soft-fp/floatuntisf.c: Likewise.
8432         * soft-fp/floatuntitf.c: Likewise.
8433         * soft-fp/trunctfxf2.c: Likewise.
8435         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
8436         * soft-fp/fixdfti.c: Likewise.
8437         * soft-fp/fixsfti.c: Likewise.
8438         * soft-fp/fixtfti.c: Likewise.
8439         * soft-fp/fixunsdfti.c: Likewise.
8440         * soft-fp/fixunssfti.c: Likewise.
8441         * soft-fp/fixunstfti.c: Likewise.
8442         * soft-fp/floattidf.c: Likewise.
8443         * soft-fp/floattisf.c: Likewise.
8444         * soft-fp/floattitf.c: Likewise.
8445         * soft-fp/floatuntidf.c: Likewise.
8446         * soft-fp/floatuntisf.c: Likewise.
8447         * soft-fp/floatuntitf.c: Likewise.
8448         * soft-fp/trunctfxf2.c: Likewise.
8450 2013-10-10  David S. Miller  <davem@davemloft.net>
8452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8454 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
8456         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8457         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8458         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8459         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8460         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8461         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8462         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8464         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8465         for NaNs before doing comparisons on argument.
8466         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8467         Likewise.
8469 2013-10-10  Will Newton  <will.newton@linaro.org>
8471         * malloc/hooks.c (memalign_check): Ensure the value of bytes
8472         passed to _int_memalign does not overflow.
8474 2013-10-10  Torvald Riegel  <triegel@redhat.com>
8476         * scripts/bench.pl: Add include-sources directive.
8477         * benchtests/README: Update documentation.
8479 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8481         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8482         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8483         instead of FP_INIT_ROUNDMODE.
8484         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8485         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8487         [BZ #16034]
8488         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
8489         copy class of input value.
8490         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
8491         not handle exceptions.
8492         * soft-fp/negsf2.c (__negsf2): Likewise.
8493         * soft-fp/negtf2.c (__negtf2): Likewise.
8494         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8496 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
8498         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8499         semicolon.  From Linux kernel.
8501 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
8503         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8505 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
8507         [BZ #156]
8508         * manual/socket.texi: Added statement about buffer
8509         for gethostbyname2_r.
8511 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
8513         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8514         Use .p2align directive instead, throughout.
8515         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8516         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8517         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8518         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8519         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8520         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8521         * sysdeps/x86_64/strchr.S: Likewise.
8522         * sysdeps/x86_64/strrchr.S: Likewise.
8524 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8526         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8528         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8530         * sysdeps/generic/math_private.h (__mpsin1): Remove
8531         declaration.
8532         (__mpcos1): Likewise.
8533         (__mpsin): New argument __range_reduce.
8534         (__mpcos): Likewise.
8535         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8536         (slow): Use __mpsin and __mpcos.
8537         (slow1): Likewise.
8538         (slow2): Likewise.
8539         (sloww): Likewise.
8540         (sloww1): Likewise.
8541         (sloww2): Likewise.
8542         (bsloww): Likewise.
8543         (bsloww1): Likewise.
8544         (bsloww2): Likewise.
8545         (cslow2): Likewise.
8546         (csloww): Likewise.
8547         (csloww1): Likewise.
8548         (csloww2): Likewise.
8549         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8550         range_reduce.  Merge in __mpsin1.
8551         (__mpcos): Likewise.
8552         (__mpsin1): Remove.
8553         (__mpcos1): Likewise.
8555 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
8557         * locale/loadlocale.c (_nl_intern_locale_data): Use
8558         LOCFILE_ALIGNED_P.
8559         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8560         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8561         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8562         obstack data is appropriately aligned.
8563         (obstack_int32_grow_fast): Likewise.
8564         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8565         * locale/programs/locfile.c (add_locale_uint32): Likewise.
8566         (add_locale_uint32_array): Likewise.
8568 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8570         * benchtests/Makefile: Remove ARGLIST and RET variables.
8571         ($(objpfx)bench-%.c): Pass only function name to the script.
8572         * benchtests/README: Update documentation.
8573         * benchtests/acos-inputs: Add new directives.
8574         * benchtests/acosh-inputs: Likewise.
8575         * benchtests/asin-inputs: Likewise.
8576         * benchtests/asinh-inputs: Likewise.
8577         * benchtests/atan-inputs: Likewise.
8578         * benchtests/atanh-inputs: Likewise.
8579         * benchtests/cos-inputs: Likewise.
8580         * benchtests/cosh-inputs: Likewise.
8581         * benchtests/exp-inputs: Likewise.
8582         * benchtests/log-inputs: Likewise.
8583         * benchtests/pow-inputs: Likewise.
8584         * benchtests/rint-inputs: Likewise.
8585         * benchtests/sin-inputs: Likewise.
8586         * benchtests/sinh-inputs: Likewise.
8587         * benchtests/tan-inputs: Likewise.
8588         * benchtests/tanh-inputs: Likewise.
8589         * scripts/bench.pl: Add support for new directives.
8591 2013-10-07  Alan Modra  <amodra@gmail.com>
8593         * README: Fix careless merge.
8595 2013-10-05  Alan Modra  <amodra@gmail.com>
8597         * NEWS: Mention powerpc64le support and bugs fixed.
8598         * README: Both big-endian and little-endian powerpc64 supported.
8600 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8602         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8603         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8604         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8605         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8607 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
8609         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8610         match prototype.
8612 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
8614         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8615         Move -mhard-float appending from
8616         ports/sysdeps/powerpc/powerpc32/Makefile.
8617         [$(with-fp) = yes] (ASFLAGS): Likewise.
8618         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8619         * sysdeps/powerpc/nofpu: Move directory from
8620         ports/sysdeps/powerpc/nofpu.
8621         * sysdeps/powerpc/soft-fp: Move directory from
8622         ports/sysdeps/powerpc/soft-fp.
8623         * sysdeps/powerpc/powerpc32/405: Move directory from
8624         ports/sysdeps/powerpc/powerpc32/405.
8625         * sysdeps/powerpc/powerpc32/440: Move directory from
8626         ports/sysdeps/powerpc/powerpc32/440.
8627         * sysdeps/powerpc/powerpc32/464: Move directory from
8628         ports/sysdeps/powerpc/powerpc32/464.
8629         * sysdeps/powerpc/powerpc32/476: Move directory from
8630         ports/sysdeps/powerpc/powerpc32/476.
8631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8632         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8634         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8636         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8638         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8640         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8641         * README: Update for powerpc-*-linux-gnu software floating point
8642         support in libc.
8644         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8645         case to powerpc/powerpc32*.
8646         * sysdeps/unix/sysv/linux/configure: Regenerated.
8648         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8649         (_FPU_MASK_OM): Define as 0x04.
8650         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8651         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8652         0x00c10080.
8653         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8654         0x0000003c.
8655         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8658         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8659         getcontext_e500.
8660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8661         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8662         setcontext_e500.
8663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8664         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8665         and setcontext_e500.
8667 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
8669         * locale/iso-3166.def: Update iso-1366.def and related occurrences
8671 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8673         * manual/threads.texi (Default Thread Attributes): Fix typo.
8675 2013-10-04  Will Newton  <will.newton@linaro.org>
8677         * malloc/Makefile: Add tst-memalign.
8678         * malloc/tst-memalign.c: New file.
8680         * malloc/tst-posix_memalign.c: Add comments.
8681         (do_test): Add comments and call free on all potentially
8682         allocated pointers. Add space after cast.
8684         * malloc/tst-pvalloc.c: Add comments.
8685         (do_test): Add comments and call free on all potentially
8686         allocated pointers. Remove duplicate check for NULL pointer.
8687         Add space after cast.
8689         * malloc/tst-valloc.c: Add comments.
8690         (do_test): Add comments and call free on all potentially
8691         allocated pointers. Remove duplicate check for NULL pointer.
8692         Add space after cast.
8694 2013-10-04  Alan Modra  <amodra@gmail.com>
8696         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8697         Use stdint types in rather than __attribute__((mode())).
8698         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8700 2013-10-04  Alan Modra  <amodra@gmail.com>
8702         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8703         Correct handling of unaligned relocs for little-endian.
8704         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8706 2013-10-04  Alan Modra  <amodra@gmail.com>
8708         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8709         * configure: Regenerate.
8710         * nptl/shlib-versions: Powerpc*le starts at 2.18.
8711         * shlib-versions: Likewise.
8713 2013-10-04  Alan Modra  <amodra@gmail.com>
8715         * string/tester.c (test_memrchr): Increment reported test cycle.
8717 2013-10-04  Alan Modra  <amodra@gmail.com>
8719         * string/test-memcpy.c (do_one_test): When reporting errors, print
8720         string address and don't overrun end of string.
8722 2013-10-04  Alan Modra  <amodra@gmail.com>
8724         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8725         insrdi.  Make better use of reg selection to speed exit slightly.
8726         Schedule entry path a little better.  Remove useless "are we done"
8727         checks on entry to main loop.  Handle wrapping around zero address.
8728         Correct main loop count.  Handle single left-over word from main
8729         loop inline rather than by using loop_small.  Remove extra word
8730         case in loop_small caused by wrong loop count.  Add little-endian
8731         support.
8732         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8733         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
8734         cache hint.
8735         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8736         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8737         support.  Avoid rlwimi.
8738         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8740 2013-10-04  Alan Modra  <amodra@gmail.com>
8742         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8743         insrdi.  Formatting.
8744         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8745         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8746         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8747         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8748         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8749         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8751 2013-10-04  Alan Modra  <amodra@gmail.com>
8753         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8754         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8755         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8756         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8757         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8758         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8759         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8760         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8761         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
8762         use of regs.  Use power7 mtocrf.  Tidy function tails.
8764 2013-10-04  Alan Modra  <amodra@gmail.com>
8766         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8767         Formatting.  Consistently use rXXX register defines or rN defines.
8768         Use early exit labels that avoid restoring unused non-volatile regs.
8769         Make cr field use more consistent with rWORDn compares.  Rename
8770         regs used as shift registers for unaligned loop, using rN defines
8771         for short lifetime/multiple use regs.
8772         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8773         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
8774         addi 1,1,64 to pop stack frame.  Simplify return value code.
8775         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8777 2013-10-04  Alan Modra  <amodra@gmail.com>
8779         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8780         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
8781         rather than rlwimi.
8782         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8783         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8784         little-endian support.  Correct typos.
8785         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
8786         rather than rlwimi.
8787         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
8788         in loop and entry code to keep "and." results.
8789         (strchr): Add little-endian support.  Comment.  Move cntlzd
8790         earlier in tail.
8791         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8793 2013-10-04  Alan Modra  <amodra@gmail.com>
8795         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8796         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8797         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8798         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8800 2013-10-04  Alan Modra  <amodra@gmail.com>
8802         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8803         (rTMP): Define as r11.
8804         (strcmp): Add little-endian support.  Optimise tail.
8805         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8806         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8807         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8808         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8809         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8810         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8811         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8813 2013-10-04  Alan Modra  <amodra@gmail.com>
8815         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8816         little-endian support.  Remove unnecessary "are we done" tests.
8817         Handle "s" wrapping around zero and extremely large "size".
8818         Correct main loop count.  Handle single left-over word from main
8819         loop inline rather than by using small_loop.  Correct comments.
8820         Delete "zero" tail, use "end_max" instead.
8821         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8823 2013-10-04  Alan Modra  <amodra@gmail.com>
8825         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8826         support.  Don't branch over align.
8827         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8828         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8829         support.  Rearrange tmp reg use to suit.  Comment.
8830         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8832 2013-10-04  Alan Modra  <amodra@gmail.com>
8834         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8836 2013-10-04  Alan Modra  <amodra@gmail.com>
8838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8839         conditional form of branch and link when obtaining pc.
8840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8842 2013-10-04  Alan Modra  <amodra@gmail.com>
8844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8845         HIWORD/LOWORD.
8846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8849 2013-10-04  Alan Modra  <amodra@gmail.com>
8851         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8852         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8853         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8854         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8855         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8856         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8857         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8858         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8859         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8860         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8862 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8863             Alistair Popple <alistair@ozlabs.au.ibm.com>
8864             Alan Modra <amodra@gmail.com>
8866         [BZ #15723]
8867         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8868         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8869         _dl_hwcap access for little-endian.
8870         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
8871         destroy vmx regs when saving unaligned.
8872         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8873         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
8874         destroy vmx regs when saving unaligned.
8876 2013-10-04  Alan Modra  <amodra@gmail.com>
8878         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8879         Don't use a union to pack hi/low value.
8881 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8883         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8884         for little-endian.
8885         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8886         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8887         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8888         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8889         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8891 2013-10-04  Alan Modra  <amodra@gmail.com>
8893         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8894         constants to usual value for .cst8 section, and remove redundant
8895         high address load.
8896         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8897         constant for 0x1p52.  Load little-endian words of double from
8898         correct stack offsets.
8900 2013-10-04  Alan Modra  <amodra@gmail.com>
8902         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8903         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8904         words of double from correct stack offsets.
8905         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8906         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8907         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8908         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8909         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8910         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8911         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8912         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8913         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8914         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8915         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8916         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8917         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8918         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8919         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8920         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8921         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8923 2013-10-04  Alan Modra  <amodra@gmail.com>
8925         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8926         64-bit int/double union.
8927         (_FPU_SETCW): Likewise.
8928         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8929         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8931 2013-10-04  Alan Modra  <amodra@gmail.com>
8933         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8934         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8936 2013-10-04  Alan Modra  <amodra@gmail.com>
8938         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8939         use vector int constants.
8940         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8942 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8944         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8945         array with long long.
8946         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8947         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8948         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8949         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8950         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8951         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8952         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8953         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8954         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8955         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8956         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8957         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8958         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8960 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8962         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8963         (__signbit): Likewise.  Correct for little-endian.
8964         (__signbitl): Call __signbit.
8965         (lrint): Correct for little-endian.
8966         (lrintf): Call lrint.
8968 2013-10-04  Alan Modra  <amodra@gmail.com>
8970         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8971         union 32-bit int array member with 64-bit int array.
8972         (t515, tm256): Double rather than long double.
8973         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8975 2013-10-04  Alan Modra  <amodra@gmail.com>
8977         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8978         Delete.
8979         (IEEE854_LONG_DOUBLE_BIAS): Delete.
8980         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8981         version of math_ldbl.h.
8983 2013-10-04  Alan Modra  <amodra@gmail.com>
8985         [BZ #15734], [BZ #15735]
8986         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8987         all uses of ieee875 long double macros and unions.  Simplify test
8988         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
8989         ldbl_extract_mantissa value for ix,iy exponents.  Properly
8990         normalize after ldbl_extract_mantissa, and don't add hidden bit
8991         already handled.  Don't treat low word of ieee854 mantissa like
8992         low word of IBM long double and mask off bit when testing for
8993         zero.
8994         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8995         all uses of ieee875 long double macros and unions.  Simplify tests
8996         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
8997         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
8998         two1022, instead use their values.  Recognise that tests for large
8999         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
9000         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9001         Rewrite all uses of ieee875 long double macros and unions.  Simplify
9002         test for 0.0L and nan.  Correct negation.
9003         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9004         ieee875 long double macros and unions.  Correct output for large
9005         magnitude x.  Correct absolute value calculation.
9006         (__erfcl): Likewise.
9007         * math/libm-test.inc: Add tests for errors discovered in IBM long
9008         double versions of fmodl, remainderl, erfl and erfcl.
9010 2013-10-04  Alan Modra  <amodra@gmail.com>
9012         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9013         all uses of ieee854 long double macros and unions.  Simplify tests
9014         for long doubles that are fully specified by the high double.
9015         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9016         Likewise.
9017         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9018         Remove dead code too.
9019         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9020         (__ieee754_ynl): Likewise.
9021         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9022         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9023         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9024         Remove dead code too.
9025         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9026         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9027         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9028         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9029         Simplify.
9030         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9031         Simplify.
9032         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9033         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9034         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9035         Comment on variable precision.
9036         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9037         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9038         Likewise.
9039         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9040         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9041         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9042         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9043         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9045 2013-10-04  Alan Modra  <amodra@gmail.com>
9047         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9048         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9049         all uses of ieee854 long double macros and unions.
9050         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9051         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9053         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9054         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9055         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9056         Likewise.
9057         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9058         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9059         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9060         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9061         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9062         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9063         Simplify sign and nan test too.
9064         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9065         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9066         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9067         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9068         Likewise.
9069         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9070         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9071         Likewise.
9072         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9073         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9074         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9075         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9076         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9077         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9079 2013-10-04  Alan Modra  <amodra@gmail.com>
9081         * stdio-common/printf_size.c (__printf_size): Don't use
9082         union ieee854_long_double in fpnum union.
9083         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
9084         signbit macro to retrieve sign from long double.
9085         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9086         retrieve sign from long double.
9087         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9088         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9089         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9090         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9091         * math/test-misc.c (main): Don't use union ieee854_long_double.
9093 2013-10-04  Alan Modra  <amodra@gmail.com>
9095         [BZ #15680]
9096         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9097         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9098         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9099         calculation.  Remove unnecessary test for denormal exponent.
9100         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9101         Correct handling of denormals.  Avoid undefined shift behaviour.
9102         Correct normalisation of low mantissa when low double is denormal.
9103         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9104         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
9105         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9106         Correct normalisation of low mantissa.  Test for overflow of high
9107         mantissa and normalise.
9108         (ldbl_nearbyint): Use more readable constant for two52.
9109         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9110         (__mpn_construct_long_double): Fix test for overflow of high
9111         mantissa and correct normalisation.  Avoid undefined shift.
9113 2013-10-04  Alan Modra  <amodra@gmail.com>
9115         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9116         (union ibm_extended_long_double): Define as an array of ieee754_double.
9117         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9118         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9119         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9120         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9122         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9123         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9124         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9125         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9126         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9127         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9129 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
9131         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9132         page size instead of calling getpagesize.
9134         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9135         (LOCFILE_ALIGN_MASK): Likewise.
9136         (LOCFILE_ALIGN_UP): Likewise.
9137         (LOCFILE_ALIGNED_P): Likewise.
9138         * locale/programs/ld-collate.c (collate_output): Use the new
9139         macros instead of __alignof__ (int32_t).
9140         * locale/weight.h (findidx): Likewise.
9142 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
9144         [BZ #431]
9145         * manual/string.texi: Fix strncat and wcsncat.
9147 2013-10-03  Brooks Moses  <bmoses@google.com>
9149         [BZ #15915]
9150         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9151         * Makerules: ...here, and adjust associated comments.
9153 2013-10-02  Will Newton  <will.newton@linaro.org>
9155         * malloc/Makefile: Add tst-pvalloc.
9156         * malloc/tst-pvalloc.c: New file.
9158 2013-10-02  Will Newton  <will.newton@linaro.org>
9160         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9161         improve test coverage.
9163 2013-10-02  Will Newton  <will.newton@linaro.org>
9165         * malloc/Makefile: Add tst-posix_memalign.
9166         * malloc/tst-posix_memalign.c: New file.
9168 2013-10-01  Eric Blake  <eblake@redhat.com>
9170         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9171         Use __THROWNL rather than __THROW on static functions.
9173 2013-09-30  Petr Machata  <pmachata@redhat.com>
9175         * elf/elf.h (R_AARCH64_ABS16): New macro.
9176         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9177         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9178         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9179         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9180         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9181         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9182         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9183         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9184         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9185         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9186         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9187         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9188         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9189         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9190         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9191         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9192         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9193         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9194         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9195         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9196         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9197         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9198         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9199         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9200         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9201         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9202         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9203         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9204         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9205         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9206         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9207         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9208         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9209         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9210         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9211         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9212         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9213         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9214         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9215         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9216         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9217         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9218         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9219         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9220         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9221         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9222         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9223         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9224         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9225         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9226         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9227         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9228         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9229         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9230         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9231         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9232         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9233         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9234         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9235         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9236         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9237         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9238         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9239         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9240         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9241         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9242         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9243         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9244         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9245         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9246         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9247         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9248         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9249         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9250         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9251         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9252         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9253         (R_AARCH64_TLSDESC_LDR): Likewise.
9254         (R_AARCH64_TLSDESC_ADD): Likewise.
9255         (R_AARCH64_TLSDESC_CALL): Likewise.
9257 2013-09-30  Andreas Schwab  <schwab@suse.de>
9259         [BZ #15048]
9260         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9261         the nss database lookup.
9262         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9265 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
9267         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9269 2013-09-28  P. J. McDermott  <pj@pehjota.net>
9271         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9272         ${Bash-specific parameter/pattern/string} parameter expansion.
9273         * sysdeps/unix/make-syscalls.sh: Likewise.
9275 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9277         * sysdeps/sh/stackguard-macros.h: New file.
9279 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
9281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9283         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9284         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9285         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9286         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9288 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9290         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9291         Fix thread ID register.
9293 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
9295         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9296         [POSIX || UNIX98]: Require rather than permitting all symbols from
9297         <time.h>.
9298         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9299         element of struct sched_param.
9300         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9301         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9302         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9303         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9304         constant.
9306 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
9308         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9309         argument calculation.
9311 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9313         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9314         Expect macro.
9315         [POSIX] (pthread_attr_t): Do not require type.
9316         [POSIX] (pthread_cond_t): Likewise.
9317         [POSIX] (pthread_condattr_t): Likewise.
9318         [POSIX] (pthread_key_t): Likewise.
9319         [POSIX] (pthread_mutex_t): Likewise.
9320         [POSIX] (pthread_mutexattr_t): Likewise.
9321         [POSIX] (pthread_once_t): Likewise.
9322         [POSIX] (pthread_t): Likewise.
9323         [POSIX-based standards] (pthread_atfork): Expect function.
9325 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9326             Richard Sandiford  <richard@codesourcery.com>
9328         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9329         (swap_endianness_p): New extern variable.
9330         (set_big_endian): New inline function.
9331         (maybe_swap_uint32): Likewise.
9332         (maybe_swap_uint32_array): Likewise.
9333         (maybe_swap_uint32_obstack): Likewise.
9334         * locale/programs/locfile.c: Include <stdbool.h>.
9335         (swap_endianness_p): New variable.
9336         (add_locale_uint32): Call maybe_swap_uint32.
9337         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9338         (write_locale_data): Call maybe_swap_uint32_array.
9339         * locale/programs/ld-collate.c (obstack_int32_grow): Call
9340         maybe_swap_uint32.
9341         (obstack_int32_grow_fast): Likewise.
9342         (output_weightwc): Call maybe_swap_uint32_obstack.
9343         (collate_output): Likewise.
9344         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9345         (OPT_LITTLE_ENDIAN): Likewise.
9346         (options): Add --little-endian and --big-endian options.
9347         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9348         * locale/programs/locarchive.c: Include "locfile.h".
9349         (GET): New macro.
9350         (SET): Likewise.
9351         (INC): Likewise.
9352         (create_archive): Use the new macros to access fields of
9353         structures directly mapped from or written to locale archives.
9354         (oldlocrecentcmp): Likewise.
9355         (enlarge_archive): Likewise.
9356         (insert_name): Likewise.
9357         (add_alias): Likewise.
9358         (add_locale): Likewise.
9359         (delete_locales_from_archive): Likewise.
9360         (show_archive_content): Likewise.
9361         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
9362         locale data.
9364 2013-09-24  Roland McGrath  <roland@hack.frob.com>
9366         * manual/freemanuals.texi: Updated from (newly) canonical copy at
9367         http://www.gnu.org/doc/freemanuals.texi.
9368         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9370 2013-09-24  Will Newton  <will.newton@linaro.org>
9372         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9373         macro.
9375 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
9377         * locale/hashval.h (compute_hashval): Interpret bytes of key as
9378         unsigned char.
9380 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
9382         * manual/threads.texi (POSIX Threads): Fix a typo.
9384 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9386         [BZ #14547]
9387         * string/tst-strcoll-overflow.c: New test case.
9388         * string/Makefile (xtests): Add tst-strcoll-overflow.
9389         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9390         cache if string sizes may cause integer overflow.
9392         [BZ #14547]
9393         * string/strcoll_l.c (coll_seq): New members rule, idx,
9394         save_idx and back_us.
9395         (get_next_seq_nocache): New function.
9396         (do_compare_nocache): New function.
9397         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9398         when malloc fails.
9400 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
9402         [BZ #15754]
9403         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9404         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9405         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9407         [BZ #15754]
9408         * elf/Makefile (tests): Add tst-ptrguard1.
9409         (tests-static): Add tst-ptrguard1-static.
9410         (tst-ptrguard1-ARGS): Define.
9411         (tst-ptrguard1-static-ARGS): Define.
9412         * elf/tst-ptrguard1.c: New file.
9413         * elf/tst-ptrguard1-static.c: New file.
9414         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9415         * sysdeps/i386/stackguard-macros.h: Likewise.
9416         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9417         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9418         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9419         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9420         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9421         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9423 2013-09-23  Hector Marco  <hecmargi@upv.es>
9424             Ismael Ripoll  <iripoll@disca.upv.es>
9425             Carlos O'Donell  <carlos@redhat.com>
9427         [BZ #15754]
9428         * sysdeps/generic/stackguard-macros.h: Define
9429         __pointer_chk_guard_local and POINTER_CHK_GUARD.
9430         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9431         Define __pointer_chk_guard_local.
9432         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9433         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9435 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
9437         [BZ #15859]
9438         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9440 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
9442         * include/string.h (__ffs): Declare as hidden.
9443         * string/ffs.c (__ffs): Define as hidden.
9444         * sysdeps/i386/ffs.c (__ffs): Likewise.
9445         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9446         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9447         * sysdeps/s390/ffs.c (__ffs): Likewise.
9448         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9450 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
9452         * NEWS: Mention malloc probes.
9454         * malloc/arena.c (new_heap): New memory_heap_new probe.
9455         (grow_heap): New memory_heap_more probe.
9456         (shrink_heap): New memory_heap_less probe.
9457         (heap_trim): New memory_heap_free probe.
9458         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9459         (systrim): New memory_sbrk_less probe.
9460         * manual/probes.texi: Document them.
9462         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9463         * manual/probes.texi: Document it.
9465         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9466         (__libc_realloc): Add memory_realloc_retry probe.
9467         (__libc_memalign): Add memory_memalign_retry probe.
9468         (__libc_valloc): Add memory_valloc_retry probe.
9469         (__libc_pvalloc): Add memory_pvalloc_retry probe.
9470         (__libc_calloc): Add memory_calloc_retry probe.
9471         * manual/probes.texi: Document them.
9473         * malloc/arena.c (get_free_list): Add probe
9474         memory_arena_reuse_free_list.
9475         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9476         and memory_arena_reuse.
9477         (arena_get2) [!PER_THREAD]: Likewise.
9478         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9479         memory_arena_reuse_realloc.
9480         * manual/probes.texi: Document them.
9482         * malloc/malloc.c (__libc_free): Add
9483         memory_mallopt_free_dyn_thresholds probe.
9484         (__libc_mallopt): Add multiple memory_mallopt probes.
9485         * manual/probes.texi: Document them.
9487         * malloc/malloc.c: Include stap-probe.h.
9488         (__libc_mallopt): Add memory_mallopt probe.
9489         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9490         * manual/probes.texi: New.
9491         * manual/Makefile (chapters): Add probes.
9492         * manual/threads.texi: Set next node.
9494 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
9496         [BZ #15963, #13985]
9497         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9498         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9499         Add `Chinese' to `nan' entry name.
9501 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9503         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9504         (POLYNOMIAL): Likewise.
9505         (TAYLOR_SINCOS): Likewise.
9506         (TAYLOR_SLOW): Likewise.
9507         (__sin): Use TAYLOR_SINCOS.
9508         (__cos): Likewise.
9509         (slow): Use TAYLOR_SLOW.
9510         (sloww): Likewise.
9511         (bsloww): Likewise.
9512         (csloww): Likewise.
9514 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9516         * stdlib/strtod_l.c: Fix buffer overrun.
9518 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9520         * benchtests/Makefile (bench): Add sincos.
9521         * benchtests/bench-sincos.c: New file.
9523         * math/libm-test.inc (cos_test_data): New test inputs.
9524         (sin_test_data): Likewise.
9526         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9527         macro.
9528         (__sin): Use it.
9529         (__cos): Likewise.
9530         (slow1): Likewise.
9531         (slow2): Likewise.
9532         (sloww1): Likewise.
9533         (sloww2): Likewise.
9534         (bsloww1): Likewise.
9535         (bsloww2): Likewise.
9536         (cslow2): Likewise.
9537         (csloww1): Likewise.
9538         (csloww2): Likewise.
9540         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9541         function.
9542         (__sin): Use it.
9543         (__cos): Likewise.
9545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9546         gotos.
9547         (__cos): Likewise.
9549 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
9551         * config.h.in (HAVE_MIPS_NAN2008): New macro.
9552         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9553         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9554         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9555         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9556         * elf/cache.c (print_entry): Handle the new cache flags.
9558 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9559             Aldy Hernandez  <aldyh@redhat.com>
9561         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9562         Change condition to [_SOFT_FLOAT].
9563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9568         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9575         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9578         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9579         declaration.
9581 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9583         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9584         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9585         (__longjmp): Use LOAD_GP to load saved GPRs.
9586         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9587         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9588         (__sigsetjmp): Use SAVE_GP to save GPRs.
9590         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9591         Do not append -msoft-float.
9592         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9594 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9596         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9598 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
9600         [BZ #15966]
9601         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9602         (_FPU_GETCW): Use initial "__" on variable and field names but not
9603         on macro parameter name.
9604         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
9605         parentheses around reference to macro parameter.
9607 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
9609         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9610         prototype.
9611         (ctype_startup): Use uint32_t in cast and sizeof for
9612         ctype->charnames.
9614 2013-09-11  Jia Liu  <proljc@gmail.com>
9616         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9617         __daddr_t_defined.
9618         [__FreeBSD__]: Likewise.
9620 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9623         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9624         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9625         (strchr): Remove __strchr_sse42 ifunc selection.
9626         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9627         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9629 2013-09-11  Will Newton  <will.newton@linaro.org>
9631         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9632         parameter to RES. Remove hardcoded 1000 value.
9633         * benchtests/bench-skeleton.c (main): Pass RES parameter
9634         to TIMING_INIT and multiply result by 1000.
9636 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9640 2013-09-11  Andreas Schwab  <schwab@suse.de>
9642         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9643         if not defined.
9644         (O_TMPFILE) [__USE_GNU]: Define.
9645         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9646         Define.
9648 2013-09-11  Will Newton  <will.newton@linaro.org>
9650         [BZ #15857]
9651         * malloc/malloc.c (__libc_memalign): Check the value of bytes
9652         does not overflow.
9654 2013-09-11  Will Newton  <will.newton@linaro.org>
9656         [BZ #15856]
9657         * malloc/malloc.c (__libc_valloc): Check the value of bytes
9658         does not overflow.
9660 2013-09-11  Will Newton  <will.newton@linaro.org>
9662         [BZ #15855]
9663         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9664         does not overflow.
9666 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
9668         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9669         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9670         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9671         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9672         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9674 2013-09-10  Allan McRae  <allan@archlinux.org>
9676         [BZ #15748]
9677         * manual/arith.texi (Parsing of Floats): Clarify
9678         cross-reference.
9680         [BZ #15849]
9681         * manual/install.texi (Running make install): Mention
9682         --enable-pt-chown.
9683         * INSTALL: Regenerated.
9685 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
9687         * csu/init-first.c (_init): Remove the !SHARED condition around
9688         FPU control word initialization.
9689         * elf/dl-support.c (_dl_fpu_control): New variable.
9690         (_dl_aux_init) <AT_FPUCW>: Initialize it.
9691         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9692         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9693         * math/test-fpucw-static.c: New file.
9694         * math/test-fpucw-ieee.c: New file.
9695         * math/test-fpucw-ieee-static.c: New file.
9696         * math/Makefile (tests): Add `test-fpucw-ieee' and
9697         `$(tests-static)'.
9698         (tests-static): New variable.
9699         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9700         dependency to...
9701         [($(build-shared),yes)]
9702         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9703         ... this.
9704         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9705         New dependency.
9707 2013-09-09  Allan McRae  <allan@archlinux.org>
9709         [BZ #15939]
9710         * manual/string.texi (Collation Functions): Fix typo in
9711         strcoll example.
9712         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9714         [BZ #15893]
9715         * stdlib/isomac.c (get_null_defines): Fix memory leak.
9717         [BZ #15892]
9718         * libio/memstream.c (open_memstream): Fix memory leak.
9719         * libio/wmemstream.c (open_wmemstream): Likewise.
9721         [BZ #15895]
9722         * nscd/netgroupcache.c: Fix nesting of ifdefs.
9724 2013-09-09  Will Newton  <will.newton@linaro.org>
9726         * malloc/Makefile: Add tst-realloc to tests.
9727         * malloc/tst-realloc.c: New file.
9729 2013-09-09  Allan McRae  <allan@archlinux.org>
9731         [BZ #15844]
9732         * COPYING: Update from GNU website to fix FSF address.
9733         * COPYING.LIB: Likewise.
9735 2013-09-06  David S. Miller  <davem@davemloft.net>
9737         * po/zh_TW.po: Update Chinese (traditional) translation from
9738         translation project.
9740 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
9741             Joseph Myers  <joseph@codesourcery.com>
9743         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9744         "localeinfo.h".
9745         (obstack_chunk_alloc): New macro.
9746         (obstack_chunk_free): Likewise.
9747         (record_offset): New function.
9748         (init_locale_data): Likewise.
9749         (align_locale_data): Likewise.
9750         (add_locale_empty): Likewise.
9751         (add_locale_raw_data): Likewise.
9752         (add_locale_raw_obstack): Likewise.
9753         (add_locale_string): Likewise.
9754         (add_locale_wstring): Likewise.
9755         (add_locale_uint32): Likewise.
9756         (add_locale_uint32_array): Likewise.
9757         (add_locale_char): Likewise.
9758         (start_locale_structure): Likewise.
9759         (end_locale_structure): Likewise.
9760         (start_locale_prelude): Likewise.
9761         (end_locale_prelude): Likewise.
9762         (write_locale_data): Take locale_file structure rather than an
9763         iovec.
9764         * locale/programs/locfile.h: Include "obstack.h".
9765         (struct locale_file): Change to store locale file contents instead
9766         of header.
9767         (init_locale_data): New prototype.
9768         (align_locale_data): Likewise.
9769         (add_locale_empty): Likewise.
9770         (add_locale_raw_data): Likewise.
9771         (add_locale_raw_obstack): Likewise.
9772         (add_locale_string): Likewise.
9773         (add_locale_wstring): Likewise.
9774         (add_locale_uint32): Likewise.
9775         (add_locale_uint32_array): Likewise.
9776         (add_locale_char): Likewise.
9777         (start_locale_structure): Likewise.
9778         (end_locale_structure): Likewise.
9779         (start_locale_prelude): Likewise.
9780         (end_locale_prelude): Likewise.
9781         (write_locale_data): Update prototype.
9782         * locale/programs/3level.h (struct TABLE): Remove result field.
9783         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9784         Use new locale_file interface.
9785         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9786         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9787         * locale/programs/ld-address.c (address_output): Use new
9788         locale_file interface.
9789         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9790         NO_ADD_LOCALE.
9791         (collate_finish): Don't call collseq_table_finalize.
9792         (collate_output): Use new locale_file interface.
9793         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9794         in file.
9795         (NO_FINALIZE): Change to NO_ADD_LOCALE.
9796         (TABLE): Move defines earlier in file.
9797         (ELEMENT): Likewise.
9798         (DEFAULT): Likewise.
9799         (wctrans_table_add): Move macro and inline function earlier in
9800         file.
9801         (struct wctype_table): Move type earlier in file.
9802         (add_locale_wctype_table): New static prototype.
9803         (struct locale_ctype_t): Use logical types instead of struct iovec
9804         pointers for members.
9805         (ctype_output): Use new locale_file interface.
9806         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
9807         new locale_file interface.
9808         (allocate_arrays): Update for use of new locale_file interface.
9809         * locale/programs/ld-identification.c (identification_output): Use
9810         new locale_file interface.
9811         * locale/programs/ld-measurement.c (measurement_output): Likewise.
9812         * locale/programs/ld-messages.c (messages_output): Likewise.
9813         * locale/programs/ld-monetary.c (monetary_output): Likewise.
9814         * locale/programs/ld-name.c (name_output): Likewise.
9815         * locale/programs/ld-numeric.c (numeric_output): Likewise.
9816         * locale/programs/ld-paper.c (paper_output): Likewise.
9817         * locale/programs/ld-telephone.c (telephone_output): Likewise.
9818         * locale/programs/ld-time.c (time_output): Likewise.
9820 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9822         * benchtests/Makefile: Add memrchr benchmark.
9823         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9824         benchmark as memrchr.
9825         * benchtests/bench-memrchr-ifunc.c: New file.
9826         * benchtests/bench-memrchr.c: New file.
9828 2013-09-06   Will Newton  <will.newton@linaro.org>
9830         * benchtests/Makefile (string-bench): Add memcpy.
9832 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
9833             Cong Wang  <amwang@redhat.com>
9835         [BZ #15850]
9836         * sysdeps/unix/sysv/linux/bits/in.h
9837         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9838         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9839         before __USE_KERNEL_IPV6_DEFS uses.
9840         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9841         IPPROTO_BEETPH.
9842         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9843         sockaddr_in6, or ipv6_mreq.
9845 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9847         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9848         memory access for final bytes in some large inputs.
9849         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9851 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9853         * string/test-memrchr.c: New file.
9854         * string/test-memrchr-ifunc.c: New file.
9855         * string/Makefile: Add new memrchr testcase.
9857 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
9859         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9860         fanotify_init returns EPERM.
9862 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9864         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9865         errors.
9866         (top level): Treat second token from macro or constant entries for
9867         allowed headers as allowed.
9868         * include/complex.h: Condition internal declarations on
9869         [!_ISOMAC].
9870         * include/fenv.h: Condition include of <stdbool.h> and internal
9871         declarations on [!_ISOMAC].
9873 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
9875         [BZ #15923]
9876         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9878 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9880         * configure.in (--enable-versioning): Remove configure option.
9881         (libc_cv_asm_symver_directive): Remove configure test.
9882         (libc_cv_ld_version_script_option): Likewise.
9883         (VERSIONING): Remove variable and AC_SUBST.
9884         (DO_VERSIONING): Remove AC_DEFINE.
9885         * configure: Regenerated.
9886         * config.h.in (DO_VERSIONING): Remove macro.
9887         * Makerules [$(versioning) = yes]: Change conditionals to
9888         [$(build-shared) = yes].
9889         * config.make.in (versioning): Remove variable.
9890         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9891         [$(build-shared) = yes].
9892         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9893         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9894         * elf/Makefile [$(versioning) = yes]: Change conditionals to
9895         [$(build-shared) = yes].
9896         * extra-lib.mk [$(versioning) = yes]: Likewise.
9897         * hurd/Makefile [$(versioning) = yes]: Likewise.
9898         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9899         [SHARED].
9900         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9901         [SHARED].
9902         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9903         [SHARED && !NO_HIDDEN].
9904         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9905         [SHARED].
9906         [SHARED && DO_VERSIONING]: Likewise..
9907         * libio/Makefile [$(versioning) = yes]: Change conditionals to
9908         [$(build-shared) = yes].
9909         * manual/install.texi (--disable-versioning): Remove
9910         documentation.
9911         * INSTALL: Regenerated.
9912         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9913         to [SHARED].
9914         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9915         [$(build-shared) = yes].
9916         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9917         * sysdeps/i386/i686/multiarch/strstr-c.c
9918         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9919         [SHARED && !NO_HIDDEN].
9920         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9921         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9922         * sysdeps/powerpc/powerpc32/dl-machine.c
9923         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9924         * sysdeps/powerpc/powerpc32/sysdep.h
9925         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9926         to [SHARED && PIC && !NO_HIDDEN].
9927         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9928         conditional to [SHARED].
9930 2013-09-04   Will Newton  <will.newton@linaro.org>
9932         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9933         * benchtests/bench-string.h: Include bench-timing.h instead
9934         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9935         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9936         call to HP_TIMING_DIFF_INIT.
9937         * benchtests/bench-memccpy.c: Use bench-timing.h macros
9938         instead of hp-timing.h macros.
9939         * benchtests/bench-memchr.c: Likewise.
9940         * benchtests/bench-memcmp.c: Likewise.
9941         * benchtests/bench-memcpy.c: Likewise.
9942         * benchtests/bench-memmem.c: Likewise.
9943         * benchtests/bench-memmove.c: Likewise.
9944         * benchtests/bench-memset.c: Likewise.
9945         * benchtests/bench-rawmemchr.c: Likewise.
9946         * benchtests/bench-strcasecmp.c: Likewise.
9947         * benchtests/bench-strcasestr.c: Likewise.
9948         * benchtests/bench-strcat.c: Likewise.
9949         * benchtests/bench-strchr.c: Likewise.
9950         * benchtests/bench-strcmp.c: Likewise.
9951         * benchtests/bench-strcpy.c: Likewise.
9952         * benchtests/bench-strcpy_chk.c: Likewise.
9953         * benchtests/bench-strlen.c: Likewise.
9954         * benchtests/bench-strncasecmp.c: Likewise.
9955         * benchtests/bench-strncat.c: Likewise.
9956         * benchtests/bench-strncmp.c: Likewise.
9957         * benchtests/bench-strncpy.c: Likewise.
9958         * benchtests/bench-strnlen.c: Likewise.
9959         * benchtests/bench-strpbrk.c: Likewise.
9960         * benchtests/bench-strrchr.c: Likewise.
9961         * benchtests/bench-strspn.c: Likewise.
9962         * benchtests/bench-strstr.c: Likewise.
9964 2013-09-04  Will Newton  <will.newton@linaro.org>
9966         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9968 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
9970         [BZ #15427]
9971         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9972         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9973         * math/libm-test.inc (lgamma_test_data): Add more tests.
9974         * sysdeps/i386/fpu/libm-test-ulps: Update.
9975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9977 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
9979         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9981         Add ifunc.
9982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9983         Add strcmp-sse2-unaligned
9984         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9986 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9988         * Versions.def (libc): Add GLIBC_2.19.
9990 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9992         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9993         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9995 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
9997         [BZ #14155]
9998         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9999         intermediate calculations in recurrence.
10000         (__ieee754_ynf): Likewise.
10001         * math/libm-test.inc (jn_test_data): Do not allow spurious
10002         underflow exception.  Add more tests.
10003         (yn_test_data): Add more tests.
10004         * sysdeps/i386/fpu/libm-test-ulps: Update.
10005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10007 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
10009         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10011 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10013         * csu/init-first.c: Fix then/than typos.
10014         * locale/programs/ld-collate.c: Likewise.
10015         * locale/programs/linereader.h: Likewise.
10016         * manual/charset.texi: Likewise.
10017         * manual/filesys.texi: Likewise.
10018         * manual/stdio.texi: Likewise.
10019         * manual/string.texi: Likewise.
10020         * stdlib/fmtmsg.c: Likewise.
10021         * sysdeps/i386/stpncpy.S: Likewise.
10022         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10023         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10024         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10025         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10027 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
10029         * elf/dl-open.c: Fix typos.
10030         * iconvdata/gbbig5.c: Likewise.
10031         * iconvdata/iso-2022-jp.c: Likewise.
10032         * iconv/gconv_int.h: Likewise.
10033         * iconv/loop.c: Likewise.
10034         * nis/rpcsvc/nis.h: Likewise.
10035         * resolv/ns_name.c: Likewise.
10036         * stdio-common/vfscanf.c: Likewise.
10037         * streams/stropts.h: Likewise.
10038         * sunrpc/rpc_thread.c: Likewise.
10039         * sysdeps/i386/strpbrk.S: Likewise.
10040         * sysdeps/ieee754/k_standard.c: Likewise.
10041         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10042         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10043         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10044         * sysdeps/mach/hurd/profil.c: Likewise.
10045         * sysdeps/s390/dl-procinfo.h: Likewise.
10046         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10047         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10048         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10049         * sysdeps/x86_64/dl-trampoline.S: Likewise.
10050         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10052 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
10054         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10057 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
10059         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10060         aix specific files.
10061         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10062         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10063         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10064         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10065         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10066         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10067         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10068         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10070 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10071             Roland McGrath  <roland@hack.frob.com>
10073         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10074         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10076 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10078         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10079         __executable_start symbol instead of _start.
10081 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10083         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10084         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10085         Move macros to...
10086         * sysdeps/gnu/ldsodefs.h: ... this new file.
10088         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10089         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10090         instead of ELFOSABI_LINUX.
10092         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10093         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10094         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10095         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10096         Likewise.
10097         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10098         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10099         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10100         Likewise.
10101         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10102         (ibm_extended_long_double): Add ieee_nan member.
10103         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10104         (do_test): New function.
10106         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10107         TEST_TRUNC.
10108         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10109         functions, renamed from truncdfsf_test, trunctfsf_test,
10110         trunctfdf_test.
10111         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10112         functions.
10113         (do_test): Run all these.
10115 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
10117         * argp/argp-help.c: Fix typos.
10118         * argp/argp-parse.c: Likewise.
10119         * debug/backtracesyms.c: Likewise.
10120         * elf/elf.h: Likewise.
10121         * malloc/malloc.c: Likewise.
10122         * nis/nis_print.c: Likewise.
10123         * resolv/res_comp.c: Likewise.
10124         * stdlib/stdlib.h: Likewise.
10125         * sunrpc/clnt_tcp.c: Likewise.
10126         * sunrpc/clnt_udp.c: Likewise.
10127         * sunrpc/clnt_unix.c: Likewise.
10128         * sysdeps/unix/bsd/ptsname.c: Likewise.
10129         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10130         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10132         Likewise.
10133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10134         Likewise.
10135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10136         Likewise.
10137         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10139 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10141         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10144 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
10146         [BZ #15897]
10147         * dlfcn/Makefile (tests): Add bug-dl-leaf.
10148         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10149         ($(objpfx)bug-dl-leaf): New rule.
10150         ($(objpfx)bug-dl-leaf.so): Likewise.
10151         ($(objpfx)bug-dl-leaf.out): Likewise.
10152         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10153         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10154         * dlfcn/bug-dl-leaf.c: New test.
10155         * dlfcn/bug-dl-leaf-lib.c: Likewise.
10156         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10157         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10158         (dlclose): Likewise.
10159         (dlmopen): Likewise.
10161 2013-08-27  Roland McGrath  <roland@hack.frob.com>
10163         * include/netdb.h [!_ISOMAC]:
10164         Don't include <tls.h>.
10165         (h_errno, __libc_h_errno): Move declaration and macros out of
10166         [_LIBC_REENTRANT].
10168         * include/resolv.h [_RESOLV_H_]:
10169         Don't include <tls.h>.
10170         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10171         * resolv/res_libc.c: Don't include <tls.h>.
10172         (_res): Use __attribute__ ((nocommon)) in place of
10173         __attribute__ ((section (".bss"))).
10175         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10176         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10178         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10180         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10181         only under [SIOCGIFCONF && SIOCGIFNETMASK].
10183         * resolv/res_mkquery.c: Include <sys/time.h>.
10185         * inet/ifreq.c: Moved to ...
10186         * sysdeps/unix/ifreq.c: ... here.
10187         * inet/ifreq.c: New file, true stub version.
10189         * socket/sa_len.c: New file.
10190         * socket/Makefile (aux): Add it.
10191         * sysdeps/unix/sysv/linux/Makefile
10192         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10193         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10194         and #include <socket/sa_len.c>.
10195         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10196         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10198         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10199         * bits/socket.h: ... here.
10201         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10202         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10203         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10205 2013-08-27  Andreas Schwab  <schwab@suse.de>
10207         [BZ #15736]
10208         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10209         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10210         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10211         * string/test-strcasecmp.c (test_main): Run tests in several
10212         locales.
10213         * string/test-strncasecmp.c (test_main): Likewise.
10215         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10216         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10217         to __strcasecmp_nonascii and __strncasecmp_nonascii.
10218         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10219         (__strncasecmp_ssse3) [PIC]: Likewise.
10221 2013-08-26  Roland McGrath  <roland@hack.frob.com>
10223         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10225         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10226         instead of explicitly declaring xdecrypt.
10227         * nis/nss_nis/nis-publickey.c: Likewise.
10229 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10231         [BZ #15890]
10232         * nscd/aicache.c: Include res_hconf.h.
10233         (addhstaiX): Initialize res_hconf.
10235 2013-08-26  Andreas Schwab  <schwab@suse.de>
10237         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10238         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10240 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10242         * nscd/aicache.c (addhstaiX): Fix indentation.
10244 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
10246         * configure.ac: Quote $build_pt_chown test.
10247         * configure: Regenerated.
10249 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
10251         [BZ #15532]
10252         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10253         * math/s_cexpf.c (__cexpf): Likewise.
10254         * math/s_cexpl.c (__cexpl): Likewise.
10255         * math/libm-test.inc (cexp_test_data): Correct expected return
10256         value for NaN + i0.  Add another test.
10258 2013-08-22  David S. Miller  <davem@davemloft.net>
10260         * po/ca.po: Update Catalan translation from translation project.
10261         * po/uk.po: Add Ukrainian translations from translation project.
10263 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
10265         [BZ #15797]
10266         * math/s_fdim.c (__fdim): Check for infinite arguments if result
10267         is infinite, not alongside NaN test.
10268         * math/s_fdimf.c (__fdimf): Likewise.
10269         * math/s_fdiml.c (__fdiml): Likewise.
10270         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
10271         errno is unchanged.
10273 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
10275         * argp/argp-help.c: Fix typos.
10276         * crypt/speeds.c: Likewise.
10277         * csu/check_fds.c: Likewise.
10278         * elf/dl-load.c: Likewise.
10279         * elf/dl-open.c: Likewise.
10280         * elf/reldep3.c: Likewise.
10281         * elf/reldep.c: Likewise.
10282         * elf/sprof.c: Likewise.
10283         * iconv/iconv_charmap.c: Likewise.
10284         * iconv/skeleton.c: Likewise.
10285         * iconv/strtab.c: Likewise.
10286         * io/lockf64.c: Likewise.
10287         * libio/libioP.h: Likewise.
10288         * resolv/gai_notify.c: Likewise.
10289         * resolv/ns_name.c: Likewise.
10290         * resolv/ns_samedomain.c: Likewise.
10291         * resolv/res_send.c: Likewise.
10292         * stdlib/random.c: Likewise.
10293         * sunrpc/rpc/xdr.h: Likewise.
10294         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10295         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10296         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10297         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10298         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10299         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10300         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10301         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10302         * sysdeps/mach/hurd/check_fds.c: Likewise.
10303         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10304         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10305         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10306         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10307         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10308         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10309         * sysdeps/pthread/aio_notify.c: Likewise.
10310         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10311         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10312         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10313         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10314         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10316 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10318         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10319         version if bit_Slow_SSE4_2 is set.
10320         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10321         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10323 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10325         [BZ #15867]
10326         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10327         trampoline stack frame information.
10328         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10329         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10330         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10331         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10332         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10333         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10334         (_libc_vdso_platform_setup): Initialize the signal trampolines.
10335         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10336         sa_flags value.
10337         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10338         interrupting a syscall and set with option SA_SIGINFO.
10340 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10342         [BZ #15531]
10343         * math/s_cproj.c (__cproj): Only return an infinity if one part of
10344         argument is infinite.
10345         * math/s_cprojf.c (__cprojf): Likewise.
10346         * math/s_cprojl.c (__cprojl): Likewise.
10347         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10348         * math/libm-test.inc (cproj_test_data): Add more tests.
10350         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10352         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10353         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10354         size.  Use __ffs to determine corresponding shift.
10356 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10357             Roland McGrath  <roland@hack.frob.com>
10359         * Makefile (INSTALL): Remove trailing blank lines from output of
10360         makeinfo.
10362 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10364         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10365         Align 32 bit compat elf_greg to 8 bytes.
10367 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10369         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10371 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10373         * string/strcoll_l.c (coll_seq): New structure.
10374         (get_next_seq_cached): New function.
10375         (get_next_seq): New function.
10376         (do_compare): New function.
10377         (STRCOLL): Use GNU style definition.  Simplify implementation
10378         by using get_next_seq, get_next_seq_cached and do_compare.
10380 2013-08-16  Florian Weimer  <fweimer@redhat.com>
10382         [BZ #14699]
10383         CVE-2013-4237
10384         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10385         member.
10386         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10387         member.
10388         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10389         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10390         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
10391         conditional.
10392         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10393         GETDENTS_64BIT_ALIGNED.
10394         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10395         * manual/filesys.texi (Reading/Closing Directory): Document
10396         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
10397         strongly.
10398         * manual/conf.texi (Limits for Files): Add portability note to
10399         NAME_MAX, PATH_MAX.
10400         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10402 2013-08-13  Andreas Schwab  <schwab@suse.de>
10404         [BZ #15749]
10405         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10406         of fabs.
10407         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10408         LDBL_MAX_EXP >= 16384]: Add tests for it.
10410 2013-08-12  David S. Miller  <davem@davemloft.net>
10412         * version.h (RELEASE): Set to "development".
10413         (VERSION): Set to "2.18.90".
10414         * NEWS: Add 2.19 section.
10416 2013-08-03  David S. Miller  <davem@davemloft.net>
10418         * po/ko.po: Update Korean translation from translation project.
10420 2013-08-01  David S. Miller  <davem@davemloft.net>
10422         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
10423         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10424         Bilka.
10426 2013-07-30  David S. Miller  <davem@davemloft.net>
10428         * po/fr.po: Update French translation from translation project.
10430 2013-07-28  David S. Miller  <davem@davemloft.net>
10432         * po/cs.po: Update Czech translation from translation project.
10434         * po/sv.po: Update Swedish translation from translation project.
10436 2013-07-27  David S. Miller  <davem@davemloft.net>
10438         * po/eo.po: Update Esperanto translation from translation project.
10440         * po/vi.po: Update Vietnamese translation from translation project.
10442         * po/de.po: Update German translation from translation project.
10444 2013-07-26  David S. Miller  <davem@davemloft.net>
10446         * po/bg.po: Update Bulgarian translation from translation project.
10448         * po/nl.po: Update Dutch translation from translation project.
10449         * po/pl.po: Update Polish translation from translation project.
10450         * po/ru.po: Update Russian translation from translation project.
10452 2013-07-24  David S. Miller  <davem@davemloft.net>
10454         * po/libc.pot: Update.
10456 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10458         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10459         variable page size.
10460         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10461         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10462         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10464 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10466         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10468 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10469             Andreas Schwab  <schwab@suse.de>
10470             Roland McGrath  <roland@hack.frob.com>
10471             Joseph Myers  <joseph@codesourcery.com>
10472             Carlos O'Donell  <carlos@redhat.com>
10474         [BZ #15755]
10475         * config.h.in: Define HAVE_PT_CHOWN.
10476         * config.make.in (build-pt-chown): New variable.
10477         * configure.in (--enable-pt_chown): New configure option.
10478         * configure: Regenerate.
10479         * login/Makefile: Include Makeconfig.  Build pt_chown only if
10480         build-pt-chown is enabled.
10481         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10482         pt_chown to fix pty ownership.
10483         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10484         CLOSE_ALL_FDS.
10485         * manual/install.texi (Configuring and compiling): Mention
10486         --enable-pt_chown. Add @findex for grantpt.
10487         * INSTALL: Regenerate.
10489 2013-07-20  David S. Miller  <davem@davemloft.net>
10491         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10492         difference between 32-bit and 64-bit.
10494 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
10496         [BZ #15711]
10497         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10498         Avoid system header dependency with -ffreestanding.
10499         ($(objpfx)bits/syscall%d): Likewise.
10501 2013-07-13  David S. Miller  <davem@davemloft.net>
10503         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10504         underflows from atanl/atan2l due to bug 15319.
10505         (casinh_test_data): Likewise.
10507 2013-07-07  David S. Miller  <davem@davemloft.net>
10509         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10511 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
10513         * sysdeps/i386/fpu/libm-test-ulps: Update.
10514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10516 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10518         * configure.in (--enable-lock-elision): Fix message text.
10519         * INSTALL: Regenerate.
10520         * configure: Regenerate.
10522 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10526 2013-07-03  Andreas Jaeger  <aj@suse.de>
10528         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10529         define.
10530         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10531         (ptrace_peeksiginfo_args): Add.
10532         (__ptrace_peeksiginfo_flags): Add.
10533         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10534         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10535         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10537 2013-07-03  Allan McRae  <allan@archlinux.org>
10539         * sysdeps/i386/fpu/libm-test-ulps: Update.
10541 2013-07-02  David S. Miller  <davem@davemloft.net>
10543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10545 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
10547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10549 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10551         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10554 2013-07-02  Andi Kleen <ak@linux.intel.com>
10556         * config.h.in (ENABLE_LOCK_ELISION): Add.
10557         * configure.in (--enable-lock-elision): Add option.
10558         * manual/install.texi: Document --enable lock elision.
10559         * configure: Regenerate
10560         * INSTALL: Regenerate.
10562 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10564         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10565         SSE4.2 strcasecmp for libc.a.
10566         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10568 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10570         [BZ #13304]
10571         * soft-fp/op-common.h (_FP_FMA): New macro.
10572         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10573         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
10574         (_FP_MUL_MEAT_1_imm): ... here.
10575         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
10576         (_FP_MUL_MEAT_1_wide): ... here.
10577         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
10578         (_FP_MUL_MEAT_1_hard): ... here.
10579         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10580         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
10581         (_FP_MUL_MEAT_2_wide): ... here.
10582         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
10583         (_FP_MUL_MEAT_2_wide_3mul): ... here.
10584         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
10585         (_FP_MUL_MEAT_2_gmp): ... here.
10586         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10587         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
10588         (_FP_MUL_MEAT_4_wide): ... here.
10589         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
10590         (_FP_MUL_MEAT_4_gmp): ... here.
10591         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10592         (_FP_WFRACBITS_DW_S): Likewise.
10593         (_FP_WFRACXBITS_DW_S): Likewise.
10594         (_FP_HIGHBIT_DW_S): Likewise.
10595         (FP_FMA_S): Likewise.
10596         (_FP_FRAC_HIGH_DW_S): Likewise.
10597         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10598         (_FP_WFRACBITS_DW_D): Likewise.
10599         (_FP_WFRACXBITS_DW_D): Likewise.
10600         (_FP_HIGHBIT_DW_D): Likewise.
10601         (FP_FMA_D): Likewise.
10602         (_FP_FRAC_HIGH_DW_D): Likewise.
10603         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10604         (_FP_WFRACBITS_DW_E): Likewise.
10605         (_FP_WFRACXBITS_DW_E): Likewise.
10606         (_FP_HIGHBIT_DW_E): Likewise.
10607         (FP_FMA_E): Likewise.
10608         (_FP_FRAC_HIGH_DW_E): Likewise.
10609         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10610         (_FP_WFRACBITS_DW_Q): Likewise.
10611         (_FP_WFRACXBITS_DW_Q): Likewise.
10612         (_FP_HIGHBIT_DW_Q): Likewise.
10613         (FP_FMA_Q): Likewise.
10614         (_FP_FRAC_HIGH_DW_Q): Likewise.
10615         * soft-fp/fmasf4.c: New file.
10616         * soft-fp/fmadf4.c: Likewise.
10617         * soft-fp/fmatf4.c: Likewise.
10619 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10622         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10623         Silvermont.
10624         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10625         macro.
10626         (index_Slow_SSE4_2): Likewise.
10627         (index_Prefer_PMINUB_for_stringop): Likewise.
10628         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10629         bit_Slow_SSE4_2 is set.
10630         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10631         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10633 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10635         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10636         rtld_global._dl_hwcap2.
10637         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10638         POWER8.
10639         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10640         POWER8 feature descriptions defined in _dl_hwcap2.
10641         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10642         string handling for POWER8 feature bits.
10643         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10644         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10645         _dl_powerpc_cap_flags.
10646         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10647         * sysdeps/powerpc/rtld-global-offsets.sym
10648         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10649         _dl_hwcap2 in the rtld_global_ro structure.
10651 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10653         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10654         hardware capabilities in support of AT_HWCAP2.
10655         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10656         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10657         GLRO(dl_hwcap2).
10658         (_dl_show_auxv): Add support for calling _dl_procinfo to display
10659         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10660         explicitly the unknown a_type display mechanism is used.
10661         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10662         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10663         struct member.
10664         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10665         to macro prototype for AT_HWCAP2 support.
10666         * sysdeps/i386/dl-procinfo.h: Likewise.
10667         * sysdeps/s390/dl-procinfo.h: Likewise.
10668         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10669         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
10670         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
10671         return -1 for unknown a_type display fallback.
10672         * sysdeps/sparc/dl-procinfo.h: Likewise.
10673         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10674         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10676 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
10678         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10679         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10681 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
10683         [BZ #12492]
10684         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10685         mprotect making __stack_prot writable.
10687 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
10688             Joseph Myers  <joseph@codesourcery.com>
10690         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10691         as being properly aligned.
10693 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
10695         * dlfcn/modstatic5.c: New file.
10696         * dlfcn/tststatic5.c: New file.
10697         * dlfcn/Makefile (tests): Add tststatic5.
10698         (tests-static): Likewise.
10699         (modules-names): Add modstatic5.
10700         (tststatic5-ENV): New variable.
10701         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10703         [BZ #15022]
10704         * elf/dl-support.c (_dl_main_map): New variable.
10705         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10706         (_dl_nns, _dl_load_adds): Set to 1.
10707         (_dl_initial_searchlist): Refer to _dl_main_map.
10708         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10709         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10710         call to _dl_get_origin.
10711         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10712         around call_map.
10713         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10714         * dlfcn/modstatic3.c: New file.
10715         * dlfcn/tststatic3.c: New file.
10716         * dlfcn/tststatic4.c: New file.
10717         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10718         (tests-static): Likewise.
10719         (modules-names): Add modstatic3.
10720         (tststatic3-ENV, tststatic4-ENV): New variables.
10721         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10722         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10724 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
10726         * configure.in (CC): Require GCC version 4.4 or later.
10727         * configure: Regenerated.
10728         * manual/install.texi (Tools for Compilation): Update GCC version
10729         requirement.
10730         * INSTALL: Regenerated.
10732 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10734         [BZ #15674]
10735         * string/test-memcmp.c (check2): New.
10736         (main): Call check2.
10738         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10740 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
10742         [BZ #15022]
10743         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10744         over to...
10745         (dl_open_worker) [!SHARED]: ... here.
10747 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10749         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10751 2013-06-25  Richard Henderson  <rth@redhat.com>
10753         * locale/programs/locarchive.c: Include <libc-internal.h>
10755 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
10757         * manual/texinfo.tex: Update to version 2013-06-21.17, with
10758         trailing whitespace removed.
10760 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10762         [BZ #10283]
10763         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10764         * locale/programs/locarchive.c: Include libc-mmap.h.
10765         (prepare_address_space): Take two new outputs (the mmap base and len).
10766         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
10767         values.
10768         (create_archive): Declare new mmap base and len values for
10769         prepare_address_space, and store the result in ah.
10770         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10771         (enlarge_archive): If ah->mmap_base is not NULL, use that and
10772         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10773         Declare new mmap base and len values for
10774         prepare_address_space, and store the result in new_ah.
10775         (open_archive): Declare new mmap base and len values for
10776         prepare_address_space, and store the result in ah.
10777         (close_archive): If ah->mmap_base is not NULL, use that and
10778         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10779         * sysdeps/generic/libc-mmap.h: New file.
10781 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10783         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10784         (ALIGN_UP): Likewise.
10785         (PTR_ALIGN_DOWN): Likewise.
10786         (PTR_ALIGN_UP): Likewise.
10788 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10790         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10791         entry mapped to PPC_PLATFORM_POWER8.
10792         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10793         POWER8.
10794         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10795         (_dl_string_platform): Add case for exporting platform position for
10796         POWER8.
10797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10798         search path to sysdeps/powerpc/powerpc32/power8 directory.
10799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10800         search path to sysdeps/powerpc/powerpc64/power8 directory.
10801         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10802         power7 directories.
10803         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10804         power7 directories.
10806 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10808         * INSTALL: Regenerate.
10810         * nscd/connections.c (nscd_init): Fix comment.
10812 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
10814         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10816         [BZ #15667]
10817         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10818         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10820 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10822         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10823         DL_DST_REQ_STATIC.
10824         (DL_DST_REQ_STATIC): Remove macro.
10826 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
10828         [BZ #7006]
10829         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10830         with a shift of 0 bits.
10832 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10834         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10835         $(tststatic-ENV).
10837 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10839         [BZ #15655]
10840         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10842 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10844         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10845         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10846         accepts -fno-tree-loop-distribute-patterns.
10847         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10848         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10849         recursive call.
10850         * string/memset.c (memset): Likewise.
10851         * string/test-memmove.c (simple_memmove): Disable loop transformation
10852         to library calls.
10853         * string/test-memset.c (simple_memset): Likewise.
10854         * benchtests/bench-memmove.c (simple_memmove): Likewise.
10855         * benchtests/bench-memset.c (simple_memset): Likewise.
10856         * configure: Regenerated.
10858 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
10860         * math/test-misc.c (main): Ignore fesetround failure when failures
10861         of subsequent rounding tests would be ignored.
10863         [BZ #15654]
10864         * math/fedisblxcpt.c (fedisableexcept): Return 0.
10865         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10866         * math/fegetenv.c (__fegetenv): Return 0.
10867         * math/fegetexcept.c (fegetexcept): Return 0.
10868         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10869         FE_TONEAREST.
10870         * math/feholdexcpt.c (feholdexcept): Return 0.
10871         * math/fesetenv.c (__fesetenv): Return 0.
10872         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10873         argument FE_TONEAREST.
10874         * math/feupdateenv.c (__feupdateenv): Return 0.
10875         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10877 2013-06-18  Roland McGrath  <roland@hack.frob.com>
10879         * elf/rtld-Rules (rtld-compile-command.S): New variable.
10880         (rtld-compile-command.s, rtld-compile-command.c): New variables.
10881         ($(objpfx)rtld-%.os rules): Use them.
10883 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10885         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10886         fields.
10888 2013-06-17  Roland McGrath  <roland@hack.frob.com>
10890         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10891         length of target pattern, then descending length of dependency pattern.
10892         * configure.in (AWK): Require gawk 3.1.2 or newer.
10893         * manual/install.texi (Tools for Compilation): Say that we do.
10894         * configure: Regenerated.
10896         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10897         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10898         * scripts/sysd-rules.awk: ... this new script.
10899         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10900         than a glob-style pattern.
10902 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
10904         * math/test-misc.c (main): Do not treat incorrectly rounded
10905         conversions as failure unless ROUNDING_TESTS passes.
10907 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
10909         [BZ #15631]
10910         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10911         restore exception state around main square root computation, then
10912         check for inexactness explicitly.
10914         * math/libm-test.inc (fma_test_data): Add another test.
10916 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10918         * manual/threads.texi (Non-POSIX Extensions): New document
10919         node.  Document pthread_getattr_default_np and
10920         pthread_setattr_default_np.
10922         * Versions.def (libpthread): Add GLIBC_2.18.
10923         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10925         Likewise.
10926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10927         Likewise.
10928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10929         Likewise.
10930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10931         Likewise.
10932         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10933         Likewise.
10934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10935         Likewise.
10936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10937         Likewise.
10938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10939         Likewise.
10940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10941         Likewise.
10943 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10946         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10948 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10949             H.J. Lu  <hjl.tools@gmail.com>
10951         [BZ #15627]
10952         * sysdeps/x86_64/rtld-memset.c: Remove file.
10953         * sysdeps/x86_64/rtld-memset.S: New file.
10955 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
10957         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10958         (test_in_one_mode): Take arguments for whether the rounding mode
10959         is supported for each floating-point type.
10960         (do_test): Pass new arguments to test_in_one_mode using
10961         ROUNDING_TESTS.
10963 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10965         * posix/tst-waitid.c (do_test): Distinguish different instances of
10966         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
10967         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10968         before entering the kernel for waitpid.
10970 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10972         * NEWS: Fix note on clock function precision.  Text by Roland
10973         McGrath.
10975 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10977         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10978         it into place only when and if the sanity check passes.
10980 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
10982         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10983         output for whether conversion result is exact.  Take argument
10984         indicating whether type is IBM long double.
10985         (round_for_all): Change need_exact field to ibm_ld.
10986         * stdlib/tst-strtod-round.c (struct exactness): New type.
10987         (struct test): Change bool ld_ok field to struct exactness exact.
10988         (TEST): Update all definitions for change to field.
10989         (tests): Regenerate array contents.
10990         (test_in_one_mode): Take pointer to new field instead of old ld_ok
10991         field value.  Check for IBM long double here.
10992         (do_test): Update calls to test_in_one_mode.
10994 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10996         [BZ #12515]
10997         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10998         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11000 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11002         [BZ #15605]
11003         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11004         generated by the compiler on loop optimizations.
11005         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11006         general definitions.
11008 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
11010         * math/bug-nextafter.c: Include <math-tests.h>.
11011         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11012         the relevant type.
11013         * math/bug-nexttoward.c: Include <math-tests.h>.
11014         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11015         the relevant type.
11016         * math/test-misc.c: Include <math-tests.h>.
11017         (main): Only test for exceptions if EXCEPTION_TESTS is true for
11018         the relevant type.
11020 2013-06-12  Andreas Jaeger  <aj@suse.de>
11022         * po/ia.po: Update Interlingua translation from translation
11023         project.
11025 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11027         * include/fenv.h: Include stdbool.h.
11028         (struct rm_ctx): New structure.
11029         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11030         Define macro.
11031         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11032         (SET_RESTORE_ROUNDF): Likewise.
11033         (SET_RESTORE_ROUNDL): Likewise.
11034         (SET_RESTORE_ROUND_NOEX): Likewise.
11035         (SET_RESTORE_ROUND_NOEXF): Likewise.
11036         (SET_RESTORE_ROUND_NOEXL): Likewise.
11037         (SET_RESTORE_ROUND_53BIT): Likewise.
11038         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11039         (libc_feresetround_noexf_ctx): Likewise.
11040         (libc_feresetround_noexl_ctx): Likewise.
11041         (libc_feholdsetround_53bit_ctx): Likewise.
11042         (libc_feresetround_53bit_ctx): Likewise.
11043         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11044         (libc_feholdexcept_setround_sse_ctx): New function.
11045         (libc_fesetenv_sse_ctx): Likewise.
11046         (libc_feupdateenv_sse_ctx): Likewise.
11047         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11048         (libc_feholdexcept_setround_387_ctx): Likewise.
11049         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11050         (libc_feholdsetround_387_prec_ctx): Likewise.
11051         (libc_feholdsetround_387_ctx): Likewise.
11052         (libc_feholdsetround_387_53bit_ctx): Likewise.
11053         (libc_feholdsetround_sse_ctx): Likewise.
11054         (libc_feresetround_sse_ctx): Likewise.
11055         (libc_feresetround_387_ctx): Likewise.
11056         (libc_feupdateenv_387_ctx): Likewise.
11057         (libc_feholdexcept_setroundf_ctx): Define macro.
11058         (libc_fesetenvf_ctx): Likewise.
11059         (libc_feupdateenvf_ctx): Likewise.
11060         (libc_feholdsetroundf_ctx): Likewise.
11061         (libc_feresetroundf_ctx): Likewise.
11062         (libc_feholdexcept_setround_ctx): Likewise.
11063         (libc_fesetenv_ctx): Likewise.
11064         (libc_feupdateenv_ctx): Likewise.
11065         (libc_feholdsetround_ctx): Likewise.
11066         (libc_feresetround_ctx): Likewise.
11067         (libc_feholdexcept_setroundl_ctx): Likewise.
11068         (libc_feupdateenvl_ctx): Likewise.
11069         (libc_feholdsetroundl_ctx): Likewise.
11070         (libc_feresetroundl_ctx): Likewise.
11071         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11072         (libc_feresetround_53bit_ctx): Likewise.
11074 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11076         * locale/iso-639.def: Convert to UTF-8.
11078 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
11080         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11081         (EXCEPTION_TESTS_double): Likewise.
11082         (EXCEPTION_TESTS_long_double): Likewise.
11083         (EXCEPTION_TESTS): Likewise.
11084         * math/libm-test.inc (test_exceptions): Only test exceptions if
11085         EXCEPTION_TESTS (FLOAT).
11087 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11089         * benchtests/Makefile (string-bench): Add strcpy_chk and
11090         stpcpy_chk.
11091         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11092         * benchtests/bench-stpcpy_chk.c: New file.
11093         * benchtests/bench-strcpy_chk-ifunc.c: New file.
11094         * benchtests/bench-strcpy_chk.c: New file.
11095         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11096         code.
11097         (do_test): Likewise.
11099 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11101         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11102         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11103         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11104         with tabs where appropriate.
11105         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11106         dl-procinfo.h.
11107         [PPC_PLATFORM_PPC440]: Likewise.
11108         [PPC_PLATFORM_PPC464]: Likewise.
11109         [PPC_PLATFORM_PPC476]: Likewise.
11110         (_dl_string_platform): Add support for detecting ppc405, ppc440,
11111         ppc464, and ppc476 platform strings merging from ports/
11112         dl-procinfo.h.
11114 2013-06-11  Andreas Schwab  <schwab@suse.de>
11116         [BZ #14991]
11117         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11118         (from_ucs4_idx): Regenerate.
11119         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11120         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11121         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11122         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11123         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11124         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11125         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11126         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11127         from FROM_LOOP and TO_LOOP specific macros.
11128         (BODY): Handle combining characters.
11129         * iconvdata/BIG5HKSCS.irreversible: Update.
11130         * iconvdata/BIG5HKSCS.precomposed: New file.
11131         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11132         characters.
11133         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11135 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11137         * include/sys/time.h: Fix indentation and add copyright header.
11139         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11140         (do_test): Likewise.
11141         * string/test-memchr.c (do_one_test): Likewise.
11142         (do_test): Likewise.
11143         * string/test-memcmp.c (do_one_test): Likewise.
11144         (do_test): Likewise.
11145         * string/test-memcpy.c (do_one_test): Likewise.
11146         (do_test): Likewise.
11147         * string/test-memmem.c (do_one_test): Likewise.
11148         (do_test): Likewise.
11149         (do_random_tests): Likewise.
11150         * string/test-memmove.c (do_one_test): Likewise.
11151         (do_test): Likewise.
11152         * string/test-memset.c (do_one_test): Likewise.
11153         (do_test): Likewise.
11154         * string/test-rawmemchr.c (do_one_test): Likewise.
11155         (do_test): Likewise.
11156         * string/test-strcasecmp.c (do_one_test): Likewise.
11157         (do_test): Likewise.
11158         * string/test-strcasestr.c (do_one_test): Likewise.
11159         (do_test): Likewise.
11160         * string/test-strcat.c (do_one_test): Likewise.
11161         (do_test): Likewise.
11162         * string/test-strchr.c (do_one_test): Likewise.
11163         (do_test): Likewise.
11164         * string/test-strcmp.c (do_one_test): Likewise.
11165         (do_test): Likewise.
11166         * string/test-strcpy.c (do_one_test): Likewise.
11167         (do_test): Likewise.
11168         * string/test-string.h: Likewise.
11169         (test_init): Likewise.
11170         * string/test-strlen.c (do_one_test): Likewise.
11171         (do_test): Likewise.
11172         * string/test-strncasecmp.c (do_one_test): Likewise.
11173         (do_test): Likewise.
11174         * string/test-strncat.c (do_one_test): Likewise.
11175         (do_test): Likewise.
11176         * string/test-strncmp.c (do_one_test): Likewise.
11177         (do_test_limit): Likewise.
11178         (do_test): Likewise.
11179         * string/test-strncpy.c (do_one_test): Likewise.
11180         (do_test): Likewise.
11181         * string/test-strnlen.c (do_one_test): Likewise.
11182         (do_test): Likewise.
11183         * string/test-strpbrk.c (do_one_test): Likewise.
11184         (do_test): Likewise.
11185         * string/test-strrchr.c (do_one_test): Likewise.
11186         (do_test): Likewise.
11187         * string/test-strspn.c (do_one_test): Likewise.
11188         (do_test): Likewise.
11189         * string/test-strstr.c (do_one_test): Likewise.
11190         (do_test): Likewise.
11192         * benchtests/Makefile (string-bench): Add string benchmarks.
11193         * benchtests/bench-bcopy-ifunc.c: New file.
11194         * benchtests/bench-bcopy.c: New file.
11195         * benchtests/bench-bzero-ifunc.c: New file.
11196         * benchtests/bench-bzero.c: New file.
11197         * benchtests/bench-memccpy-ifunc.c: New file.
11198         * benchtests/bench-memccpy.c: New file.
11199         * benchtests/bench-memchr-ifunc.c: New file.
11200         * benchtests/bench-memchr.c: New file.
11201         * benchtests/bench-memcmp-ifunc.c: New file.
11202         * benchtests/bench-memcmp.c: New file.
11203         * benchtests/bench-memmem-ifunc.c: New file.
11204         * benchtests/bench-memmem.c: New file.
11205         * benchtests/bench-memmove-ifunc.c: New file.
11206         * benchtests/bench-memmove.c: New file.
11207         * benchtests/bench-mempcpy-ifunc.c: New file.
11208         * benchtests/bench-mempcpy.c: New file.
11209         * benchtests/bench-memset-ifunc.c: New file.
11210         * benchtests/bench-memset.c: New file.
11211         * benchtests/bench-rawmemchr-ifunc.c: New file.
11212         * benchtests/bench-rawmemchr.c: New file.
11213         * benchtests/bench-stpcpy-ifunc.c: New file.
11214         * benchtests/bench-stpcpy.c: New file.
11215         * benchtests/bench-stpncpy-ifunc.c: New file.
11216         * benchtests/bench-stpncpy.c: New file.
11217         * benchtests/bench-strcasecmp-ifunc.c: New file.
11218         * benchtests/bench-strcasecmp.c: New file.
11219         * benchtests/bench-strcasestr-ifunc.c: New file.
11220         * benchtests/bench-strcasestr.c: New file.
11221         * benchtests/bench-strcat-ifunc.c: New file.
11222         * benchtests/bench-strcat.c: New file.
11223         * benchtests/bench-strchr-ifunc.c: New file.
11224         * benchtests/bench-strchr.c: New file.
11225         * benchtests/bench-strchrnul-ifunc.c: New file.
11226         * benchtests/bench-strchrnul.c: New file.
11227         * benchtests/bench-strcmp-ifunc.c: New file.
11228         * benchtests/bench-strcmp.c: New file.
11229         * benchtests/bench-strcpy-ifunc.c: New file.
11230         * benchtests/bench-strcpy.c: New file.
11231         * benchtests/bench-strcspn-ifunc.c: New file.
11232         * benchtests/bench-strcspn.c: New file.
11233         * benchtests/bench-strlen-ifunc.c: New file.
11234         * benchtests/bench-strlen.c: New file.
11235         * benchtests/bench-strncasecmp-ifunc.c: New file.
11236         * benchtests/bench-strncasecmp.c: New file.
11237         * benchtests/bench-strncat-ifunc.c: New file.
11238         * benchtests/bench-strncat.c: New file.
11239         * benchtests/bench-strncmp-ifunc.c: New file.
11240         * benchtests/bench-strncmp.c: New file.
11241         * benchtests/bench-strncpy-ifunc.c: New file.
11242         * benchtests/bench-strncpy.c: New file.
11243         * benchtests/bench-strnlen-ifunc.c: New file.
11244         * benchtests/bench-strnlen.c: New file.
11245         * benchtests/bench-strpbrk-ifunc.c: New file.
11246         * benchtests/bench-strpbrk.c: New file.
11247         * benchtests/bench-strrchr-ifunc.c: New file.
11248         * benchtests/bench-strrchr.c: New file.
11249         * benchtests/bench-strspn-ifunc.c: New file.
11250         * benchtests/bench-strspn.c: New file.
11251         * benchtests/bench-strstr-ifunc.c: New file.
11252         * benchtests/bench-strstr.c: New file.
11254         * benchtests/Makefile: Disable parallel execution of targets.
11255         (string-bench): Add memcpy.
11256         (benchset): New variable to store a list of benchmark sets.
11257         (bench-func): Renamed from bench.
11258         (bench-set): New target.
11259         (bench): Depend on bench-func and bench-set.
11260         * benchtests/README: Add section on benchmark sets.
11261         * benchtests/bench-memcpy-ifunc.c: New file.
11262         * benchtests/bench-memcpy.c: New file.
11263         * benchtests/bench-string.h: New file.
11265 2013-06-11  Andreas Schwab  <schwab@suse.de>
11267         [BZ #15577]
11268         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11269         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11270         values in the triple.
11271         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11272         terminator in the group key.
11274 2013-06-11  Andreas Jaeger  <aj@suse.de>
11276         * po/zh_TW.po: Update Chinese (traditional) translation from
11277         translation project.
11279 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11281         * include/time.h (__clock_gettime): Add libc_hidden_proto.
11282         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11283         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
11284         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11285         (clock_getcpuclockid): Likewise.
11286         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11287         Add weak_alias and libc_hidden_def.
11288         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11289         * rt/clock_gettime.c (clock_gettime): Rename to
11290         __clock_gettime.  Add weak_alias and libc_hidden_def.
11291         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11292         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11293         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
11294         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11295         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11296         Likewise.
11297         * rt/clock_settime.c (clock_settime): Rename to
11298         __clock_settime.  Add weak_alias and libc_hidden_def.
11299         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11301 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
11303         * mach/err_boot.sub: Remove trailing whitespace.
11304         * mach/err_ipc.sub: Likewise.
11305         * mach/err_mach.sub: Likewise.
11307         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11308         (ROUNDING_TESTS_double): Likewise.
11309         (ROUNDING_TESTS_long_double): Likewise.
11310         (ROUNDING_TESTS): Likewise.
11311         * math/libm-test.inc: Include <math-tests.h>.
11312         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11313         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11314         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11315         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11317 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11319         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11320         of assigning.
11322 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
11324         * sysdeps/gnu/errlist.awk: Do not generate space at end of
11325         otherwise empty TRANS lines.
11326         * sysdeps/gnu/errlist.c: Regenerated.
11328         * catgets/gencat.c (error_print): Use (void) in function
11329         definition.
11330         * crypt/crypt_util.c (__init_des): Likewise.
11331         * crypt/speeds.c (Stop): Likewise.
11332         (main): Likewise.
11333         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11334         * inet/ruserpass.c (token): Likewise.
11335         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11336         * intl/localealias.c (extend_alias_table): Likewise.
11337         * intl/plural-exp.c (init_germanic_plural): Likewise.
11338         * libio/fcloseall.c (__fcloseall): Likewise.
11339         * libio/genops.c (_IO_flush_all): Likewise.
11340         (_IO_flush_all_linebuffered): Likewise.
11341         (_IO_cleanup): Likewise.
11342         (_IO_iter_begin): Likewise.
11343         (_IO_iter_end): Likewise.
11344         (_IO_list_lock): Likewise.
11345         (_IO_list_unlock): Likewise.
11346         (_IO_list_resetlock): Likewise.
11347         * libio/getchar.c (getchar): Likewise.
11348         * libio/getchar_u.c (getchar_unlocked): Likewise.
11349         * libio/getwchar.c (getwchar): Likewise.
11350         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11351         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11352         * login/getpt.c (__getpt): Likewise.
11353         * login/tst-utmp.c (main): Likewise.
11354         * malloc/hooks.c (__malloc_check_init): Likewise.
11355         * malloc/malloc.c (__malloc_stats): Likewise.
11356         * malloc/mtrace.c (tr_break): Likewise.
11357         (mtrace): Likewise.
11358         (muntrace): Likewise.
11359         * misc/fstab.c (endfsent): Likewise.
11360         * misc/getclktck.c (__getclktck): Likewise.
11361         * misc/getdtsz.c (__getdtablesize): Likewise.
11362         * misc/gethostid.c (gethostid): Likewise.
11363         * misc/getpagesize.c (__getpagesize): Likewise.
11364         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11365         (__get_nprocs): Likewise.
11366         (__get_phys_pages): Likewise.
11367         (__get_avphys_pages): Likewise.
11368         * misc/getttyent.c (getttyent): Likewise.
11369         (setttyent): Likewise.
11370         (endttyent): Likewise.
11371         * misc/getusershell.c (getusershell): Likewise.
11372         (endusershell): Likewise.
11373         (setusershell): Likewise.
11374         (initshells): Likewise.
11375         * misc/hsearch.c (__hdestroy): Likewise.
11376         * misc/sync.c (sync): Likewise.
11377         * misc/syslog.c (closelog_internal): Likewise.
11378         (closelog): Likewise.
11379         * misc/ttyslot.c (ttyslot): Likewise.
11380         * misc/vhangup.c (vhangup): Likewise.
11381         * posix/fork.c (__fork): Likewise.
11382         * posix/getegid.c (__getegid): Likewise.
11383         * posix/geteuid.c (__geteuid): Likewise.
11384         * posix/getgid.c (__getgid): Likewise.
11385         * posix/getpid.c (__getpid): Likewise.
11386         * posix/getppid.c (__getppid): Likewise.
11387         * posix/getuid.c (__getuid): Likewise.
11388         * posix/pause.c (pause): Likewise.
11389         * posix/setpgrp.c (setpgrp): Likewise.
11390         * posix/setsid.c (__setsid): Likewise.
11391         * posix/test-vfork.c (noop): Likewise.
11392         * resolv/gethnamaddr.c (_endhtent): Likewise.
11393         (_gethtent): Likewise.
11394         (ht_endhostent): Likewise.
11395         (gethostent): Likewise.
11396         (dns_service): Likewise.
11397         * stdlib/drand48.c (drand48): Likewise.
11398         * stdlib/lrand48.c (lrand48): Likewise.
11399         * stdlib/mrand48.c (mrand48): Likewise.
11400         * stdlib/rand.c (rand): Likewise.
11401         * stdlib/random.c (__random): Likewise.
11402         * stdlib/setenv.c (clearenv): Likewise.
11403         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11404         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11405         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11406         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11407         (__get_nprocs): Likewise.
11408         (__get_phys_pages): Likewise.
11409         (__get_avphys_pages): Likewise.
11410         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11411         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11412         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11413         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11414         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11415         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11416         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11417         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11418         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11419         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11420         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11421         * sysdeps/mach/hurd/sync.c (sync): Likewise.
11422         * sysdeps/posix/clock.c (clock): Likewise.
11423         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11424         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11425         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11426         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11427         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11428         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11429         (__get_nprocs_conf): Likewise.
11430         (__get_phys_pages): Likewise.
11431         (__get_avphys_pages): Likewise.
11432         * time/clock.c (clock): Likewise.
11433         * time/tzset.c (__tzname_max): Likewise.
11435 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
11437         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11438         (__bswap_32): Do not use "register".
11439         * crypt/crypt.c (_ufc_doit_r): Likewise.
11440         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11441         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11442         * gmon/gmon.c (__monstartup): Likewise.
11443         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11444         * hurd/hurdmalloc.c (more_memory): Likewise.
11445         (malloc): Likewise.
11446         (free): Likewise.
11447         (realloc): Likewise.
11448         (malloc_fork_prepare): Likewise.
11449         (malloc_fork_parent): Likewise.
11450         (malloc_fork_child): Likewise.
11451         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11452         (_svcauth_des): Likewise.
11453         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11454         * inet/inet_net.c (inet_network): Likewise.
11455         * inet/inet_netof.c (inet_netof): Likewise.
11456         * inet/rcmd.c (__validuser2_sa): Likewise.
11457         * io/fts.c (fts_open): Likewise.
11458         (fts_load): Likewise.
11459         (fts_close): Likewise.
11460         (fts_read): Likewise.
11461         (fts_children): Likewise.
11462         (fts_build): Likewise.
11463         (fts_stat): Likewise.
11464         (fts_sort): Likewise.
11465         (fts_alloc): Likewise.
11466         (fts_lfree): Likewise.
11467         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11468         (_IO_file_xsgetn): Likewise.
11469         (_IO_file_xsgetn_mmap): Likewise.
11470         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11471         (_IO_cookie_write): Likewise.
11472         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11473         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11474         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11475         * malloc/obstack.c (_obstack_begin): Likewise.
11476         (_obstack_begin_1): Likewise.
11477         (_obstack_newchunk): Likewise.
11478         (_obstack_allocated_p): Likewise.
11479         (obstack_free): Likewise.
11480         (_obstack_memory_used): Likewise.
11481         * misc/getttyent.c (getttynam): Likewise.
11482         (getttyent): Likewise.
11483         (skip): Likewise.
11484         (value): Likewise.
11485         * misc/getusershell.c (initshells): Likewise.
11486         * misc/syslog.c (__vsyslog_chk): Likewise.
11487         * misc/ttyslot.c (ttyslot): Likewise.
11488         * nis/nis_hash.c (__nis_hash): Likewise.
11489         * posix/fnmatch_loop.c (FCT): Likewise.
11490         * posix/getconf.c (print_all): Likewise.
11491         (main): Likewise.
11492         * posix/getopt.c (exchange): Likewise.
11493         * posix/glob.c (globfree): Likewise.
11494         (prefix_array): Likewise.
11495         (__glob_pattern_type): Likewise.
11496         * resolv/arpa/nameser.h (NS_GET16): Likewise.
11497         (NS_GET32): Likewise.
11498         (NS_PUT16): Likewise.
11499         (NS_PUT32): Likewise.
11500         * resolv/gethnamaddr.c (getanswer): Likewise.
11501         (gethostbyname2): Likewise.
11502         (gethostbyaddr): Likewise.
11503         (_gethtent): Likewise.
11504         (_gethtbyname2): Likewise.
11505         (_gethtbyaddr): Likewise.
11506         * resolv/ns_print.c (dst_s_get_int16): Likewise.
11507         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11508         * resolv/res_init.c (__res_vinit): Likewise.
11509         (net_mask): Likewise.
11510         * resolv/res_mkquery.c (outchar): Likewise.
11511         (PRINT): Likewise.
11512         * stdio-common/printf_fp.c (outchar): Likewise.
11513         (PRINT): Likewise.
11514         * stdio-common/printf_fphex.c (outchar): Likewise.
11515         (PRINT): Likewise.
11516         * stdio-common/printf_size.c (outchar): Likewise.
11517         (PRINT): Likewise.
11518         * stdio-common/test_rdwr.c (main): Likewise.
11519         * stdio-common/tfformat.c (matches): Likewise.
11520         * stdio-common/vfprintf.c (outchar): Likewise.
11521         (printf_unknown): Likewise.
11522         (buffered_vfprintf): Likewise.
11523         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11524         * stdio-common/xbug.c (AppendToBuffer): Likewise.
11525         (ReadFile): Likewise.
11526         * stdlib/qsort.c (SWAP): Likewise.
11527         (_quicksort): Likewise.
11528         * stdlib/setenv.c (__add_to_environ): Likewise.
11529         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11530         * stdlib/strtol_l.c (__strtol_l): Likewise.
11531         * stdlib/tst-strtod.c (main): Likewise.
11532         * stdlib/tst-strtol.c (main): Likewise.
11533         * stdlib/tst-strtoll.c (main): Likewise.
11534         * string/bits/string2.h (__strcmp_cc): Likewise.
11535         (__strcmp_cg): Likewise.
11536         (__strcspn_c1): Likewise.
11537         (__strcspn_c2): Likewise.
11538         (__strcspn_c3): Likewise.
11539         (__strspn_c1): Likewise.
11540         (__strspn_c2): Likewise.
11541         (__strspn_c3): Likewise.
11542         (__strsep_1c): Likewise.
11543         (__strsep_2c): Likewise.
11544         (__strsep_3c): Likewise.
11545         * string/memccpy.c (__memccpy): Likewise.
11546         * string/stpcpy.c (__stpcpy): Likewise.
11547         * string/strcmp.c (strcmp): Likewise.
11548         * string/strrchr.c (strrchr): Likewise.
11549         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11550         Likewise.
11551         * sysdeps/mach/hurd/getcwd.c
11552         (_hurd_canonicalize_directory_name_internal): Likewise.
11553         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11554         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11555         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11556         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11557         Likewise, in both definitions.
11558         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11559         definitions.
11560         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11561         64] (__bswap_64): Likewise.
11562         * time/test_time.c (main): Likewise.
11563         * time/tzfile.c (__tzfile_read): Likewise.
11564         (__tzfile_compute): Likewise.
11565         * time/tzset.c (__tzset_parse_tz): Likewise.
11566         (tzset_internal): Likewise.
11567         (compute_change): Likewise.
11568         * wcsmbs/wcscat.c (__wcscat): Likewise.
11569         * wcsmbs/wcschr.c (wcschr): Likewise.
11570         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11571         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11572         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11573         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11574         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11575         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11576         * wcsmbs/wmemchr.c (wmemchr): Likewise.
11577         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11578         * wcsmbs/wmemset.c (wmemset): Likewise.
11580 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
11582         * scripts/config.guess: Update to version 2013-05-16.
11583         * scripts/config.sub: Update to version 2013-04-24.
11584         * scripts/install-sh: Update to version 2011-11-20.07.
11585         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11586         * scripts/move-if-change: Update to version 2012-01-06 07:23.
11588 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
11590         * debug/fgetws_u_chk.c: Fix leading whitespaces.
11591         * elf/sln.c: Likewise.
11592         * hurd/hurd/ioctl.h: Likewise.
11593         * hurd/hurdmalloc.c: Likewise.
11594         * hurd/xattr.c: Likewise.
11595         * include/shlib-compat.h: Likewise.
11596         * inet/ruserpass.c: Likewise.
11597         * libio/iofgets_u.c: Likewise.
11598         * libio/iofgetws_u.c: Likewise.
11599         * locale/programs/ld-identification.c: Likewise.
11600         * locale/programs/ld-time.c: Likewise.
11601         * mach/msg-destroy.c: Likewise.
11602         * nss/nss_files/files-netgrp.c: Likewise.
11603         * resolv/res_data.c: Likewise.
11604         * soft-fp/op-1.h: Likewise.
11605         * soft-fp/op-2.h: Likewise.
11606         * soft-fp/op-4.h: Likewise.
11607         * soft-fp/op-common.h: Likewise.
11608         * stdio-common/printf_fphex.c: Likewise.
11609         * stdlib/strtod_l.c: Likewise.
11610         * sunrpc/rpc/clnt.h: Likewise.
11611         * sysdeps/generic/framestate.c: Likewise.
11612         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11613         * sysdeps/i386/bsd-setjmp.S: Likewise.
11614         * sysdeps/i386/__longjmp.S: Likewise.
11615         * sysdeps/i386/setjmp.S: Likewise.
11616         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11617         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11618         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11619         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11620         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11621         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11622         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11623         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11624         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11625         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11626         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11627         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11628         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11629         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11630         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11631         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11632         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11633         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11634         * sysdeps/ieee754/support.c: Likewise.
11635         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11636         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11637         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11638         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11639         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11640         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11641         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11642         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11643         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11644         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11645         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11646         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11647         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11648         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11649         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11650         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11651         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11654 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
11656         * posix/transbug.c: Remove executable mode.
11658 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
11660         * crypt/speeds.c: Remove trailing whitespace.
11661         * dlfcn/default.c: Likewise.
11662         * elf/ifuncdep2.c: Likewise.
11663         * elf/ifuncmain1.c: Likewise.
11664         * elf/ifuncmain1vis.c: Likewise.
11665         * elf/testobj.h: Likewise.
11666         * elf/tst-stackguard1.c: Likewise.
11667         * gmon/sys/gmon.h: Likewise.
11668         * hurd/hurdmsg.c: Likewise.
11669         * hurd/new-fd.c: Likewise.
11670         * hurd/ports-get.c: Likewise.
11671         * iconvdata/ibm1008_420.c: Likewise.
11672         * inet/tst-getni1.c: Likewise.
11673         * inet/tst-getni2.c: Likewise.
11674         * libio/ioungetc.c: Likewise.
11675         * libio/wfiledoalloc.c: Likewise.
11676         * manual/libm-err-tab.pl: Likewise.
11677         * math/w_dremf.c: Likewise.
11678         * misc/ftruncate.c: Likewise.
11679         * posix/bug-glob2.c: Likewise.
11680         * posix/tst-pcre.c: Likewise.
11681         * posix/wait4.c: Likewise.
11682         * resolv/README: Likewise.
11683         * resolv/res_debug.h: Likewise.
11684         * resolv/tst-inet_ntop.c: Likewise.
11685         * setjmp/bug269-setjmp.c: Likewise.
11686         * soft-fp/extended.h: Likewise.
11687         * soft-fp/op-1.h: Likewise.
11688         * soft-fp/op-2.h: Likewise.
11689         * soft-fp/op-4.h: Likewise.
11690         * soft-fp/op-8.h: Likewise.
11691         * soft-fp/testit.c: Likewise.
11692         * stdio-common/bug16.c: Likewise.
11693         * stdlib/random.c: Likewise.
11694         * sunrpc/rpcsvc/rquota.x: Likewise.
11695         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11696         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11697         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11698         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11699         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11700         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11701         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11702         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11703         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11704         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11705         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11706         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11707         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11708         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11709         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11710         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11711         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11712         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11713         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11714         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11715         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11716         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11717         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11718         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11719         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11720         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11721         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11722         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11723         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11724         * sysdeps/ieee754/s_lib_version.c: Likewise.
11725         * sysdeps/mach/hurd/check_fds.c: Likewise.
11726         * sysdeps/mach/hurd/getsockname.c: Likewise.
11727         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11728         * sysdeps/mach/hurd/recvfrom.c: Likewise.
11729         * sysdeps/powerpc/bits/link.h: Likewise.
11730         * sysdeps/powerpc/dl-procinfo.c: Likewise.
11731         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11732         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11733         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11734         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11735         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11736         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11737         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11738         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11739         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11740         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11741         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11742         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11743         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11744         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11745         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11746         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11747         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11748         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11749         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11750         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11751         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11752         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11753         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11754         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11755         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11756         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11757         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11758         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11759         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11760         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11761         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11762         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11763         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11764         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11765         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11766         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11767         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11768         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11769         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11770         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11771         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11772         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11773         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11774         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11775         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11776         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11777         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11778         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11779         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11780         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11781         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11782         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11783         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11784         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11785         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11786         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11787         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11788         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11789         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11790         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11791         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11792         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11793         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11794         * sysdeps/powerpc/sysdep.h: Likewise.
11795         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11796         * sysdeps/s390/s390-64/sub_n.S: Likewise.
11797         * sysdeps/sh/dl-trampoline.S: Likewise.
11798         * sysdeps/sh/memset.S: Likewise.
11799         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11800         * sysdeps/sh/strlen.S: Likewise.
11801         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11802         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11803         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11804         * sysdeps/sparc/sparc32/rem.S: Likewise.
11805         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11806         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11807         * sysdeps/sparc/sparc32/strchr.S: Likewise.
11808         * sysdeps/sparc/sparc32/udiv.S: Likewise.
11809         * sysdeps/sparc/sparc32/urem.S: Likewise.
11810         * sysdeps/sparc/sparc64/add_n.S: Likewise.
11811         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11812         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11813         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11814         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11815         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11816         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11817         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11818         * sysdeps/unix/bsd/times.c: Likewise.
11819         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11820         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11824         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11825         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11826         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11827         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11828         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11829         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11830         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11831         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11832         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11833         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11834         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11835         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11836         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11837         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11838         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11839         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11840         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11841         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11842         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11843         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11844         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11845         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11846         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11847         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11848         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11849         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11850         * sysdeps/x86_64/strcspn.S: Likewise.
11852 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11854         * locale/C-translit.h: Revert #include <stdint.h> because this is a
11855         generated file.  Regenerate properly from gen-translit.pl.
11856         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
11857         locale/C-translit.h.
11859 2013-06-05  Andreas Schwab  <schwab@suse.de>
11861         [BZ #15100]
11862         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11863         week as 6 instead of -1.
11864         * time/tst-strptime.c (day_tests): Add test case.
11866 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11868         * sysdeps/generic/math_private.h
11869         (libc_feholdexcept_setround_53bit): Replace with
11870         libc_feholdsetround_53bit.
11871         (libc_feupdateenv_53bit): Replace with
11872         libc_feresetround_53bit.
11873         (SET_RESTORE_ROUND_53BIT): Adjust.
11875 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11877         * string/test-strchrnul.c: Add copyright header.
11879         * posix/tst-getaddrinfo4.c: Increase test timeout.
11881 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
11883         [BZ #15536]
11884         * math/libm-test.inc (MAX_EXP): Remove
11885         (MIN_EXP): Define.
11886         (ulp): Use MIN_EXP - MANT_DIG.
11887         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11889 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
11891         * po/be.po: Revert last change.
11892         * po/zh_CN.po: Likewise.
11893         * po/header.pot: Likewise.
11895 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
11897         * Makefile ($(common-objpfx)linkobj/libc.so): Define
11898         link-libc-deps to empty as target-specific variable.
11899         * Makerules (link-libc-args): New variable.
11900         (libc-for-link): Likewise.
11901         (link-libc-deps): Likewise.
11902         (lib%.so): Depend on $(link-libc-deps).  Link with
11903         $(link-libc-args).
11904         (build-module): Link with $(link-libc-args).
11905         (build-module-asneeded): Likewise.
11906         (build-module-helper-objlist): Filter out $(link-libc-deps) from
11907         list of objects.
11908         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11909         target-specific variable.
11910         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11911         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11912         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11913         libc.
11914         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11915         libc and ld.so.
11916         ($(objpfx)libpcprofile.so): Likewise.
11917         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11918         libc_nonshared.a.
11919         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11920         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11921         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11922         $(link-libc-deps).
11923         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11924         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11925         * login/Makefile ($(objpfx)libutil.so): Likewise.
11926         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11927         * math/Makefile ($(objpfx)libm.so): Likewise.
11928         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11929         $(objpfx)libnsl.so): Define libc-for-link as target-specific
11930         variable instead of depending directly on libc.
11931         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11932         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11933         $(link-libc-deps).
11934         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11935         libc.
11936         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11937         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11938         ($(objpfx)libanl.so): Likewise.
11939         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11940         ld.so.
11941         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11942         $(link-libc-deps).
11943         * sysdeps/i386/fpu/Makefile: Remove file.
11944         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11945         ($(objpfx)libm.so): Remove dependency on ld.so.
11947 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
11949         [BZ # 15553]
11950         * nis/yp_xdr.c (XDRMAXNAME): Define.
11951         (XDRMAXRECORD): Define.
11952         (xdr_domainname): Use XDRMAXNAME.
11953         (xdr_mapname): Likewise.
11954         (xdr_peername): Likewise.
11955         (xdr_keydat): Use XDRMAXRECORD.
11956         (xdr_valdat): Likewise.
11958 2013-05-30  Jeff Law  <law@redhat.com>
11960         [BZ #14256]
11961         * manual/errno.texi (ESTALE): Update to account for more than
11962         just NFS file systems.
11963         * sysdeps/gnu/errlist.c: Regenerated.
11965 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11967         [BZ #15465]
11968         * elf/Makefile (tests): Add tst-null-argv.
11969         (modules-names):  Add tst-null-argv-lib.
11970         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11971         (tst-null-argv-ENV): Set environment for tst-null-argv.
11972         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11973         (RTLD_PROGNAME): New macro.
11974         * elf/tst-null-argv.c: New test case.
11975         * elf/tst-null-argv-lib.c: Library for test case.
11976         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11977         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11978         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11979         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11980         * elf/dl-init.c (call_init): Likewise.
11981         (_dl_init): Likewise.
11982         * elf/dl-load.c (print_search_path): Likewise.
11983         (_dl_map_object): Likewise.
11984         * elf/dl-lookup.c (do_lookup_x): Likewise.
11985         (add_dependency): Likewise.
11986         (_dl_lookup_symbol_x): Likewise.
11987         (_dl_debug_bindings): Likewise.
11988         * elf/dl-open.c (_dl_show_scope): Likewise.
11989         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11990         * elf/dl-version.c (match_symbol): Likewise.
11991         (_dl_check_map_versions): Likewise.
11992         * elf/rtld.c (dl_main): Likewise.
11993         (print_unresolved): Use RTLD_PROGNAME.
11994         (print_missing_version): Likewise.
11995         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11996         (elf_machine_rela): Likewise.
11997         * sysdeps/powerpc/powerpc32/dl-machine.c
11998         (__process_machine_rela): Likewise.
11999         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12000         Likewise.
12001         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12002         Likewise.
12003         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12004         Likewise.
12005         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12006         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12007         Likewise.
12008         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12009         Likewise.
12010         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12012 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
12014         * po/be.po: Add descriptive title.
12015         * po/zh_CN.po: Likewise.
12016         * po/header.pot: Likewise.
12018 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
12020         * locale/programs/locarchive.c (create_archive): Inlucde fname in
12021         error message.
12022         (enlarge_archive): Likewise.
12024 2013-05-28  Ben North  <ben@redfrontdoor.org>
12026         * manual/arith.texi (frexp): It is the magnitude of the return
12027         value which lies in [0.5, 1), not the return value itself.
12029 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12033 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
12035         * stdio-common/bug26.c (main): Correct fscanf template.
12037         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12038         declare _dl_skip_args.
12040         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12041         Don't declare.
12043         * manual/platform.texi: Add missing @end deftypefun.
12045 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12047         [BZ #15529]
12048         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12049         bit of mantissa of 2^16382.
12050         * math/libm-test.inc (hypot_test_data): Add more tests.
12052         * math/libm-test.inc: Add drem and pow10 to list of tested
12053         functions.
12054         (pow10_test): New function.
12055         (drem_test): Likewise.
12056         (drem_test_tonearest): Likewise.
12057         (drem_test_towardzero): Likewise.
12058         (drem_test_downward): Likewise.
12059         (drem_test_upward): Likewise.
12060         (main): Call the new functions.
12062         * math/libm-test.inc (finite_test_data): Remove.
12063         (finite_test): Run tests from isfinite_test_data.
12064         (gamma_test_data): Remove.
12065         (gamma_test): Run tests from lgamma_test_data.
12066         * sysdeps/i386/fpu/libm-test-ulps: Update.
12067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12069 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12071         * manual/platform.texi: Add PowerPC PPR function set documentation.
12072         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12073         implementation.
12075 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
12077         * math/libm-test.inc (MAX_EXP): Define.
12078         (ULPDIFF): Define.
12079         (ulp): New function.
12080         (check_float_internal): Use ULPDIFF.
12081         (cpow_test): Disable failing test.
12082         (check_ulp): Test ulp() implemetnation.
12083         (main): Call check_ulp before starting tests.
12085 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12087         * math/gen-libm-test.pl (generate_testfile): Do not handle
12088         START_DATA and END_DATA.
12089         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12090         END_DATA.
12091         (acos_tonearest_test_data): Likewise.
12092         (acos_towardzero_test_data): Likewise.
12093         (acos_downward_test_data): Likewise.
12094         (acos_upward_test_data): Likewise.
12095         (acosh_test_data): Likewise.
12096         (asin_test_data): Likewise.
12097         (asin_tonearest_test_data): Likewise.
12098         (asin_towardzero_test_data): Likewise.
12099         (asin_downward_test_data): Likewise.
12100         (asin_upward_test_data): Likewise.
12101         (asinh_test_data): Likewise.
12102         (atan_test_data): Likewise.
12103         (atanh_test_data): Likewise.
12104         (atan2_test_data): Likewise.
12105         (cabs_test_data): Likewise.
12106         (cacos_test_data): Likewise.
12107         (cacosh_test_data): Likewise.
12108         (carg_test_data): Likewise.
12109         (casin_test_data): Likewise.
12110         (casinh_test_data): Likewise.
12111         (catan_test_data): Likewise.
12112         (catanh_test_data): Likewise.
12113         (cbrt_test_data): Likewise.
12114         (ccos_test_data): Likewise.
12115         (ccosh_test_data): Likewise.
12116         (ceil_test_data): Likewise.
12117         (cexp_test_data): Likewise.
12118         (cimag_test_data): Likewise.
12119         (clog_test_data): Likewise.
12120         (clog10_test_data): Likewise.
12121         (conj_test_data): Likewise.
12122         (copysign_test_data): Likewise.
12123         (cos_test_data): Likewise.
12124         (cos_tonearest_test_data): Likewise.
12125         (cos_towardzero_test_data): Likewise.
12126         (cos_downward_test_data): Likewise.
12127         (cos_upward_test_data): Likewise.
12128         (cosh_test_data): Likewise.
12129         (cosh_tonearest_test_data): Likewise.
12130         (cosh_towardzero_test_data): Likewise.
12131         (cosh_downward_test_data): Likewise.
12132         (cosh_upward_test_data): Likewise.
12133         (cpow_test_data): Likewise.
12134         (cproj_test_data): Likewise.
12135         (creal_test_data): Likewise.
12136         (csin_test_data): Likewise.
12137         (csinh_test_data): Likewise.
12138         (csqrt_test_data): Likewise.
12139         (ctan_test_data): Likewise.
12140         (ctan_tonearest_test_data): Likewise.
12141         (ctan_towardzero_test_data): Likewise.
12142         (ctan_downward_test_data): Likewise.
12143         (ctan_upward_test_data): Likewise.
12144         (ctanh_test_data): Likewise.
12145         (ctanh_tonearest_test_data): Likewise.
12146         (ctanh_towardzero_test_data): Likewise.
12147         (ctanh_downward_test_data): Likewise.
12148         (ctanh_upward_test_data): Likewise.
12149         (erf_test_data): Likewise.
12150         (erfc_test_data): Likewise.
12151         (exp_test_data): Likewise.
12152         (exp_tonearest_test_data): Likewise.
12153         (exp_towardzero_test_data): Likewise.
12154         (exp_downward_test_data): Likewise.
12155         (exp_upward_test_data): Likewise.
12156         (exp10_test_data): Likewise.
12157         (exp2_test_data): Likewise.
12158         (expm1_test_data): Likewise.
12159         (fabs_test_data): Likewise.
12160         (fdim_test_data): Likewise.
12161         (finite_test_data): Likewise.
12162         (floor_test_data): Likewise.
12163         (fma_test_data): Likewise.
12164         (fma_towardzero_test_data): Likewise.
12165         (fma_downward_test_data): Likewise.
12166         (fma_upward_test_data): Likewise.
12167         (fmax_test_data): Likewise.
12168         (fmin_test_data): Likewise.
12169         (fmod_test_data): Likewise.
12170         (fpclassify_test_data): Likewise.
12171         (frexp_test_data): Likewise.
12172         (gamma_test_data): Likewise.
12173         (hypot_test_data): Likewise.
12174         (ilogb_test_data): Likewise.
12175         (isfinite_test_data): Likewise.
12176         (isgreater_test_data): Likewise.
12177         (isgreaterequal_test_data): Likewise.
12178         (isinf_test_data): Likewise.
12179         (isless_test_data): Likewise.
12180         (islessequal_test_data): Likewise.
12181         (islessgreater_test_data): Likewise.
12182         (isnan_test_data): Likewise.
12183         (isnormal_test_data): Likewise.
12184         (issignaling_test_data): Likewise.
12185         (isunordered_test_data): Likewise.
12186         (j0_test_data): Likewise.
12187         (j1_test_data): Likewise.
12188         (jn_test_data): Likewise.
12189         (ldexp_test_data): Likewise.
12190         (lgamma_test_data): Likewise.
12191         (lrint_test_data): Likewise.
12192         (lrint_tonearest_test_data): Likewise.
12193         (lrint_towardzero_test_data): Likewise.
12194         (lrint_downward_test_data): Likewise.
12195         (lrint_upward_test_data): Likewise.
12196         (llrint_test_data): Likewise.
12197         (llrint_tonearest_test_data): Likewise.
12198         (llrint_towardzero_test_data): Likewise.
12199         (llrint_downward_test_data): Likewise.
12200         (llrint_upward_test_data): Likewise.
12201         (log_test_data): Likewise.
12202         (log10_test_data): Likewise.
12203         (log1p_test_data): Likewise.
12204         (log2_test_data): Likewise.
12205         (logb_test_data): Likewise.
12206         (logb_downward_test_data): Likewise.
12207         (lround_test_data): Likewise.
12208         (llround_test_data): Likewise.
12209         (modf_test_data): Likewise.
12210         (nearbyint_test_data): Likewise.
12211         (nextafter_test_data): Likewise.
12212         (nexttoward_test_data): Likewise.
12213         (pow_test_data): Likewise.
12214         (pow_tonearest_test_data): Likewise.
12215         (pow_towardzero_test_data): Likewise.
12216         (pow_downward_test_data): Likewise.
12217         (pow_upward_test_data): Likewise.
12218         (remainder_test_data): Likewise.
12219         (remainder_tonearest_test_data): Likewise.
12220         (remainder_towardzero_test_data): Likewise.
12221         (remainder_downward_test_data): Likewise.
12222         (remainder_upward_test_data): Likewise.
12223         (remquo_test_data): Likewise.
12224         (rint_test_data): Likewise.
12225         (rint_tonearest_test_data): Likewise.
12226         (rint_towardzero_test_data): Likewise.
12227         (rint_downward_test_data): Likewise.
12228         (rint_upward_test_data): Likewise.
12229         (round_test_data): Likewise.
12230         (scalb_test_data): Likewise.
12231         (scalbn_test_data): Likewise.
12232         (scalbln_test_data): Likewise.
12233         (signbit_test_data): Likewise.
12234         (sin_test_data): Likewise.
12235         (sin_tonearest_test_data): Likewise.
12236         (sin_towardzero_test_data): Likewise.
12237         (sin_downward_test_data): Likewise.
12238         (sin_upward_test_data): Likewise.
12239         (sincos_test_data): Likewise.
12240         (sinh_test_data): Likewise.
12241         (sinh_tonearest_test_data): Likewise.
12242         (sinh_towardzero_test_data): Likewise.
12243         (sinh_downward_test_data): Likewise.
12244         (sinh_upward_test_data): Likewise.
12245         (sqrt_test_data): Likewise.
12246         (tan_test_data): Likewise.
12247         (tan_tonearest_test_data): Likewise.
12248         (tan_towardzero_test_data): Likewise.
12249         (tan_downward_test_data): Likewise.
12250         (tan_upward_test_data): Likewise.
12251         (tanh_test_data): Likewise.
12252         (tgamma_test_data): Likewise.
12253         (trunc_test_data): Likewise.
12254         (y0_test_data): Likewise.
12255         (y1_test_data): Likewise.
12256         (yn_test_data): Likewise.
12257         (significand_test_data): Likewise.
12259         * math/gen-libm-test.pl (@functions): Remove variable.
12260         (generate_testfile): Don't handle START and END lines.
12261         * math/libm-test.inc (START): New macro.
12262         (END): Likewise.
12263         (END_COMPLEX): Likewise.
12264         (acos_test): Use END macro without arguments.
12265         (acos_test_tonearest): Likewise.
12266         (acos_test_towardzero): Likewise.
12267         (acos_test_downward): Likewise.
12268         (acos_test_upward): Likewise.
12269         (acosh_test): Likewise.
12270         (asin_test): Likewise.
12271         (asin_test_tonearest): Likewise.
12272         (asin_test_towardzero): Likewise.
12273         (asin_test_downward): Likewise.
12274         (asin_test_upward): Likewise.
12275         (asinh_test): Likewise.
12276         (atan_test): Likewise.
12277         (atanh_test): Likewise.
12278         (atan2_test): Likewise.
12279         (cabs_test): Likewise.
12280         (cacos_test): Use END_COMPLEX macro without arguments.
12281         (cacosh_test): Likewise.
12282         (carg_test): Use END macro without arguments.
12283         (casin_test): Use END_COMPLEX macro without arguments.
12284         (casinh_test): Likewise.
12285         (catan_test): Likewise.
12286         (catanh_test): Likewise.
12287         (cbrt_test): Use END macro without arguments.
12288         (ccos_test): Use END_COMPLEX macro without arguments.
12289         (ccosh_test): Likewise.
12290         (ceil_test): Use END macro without arguments.
12291         (cexp_test): Use END_COMPLEX macro without arguments.
12292         (cimag_test): Use END macro without arguments.
12293         (clog_test): Use END_COMPLEX macro without arguments.
12294         (clog10_test): Likewise.
12295         (conj_test): Likewise.
12296         (copysign_test): Use END macro without arguments.
12297         (cos_test): Likewise.
12298         (cos_test_tonearest): Likewise.
12299         (cos_test_towardzero): Likewise.
12300         (cos_test_downward): Likewise.
12301         (cos_test_upward): Likewise.
12302         (cosh_test): Likewise.
12303         (cosh_test_tonearest): Likewise.
12304         (cosh_test_towardzero): Likewise.
12305         (cosh_test_downward): Likewise.
12306         (cosh_test_upward): Likewise.
12307         (cpow_test): Use END_COMPLEX macro without arguments.
12308         (cproj_test): Likewise.
12309         (creal_test): Use END macro without arguments.
12310         (csin_test): Use END_COMPLEX macro without arguments.
12311         (csinh_test): Likewise.
12312         (csqrt_test): Likewise.
12313         (ctan_test): Likewise.
12314         (ctan_test_tonearest): Likewise.
12315         (ctan_test_towardzero): Likewise.
12316         (ctan_test_downward): Likewise.
12317         (ctan_test_upward): Likewise.
12318         (ctanh_test): Likewise.
12319         (ctanh_test_tonearest): Likewise.
12320         (ctanh_test_towardzero): Likewise.
12321         (ctanh_test_downward): Likewise.
12322         (ctanh_test_upward): Likewise.
12323         (erf_test): Use END macro without arguments.
12324         (erfc_test): Likewise.
12325         (exp_test): Likewise.
12326         (exp_test_tonearest): Likewise.
12327         (exp_test_towardzero): Likewise.
12328         (exp_test_downward): Likewise.
12329         (exp_test_upward): Likewise.
12330         (exp10_test): Likewise.
12331         (exp2_test): Likewise.
12332         (expm1_test): Likewise.
12333         (fabs_test): Likewise.
12334         (fdim_test): Likewise.
12335         (finite_test): Likewise.
12336         (floor_test): Likewise.
12337         (fma_test): Likewise.
12338         (fma_test_towardzero): Likewise.
12339         (fma_test_downward): Likewise.
12340         (fma_test_upward): Likewise.
12341         (fmax_test): Likewise.
12342         (fmin_test): Likewise.
12343         (fmod_test): Likewise.
12344         (fpclassify_test): Likewise.
12345         (frexp_test): Likewise.
12346         (gamma_test): Likewise.
12347         (hypot_test): Likewise.
12348         (ilogb_test): Likewise.
12349         (isfinite_test): Likewise.
12350         (isgreater_test): Likewise.
12351         (isgreaterequal_test): Likewise.
12352         (isinf_test): Likewise.
12353         (isless_test): Likewise.
12354         (islessequal_test): Likewise.
12355         (islessgreater_test): Likewise.
12356         (isnan_test): Likewise.
12357         (isnormal_test): Likewise.
12358         (issignaling_test): Likewise.
12359         (isunordered_test): Likewise.
12360         (j0_test): Likewise.
12361         (j1_test): Likewise.
12362         (jn_test): Likewise.
12363         (ldexp_test): Likewise.
12364         (lgamma_test): Likewise.
12365         (lrint_test): Likewise.
12366         (lrint_test_tonearest): Likewise.
12367         (lrint_test_towardzero): Likewise.
12368         (lrint_test_downward): Likewise.
12369         (lrint_test_upward): Likewise.
12370         (llrint_test): Likewise.
12371         (llrint_test_tonearest): Likewise.
12372         (llrint_test_towardzero): Likewise.
12373         (llrint_test_downward): Likewise.
12374         (llrint_test_upward): Likewise.
12375         (log_test): Likewise.
12376         (log10_test): Likewise.
12377         (log1p_test): Likewise.
12378         (log2_test): Likewise.
12379         (logb_test): Likewise.
12380         (logb_test_downward): Likewise.
12381         (lround_test): Likewise.
12382         (llround_test): Likewise.
12383         (modf_test): Likewise.
12384         (nearbyint_test): Likewise.
12385         (nextafter_test): Likewise.
12386         (nexttoward_test): Likewise.
12387         (pow_test): Likewise.
12388         (pow_test_tonearest): Likewise.
12389         (pow_test_towardzero): Likewise.
12390         (pow_test_downward): Likewise.
12391         (pow_test_upward): Likewise.
12392         (remainder_test): Likewise.
12393         (remainder_test_tonearest): Likewise.
12394         (remainder_test_towardzero): Likewise.
12395         (remainder_test_downward): Likewise.
12396         (remainder_test_upward): Likewise.
12397         (remquo_test): Likewise.
12398         (rint_test): Likewise.
12399         (rint_test_tonearest): Likewise.
12400         (rint_test_towardzero): Likewise.
12401         (rint_test_downward): Likewise.
12402         (rint_test_upward): Likewise.
12403         (round_test): Likewise.
12404         (scalb_test): Likewise.
12405         (scalbn_test): Likewise.
12406         (scalbln_test): Likewise.
12407         (signbit_test): Likewise.
12408         (sin_test): Likewise.
12409         (sin_test_tonearest): Likewise.
12410         (sin_test_towardzero): Likewise.
12411         (sin_test_downward): Likewise.
12412         (sin_test_upward): Likewise.
12413         (sincos_test): Likewise.
12414         (sinh_test): Likewise.
12415         (sinh_test_tonearest): Likewise.
12416         (sinh_test_towardzero): Likewise.
12417         (sinh_test_downward): Likewise.
12418         (sinh_test_upward): Likewise.
12419         (sqrt_test): Likewise.
12420         (tan_test): Likewise.
12421         (tan_test_tonearest): Likewise.
12422         (tan_test_towardzero): Likewise.
12423         (tan_test_downward): Likewise.
12424         (tan_test_upward): Likewise.
12425         (tanh_test): Likewise.
12426         (tgamma_test): Likewise.
12427         (trunc_test): Likewise.
12428         (y0_test): Likewise.
12429         (y1_test): Likewise.
12430         (yn_test): Likewise.
12431         (significand_test): Likewise.
12433 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
12435         [BZ #15381]
12436         * libio/genops.c (_IO_no_init): Initialize wide struct info.
12438 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12440         [BZ #14894]
12441         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12442         __ppc_mdoio and __ppc_mdoom.
12443         * manual/platform.texi: Document new functions __ppc_yield,
12444         __ppc_mdoio and __ppc_mdoom.
12446 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
12448         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12449         (main): Mention "tls" pseudo-hwcap is legacy.
12450         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12452 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12454         * math/gen-libm-test.pl (parse_args): Output only string of
12455         arguments as text for test name, not full call or descriptions of
12456         tests for extra outputs.
12457         (generate_testfile): Do not pass function name to parse_args.
12458         Generate this_func variable from START.
12459         * math/libm-test.inc (struct test_f_f_data): Rename test_name
12460         field to arg_str.
12461         (struct test_ff_f_data): Likewise.
12462         (test_ff_f_data_nexttoward): Likewise.
12463         (struct test_fi_f_data): Likewise.
12464         (struct test_fl_f_data): Likewise.
12465         (struct test_if_f_data): Likewise.
12466         (struct test_fff_f_data): Likewise.
12467         (struct test_c_f_data): Likewise.
12468         (struct test_f_f1_data): Likewise.  Remove field extra_name.
12469         (struct test_fF_f1_data): Likewise.
12470         (struct test_ffI_f1_data): Likewise.
12471         (struct test_c_c_data): Rename test_name field to arg_str.
12472         (struct test_cc_c_data): Likewise.
12473         (struct test_f_i_data): Likewise.
12474         (struct test_ff_i_data): Likewise.
12475         (struct test_f_l_data): Likewise.
12476         (struct test_f_L_data): Likewise.
12477         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
12478         and extra2_name.
12479         (COMMON_TEST_SETUP): New macro.
12480         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12481         (COMMON_TEST_CLEANUP): Likewise.
12482         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12483         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
12484         macros.
12485         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12486         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
12487         macros.
12488         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12489         (RUN_TEST_fff_f): Take argument string.  Call new setup and
12490         cleanup macros.
12491         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12492         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
12493         macros.
12494         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12495         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
12496         macros.
12497         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12498         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
12499         cleanup macros.
12500         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12501         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
12502         cleanup macros.
12503         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12504         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
12505         cleanup macros.
12506         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12507         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
12508         macros.
12509         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12510         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
12511         macros.
12512         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12513         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
12514         macros.
12515         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12516         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
12517         cleanup macros.
12518         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12519         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
12520         cleanup macros.
12521         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12522         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
12523         macros.
12524         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12525         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
12526         cleanup macros.
12527         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12528         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
12529         macros.
12530         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12531         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
12532         macros.
12533         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12534         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
12535         cleanup macros.
12536         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12538 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12540         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12541         to _sifields.sigfault.
12542         (si_addr_lsb): Define new macro.
12543         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12544         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12545         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12547 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
12549         [BZ #15441]
12550         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12551         returns -1.
12552         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12553         null return -1.
12554         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12555         loading the domain.
12557 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12559         * math/gen-libm-test.pl (parse_args): Do not include expected
12560         result in test name.
12561         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12562         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12563         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12564         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12565         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12568 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12570         * benchtests/Makefile: Sort function entries.
12572         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12573         tanh, asinh, acosh, atanh.
12574         * benchtests/acos-inputs: New file.
12575         * benchtests/acosh-inputs: New file.
12576         * benchtests/asin-inputs: New file.
12577         * benchtests/asinh-inputs: New file.
12578         * benchtests/atanh-inputs: New file.
12579         * benchtests/cosh-inputs: New file.
12580         * benchtests/log-inputs: New file.
12581         * benchtests/sinh-inputs: New file.
12582         * benchtests/tanh-inputs: New file.
12584 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
12586         [BZ #15339]
12587         * posix/tst-getaddrinfo4.c: New test.
12588         * posix/Makefile (tests): Add it.
12590 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12592         [BZ #15339]
12593         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12594         when no services were used.
12595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12596         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12598 2013-05-21  Andreas Schwab  <schwab@suse.de>
12600         [BZ #15014]
12601         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12602         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12603         successful.
12604         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12605         redundant variable declarations and reallocation of buffer when
12606         parsing as IPv6 address.  Always set NSS status when called from
12607         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
12608         buffer too small.  Correct computation of needed size.
12609         * nss/Makefile (tests): Add test-digits-dots.
12610         * nss/test-digits-dots.c: New test.
12612 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12614         * benchtests/Makefile: Remove instructions for adding
12615         benchmark tests.
12616         * benchtests/README: New file to explain how to execute and
12617         enhance the benchmark tests.
12619 2013-05-21  Andreas Schwab  <schwab@suse.de>
12621         [BZ #15493]
12622         * setjmp/Makefile (tests): Add tst-sigsetjmp.
12623         * setjmp/tst-sigsetjmp.c: New test.
12625 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12627         * sysdeps/x86_64/memset.S (memset): New implementation.
12628         (__bzero): Likewise.
12629         (__memset_tail): New function.
12631 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12633         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12634         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12635         __memcpy_sse2_unaligned ifunc selection.
12636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12637         Add memcpy-sse2-unaligned.S.
12638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12639         Add: __memcpy_sse2_unaligned.
12641 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
12643         [BZ #15490]
12644         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12645         math_force_eval before restoring floating-point envrionment.
12646         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12647         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12648         Likewise.
12649         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12650         <math_private.h>.
12651         (__nearbyintl): Use math_force_eval before restoring
12652         floating-point environment.
12653         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12655         * math/gen-libm-test.pl (special_functions): Remove.
12656         (parse_args): Don't handle TEST_extra.  Handle functions with no
12657         return value.
12658         * math/libm-test.inc (struct test_sincos_data): Replace with
12659         struct test_fFF_11_data.
12660         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12661         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12662         (sincos_test_data): Change element type to struct
12663         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
12664         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12665         RUN_TEST_LOOP_sincos.
12666         * math/README.libm-test: Don't mention special handling of
12667         individual functions.
12668         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12669         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12670         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12671         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12672         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12675         * math/gen-libm-test.pl (get_variable): Remove function.
12676         (parse_args): Don't show pointer parameters to call in test
12677         names.  Use "extra output N" in test names for extra outputs
12678         rather than naming variables.
12680 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
12682         [BZ #15488]
12683         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12684         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12685         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12686         double tests.
12687         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12688         disable.
12689         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12690         check_long_double.
12692         * math/gen-libm-test.pl (@tests): Remove variable.
12693         ($count): Likewise.
12694         (new_test): Remove function.
12695         (show_exceptions): New function.
12696         (special_functions): Use show_exceptions instead of new_test.
12697         (parse_args): Likewise.
12698         (generate_testfile): Pass only function name in generated call to
12699         print_max_error or print_complex_max_error.
12700         (get_ulps): Do not handle complex tests specially.
12701         (output_test): Rename to ...
12702         (get_all_ulps_for_test): ... this.  Return a string rather than
12703         printing to a file.  Require ulps to be present.
12704         (output_ulps): Generate arrays rather than #defines.
12705         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12706         (struct ulp_data): New type.
12707         (BUILD_COMPLEX_ULP): Remove macro.
12708         (compare_ulp_data): New function.
12709         (find_ulps): Likewise.
12710         (find_test_ulps): Likewise.
12711         (find_function_ulps): Likewise.
12712         (find_complex_function_ulps): Likewise.
12713         (print_max_error): Determine allowed ulps using
12714         find_function_ulps.
12715         (print_complex_max_error): Determine allowed ulps using
12716         find_complex_function_ulps.
12717         (check_float_internal): Determine max ulps using find_test_ulps.
12718         (check_float): Do not take max_ulp parameter.  Update call to
12719         check_float_internal.
12720         (check_complex): Likewise.
12721         (check_int): Do not take max_ulp parameter.
12722         (check_long): Likewise.
12723         (check_bool): Likewise.
12724         (check_longlong): Likewise.
12725         (struct test_f_f_data): Remove max_ulp field.
12726         (struct test_ff_f_data): Likewise.
12727         (struct test_ff_f_data_nexttoward): Likewise.
12728         (struct test_fi_f_data): Likewise.
12729         (struct test_fl_f_data): Likewise.
12730         (struct test_if_f_data): Likewise.
12731         (struct test_fff_f_data): Likewise.
12732         (struct test_c_f_data): Likewise.
12733         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12734         (struct test_fF_f1_data): Likewise.
12735         (struct test_ffI_f1_data): Likewise.
12736         (struct test_c_c_data): Remove max_ulp field.
12737         (struct test_cc_c_data): Likewise.
12738         (struct test_f_i_data): Likewise.
12739         (struct test_ff_i_data): Likewise.
12740         (struct test_f_l_data): Likewise.
12741         (struct test_f_L_data): Likewise.
12742         (struct test_sincos_data): Likewise.
12743         (RUN_TEST_f_f): Do not handle ulps.
12744         (RUN_TEST_LOOP_f_f): Likewise.
12745         (RUN_TEST_2_f): Likewise.
12746         (RUN_TEST_LOOP_2_f): Likewise.
12747         (RUN_TEST_fff_f): Likewise.
12748         (RUN_TEST_LOOP_fff_f): Likewise.
12749         (RUN_TEST_c_f): Likewise.
12750         (RUN_TEST_LOOP_c_f): Likewise.
12751         (RUN_TEST_f_f1): Likewise.
12752         (RUN_TEST_LOOP_f_f1): Likewise.
12753         (RUN_TEST_fF_f1): Likewise.
12754         (RUN_TEST_LOOP_fF_f1): Likewise.
12755         (RUN_TEST_fI_f1): Likewise.
12756         (RUN_TEST_LOOP_fI_f1): Likewise.
12757         (RUN_TEST_ffI_f1): Likewise.
12758         (RUN_TEST_LOOP_ffI_f1): Likewise.
12759         (RUN_TEST_c_c): Likewise.
12760         (RUN_TEST_LOOP_c_c): Likewise.
12761         (RUN_TEST_cc_c): Likewise.
12762         (RUN_TEST_LOOP_cc_c): Likewise.
12763         (RUN_TEST_f_i): Likewise.
12764         (RUN_TEST_LOOP_f_i): Likewise.
12765         (RUN_TEST_f_i_tg): Likewise.
12766         (RUN_TEST_LOOP_f_i_tg): Likewise.
12767         (RUN_TEST_ff_i_tg): Likewise.
12768         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12769         (RUN_TEST_f_b): Likewise.
12770         (RUN_TEST_LOOP_f_b): Likewise.
12771         (RUN_TEST_f_b_tg): Likewise.
12772         (RUN_TEST_LOOP_f_b_tg): Likewise.
12773         (RUN_TEST_f_l): Likewise.
12774         (RUN_TEST_LOOP_f_l): Likewise.
12775         (RUN_TEST_f_L): Likewise.
12776         (RUN_TEST_LOOP_f_L): Likewise.
12777         (RUN_TEST_sincos): Likewise.
12778         (RUN_TEST_LOOP_sincos): Likewise.
12780 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
12782         [BZ #15480]
12783         [BZ #15485]
12784         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12785         main case of finite arguments, set rounding mode to FE_TONEAREST
12786         and discard exceptions.
12787         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12788         exceptions.
12789         (remainder_tonearest_test_data): New variable.
12790         (remainder_test_tonearest): New function.
12791         (remainder_towardzero_test_data): New variable.
12792         (remainder_test_towardzero): New function.
12793         (remainder_downward_test_data): New variable.
12794         (remainder_test_downward): New function.
12795         (remainder_upward_test_data): New variable.
12796         (remainder_test_upward): New function.
12797         (main): Call the new test functions.
12799         * math/libm-test.inc (struct test_f_f1_data): Remove field
12800         extra_init.
12801         (struct test_fF_f1_data): Likewise.
12802         (struct test_ffI_f1_data): Likewise.
12803         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
12804         based on value of EXTRA_EXPECTED.
12805         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12806         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
12807         EXTRA_VAR based on value of EXTRA_EXPECTED.
12808         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12809         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
12810         EXTRA_VAR based on value of EXTRA_EXPECTED.
12811         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12812         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
12813         EXTRA_VAR based on value of EXTRA_EXPECTED.
12814         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12815         * math/gen-libm-test.pl (parse_args): Don't output initializers
12816         for extra output values.
12818         * math/libm-test.inc (check_int): Expect result to be exactly
12819         equal to expected value and do not handle ulps.
12820         (check_long): Likewise.
12821         (check_longlong): Likewise.
12823         * math/libm-test.inc (ceil_test_data): Test for "inexact"
12824         exceptions.
12825         (cimag_test_data): Likewise.
12826         (conj_test_data): Likewise.
12827         (copysign_test_data): Likewise.
12828         (cproj_test_data): Likewise.
12829         (creal_test_data): Likewise.
12830         (fabs_test_data): Likewise.
12831         (fdim_test_data): Likewise.
12832         (finite_test_data): Likewise.
12833         (floor_test_data): Likewise.
12834         (fmax_test_data): Likewise.
12835         (fmin_test_data): Likewise.
12836         (fmod_test_data): Likewise.
12837         (fpclassify_test_data): Likewise.
12838         (frexp_test_data): Likewise.
12839         (ilogb_test_data): Likewise.
12840         (isfinite_test_data): Likewise.
12841         (isgreater_test_data): Likewise.
12842         (isgreaterequal_test_data): Likewise.
12843         (isinf_test_data): Likewise.
12844         (isless_test_data): Likewise.
12845         (islessequal_test_data): Likewise.
12846         (islessgreater_test_data): Likewise.
12847         (isnan_test_data): Likewise.
12848         (isnormal_test_data): Likewise.
12849         (issignaling_test_data): Likewise.
12850         (isunordered_test_data): Likewise.
12851         (ldexp_test_data): Likewise.
12852         (lrint_test_data): Likewise.
12853         (lrint_test_data) [TEST_FLOAT]: Disable one test.
12854         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12855         (lrint_tonearest_test_data): Test for "inexact" exceptions.
12856         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12857         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12858         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12859         test input.
12860         (lrint_towardzero_test_data): Test for "inexact" exceptions.
12861         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12862         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12863         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12864         that test input.
12865         (lrint_downward_test_data): Test for "inexact" exceptions.
12866         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12867         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12868         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12869         test input.
12870         (lrint_upward_test_data): Test for "inexact" exceptions.
12871         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12872         test input.
12873         (llrint_test_data): Test for "inexact" exceptions.
12874         (llrint_test_data) [TEST_FLOAT]: Disable one test.
12875         (llrint_tonearest_test_data): Test for "inexact" exceptions.
12876         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12877         (llrint_towardzero_test_data): Test for "inexact" exceptions.
12878         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12879         (llrint_downward_test_data): Test for "inexact" exceptions.
12880         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12881         (llrint_upward_test_data): Test for "inexact" exceptions.
12882         (logb_test_data): Likewise.
12883         (logb_downward_test_data): Likewise.
12884         (nextafter_test_data): Likewise.
12885         (nexttoward_test_data): Likewise.
12886         (remainder_test_data): Likewise.
12887         (remquo_test_data): Likewise.
12888         (scalbn_test_data): Likewise.
12889         (scalbln_test_data): Likewise.
12890         (signbit_test_data): Likewise.
12891         (sqrt_test_data): Likewise.
12892         (significand_test_data): Likewise.
12894 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12896         [BZ #15424]
12897         * benchtests/bench-modf.c (struct args): Mark arg0 as
12898         volatile.
12899         * scripts/bench.pl: Mark members of struct args as volatile.
12901 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12903         [BZ # 15497]
12904         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12905         negative infinity on POWER6 or lower.
12906         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12908 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12910         [BZ #15442]
12911         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12912         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12913         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12914         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12915         (_FP_SETQNAN): New macro.
12916         (_FP_SETQNAN_SEMIRAW): Likewise.
12917         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12918         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12919         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12920         (FP_EXTEND): Use _FP_FRAC_SNANP.
12921         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12922         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12923         into account.
12924         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12925         New macro.
12926         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12927         Likewise.
12929 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12931         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12932         with DIVIDE_BY_ZERO_EXCEPTION.
12933         (gamma_test_data): Likewise.
12934         (lgamma_test_data): Likewise.
12935         (log_test_data): Likewise.
12936         (log10_test_data): Likewise.
12937         (log2_test_data): Likewise.
12938         (tgamma_test_data): Likewise.
12940         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12941         (acos_test_tonearest): Likewise.
12942         (acos_test_towardzero): Likewise.
12943         (acos_test_downward): Likewise.
12944         (acos_test_upward): Likewise.
12945         (acosh_test): Likewise.
12946         (asin_test): Likewise.
12947         (asin_test_tonearest): Likewise.
12948         (asin_test_towardzero): Likewise.
12949         (asin_test_downward): Likewise.
12950         (asin_test_upward): Likewise.
12951         (asinh_test): Likewise.
12952         (atan_test): Likewise.
12953         (atanh_test): Likewise.
12954         (atan2_test): Likewise.
12955         (cabs_test): Likewise.
12956         (cacos_test): Likewise.
12957         (cacosh_test): Likewise.
12958         (casin_test): Likewise.
12959         (casinh_test): Likewise.
12960         (catan_test): Likewise.
12961         (catanh_test): Likewise.
12962         (cbrt_test): Likewise.
12963         (ccos_test): Likewise.
12964         (ccosh_test): Likewise.
12965         (cexp_test): Likewise.
12966         (clog_test): Likewise.
12967         (clog10_test): Likewise.
12968         (cos_test): Likewise.
12969         (cos_test_tonearest): Likewise.
12970         (cos_test_towardzero): Likewise.
12971         (cos_test_downward): Likewise.
12972         (cos_test_upward): Likewise.
12973         (cosh_test): Likewise.
12974         (cosh_test_tonearest): Likewise.
12975         (cosh_test_towardzero): Likewise.
12976         (cosh_test_downward): Likewise.
12977         (cosh_test_upward): Likewise.
12978         (cpow_test): Likewise.
12979         (csin_test): Likewise.
12980         (csinh_test): Likewise.
12981         (csqrt_test): Likewise.
12982         (ctan_test): Likewise.
12983         (ctan_test_tonearest): Likewise.
12984         (ctan_test_towardzero): Likewise.
12985         (ctan_test_downward): Likewise.
12986         (ctan_test_upward): Likewise.
12987         (ctanh_test): Likewise.
12988         (ctanh_test_tonearest): Likewise.
12989         (ctanh_test_towardzero): Likewise.
12990         (ctanh_test_downward): Likewise.
12991         (ctanh_test_upward): Likewise.
12992         (erf_test): Likewise.
12993         (erfc_test): Likewise.
12994         (exp_test): Likewise.
12995         (exp_test_tonearest): Likewise.
12996         (exp_test_towardzero): Likewise.
12997         (exp_test_downward): Likewise.
12998         (exp_test_upward): Likewise.
12999         (exp10_test): Likewise.
13000         (exp2_test): Likewise.
13001         (expm1_test): Likewise.
13002         (fmod_test): Likewise.
13003         (gamma_test): Likewise.
13004         (hypot_test): Likewise.
13005         (j0_test): Likewise.
13006         (j1_test): Likewise.
13007         (jn_test): Likewise.
13008         (lgamma_test): Likewise.
13009         (log_test): Likewise.
13010         (log10_test): Likewise.
13011         (log1p_test): Likewise.
13012         (log2_test): Likewise.
13013         (logb_test_downward): Likewise.
13014         (pow_test): Likewise.
13015         (pow_test_tonearest): Likewise.
13016         (pow_test_towardzero): Likewise.
13017         (pow_test_downward): Likewise.
13018         (pow_test_upward): Likewise.
13019         (remainder_test): Likewise.
13020         (remquo_test): Likewise.
13021         (sin_test): Likewise.
13022         (sin_test_tonearest): Likewise.
13023         (sin_test_towardzero): Likewise.
13024         (sin_test_downward): Likewise.
13025         (sin_test_upward): Likewise.
13026         (sincos_test): Likewise.
13027         (sinh_test): Likewise.
13028         (sinh_test_tonearest): Likewise.
13029         (sinh_test_towardzero): Likewise.
13030         (sinh_test_downward): Likewise.
13031         (sinh_test_upward): Likewise.
13032         (sqrt_test): Likewise.
13033         (tan_test): Likewise.
13034         (tan_test_tonearest): Likewise.
13035         (tan_test_towardzero): Likewise.
13036         (tan_test_downward): Likewise.
13037         (tan_test_upward): Likewise.
13038         (tanh_test): Likewise.
13039         (tgamma_test): Likewise.
13040         (y0_test): Likewise.
13041         (y1_test): Likewise.
13042         (yn_test): Likewise.
13044         * math/gen-libm-test.pl (adjust_arg): Remove function.
13045         (special_function): Remove argument $in_func.  Only handle
13046         generating output for tables of tests, not inside functions.
13047         (parse_args): Likewise.
13048         (generate_testfile): Remove variable $in_func.  Update call to
13049         parse_args.
13050         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13051         (MINUS_ZERO_INIT): Rename macro to minus_zero.
13052         (PLUS_INFTY_INIT): Rename macro to plus_infty.
13053         (MINUS_INFTY_INIT): Rename macro to minus_infty.
13054         (QNAN_VALUE_INIT): Rename macro to qnan_value.
13055         (MAX_VALUE_INIT): Rename macro to max_value.
13056         (MIN_VALUE_INIT): Rename macro to min_value.
13057         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13058         (plus_zero): Remove variable.
13059         (minus_zero): Likewise.
13060         (plus_infty): Likewise.
13061         (minus_infty): Likewise.
13062         (qnan_value): Likewise.
13063         (max_value): Likewise.
13064         (min_value): Likewise.
13065         (min_subnorm_value): Likewise.
13067 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13069         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13070         uint64_t or uint32_t usage.
13071         * crypt/sha256-block.c: Likewise.
13072         * crypt/sha256-crypt.c: Likewise.
13073         * crypt/sha256.c: Likewise.
13074         * crypt/sha512-block.c: Likewise.
13075         * crypt/sha512-crypt.c: Likewise.
13076         * crypt/sha512.c: Likewise.
13077         * debug/backtrace-tst.c: Likewise.
13078         * debug/pcprofiledump.c: Likewise.
13079         * elf/cache.c: Likewise.
13080         * elf/dl-cache.c: Likewise.
13081         * elf/dl-misc.c: Likewise.
13082         * elf/dl-profile.c: Likewise.
13083         * elf/dl-support.c: Likewise.
13084         * elf/ldconfig.c: Likewise.
13085         * elf/sprof.c: Likewise.
13086         * iconv/dummy-repertoire.c: Likewise.
13087         * iconv/iconv_charmap.c: Likewise.
13088         * iconv/skeleton.c: Likewise.
13089         * iconvdata/8bit-generic.c: Likewise.
13090         * iconvdata/cp737.h: Likewise.
13091         * iconvdata/cp775.h: Likewise.
13092         * iconvdata/ibm1008.h: Likewise.
13093         * iconvdata/ibm1025.h: Likewise.
13094         * iconvdata/ibm1046.h: Likewise.
13095         * iconvdata/ibm1097.h: Likewise.
13096         * iconvdata/ibm1112.h: Likewise.
13097         * iconvdata/ibm1122.h: Likewise.
13098         * iconvdata/ibm1123.h: Likewise.
13099         * iconvdata/ibm1124.h: Likewise.
13100         * iconvdata/ibm1129.h: Likewise.
13101         * iconvdata/ibm1130.h: Likewise.
13102         * iconvdata/ibm1132.h: Likewise.
13103         * iconvdata/ibm1133.h: Likewise.
13104         * iconvdata/ibm1137.h: Likewise.
13105         * iconvdata/ibm1140.h: Likewise.
13106         * iconvdata/ibm1141.h: Likewise.
13107         * iconvdata/ibm1142.h: Likewise.
13108         * iconvdata/ibm1143.h: Likewise.
13109         * iconvdata/ibm1144.h: Likewise.
13110         * iconvdata/ibm1145.h: Likewise.
13111         * iconvdata/ibm1146.h: Likewise.
13112         * iconvdata/ibm1147.h: Likewise.
13113         * iconvdata/ibm1148.h: Likewise.
13114         * iconvdata/ibm1149.h: Likewise.
13115         * iconvdata/ibm1153.h: Likewise.
13116         * iconvdata/ibm1154.h: Likewise.
13117         * iconvdata/ibm1155.h: Likewise.
13118         * iconvdata/ibm1156.h: Likewise.
13119         * iconvdata/ibm1157.h: Likewise.
13120         * iconvdata/ibm1158.h: Likewise.
13121         * iconvdata/ibm1160.h: Likewise.
13122         * iconvdata/ibm1161.h: Likewise.
13123         * iconvdata/ibm1162.h: Likewise.
13124         * iconvdata/ibm1163.h: Likewise.
13125         * iconvdata/ibm1164.h: Likewise.
13126         * iconvdata/ibm1166.h: Likewise.
13127         * iconvdata/ibm1167.h: Likewise.
13128         * iconvdata/ibm12712.h: Likewise.
13129         * iconvdata/ibm1390.h: Likewise.
13130         * iconvdata/ibm1399.h: Likewise.
13131         * iconvdata/ibm16804.h: Likewise.
13132         * iconvdata/ibm4517.h: Likewise.
13133         * iconvdata/ibm4899.h: Likewise.
13134         * iconvdata/ibm4909.h: Likewise.
13135         * iconvdata/ibm4971.h: Likewise.
13136         * iconvdata/ibm5347.h: Likewise.
13137         * iconvdata/ibm803.h: Likewise.
13138         * iconvdata/ibm856.h: Likewise.
13139         * iconvdata/ibm901.h: Likewise.
13140         * iconvdata/ibm902.h: Likewise.
13141         * iconvdata/ibm9030.h: Likewise.
13142         * iconvdata/ibm9066.h: Likewise.
13143         * iconvdata/ibm921.h: Likewise.
13144         * iconvdata/ibm922.h: Likewise.
13145         * iconvdata/ibm9448.h: Likewise.
13146         * iconvdata/isiri-3342.h: Likewise.
13147         * iconvdata/jis0201.h: Likewise.
13148         * include/link.h: Likewise.
13149         * include/netdb.h: Likewise.
13150         * inet/check_native.c: Likewise.
13151         * inet/check_pf.c: Likewise.
13152         * inet/getipv4sourcefilter.c: Likewise.
13153         * inet/getnameinfo.c: Likewise.
13154         * inet/getsourcefilter.c: Likewise.
13155         * inet/htonl.c: Likewise.
13156         * inet/setipv4sourcefilter.c: Likewise.
13157         * inet/setsourcefilter.c: Likewise.
13158         * inet/test-inet6_opt.c: Likewise.
13159         * inet/tst-network.c: Likewise.
13160         * locale/C-collate.c: Likewise.
13161         * locale/C-ctype.c: Likewise.
13162         * locale/C-time.c: Likewise.
13163         * locale/C-translit.h: Likewise.
13164         * locale/loadarchive.c: Likewise.
13165         * locale/programs/3level.h: Likewise.
13166         * locale/programs/charmap.c: Likewise.
13167         * locale/programs/charmap.h: Likewise.
13168         * locale/programs/ld-address.c: Likewise.
13169         * locale/programs/ld-collate.c: Likewise.
13170         * locale/programs/ld-ctype.c: Likewise.
13171         * locale/programs/ld-identification.c: Likewise.
13172         * locale/programs/ld-measurement.c: Likewise.
13173         * locale/programs/ld-messages.c: Likewise.
13174         * locale/programs/ld-monetary.c: Likewise.
13175         * locale/programs/ld-name.c: Likewise.
13176         * locale/programs/ld-numeric.c: Likewise.
13177         * locale/programs/ld-paper.c: Likewise.
13178         * locale/programs/ld-telephone.c: Likewise.
13179         * locale/programs/ld-time.c: Likewise.
13180         * locale/programs/linereader.c: Likewise.
13181         * locale/programs/locale.c: Likewise.
13182         * locale/programs/locarchive.c: Likewise.
13183         * locale/programs/locfile.h: Likewise.
13184         * locale/programs/repertoire.c: Likewise.
13185         * locale/programs/simple-hash.c: Likewise.
13186         * locale/programs/simple-hash.h: Likewise.
13187         * malloc/memusage.c: Likewise.
13188         * malloc/memusagestat.c: Likewise.
13189         * nis/nis_defaults.c: Likewise.
13190         * nis/nis_hash.c: Likewise.
13191         * nis/nis_print.c: Likewise.
13192         * nis/nis_xdr.c: Likewise.
13193         * nscd/connections.c: Likewise.
13194         * nscd/hstcache.c: Likewise.
13195         * nscd/nscd_gethst_r.c: Likewise.
13196         * nscd/nscd_getserv_r.c: Likewise.
13197         * nscd/nscd_helper.c: Likewise.
13198         * nscd/servicescache.c: Likewise.
13199         * nss/makedb.c: Likewise.
13200         * nss/nss_db/db-XXX.c: Likewise.
13201         * nss/nss_db/db-initgroups.c: Likewise.
13202         * nss/nss_db/db-netgrp.c: Likewise.
13203         * nss/nss_files/files-network.c: Likewise.
13204         * nss/nss_files/files-parse.c: Likewise.
13205         * posix/bug-regex5.c: Likewise.
13206         * posix/fnmatch_loop.c: Likewise.
13207         * posix/regcomp.c: Likewise.
13208         * posix/regexec.c: Likewise.
13209         * posix/tst-rfc3484-2.c: Likewise.
13210         * posix/tst-rfc3484-3.c: Likewise.
13211         * posix/tst-rfc3484.c: Likewise.
13212         * resolv/nss_dns/dns-canon.c: Likewise.
13213         * resolv/nss_dns/dns-network.c: Likewise.
13214         * resolv/res_init.c: Likewise.
13215         * resolv/res_mkquery.c: Likewise.
13216         * resolv/tst-aton.c: Likewise.
13217         * stdlib/cxa_atexit.c: Likewise.
13218         * stdlib/cxa_finalize.c: Likewise.
13219         * stdlib/gen-fpioconst.c: Likewise.
13220         * stdlib/strtol_l.c: Likewise.
13221         * string/tst-endian.c: Likewise.
13222         * sunrpc/auth_des.c: Likewise.
13223         * sunrpc/clnt_udp.c: Likewise.
13224         * sunrpc/rtime.c: Likewise.
13225         * sunrpc/svcauth_des.c: Likewise.
13226         * sunrpc/xdr.c: Likewise.
13227         * sunrpc/xdr_intXX_t.c: Likewise.
13228         * sunrpc/xdr_rec.c: Likewise.
13229         * sysdeps/generic/ldconfig.h: Likewise.
13230         * sysdeps/generic/ldsodefs.h: Likewise.
13231         * sysdeps/generic/memusage.h: Likewise.
13232         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13233         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13234         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13235         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13236         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13237         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13238         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13239         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13240         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13241         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13242         * sysdeps/posix/getaddrinfo.c: Likewise.
13243         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13244         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13245         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13246         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13247         * sysdeps/powerpc/test-gettimebase.c: Likewise.
13248         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13249         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13250         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13251         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13252         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13253         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13254         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13255         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13256         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13257         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13258         * sysdeps/x86_64/dl-tls.h: Likewise.
13259         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13260         * time/alt_digit.c: Likewise.
13261         * time/era.c: Likewise.
13262         * wcsmbs/tst-c16c32-1.c: Likewise.
13264 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13266         * math/libm-test.inc (struct test_sincos_data): New type.
13267         (RUN_TEST_LOOP_sincos): New macro.
13268         (sincos_test_data): New variable.
13269         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13271 2013-05-16  Richard Henderson  <rth@redhat.com>
13273         * math/atest-exp2.c (LIMB64): New macro.
13274         (CONSTSZ): New macro.
13275         (mp_exp1, mp_exp_m1, mp_log2): New variables.
13276         (hexdig): Move ...
13277         (print_mpn_fp): ... to function scope.
13278         (read_mpn_hex): Remove.
13279         (get_log2): Remove.
13280         (exp2_mpn): Use mp_log2.
13281         (main): Use mp_exp1.
13283 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13285         * math/libm-test.inc: Remove comment about not testing "inexact"
13286         exceptions.
13287         (INEXACT_EXCEPTION): New macro.
13288         (NO_INEXACT_EXCEPTION): Likewise.
13289         (INVALID_EXCEPTION_OK): Update value.
13290         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13291         (OVERFLOW_EXCEPTION_OK): Likewise.
13292         (UNDERFLOW_EXCEPTION_OK): Likewise.
13293         (IGNORE_ZERO_INF_SIGN): Likewise.
13294         (ERRNO_UNCHANGED): Likewise.
13295         (ERRNO_EDOM): Likewise.
13296         (ERRNO_ERANGE): Likewise.
13297         (test_exceptions): Handle testing "inexact" exceptions.
13298         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13299         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13300         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13301         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13302         INEXACT_EXCEPTION.
13303         (rint_towardzero_test_data): Likewise.
13304         (rint_downward_test_data): Likewise.
13305         (rint_upward_test_data): Likewise.
13307         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13308         with OVERFLOW_EXCEPTION.
13309         (exp10_test_data): Likewise.
13310         (exp2_test_data): Likewise.
13311         (expm1_test_data): Likewise.
13312         (lgamma_test_data): Likewise.
13313         (pow_test_data): Likewise.
13314         (tgamma_test_data): Likewise.
13315         (yn_test_data): Remove duplicate test of overflow.
13317         * math/libm-test.inc (struct test_cc_c_data): New type.
13318         (RUN_TEST_LOOP_cc_c): New macro.
13319         (cpow_test_data): New variable.
13320         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13322         * math/libm-test.inc (struct test_f_L_data): New type.
13323         (RUN_TEST_LOOP_f_L): New macro.
13324         (llrint_test_data): New variable.
13325         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13326         (llrint_tonearest_test_data): New variable.
13327         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13328         (llrint_towardzero_test_data): New variable.
13329         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13330         (llrint_downward_test_data): New variable.
13331         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13332         (llrint_upward_test_data): New variable.
13333         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13334         (llround_test_data): New variable.
13335         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13337 2013-05-13  Peter Collingbourne  <pcc@google.com>
13339         * math/atest-exp2.c (get_log2): Remove const attribute.
13341 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13343         * math/libm-test.inc (struct test_f_l_data): New type.
13344         (RUN_TEST_LOOP_f_l): New macro.
13345         (lrint_test_data): New variable.
13346         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13347         (lrint_tonearest_test_data): New variable.
13348         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13349         (lrint_towardzero_test_data): New variable.
13350         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13351         (lrint_downward_test_data): New variable.
13352         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13353         (lrint_upward_test_data): New variable.
13354         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13355         (lround_test_data): New variable.
13356         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13358 2013-05-15  Peter Collingbourne  <pcc@google.com>
13360         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13361         (EXTRACT_WORDS64) Use where appropriate.
13362         (INSERT_WORDS64) Likewise.
13364         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13365         constraints with x constraints.
13366         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13368         * malloc/obstack.c (_obstack_compat): Add initializer.
13370 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13372         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13373         si_trapno and add si_addr_lsb to _sifields.sigfault.
13374         (si_trapno): Remove macro.
13375         (si_addr_lsb): Define new macro.
13376         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13378 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13380         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13381         instead of TEST_f_l.
13382         (llrint_test_tonearest): Likewise.
13383         (llrint_test_towardzero): Likewise.
13384         (llrint_test_downward): Likewise.
13385         (llrint_test_upward): Likewise.
13386         (llround_test): Likewise.
13388         * math/libm-test.inc (struct test_f_i_data): Add comment.
13389         (RUN_TEST_LOOP_f_b): New macro.
13390         (RUN_TEST_LOOP_f_b_tg): Likewise.
13391         (finite_test_data): New variable.
13392         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13393         (isfinite_test_data): New variable.
13394         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13395         (isinf_test_data): New variable.
13396         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13397         (isnan_test_data): New variable.
13398         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13399         (isnormal_test_data): New variable.
13400         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13401         (issignaling_test_data): New variable.
13402         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13403         (signbit_test_data): New variable.
13404         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13406         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13407         with INVALID_EXCEPTION.
13408         (acosh_test_data): Likewise.
13409         (asin_test_data): Likewise.
13410         (atanh_test_data): Likewise.
13411         (fmod_test_data): Likewise.
13412         (log_test_data): Likewise.
13413         (log10_test_data): Likewise.
13414         (log2_test_data): Likewise.
13415         (pow_test_data): Likewise.
13416         (sqrt_test_data): Likewise.
13417         (y0_test_data): Likewise.
13418         (y1_test_data): Likewise.
13419         (yn_test_data): Likewise.
13421         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13422         function contents.
13424         * math/libm-test.inc (struct test_ff_i_data): New type.
13425         (RUN_TEST_LOOP_ff_i_tg): New macro.
13426         (isgreater_test_data): New variable.
13427         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13428         (isgreaterequal_test_data): New variable.
13429         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13430         (isless_test_data): New variable.
13431         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13432         (islessequal_test_data): New variable.
13433         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13434         (islessgreater_test_data): New variable.
13435         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13436         (isunordered_test_data): New variable.
13437         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13439 2013-05-14  David S. Miller  <davem@davemloft.net>
13441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13443 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
13445         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13447         * math/libm-test.inc (struct test_fF_f1_data): Change type of
13448         extra_test to int.
13449         (struct test_f_i_data): Change type of max_ulp to int.
13451         * math/libm-test.inc (test_ffI_f1_data): New type.
13452         (RUN_TEST_LOOP_ffI_f1): New macro.
13453         (remquo_test_data): New variable.
13454         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13456         * setjmp/tst-setjmp-fp.c: New file.
13457         * setjmp/Makefile (tests): Add tst-setjmp-fp.
13458         (link-libm): New variable.
13459         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13461         * math/libm-test.inc (struct test_f_i_data): New type.
13462         (RUN_TEST_LOOP_f_i): New macro.
13463         (RUN_TEST_LOOP_f_i_tg): Likewise.
13464         (fpclassify_test_data): New variable.
13465         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13466         (ilogb_test_data): New variable.
13467         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13469         * math/libm-test.inc (scalbln_test): Correct function name in END
13470         call.
13472         * math/libm-test.inc (struct test_f_f1_data): Add comment.
13473         (RUN_TEST_LOOP_fI_f1): New macro.
13474         (frexp_test_data): New variable.
13475         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13477         * math/libm-test.inc (struct test_fF_f1_data): New type.
13478         (RUN_TEST_LOOP_fF_f1): New macro.
13479         (modf_test_data): New variable.
13480         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13482         * math/libm-test.inc (struct test_f_f1_data): New type.
13483         (RUN_TEST_LOOP_f_f1): New macro.
13484         (gamma_test_data): New variable.
13485         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13486         (lgamma_test_data): New variable.
13487         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13489 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
13491         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13492         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13493         (main): Comment "tls" pseudo-hwcap.
13495 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
13497         * math/libm-test.inc (struct test_fl_f_data): New type.
13498         (RUN_TEST_LOOP_fl_f): New variable.
13499         (scalbln_test_data): New variable.
13500         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13502         * math/libm-test.inc (struct test_fi_f_data): New type.
13503         (RUN_TEST_LOOP_fi_f): New macro.
13504         (ldexp_test_data): New variable.
13505         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13506         (scalbn_test_data): New variable.
13507         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13509         * math/libm-test.inc (struct test_c_f_data): New type.
13510         (RUN_TEST_LOOP_c_f): New macro.
13511         (cabs_test_data): New variable.
13512         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13513         (carg_test_data): New variable.
13514         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13515         (cimag_test_data): New variable.
13516         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13517         (creal_test_data): New variable.
13518         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13520         * math/libm-test.inc (struct test_if_f_data): New type.
13521         (RUN_TEST_LOOP_if_f): New macro.
13522         (jn_test_data): New variable.
13523         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13524         (yn_test_data): New variable.
13525         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13527         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13529 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13531         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13532         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13534 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13536         * benchtests/Makefile (CPPFLAGS-nonlib): Add
13537         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13538         (bench-deps): Add bench-timing.h.
13539         * benchtests-bench-skeleton.c: Include bench-timing.h.
13540         (main): Use TIMING_* macros instead of clock_gettime.
13541         * benchtests/bench-timing.h: New file.
13543         [BZ #14582]
13544         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13545         Renamed from _LIB_VERSION.
13546         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13548 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
13550         * math/libm-test.inc (struct test_fff_f_data): New type.
13551         (RUN_TEST_LOOP_fff_f): New macro.
13552         (fma_test_data): New variable.
13553         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13554         (fma_towardzero_test_data): New variable.
13555         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13556         (fma_downward_test_data): New variable.
13557         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13558         (fma_upward_test_data): New variable.
13559         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13561         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13562         (struct test_c_c_data): New type.
13563         (RUN_TEST_LOOP_c_c): New macro.
13564         (cacos_test_data): New variable.
13565         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13566         (cacosh_test_data): New variable.
13567         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13568         (casin_test_data): New variable.
13569         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13570         (casinh_test_data): New variable.
13571         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13572         (catan_test_data): New variable.
13573         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13574         (catanh_test_data): New variable.
13575         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13576         (ccos_test_data): New variable.
13577         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13578         (ccosh_test_data): New variable.
13579         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13580         (cexp_test_data): New variable.
13581         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13582         (clog_test_data): New variable.
13583         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13584         (clog10_test_data): New variable.
13585         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13586         (conj_test_data): New variable.
13587         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13588         (cproj_test_data): New variable.
13589         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13590         (csin_test_data): New variable.
13591         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13592         (csinh_test_data): New variable.
13593         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13594         (csqrt_test_data): New variable.
13595         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13596         (ctan_test_data): New variable.
13597         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13598         (ctan_tonearest_test_data): New variable.
13599         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13600         (ctan_towardzero_test_data): New variable.
13601         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13602         (ctan_downward_test_data): New variable.
13603         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13604         (ctan_upward_test_data): New variable.
13605         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13606         (ctanh_test_data): New variable.
13607         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13608         (ctanh_tonearest_test_data): New variable.
13609         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13610         (ctanh_towardzero_test_data): New variable.
13611         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13612         (ctanh_downward_test_data): New variable.
13613         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13614         (ctanh_upward_test_data): New variable.
13615         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13616         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13617         of BUILD_COMPLEX.
13619         * math/libm-test.inc (struct test_ff_f_data): New type.
13620         (struct test_ff_f_data_nexttoward): Likewise.
13621         (RUN_TEST_LOOP_2_f): New macro.
13622         (RUN_TEST_LOOP_ff_f): Likewise.
13623         (atan2_test_data): New variable.
13624         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13625         (copysign_test_data): New variable.
13626         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13627         (fdim_test_data): New variable.
13628         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13629         (fmax_test_data): New variable.
13630         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13631         (fmin_test_data): New variable.
13632         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13633         (fmod_test_data): New variable.
13634         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13635         (hypot_test_data): New variable.
13636         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13637         (nextafter_test_data): New variable.
13638         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13639         (nexttoward_test_data): New variable.
13640         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13641         (pow_test_data): New variable.
13642         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13643         (pow_tonearest_test_data): New variable.
13644         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13645         (pow_towardzero_test_data): New variable.
13646         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13647         (pow_downward_test_data): New variable.
13648         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13649         (pow_upward_test_data): New variable.
13650         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13651         (remainder_test_data): New variable.
13652         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13653         (scalb_test_data): New variable.
13654         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13655         * sysdeps/i386/fpu/libm-test-ulps: Update.
13657 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
13659         * math/libm-test.inc (fma_test): Use max_value instead of local
13660         variable fltmax.
13661         (nextafter_test): Likewise.
13663         * math/libm-test.inc (acos_towardzero_test_data): New variable.
13664         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13665         (acos_downward_test_data): New variable.
13666         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13667         (acos_upward_test_data): New variable.
13668         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13669         (acosh_test_data): New variable.
13670         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13671         (asin_test_data): New variable.
13672         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13673         (asin_tonearest_test_data): New variable.
13674         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13675         (asin_towardzero_test_data): New variable.
13676         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13677         (asin_downward_test_data): New variable.
13678         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13679         (asin_upward_test_data): New variable.
13680         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13681         (asinh_test_data): New variable.
13682         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13683         (atan_test_data): New variable.
13684         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13685         (atanh_test_data): New variable.
13686         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13687         (cbrt_test_data): New variable.
13688         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13689         (ceil_test_data): New variable.
13690         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13691         (cos_test_data): New variable.
13692         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13693         (cos_tonearest_test_data): New variable.
13694         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13695         (cos_towardzero_test_data): New variable.
13696         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13697         (cos_downward_test_data): New variable.
13698         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13699         (cos_upward_test_data): New variable.
13700         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13701         (cosh_test_data): New variable.
13702         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13703         (cosh_tonearest_test_data): New variable.
13704         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13705         (cosh_towardzero_test_data): New variable.
13706         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13707         (cosh_downward_test_data): New variable.
13708         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13709         (cosh_upward_test_data): New variable.
13710         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13711         (erf_test_data): New variable.
13712         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13713         (erfc_test_data): New variable.
13714         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13715         (exp_test_data): New variable.
13716         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13717         (exp_tonearest_test_data): New variable.
13718         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13719         (exp_towardzero_test_data): New variable.
13720         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13721         (exp_downward_test_data): New variable.
13722         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13723         (exp_upward_test_data): New variable.
13724         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13725         (exp10_test_data): New variable.
13726         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13727         (exp2_test_data): New variable.
13728         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13729         (expm1_test_data): New variable.
13730         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13731         (fabs_test_data): New variable.
13732         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13733         (floor_test_data): New variable.
13734         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13735         (j0_test_data): New variable.
13736         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13737         (j1_test_data): New variable.
13738         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13739         (log_test_data): New variable.
13740         (log_test): Run tests with RUN_TEST_LOOP_f_f.
13741         (log10_test_data): New variable.
13742         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13743         (log1p_test_data): New variable.
13744         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13745         (log2_test_data): New variable.
13746         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13747         (logb_test_data): New variable.
13748         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13749         (logb_downward_test_data): New variable.
13750         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13751         (nearbyint_test_data): New variable.
13752         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13753         (rint_test_data): New variable.
13754         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13755         (rint_tonearest_test_data): New variable.
13756         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13757         (rint_towardzero_test_data): New variable.
13758         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13759         (rint_downward_test_data): New variable.
13760         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13761         (rint_upward_test_data): New variable.
13762         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13763         (round_test_data): New variable.
13764         (round_test): Run tests with RUN_TEST_LOOP_f_f.
13765         (sin_test_data): New variable.
13766         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13767         (sin_tonearest_test_data): New variable.
13768         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13769         (sin_towardzero_test_data): New variable.
13770         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13771         (sin_downward_test_data): New variable.
13772         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13773         (sin_upward_test_data): New variable.
13774         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13775         (sinh_test_data): New variable.
13776         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13777         (sinh_tonearest_test_data): New variable.
13778         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13779         (sinh_towardzero_test_data): New variable.
13780         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13781         (sinh_downward_test_data): New variable.
13782         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13783         (sinh_upward_test_data): New variable.
13784         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13785         (sqrt_test_data): New variable.
13786         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13787         (tan_test_data): New variable.
13788         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13789         (tan_tonearest_test_data): New variable.
13790         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13791         (tan_towardzero_test_data): New variable.
13792         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13793         (tan_downward_test_data): New variable.
13794         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13795         (tan_upward_test_data): New variable.
13796         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13797         (tanh_test_data): New variable.
13798         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13799         (tgamma_test_data): New variable.
13800         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13801         (trunc_test_data): New variable.
13802         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13803         (y0_test_data): New variable.
13804         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13805         (y1_test_data): New variable.
13806         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13807         (significand_test_data): New variable.
13808         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13810 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
13812         [BZ #12387]
13813         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13815 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13817         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13819 2013-05-10  Andreas Jaeger  <aj@suse.de>
13821         [BZ #15448]
13822         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13823         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13825 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13827         * math/gen-libm-test.pl (adjust_arg): New function.
13828         (special_functions): Handle generating output in both functions
13829         and arrays.
13830         (parse_args): Likewise.
13831         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
13832         $in_func argument to parse_args.
13833         * math/libm-test.inc (struct test_f_f_data): New type.
13834         (IF_ROUND_INIT_): New macro.
13835         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13836         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13837         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13838         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13839         (ROUND_RESTORE_): Likewise.
13840         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13841         (ROUND_RESTORE_FE_TONEAREST): Likewise.
13842         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13843         (ROUND_RESTORE_FE_UPWARD): Likewise.
13844         (RUN_TEST_LOOP_f_f): New macro.
13845         (acos_test_data): New variable.
13846         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13847         (acos_tonearest_test_data): New variable.
13848         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13850 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13852         * benchtests/bench-skeleton.c (startup): Fix coding style.
13854 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13856         [BZ #6809]
13857         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13858         negative infinity argument.
13859         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13860         negative infinity argument.
13861         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13862         negative infinity argument.
13863         * math/libm-test.inc (tgamma_test): Expect errno to be set for
13864         domain errors.
13866 2013-05-10  Florian Weimer  <fweimer@redhat.com>
13868         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13869         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13870         * iconv/iconv_prog.c (main): Likewise.
13871         * locale/programs/charmap-dir.c (charmap_readdir)
13872         (fopen_uncompressed): Likewise.
13873         * locale/programs/locfile.c (siblings_uncached)
13874         (write_locale_data): Use lstat64 instead of lstat.
13875         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13876         stat.
13878 2013-05-10  Andreas Jaeger  <aj@suse.de>
13880         [BZ #15395]
13881         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13882         localization.
13883         Include <locale.h>.
13885 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
13887         * elf/dl-close.c (_dl_close_worker): Add comments.
13889 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
13891         [BZ #15359]
13892         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13893         high part of pi/2.
13894         (__ieee754_rem_pio2l): Update comments.
13896         [BZ #15429]
13897         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13898         high part of pi/2.
13899         (__ieee754_rem_pio2l): Update comments.
13901         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13902         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13904         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13905         M_PI_4l.
13907         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13908         (M_PI_34_LOG10El): Likewise.
13909         (M_PI2_LOG10El): Likewise.
13910         (M_PI4_LOG10El): Likewise.
13911         (M_PI_LOG10El): Likewise.
13913 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13917 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
13919         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13920         (MINUS_ZERO_INIT): Likewise.
13921         (PLUS_INFTY_INIT): Likewise.
13922         (MINUS_INFTY_INIT): Likewise.
13923         (QNAN_VALUE_INIT): Likewise.
13924         (MAX_VALUE_INIT): Likewise.
13925         (MIN_VALUE_INIT): Likewise.
13926         (MIN_SUBNORM_VALUE_INIT): Likewise.
13927         (plus_zero): Initialize with PLUS_ZERO_INIT.
13928         (minus_zero): Initialize with MINUS_ZERO_INIT.
13929         (plus_infty): Initialize with PLUS_INFTY_INIT.
13930         (minus_infty): Initialize with MINUS_INFTY_INIT.
13931         (qnan_value): Initialize with QNAN_VALUE_INIT.
13932         (max_value): Initialize with MAX_VALUE_INIT.
13933         (min_value): Initialize with MIN_VALUE_INIT.
13934         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13936         * math/libm-test.inc (RUN_TEST_if_f): New macro.
13937         (jn_test): Use TEST_if_f instead of TEST_ff_f.
13938         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13939         (yn_test): Use TEST_if_f instead of TEST_ff_f.
13941         * math/libm-test.inc (RUN_TEST_f_f): New macro.
13942         (RUN_TEST_2_f): Likewise.
13943         (RUN_TEST_ff_f): Likewise.
13944         (RUN_TEST_fi_f): Likewise.
13945         (RUN_TEST_fl_f): Likewise.
13946         (RUN_TEST_fff_f): Likewise.
13947         (RUN_TEST_c_f): Likewise.
13948         (RUN_TEST_f_f1): Likewise.
13949         (RUN_TEST_fF_f1): Likewise.
13950         (RUN_TEST_fI_f1): Likewise.
13951         (RUN_TEST_ffI_f1): Likewise.
13952         (RUN_TEST_c_c): Likewise.
13953         (RUN_TEST_cc_c): Likewise.
13954         (RUN_TEST_f_i): Likewise.
13955         (RUN_TEST_f_i_tg): Likewise.
13956         (RUN_TEST_ff_i_tg): Likewise.
13957         (RUN_TEST_f_b): Likewise.
13958         (RUN_TEST_f_b_tg): Likewise.
13959         (RUN_TEST_f_l): Likewise.
13960         (RUN_TEST_f_L): Likewise.
13961         (RUN_TEST_sincos): Likewise.
13962         * math/gen-libm-test.pl (new_test): Take new argument to indicate
13963         whether to show exceptions.  Do not include ");\n" in return
13964         value.
13965         (special_functions): Output call to RUN_TEST_sincos instead of
13966         check_float calls.  Update calls to new_test.
13967         (parse_args): Output call to single RUN_TEST_* macro instead of
13968         check_* calls and other assignments.  Update calls to new_test.
13970         [BZ #2546]
13971         [BZ #2560]
13972         [BZ #5159]
13973         [BZ #15426]
13974         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13975         input to result for tgamma overflow.
13976         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13977         (gamma_coeff): New variable.
13978         (NCOEFF): New macro.
13979         (gamma_positive): New function.
13980         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13981         underflow here.  Use gamma_positive instead of exp (lgamma) for
13982         other arguments.
13983         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13984         (gamma_coeff): New variable.
13985         (NCOEFF): New macro.
13986         (gammaf_positive): New function.
13987         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13988         underflow here.  Use gamma_positive instead of exp (lgamma) for
13989         other arguments.
13990         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13991         (gamma_coeff): New variable.
13992         (NCOEFF): New macro.
13993         (gammal_positive): New function.
13994         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13995         underflow here.  Use gamma_positive instead of exp (lgamma) for
13996         other arguments.
13997         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13998         (gamma_coeff): New variable.
13999         (NCOEFF): New macro.
14000         (gammal_positive): New function.
14001         (__ieee754_gammal_r): Handle positive infinity, overflow and
14002         underflow here.  Handle NaN the same as positive infinity.  Remove
14003         check x < 0xffffffff for negative integers.  Use gamma_positive
14004         instead of exp (lgamma) for other arguments.
14005         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14006         (gamma_coeff): New variable.
14007         (NCOEFF): New macro.
14008         (gammal_positive): New function.
14009         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14010         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14011         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14012         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14013         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14014         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14015         * sysdeps/generic/math_private.h (__gamma_productf): New
14016         prototype.
14017         (__gamma_product): Likewise.
14018         (__gamma_productl): Likewise.
14019         * math/Makefile (libm-calls): Add gamma_product.
14020         * math/libm-test.inc (tgamma_test): Add more tests.
14021         * sysdeps/i386/fpu/libm-test-ulps: Update.
14022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14024 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
14026         * benchtests/bench-skeleton.c (main): Preheat CPU.
14028 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
14030         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14032 2013-05-07  Roland McGrath  <roland@hack.frob.com>
14034         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14035         and _dl_skip_args_internal.
14037 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
14039         * manual/message.texi (Message Translation): Talk about users.
14040         Message to key mapping impacts design.
14042 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14044         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14046         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14048         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14049         * sysdeps/wordsize-64/glob64.c: ... here.
14051         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14052         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14053         New macros.
14055         * debug/getlogin_r_chk.c: Moved to ...
14056         * login/getlogin_r_chk.c: ... here.
14057         * debug/Makefile (routines): Move getlogin_r_chk to ...
14058         * login/Makefile (routines): ... here.
14059         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14060         * login/Versions (libc: GLIBC_2.4): ... here.
14062         * io/poll.c (__poll): Renamed from poll.
14063         Add libc_hidden_def.
14064         (poll): Define as weak alias.
14066         * debug/ptsname_r_chk.c: Moved to ...
14067         * login/ptsname_r_chk.c: ... here.
14068         * debug/Makefile (routines): Move ptsname_r_chk to ...
14069         * login/Makefile (routines): ... here.
14070         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14071         * login/Versions (libc: GLIBC_2.4): ... here.
14073         * posix/getlogin.c: Moved to ...
14074         * login/getlogin.c: ... here.
14075         * posix/getlogin_r.c: Moved to ...
14076         * login/getlogin_r.c: ... here.
14077         * posix/getlogin_r.c: Moved to ...
14078         * login/getlogin_r.c: ... here.
14079         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14080         * login/Makefile (routines): ... here.
14081         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14082         * login/Versions (libc: GLIBC_2.0): ... here.
14084         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14085         (setrlimit): Define as weak alias.
14087         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14088         Call __ names for open, ftruncate, and close.
14089         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14090         (truncate): Define as weak alias.
14092 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
14094         * math/gen-libm-test.pl (parse_args): Initialize x before each
14095         test of frexp, modf and remquo.
14097         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14098         test signgam value.
14100 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14102         [BZ #15418]
14103         [BZ #15419]
14104         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14105         internal tests.
14106         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14108 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14110         * elf/dl-writev.h: New file.
14111         * elf/dl-misc.c: Include it.
14112         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14113         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14115 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
14117         * math/libm-test.inc (noXFails): Remove variable.
14118         (noXPasses): Likewise.
14119         (BUILD_COMPLEX_INT): Remove macro.
14120         (print_screen): Remove xfail argument.
14121         (print_screen_max_error): Likewise.
14122         (update_stats): Likewise.
14123         (print_max_error): Likewise.  Update calls to other affected
14124         functions.
14125         (print_complex_max_error): Likewise.
14126         (test_single_exception): Update calls to print_screen.
14127         (test_single_errno): Likewise.
14128         (check_float_internal): Remove xfail argument.  Update calls to
14129         other affected functions.
14130         (check_float): Likewise.
14131         (check_complex): Likewise.
14132         (check_int): Likewise.
14133         (check_long): Likewise.
14134         (check_bool): Likewise.
14135         (check_longlong): Likewise.
14136         (main): Don't print noXFails and noXPasses.
14137         * math/gen-libm-test.pl (top level): Don't mention expected
14138         failure handling in comment.
14139         (new_test): Don't handle expected failures.
14140         (parse_args): Don't mention expected failure handling in comment.
14141         (generate_testfile): Don't handle expected failures.
14142         (parse_ulps): Likewise.
14143         (print_ulps_file): Likewise.
14144         (get_failure): Remove function.
14145         (output_test): Don't handle expected failures.
14146         * make/README.libm-test: Don't mention expected failure handling.
14148         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
14149         (minus_zero): Likewise.
14150         (plus_infty): Likewise.
14151         (minus_infty): Likewise.
14152         (qnan_value): Likewise.
14153         (max_value): Likewise.
14154         (min_value): Likewise.
14155         (min_subnorm_value): Likewise.
14156         (initialize): Do not initialize those variables dynamically.
14158 2013-05-03  Roland McGrath  <roland@hack.frob.com>
14160         * io/open.c (__open_2): Moved to ...
14161         * io/open_2.c: ... this new file.
14162         * io/open64.c (__open64_2): Moved to ...
14163         * io/open64_2.c: ... this new file.
14164         * io/openat.c (__openat_2): Moved to ...
14165         * io/openat_2.c: ... this new file.
14166         * io/openat64.c (__openat64_2): Moved to ...
14167         * io/openat64_2.c: ... this new file.
14168         * io/Makefile (routines): Add them.
14169         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14170         * sysdeps/unix/sysv/linux/open_2.c: File removed.
14171         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14172         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14173         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14174         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14175         (__openat64): Add hidden_ver.
14176         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14177         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14179         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14180         Separately conditionalize setting of GLRO(dl_sysinfo) so
14181         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14182         as well, but the actual setting is only under [NEED_DL_SYSINFO].
14184 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14186         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14187         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14188         definition.
14189         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14190         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14191         (_libc_vdso_platform_setup): Add __vdso_time initialization.
14192         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14193         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14195 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
14197         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14198         test signgam value.
14200         * math/libm-test.inc (hypot_test): Do not use
14201         IGNORE_ZERO_INF_SIGN.
14203 2013-05-03  Andreas Jaeger  <aj@suse.de>
14205         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14206         Linux 3.9.
14207         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14208         (PF_MAX): Adjust for VSOCK change.
14210 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14214 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
14216         [BZ #15264]
14217         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14218         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14219         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14221 2013-05-02  David S. Miller  <davem@davemloft.net>
14223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14225 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
14227         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14229 2013-05-01  Roland McGrath  <roland@hack.frob.com>
14231         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14233 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
14235         [BZ #14952]
14236         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14237         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14238         Use __attribute__ ((__gnu_inline__)).
14239         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14240         Don't use __attribute__ ((__gnu_inline__)).
14242 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
14244         [BZ #15423]
14245         * math/s_catan.c (__catan): Handle small real or imaginary part of
14246         input specially to avoid spurious underflow.
14247         * math/s_catanf.c (__catanf): Likewise.
14248         * math/s_catanh.c (__catanh): Likewise.
14249         * math/s_catanhf.c (__catanhf): Likewise.
14250         * math/s_catanhl.c (__catanhl): Likewise.
14251         * math/s_catanl.c (__catanl): Likewise.
14252         * math/libm-test.inc (catan_test): Add more tests.
14253         (catanh_test): Likewise.
14254         * sysdeps/i386/fpu/libm-test-ulps: Update.
14255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14257 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14261 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
14263         [BZ #15416]
14264         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14265         accurately for denominator in atan2.
14266         * math/s_catanf.c (__catanf): Likewise.
14267         * math/s_catanh.c (__catanh): Likewise.
14268         * math/s_catanhf.c (__catanhf): Likewise.
14269         * math/s_catanhl.c (__catanhl): Likewise.
14270         * math/s_catanl.c (__catanl): Likewise.
14271         * math/libm-test.inc (catan_test): Add more tests.
14272         (catanh_test): Likewise.
14273         * sysdeps/i386/fpu/libm-test-ulps: Update.
14274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14276 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14278         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14280         * benchtests/Makefile (bench): Remove slow benchmarks.
14281         * benchtests/atan-inputs: Add slow benchmark inputs.
14282         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14283         (BENCH_FUNC): Accept variant offset.
14284         (VARIANT): Define.
14285         * benchtests/bench-skeleton.c (main): Run benchmark for each
14286         variant.
14287         * benchtests/cos-inputs: Add slow benchmark inputs.
14288         * benchtests/exp-inputs: Likewise.
14289         * benchtests/pow-inputs: Likewise.
14290         * benchtests/sin-inputs: Likewise.
14291         * benchtests/slowatan-inputs: Remove.
14292         * benchtests/slowatan.c: Remove.
14293         * benchtests/slowcos-inputs: Remove.
14294         * benchtests/slowcos.c: Remove.
14295         * benchtests/slowexp-inputs: Remove.
14296         * benchtests/slowexp.c: Remove.
14297         * benchtests/slowpow-inputs: Remove.
14298         * benchtests/slowpow.c: Remove.
14299         * benchtests/slowsin-inputs: Remove.
14300         * benchtests/slowsin.c: Remove.
14301         * benchtests/slowtan-inputs: Remove.
14302         * benchtests/slowtan.c: Remove.
14303         * benchtests/tan-inputs: Add slow benchmark inputs.
14304         * scripts/bench.pl: Parse comments and directives.
14306         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
14307         in CPPFLAGS.
14308         ($(objpfx)bench-%.c): Remove *-ITER.
14309         * benchtests/bench-modf.c: Remove definition of ITER.
14310         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14311         (main): Loop for DURATION seconds instead of fixed number of
14312         iterations.
14313         * scripts/bench.pl: Don't expect iterations in parameters.
14315 2013-04-29  Roland McGrath  <roland@hack.frob.com>
14317         * io/fchdir.c (__fchdir): Renamed from fchdir.
14318         (fchdir): Define as weak alias.
14320 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14322         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14323         (ERRNO_EDOM): Likewise.
14324         (ERRNO_ERANGE): Likewise.
14325         (noErrnoTests): New variable.
14326         (init_max_error): Set errno to 0.
14327         (test_single_errno): New function.
14328         (test_errno): Likewise.
14329         (check_float_internal): Call test_errno.  Set errno to 0.
14330         (check_complex): Refer to errno tests in comment.
14331         (check_int): Call test_errno.  Set errno to 0.
14332         (check_long): Likewise.
14333         (check_bool): Likewise.
14334         (check_longlong): Likewise.
14335         (cos_test): Use ERRNO_* flags for errno tests instead of
14336         check_int.
14337         (expm1_test): Likewise.
14338         (fmod_test): Likewise.
14339         (ilogb_test): Likewise.
14340         (lgamma_test): Likewise.
14341         (pow_test): Likewise.
14342         (remainder_test): Likewise.
14343         (sin_test): Likewise.
14344         (tan_test): Likewise.
14345         (yn_test): Likewise.
14346         (initialize): Set errno to 0.
14347         (main): Print number of errno tests.
14348         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14350 2013-04-29  Andreas Jaeger  <aj@suse.de>
14352         [BZ #15084]
14353         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14354         and RES_USEVC.
14356         [BZ #15085]
14357         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14358         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14359         unimplemented.
14361         [BZ #15380]
14362         * stdlib/random.c (__initstate): Return NULL if
14363         __initstate fails.
14365         [BZ #15086]
14366         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14367         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14368         RES_SNGLKUPREOP.
14370 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14372         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14374 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14376         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14377         of individual tests.
14378         (casin_test): Likewise.
14379         (casinh_test): Likewise.
14381 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
14383         [BZ #15409]
14384         * math/s_catan.c (__catan): Handle arguments with large real or
14385         imaginary part separately without squaring.
14386         * math/s_catanf.c (__catanf): Likewise.
14387         * math/s_catanh.c (__catanh): Likewise.
14388         * math/s_catanhf.c (__catanhf): Likewise.
14389         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14390         and redefine.
14391         (__catanhl): Handle arguments with large real or imaginary part
14392         separately without squaring.
14393         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14394         and redefine.
14395         (__catanl): Handle arguments with large real or imaginary part
14396         separately without squaring.
14397         * math/libm-test.inc (catan_test): Add more tests.
14398         (catanh_test): Likewise.
14399         * sysdeps/i386/fpu/libm-test-ulps: Update.
14400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14402 2013-04-27  Andreas Jaeger  <aj@suse.de>
14404         [BZ #15007]
14405         * stdlib/stdlib.h: Update guards for qecvt.
14406         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14407         <stdlib.h>.
14409 2013-04-27  Allan McRae  <allan@archlinux.org>
14411         * sysdeps/i386/fpu/libm-test-ulps: Update.
14413 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
14415         [BZ #15406]
14416         * math/s_catan.c: Include <float.h>.
14417         (__catan): Ensure underflow exception occurs for underflowed
14418         result.
14419         * math/s_catanf.c: Include <float.h>.
14420         (__catanf): Ensure underflow exception occurs for underflowed
14421         result.
14422         * math/s_catanh.c: Include <float.h>.
14423         (__catanh): Ensure underflow exception occurs for underflowed
14424         result.
14425         * math/s_catanhf.c: Include <float.h>.
14426         (__catanhf): Ensure underflow exception occurs for underflowed
14427         result.
14428         * math/s_catanhl.c: Include <float.h>.
14429         (__catanhl): Ensure underflow exception occurs for underflowed
14430         result.
14431         * math/s_catanl.c: Include <float.h>.
14432         (__catanl): Ensure underflow exception occurs for underflowed
14433         result.
14434         * math/libm-test.inc (catan_test): Add more tests.
14435         (catanh_test): Likewise.
14437         [BZ #15405]
14438         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14439         underflowed result.
14440         * math/s_ccoshf.c (__ccoshf): Likewise.
14441         * math/s_ccoshl.c (__ccoshl): Likewise.
14442         * math/s_csin.c (__csin): Likewise.
14443         * math/s_csinf.c (__csinf): Likewise.
14444         * math/s_csinh.c (__csinh): Likewise.
14445         * math/s_csinhf.c (__csinhf): Likewise.
14446         * math/s_csinhl.c (__csinhl): Likewise.
14447         * math/s_csinl.c (__csinl): Likewise.
14448         * math/libm-test.inc (ccos_test): Add more tests.
14449         (ccosh_test): Likewise.
14450         (csin_test): Likewise.
14451         (csinh_test): Likewise.
14453 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14455         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14456         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14457         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14458         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14459         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14460         powerpc/power5+/fpu folders.
14461         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14464 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14468 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
14470         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14471         additions to variable.
14472         [$(config-machine) = x86_64] (modules-names): Likewise.
14473         ($(objpfx)tst-audit3): Remove dependency.
14474         ($(objpfx)tst-audit3.out): Likewise.
14475         ($(objpfx)tst-audit4): Likewise.
14476         ($(objpfx)tst-audit4.out): Likewise.
14477         ($(objpfx)tst-audit5): Likewise.
14478         ($(objpfx)tst-audit5.out): Likewise.
14479         ($(objpfx)tst-audit6): Likewise.
14480         ($(objpfx)tst-audit6.out): Likewise.
14481         ($(objpfx)tst-audit7): Likewise.
14482         ($(objpfx)tst-audit7.out): Likewise.
14483         (tst-audit3-ENV): Remove variable.
14484         (tst-audit4-ENV): Likewise.
14485         (tst-audit5-ENV): Likewise.
14486         (tst-audit6-ENV): Likewise.
14487         (tst-audit7-ENV): Likewise.
14488         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14489         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14490         addition to variable.
14491         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14492         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14493         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14494         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14495         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14496         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14497         tst-audit3, tst-audit4 and tst-audit5.
14498         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14499         tst-audit6 and tst-audit7.
14500         [$(subdir) = elf] (modules-names): Add audit modules for those
14501         tests.
14502         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14503         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14504         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14505         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14506         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14507         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14508         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14509         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14510         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14511         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14512         [$(subdir) = elf] (tst-audit3-ENV): New variable.
14513         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14514         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14515         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14516         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14517         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14518         Likewise.
14519         [$(subdir) = elf && $(config-cflags-avx) = yes]
14520         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14521         [$(subdir) = elf && $(config-cflags-avx) = yes]
14522         (CFLAGS-tst-auditmod4a.c): Likewise.
14523         [$(subdir) = elf && $(config-cflags-avx) = yes]
14524         (CFLAGS-tst-auditmod4b.c): Likewise.
14525         [$(subdir) = elf && $(config-cflags-avx) = yes]
14526         (CFLAGS-tst-auditmod6b.c): Likewise.
14527         [$(subdir) = elf && $(config-cflags-avx) = yes]
14528         (CFLAGS-tst-auditmod6c.c): Likewise.
14529         [$(subdir) = elf && $(config-cflags-avx) = yes]
14530         (CFLAGS-tst-auditmod7b.c): Likewise.
14531         * elf/tst-audit3.c: Move to ...
14532         * sysdeps/x86_64/tst-audit3.c: ... here.
14533         * elf/tst-audit4.c: Move to ...
14534         * sysdeps/x86_64/tst-audit4.c: ... here.
14535         * elf/tst-audit5.c: Move to ...
14536         * sysdeps/x86_64/tst-audit5.c: ... here.
14537         * elf/tst-audit6.c: Move to ...
14538         * sysdeps/x86_64/tst-audit6.c: ... here.
14539         * elf/tst-audit7.c: Move to ...
14540         * sysdeps/x86_64/tst-audit7.c: ... here.
14541         * elf/tst-auditmod3a.c: Move to ...
14542         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14543         * elf/tst-auditmod3b.c: Move to ...
14544         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14545         * elf/tst-auditmod4a.c: Move to ...
14546         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14547         * elf/tst-auditmod4b.c: Move to ...
14548         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14549         * elf/tst-auditmod5a.c: Move to ...
14550         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14551         * elf/tst-auditmod5b.c: Move to ...
14552         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14553         * elf/tst-auditmod6a.c: Move to ...
14554         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14555         * elf/tst-auditmod6b.c: Move to ...
14556         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14557         * elf/tst-auditmod6c.c: Move to ...
14558         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14559         * elf/tst-auditmod7a.c: Move to ...
14560         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14561         * elf/tst-auditmod7b.c: Move to ...
14562         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14564 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
14566         [BZ #15366]
14567         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14568         define unconditionally.
14569         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14570         define unconditionally.
14571         (INT8_C, INT16_C, etc.): Likewise.
14573 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
14575         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14576         __ehdr_start with hidden visibility.
14578         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14580 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
14582         * math/libm-test.inc (cos_test): Use accurate hex constants.
14583         (sincost_test): Likewise.
14585 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
14587         * math/libm-test.inc (catan_test): Add more tests.
14588         (catanh_test): Likewise.
14590         * math/s_catanf.c (__catanf): Use suffixed floating-point
14591         constants.
14592         * math/s_catanhf.c (__catanhf): Likewise.
14593         * math/s_catanhl.c (__catanhl): Likewise.
14594         * math/s_catanl.c (__catanl): Likewise.
14596         [BZ #15394]
14597         * math/s_catan.c (__catan): Calculate imaginary part of result
14598         with log1p not log unless computing log of number close to 0.
14599         * math/s_catanf.c (__catanf): Likewise.
14600         * math/s_catanl.c (__catanl): Likewise.
14601         * math/s_catanh.c (__catanh): Calculate real part of result with
14602         log1p not log unless computing log of number close to 0.
14603         * math/s_catanhf.c (__catanhf): Likewise.
14604         * math/s_catanhl.c (__catanhl): Likewise.
14605         * math/libm-test.inc (catan_test): Add more tests.
14606         (catanh_test): Likewise.
14607         * sysdeps/i386/fpu/libm-test-ulps: Update.
14608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14610 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14612         * benchtests/Makefile: Mention files in which fast and slow
14613         paths of math functions are implemented.
14615 2013-04-23  Roland McGrath  <roland@hack.frob.com>
14617         * sysdeps/posix/timespec_get.c: New file.
14619 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14621         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14622         POWER.
14623         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14624         for POWER.
14625         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14626         powerpc/power5/fpu folders.
14627         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14628         * benchtests/Makefile: Add modf testcase.
14629         * benchtests/bench-modf.c: New file: Benchmark test for mo
14631 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14633         [BZ #14888]
14634         * time/Makefile (tests): Add tst-strptime-whitespace.
14635         * time/strptime_l.c (get_number): Use ISSPACE.
14636         (__strptime_internal): Likewise.
14637         * time/tst-strptime-whitespace.c: New test case.
14639 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
14641         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14642         member.
14643         (_nss_files_init): Set it here.
14645 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
14647         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14648         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14649         unsigned.
14651 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
14653         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14655 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14657         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14658         size just once.
14660 2013-04-21  David S. Miller  <davem@davemloft.net>
14662         * po/ru.po: Update Russion translation from translation project.
14664 2013-04-17  Adam Conrad  <adconrad@0c3.net>
14666         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14667         and setfsgid.
14669 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
14671         * configure.in: Remove i386 configure warning. Remove i386 case.
14672         * configure: Regenerate.
14673         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14674         Add example to error message.
14675         * sysdeps/i386/configure: Regenerate.
14677 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14679         * benchtests/Makefile (bench): Add cos, tan, slowcos and
14680         slowtan.
14681         * benchtests/cos-inputs: New file.
14682         * benchtests/slowcos-inputs: New file.
14683         * benchtests/slowcos.c: New file.
14684         * benchtests/slowtan-inputs: New file.
14685         * benchtests/slowtan.c: New file.
14686         * benchtests/tan-inputs: New file.
14688 2013-04-16  Roland McGrath  <roland@hack.frob.com>
14690         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14691         considered kosher.
14693 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14695         * benchtests/Makefile: Include cppflags-iterator.mk to add
14696         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14698         * Makefile.in (bench-clean): New target.
14699         * benchtests/Makefile (bench-clean): Likewise.
14701 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
14703         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14705 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
14707         * stdio-common/tstdiomisc.c: Fix coding-style violation.
14709 2013-04-15  Andreas Schwab  <schwab@suse.de>
14711         * nscd/grpcache.c (cache_addgr): Properly check for short write.
14712         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14713         * nscd/pwdcache.c (cache_addpw): Likewise.
14714         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
14715         more than recsize.
14717 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14719         * benchtests/Makefile (bench): Write all output to
14720         bench-out.tmp together.
14722 2013-04-15  Andreas Schwab  <schwab@suse.de>
14724         * nscd/nscd.c (main): Don't fork again after closing files.
14726 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14728         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14730         * benchtests/Rules (bench-deps): Collect dependencies into a
14731         single variable.  Add Makefile to dependencies.
14732         ($(objpfx)bench-%.c): Depend on bench-deps.
14734 2013-04-12  Roland McGrath  <roland@hack.frob.com>
14735             Xavier Roche  <roche+kml2@exalead.com>
14737         [BZ #15361]
14738         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14739         just that it's a file descriptor.
14740         * manual/llio.texi (Synchronizing AIO Operations): Update description
14741         for EBADF error from aio_fsync.
14743 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14745         * Rules (bench): Move target definition...
14746         * benchtests/Makefile: ... here.
14748 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
14750         * math/libm-test.inc (cos_test): Fix PI/2 test.
14751         (sincos_test): Likewise.
14752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14753         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14755 2013-04-11  Andreas Schwab  <schwab@suse.de>
14757         [BZ #13988]
14758         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14759         accept exponent character only when digits were seen.
14760         * stdio-common/Makefile (tests): Add bug26.
14761         * stdio-common/bug26.c: New file.
14763         [BZ #14293]
14764         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14765         non-freeable.
14767 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14769         * Makeconfig (rtld-prefix): Define built linker prefix.
14770         * Rules (run-bench): Use it.
14771         * math/Makefile (run-regen-ulps): Likewise.
14773         * Rules (bench): Remove eval.
14775 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14776             Roland McGrath  <roland@hack.frob.com>
14777             Ondrej Bilka  <neleai@seznam.cz>
14779         [BZ #15346]
14780         * time/getdate.c: Include ctype.h and alloca.h.
14781         (__getdate_r): Trim leading and trailing spaces of input.
14782         * time/tst-getdate.c (tests): Add tests with leading and
14783         trailing spaces.
14785 2013-04-08  Roland McGrath  <roland@hack.frob.com>
14787         [BZ #14280]
14788         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14789         when computing value.
14791 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14793         * math/README.libm-test (How can I generate "libm-test-ulps"?):
14794         Use testrun.sh to run libm tests.
14796         [BZ #15309]
14797         * elf/dl-open.c (dl_open_worker): memset all of seen array.
14799 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
14801         [BZ #15264]
14802         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14804 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14806         * Makefile.in (regen-ulps): New target.
14807         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14808         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14809         [ifneq (no,$(PERL)] (regen-ulps): New target.
14810         [ifeq (no,$(PERL)] (regen-ulps): New target.
14811         * math/libm-test.inc (ulps_file_name): Define.
14812         (output_dir): New variable.
14813         (options): Add "output-dir" option.
14814         (parse_opt): Handle 'o' case.
14815         (main): If output_dir is non-NULL use it as a prefix
14816         otherwise use "".
14817         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14819 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14821         [BZ #10060, #10062]
14822         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14823         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14824         fail configure if __sync_val_compare_and_swap is not inlined.
14825         * sysdeps/i386/configure: Regenerate.
14826         * configure.in: Build for i686 when configured for i386.
14827         * configure: Regenerate.
14828         * README: Remove i386 reference.
14830 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14832         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14833         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14835 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
14837         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14838         (lmsnanval): New variables.
14839         (F): Add conversion tests.
14840         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14841         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14843         * stdio-common/tstdiomisc.c (F): Properly collect individual
14844         tests' results.
14846         [BZ #14686, #15336]
14847         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14848         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14849         Instead, use input NaN values or generate a qNaN by arithmetic
14850         operation.  Also fix bugs to comply with the standard.
14851         * math/libm-test.inc (remainder_test): Add more tests.
14853         [BZ #15335, #15342]
14854         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14855         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14856         input NaN values or generate a qNaN by arithmetic operation.
14858         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14859         unreachable code.
14861         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14862         definitions.
14864 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
14866         [BZ #14478]
14867         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14868         underflowed result.
14869         * math/s_cexpf.c (__cexpf): Likewise.
14870         * math/s_cexpl.c (__cexpl): Likewise.
14871         * math/libm-test.inc (cexp_test): Add more tests.
14873 2013-04-03  Andreas Schwab  <schwab@suse.de>
14875         [BZ #15330]
14876         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14877         order arrays from heap if bigger than alloca cutoff.
14879 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
14881         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14882         (SNAN_TESTS_double): Refer to GCC PR56831.
14883         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14884         GCC PR56828.
14886 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14888         * Rules (bench): Move bench.out after the run is complete.
14890         * Rules (bench): Echo currently running benchmark.
14892         * benchtests/Makefile (bench): Add atan and slowatan.
14893         * benchtests/atan-inputs: New file.
14894         * benchtests/slowatan-inputs: New file.
14895         * benchtests/slowatan.c: New file.
14897         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14898         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14899         its value.
14901         [BZ #15305]
14902         * sysdeps/unix/sysv/linux/kernel-features.h
14903         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14904         __ASSUME_XFS_RESTRICTED_CHOWN.
14905         * sysdeps/unix/sysv/linux/pathconf.c
14906         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14907         Save and restore errno.
14909 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
14911         [BZ #15327]
14912         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14913         arguments using __kernel_casinh.
14914         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14915         arguments using __kernel_casinhf.
14916         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14917         arguments using __kernel_casinhl.
14918         * math/libm-test.inc (cacosh_test): Add more tests.
14919         * sysdeps/i386/fpu/libm-test-ulps: Update.
14920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14922 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14924         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14925         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14927         * bench/Makefile (bench): Add sin and slowsin.
14928         * benchtests/sin-inputs: New file.
14929         * benchtests/slowsin-inputs: New file.
14930         * benchtests/slowsin.c: New file.
14932         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14933         (bench): Add slowexp and slowpow.
14934         (exp-ITER): Increase iterations.
14935         (pow-ITER): Likewise.
14936         * benchtests/exp-inputs: Change input.
14937         * benchtests/pow-inputs: Likewise.
14938         * benchtests/slowexp-inputs: New file.
14939         * benchtests/slowexp.c: New file.
14940         * benchtests/slowpow-inputs: New file.
14941         * benchtests/slowpow.c: New file.
14943 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14945         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14946         instructions.
14947         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14948         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14949         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14950         * benchtests/Makefile: Add rint benchtest.
14951         * benchtests/rint-inputs: Input for rint benchtest.
14953 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
14955         * Versions.def (libm): Add GLIBC_2.18.
14956         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14957         hidden libm prototypes.
14958         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14959         * math/Makefile (libm-calls): Add s_issignaling.
14960         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14961         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
14962         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14963         declaration.
14964         * math/math.h [__USE_GNU] (issignaling): New macro.
14965         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14966         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14967         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14968         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14969         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14970         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14971         * manual/arith.texi (issignaling): New section.
14972         * manual/libm-err-tab.pl (@all_functions): Update comment.
14973         * math/gen-libm-test.pl (parse_args): Apply special handling for
14974         issignaling.
14975         * math/libm-test.inc (print_float, issignaling_test): New
14976         functions.
14977         (check_float_internal): Add issignaling checks.
14978         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14979         default definition.
14980         * sysdeps/powerpc/math-tests.h: New file.
14981         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14982         tests.
14983         * math/test-snan.c (TEST_FUNC): Likewise.
14985 2013-03-30  David S. Miller  <davem@davemloft.net>
14987         * po/de.po: Update from translation team.
14989 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
14991         [BZ #10357]
14992         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14993         imaginary part less than 1.0 and real part less than 0.5
14994         specially.
14995         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14996         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14997         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14998         (cacos_test): Add more tests.
14999         (casin_test): Likewise.
15000         (casinh_test): Likewise.
15001         * sysdeps/i386/fpu/libm-test-ulps: Update.
15002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15004 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15006         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15007         ONE with its value.
15009         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15010         (__pow_mp): Replace ONE and MONE with their values.
15011         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15012         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15013         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15014         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15015         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15016         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15018         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15020         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15021         (__pow_mp): Replace ZERO and MZERO with their values.
15022         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15023         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15024         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15026         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15027         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15028         (__sqr): Likewise.
15030         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15032         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15034 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15036         * include/stdlib.h [!SHARED] (__call_tls_dtors):
15037         Declare with __attribute__ ((weak)).
15038         * stdlib/exit.c (__libc_atexit) [!SHARED]:
15039         Call __call_tls_dtors only if it's not NULL.
15041 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15043         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15044         didn't do it already, then set _dl_phdr and _dl_phnum based on the
15045         magic __ehdr_start linker symbol if it's defined.
15046         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15047         them up here if it was already done.
15049         * elf/dl-support.c (_dl_phdr): Make pointer to const.
15050         (_dl_aux_init): Use const in cast when setting it.
15051         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15052         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15053         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15055         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15056         Declare them here.
15057         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15058         * csu/libc-tls.c: Nor here.
15059         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15061         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15062         (__libc_message): Never call vsyslog.
15064 2013-03-28  Alan Modra  <amodra@gmail.com>
15066         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15067         Define as empty.
15068         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15069         Likewise.
15071 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15073         [BZ #15214]
15074         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15075         underflow.
15076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15078 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15080         [BZ #15304]
15081         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15082         Don't add gid passed as argument.
15084         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15086 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
15088         [BZ #15307]
15089         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15090         imaginary part between 1.0 and 1.5 and real part less than 0.5
15091         specially.
15092         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15093         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15094         * math/libm-test.inc (cacos_test): Add more tests.
15095         (casin_test): Likewise.
15096         (casinh_test): Likewise.
15097         * sysdeps/i386/fpu/libm-test-ulps: Update.
15098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15100 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15102         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15103         constants.
15104         (norm): Likewise.
15105         (denorm): Likewise.
15106         (__dbl_mp): Likewise.
15107         (add_magnitudes): Likewise.
15108         (sub_magnitudes): Likewise.
15109         (__add): Likewise.
15110         (__sub): Likewise.
15111         (__mul): Likewise.
15112         (__sqr): Likewise.
15113         (__inv): Likewise.
15114         (__dvd): Likewise.
15116         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15117         commented code.
15118         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15119         (__dubcos): Likewise.
15120         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15121         (__ieee754_acos): Likewise.
15122         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15123         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15124         (__exp1): Likewise.
15125         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15126         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15127         (log1): Likewise.
15128         (my_log2): Likewise.
15129         (checkint): Likewise.
15130         * sysdeps/ieee754/dbl-64/e_remainder.c
15131         (__ieee754_remainder): Likewise.
15132         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15133         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15134         (bsloww): Likewise.
15135         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15137         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15138         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15139         MANTISSA_STORE_T to store computations on mantissa.  Use
15140         macros for rounding and division.
15141         (denorm): Likewise.
15142         (__dbl_mp): Likewise.
15143         (add_magnitudes): Likewise.
15144         (sub_magnitudes): Likewise.
15145         (__mul): Likewise.
15146         (__sqr): Likewise.
15147         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15148         powers of two in terms of TWOPOW macro.
15149         (mp_no): Make type of mantissa as MANTISSA_T.
15150         [!RADIXI]: Define RADIXI.
15151         [!TWO52]: Define TWO52.
15152         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15154 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15156         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15157         llroundl symbol when building for PPC32.
15159 2013-03-24  Mark H Weaver  <mhw@netris.org>
15161         * manual/arith.texi (Normalization Functions): Fix prototypes for
15162         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15164 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15166         [BZ #13889]
15167         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15168         high value to check if expl overflow.
15169         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15170         to check for underflow and overflow.
15171         * math/libm-test.inc: Add exp test.
15173 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
15175         [BZ #11120]
15176         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15177         with NOT_IN_libc.
15179 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15181         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15182         symbol.
15184 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15186         * math/gen-libm-test.pl (parse_args, special_functions): Properly
15187         wrap blocks consisting of several statements.
15189         * sysdeps/generic/math-tests.h: New file.
15190         * sysdeps/i386/fpu/math-tests.h: Likewise.
15191         * math/test-snan.c: Include it.
15192         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15194 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15196         [BZ #15285]
15197         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15198         (__ieee754_j0l): Do not improve calculations using cos of twice
15199         input for inputs above LDBL_MAX / 2.0L.
15200         (__ieee754_y0l): Likewise.
15201         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15202         (__ieee754_j1l): Do not improve calculations using cos of twice
15203         input for inputs above LDBL_MAX / 2.0L.
15204         (__ieee754_y1l): Likewise.
15205         * math/libm-test.inc (j0_test): Add another test.
15206         (j1_test): Likewise.
15207         (y0_test): Likewise.
15208         (y1_test): Likewise.
15209         * sysdeps/i386/fpu/libm-test-ulps: Update.
15211 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15213         * Rules ($(objpfx)bench-%.c): Include code from a C source
15214         file.
15216 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15218         [BZ #15287]
15219         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15220         imaginary part 1.0 and real part less than 0.5 specially.
15221         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15222         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15223         * math/libm-test.inc (cacos_test): Add more tests.
15224         (casin_test): Likewise.
15225         (casinh_test): Likewise.
15226         * sysdeps/i386/fpu/libm-test-ulps: Update.
15227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15229 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15231         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15232         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15234 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
15236         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15237         * config.make.in (config-cflags-sse4): Remove variable.
15238         (config-cflags-avx): Likewise.
15239         (config-cflags-sse2avx): Likewise.
15240         (config-cflags-novzeroupper): Likewise.
15241         (config-asflags-i686): Likewise.
15242         (have-mfma4): Likewise.
15243         (have-as-vis3): Likewise.
15244         (MIG): Likewise.
15245         * configure.in (MIG): Do not AC_SUBST.
15246         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15247         (libc_cv_cc_sse4): Do not AC_SUBST.
15248         (libc_cv_cc_avx): Likewise.
15249         (libc_cv_cc_sse2avx): Likewise.
15250         (libc_cv_cc_novzeroupper): Likewise.
15251         (libc_cv_cc_fma4): Likewise.
15252         (libc_cv_as_i686): Likewise.
15253         (libc_cv_sparc_as_vis3): Likewise.
15254         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15255         LIBC_CONFIG_VAR.
15256         (config-asflags-i686): Likewise.
15257         (config-cflags-avx): Likewise.
15258         (config-cflags-sse2avx): Likewise.
15259         (have-mfma4): Likewise.
15260         (config-cflags-novzeroupper): Likewise.
15261         * sysdeps/mach/configure.in (MIG): Likewise.
15262         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15263         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15264         LIBC_CONFIG_VAR.
15265         (config-cflags-avx): Likewise.
15266         (config-cflags-sse2avx): Likewise.
15267         (have-mfma4): Likewise.
15268         (config-cflags-novzeroupper): Likewise.
15269         * configure: Regenerated.
15270         * sysdeps/i386/configure: Likewise.
15271         * sysdeps/mach/configure: Likewise.
15272         * sysdeps/sparc/configure: Likewise.
15273         * sysdeps/x86_64/configure: Likewise.
15275 2013-03-20  Roland McGrath  <roland@hack.frob.com>
15277         [BZ #14812]
15278         * locale/programs/localedef.c (options): Put N_ translation marker
15279         on argument names, not just descriptions.
15281 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15283         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15285 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
15287         [BZ #14176]
15288         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15290 2013-03-19  Roland McGrath  <roland@hack.frob.com>
15292         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15293         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15294         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15295         [!BEFORE_ABORT] (before_abort): New function.
15296         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15297         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15298         (writev_for_fatal): New function.
15299         (WRITEV_FOR_FATAL): New macro; call that.
15300         (backtrace_and_maps): New function.
15301         (BEFORE_ABORT): New macro; call that.
15302         (struct str_list): Type removed.
15303         (__libc_message, __libc_fatal): Functions removed.
15304         Include <sysdeps/posix/libc_fatal.c> instead.
15306 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
15308         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15309         constants.
15310         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15311         double constants.
15313 2013-03-19  Andreas Schwab  <schwab@suse.de>
15315         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15316         * sysdeps/gnu/configure: Regenerate.
15318         * configure.in: Substitute libc_cv_rtlddir.
15319         * configure: Regenerate.
15320         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15321         * Makeconfig (rtlddir, inst_rtlddir): New variables.
15322         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15323         * elf/Makefile (install-others, CFLAGS-interp.c)
15324         (ldso_install, common-ldd-rewrite): Likewise.
15325         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15326         $(inst_slibdir)/$(rtld-installed-name).
15327         * scripts/rellns-sh: Add -p option.
15328         * Makerules (make-shlib-link): Use rellns-sh to get relative name
15329         for source.
15331 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15333         * manual/nptl.texi: Renamed to ...
15334         * manual/threads.texi: ... this.
15335         * manual/Makefile (chapters): Update.
15337 2013-03-18  Roland McGrath  <roland@hack.frob.com>
15339         [BZ #14812]
15340         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15341         on argument names, not just descriptions.
15342         * malloc/memusagestat.c (options): Likewise.
15343         * nss/getent.c (options): Likewise.
15345 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
15347         [BZ #14812]
15348         * iconv/iconv_prog.c (options): Put N_ translation marker
15349         on argument names, not just descriptions.
15350         * iconv/iconvconfig.c (options): Likewise.
15352 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
15354         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15355         implementation which is faster on all x86_64 architectures.
15356         Tested on AMD, Intel Nehalem, SNB, IVB.
15357         * sysdeps/x86_64/strnlen.S: Likewise.
15359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15360         Remove all multiarch strlen and strnlen versions.
15361         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15362         Remove strlen and strnlen related parts.
15364         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15365         Inline strlen part.
15366         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15368         * sysdeps/x86_64/multiarch/strlen.S: Remove.
15369         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15370         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15371         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15372         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15373         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15375 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
15377         * manual/memory.texi (Malloc Tunable Parameters):
15378         Sort parameters alphabetically. Add comments for missing entries.
15380 2013-03-17  David S. Miller  <davem@davemloft.net>
15382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15384 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
15386         [BZ #15283]
15387         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15388         for arguments at most half maximum finite value.
15389         * math/libm-test.inc (j0_test): Add more tests.
15390         (j1_test): Likewise.
15391         (y0_test): Likewise.
15392         (y1_test): Likewise.
15393         * sysdeps/i386/fpu/libm-test-ulps: Update.
15394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15396         [BZ #14155]
15397         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15398         1 / x and functions P and Q for arguments above 0x1p256L.
15399         (__ieee754_y0l): Likewise.
15400         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15401         (__ieee754_y1l): Likewise.
15402         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15403         (j1_test): Likewise.
15404         (y0_test): Likewise.
15405         (y1_test): Likewise.
15407 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
15409         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15410         variable.
15412 2013-03-15  Roland McGrath  <roland@hack.frob.com>
15414         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15415         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15416         zero since it's initialized to EXEC_PAGESIZE.
15418         * sysdeps/unix/sysv/linux/ldsodefs.h
15419         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15420         * sysdeps/generic/ldsodefs.h: ... here.
15422 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
15424         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15426         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15427         math/test-snan.c.
15428         * math/test-snan.c: Renamed from
15429         sysdeps/powerpc/fpu/test-powerpc-snan.c.
15430         * math/Makefile (tests): Add test-snan.
15431         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15432         test-powerpc-snan.
15434         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15435         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
15436         functions.
15437         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
15438         __builtin_nan family of functions.
15439         * math/libm-test.inc (initialize): Initialize qnan_value with
15440         __builtin_nan family of functions.
15441         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15442         Remove variables.
15443         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15444         Remove functions.
15445         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
15446         storage class.  Initialize qNaN_var and sNaN_var with
15447         __builtin_nan and __builtin_nans families of functions,
15448         respectively.
15450         * math/libm-test.inc (acosh_test): Also test with qNaN input.
15451         (sqrt_test): Remove duplicate test with qNaN input.
15452         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15453         (round_test, signbit_test, significand_test): Note missing +/-Inf
15454         as well as qNaN tests.
15456         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15457         qNaN_var.  Fix a few strings, too.
15458         * math/libm-test.inc (nan_value): Rename to qnan_value.
15459         * math/gen-libm-test.pl (%beautify): Adjust to that.
15460         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15461         * math/test-misc.c (main): Likewise.
15462         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15463         to __qnan_bytes, and __qnan_union, respectively.
15464         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15465         Likewise.
15466         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15467         and lqnanval, respectively.
15468         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15469         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15470         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15471         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15473         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15474         * math/test-misc.c (main) [__x86_64__]: Enable test for long
15475         doubles.
15477         * math/test-misc.c (main): Fix copy'n'pastos.
15478         * misc/tst-efgcvt.c (special): Likewise.
15480         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15481         Remove declarations.
15483 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15485         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15486         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15487         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15488         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15490 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15492         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15493         macro to return vdso values correctly in IFUNC implementations.
15494         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15495         Optimization by using IFUNC.
15497 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15498             Richard Henderson  <rth@redhat.com>
15499             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15501         * Makefile.in (bench): New target.
15502         * NEWS: Mention the benchmark framework.
15503         * Rules (bench): Likewise.
15504         (binaries-bench): Generate binaries for functions to
15505         benchmark.
15506         * benchtests/Makefile: New makefile for benchmark tests.
15507         * benchtests/bench-skeleton.c: New skeleton file for benchmark
15508         programs.
15509         * benchtests/exp-inputs: New input file for EXP function.
15510         * benchtests/pow-inputs: New input file for POW function.
15511         * scripts/bench.pl: New script to generate source files for
15512         benchmark programs.
15514 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15516         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15517         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15518         computations on mantissa.  Use macros for rounding and
15519         division.
15520         (denorm): Likewise.
15521         (__dbl_mp): Likewise.
15522         (add_magnitudes): Likewise.
15523         (sub_magnitudes): Likewise.
15524         (__mul): Likewise.
15525         (__sqr): Likewise.
15526         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15527         powers of two in terms of TWOPOW macro.
15528         (mp_no): Make type of mantissa as MANTISSA_T.
15529         [!RADIXI]: Define RADIXI.
15530         [!TWO52]: Define TWO52.
15531         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15533         * manual/nptl.texi (cindex): Modify threads to pthreads.
15535 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
15537         * sysdeps/x86_64/preconfigure: Regenerated.
15539 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
15541         [BZ #14155]
15542         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15543         0x1p28 and above.
15544         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15545         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15546         0x1p28 and above.
15547         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15548         * math/libm-test.inc (j0_test): Do not allow one spurious
15549         underflow exception.
15550         (y1_test): Likewise.
15552 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15554         * manual/Makefile (chapters): Add nptl.
15555         * manual/debug.texi (Debugging Support): Add link to Threads
15556         chapter.
15557         * manual/nptl.texi: New file.
15559         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15561 2013-03-14  Petr Baudis  <pasky@ucw.cz>
15563         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15564         for non-NULL pointer before the memory validity test. Pointed
15565         out by Holger Brunck <holger.brunck@keymile.com>.
15567 2013-03-13  Andreas Schwab  <schwab@suse.de>
15569         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15570         instead of .os.
15572 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
15574         * timezone/zic.c: Update from tzcode 2013b.
15576 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
15578         * manual/install.texi (Configuring and compiling):
15579         Mention i686 and i586.
15580         * INSTALL: Regenerate.
15582 2013-03-12  Roland McGrath  <roland@hack.frob.com>
15584         * sysdeps/init_array/elf-init.c: New file.
15585         * csu/elf-init.c
15586         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15587         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15589         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15590         __gmon_start__ as global, but as static with a .preinit_array pointer.
15591         * sysdeps/init_array/gmon-start.c: New file.  Use that.
15592         * sysdeps/init_array/crti.S: New file, empty except for comments.
15593         * sysdeps/init_array/crtn.S: Likewise.
15595 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
15597         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15598         definining bcopy.
15599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15600         Remove Prefer_SSE_for_memop.
15601         * sysdeps/x86_64/multiarch/init-arch.h: Remove
15602         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15603         HAS_PREFER_SSE_FOR_MEMOP.
15604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15605         memset-x86-64.
15606         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15607         Remove bzero, memset ifunc support.
15608         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15609         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15610         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15611         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15613 2013-03-11  Andreas Schwab  <schwab@suse.de>
15615         [BZ #15234]
15616         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15617         by SHLIB_COMPAT.
15618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15619         (GLIBC_2.16): Remove pthread_atfork.
15621 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15623         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15624         (ptestcases.h): Likewise.
15626 2013-03-08  Roland McGrath  <roland@hack.frob.com>
15628         * Makeconfig ($(common-objpfx)config.status): Depend on
15629         sysdeps/*/preconfigure{,.in} too.
15631 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
15633         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15634         (__free_hook): Use void * instead of __malloc_ptr_t.
15635         (__malloc_hook): Likewise.
15636         (__realloc_hook): Likewise.
15637         (__memalign_hook): Likewise.
15638         (__after_morecore_hook): Likewise.
15639         * malloc/arena.c (save_malloc_hook): Likewise.
15640         (save_free_hook): Likewise.
15641         * malloc/hooks.c (malloc_hook_ini): Likewise.
15642         (realloc_hook_ini): Likewise.
15643         (memalign_hook_ini): Likewise.
15644         * malloc/malloc.c (malloc_hook_ini): Likewise.
15645         (realloc_hook_ini): Likewise.
15646         (memalign_hook_ini): Likewise.
15647         (__free_hook): Likewise.
15648         (__malloc_hook): Likewise.
15649         (__realloc_hook): Likewise.
15650         (__memalign_hook): Likewise.
15651         (__libc_malloc): Likewise.
15652         (__libc_free): Likewise.
15653         (__libc_realloc): Likewise.
15654         (__libc_memalign): Likewise.
15655         (__libc_valloc): Likewise.
15656         (__libc_pvalloc): Likewise.
15657         (__libc_calloc): Likewise.
15658         (__posix_memalign): Likewise.
15659         * malloc/morecore.c (__sbrk): Likewise.
15660         (__default_morecore): Likewise.
15662         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15664         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15665         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15666         __malloc_ptrdiff_t.
15668         * malloc/malloc.h (__malloc_size_t): Remove macro.
15669         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15670         __malloc_size_t.
15671         (old_memalign_hook): Likewise.
15672         (old_realloc_hook): Likewise.
15673         (struct hdr): Likewise.
15674         (flood): Likewise.
15675         (mallochook): Likewise.
15676         (memalignhook): Likewise.
15677         (reallochook): Likewise.
15678         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15679         (tr_old_realloc_hook): Likewise.
15680         (tr_old_memalign_hook): Likewise.
15681         (tr_mallochook): Likewise.
15682         (tr_reallochook): Likewise.
15683         (tr_memalignhook): Likewise.
15685 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15687         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15688         default_ldbl_pack and using as default implementation.
15689         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15690         implementation.
15691         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15692         redundant definition.
15693         (ldbl_insert_mantissa): Likewise.
15694         (ldbl_canonicalize): Likewise.
15695         (ldbl_nearbyint): Likewise.
15696         (ldbl_pack): Rename to ldbl_pack_ppc.
15697         (ldbl_unpack): Rename to ldbl_unpack_ppc.
15698         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15699         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15701 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15704         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15705         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15706         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15708         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15709         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15710         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15712 2013-03-07  Andreas Jaeger  <aj@suse.de>
15714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15715         bits/mman-linux.h.
15717 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15719         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15720         Include mpa.h and declare __MPEXP.
15721         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15722         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15723         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15724         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15725         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15726         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15727         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15729         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15730         (__slowpow): Use long double EXPL and LOGL functions to
15731         compute POW.
15732         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15733         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15734         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15735         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15736         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15737         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15740         intermediate variable to calculate exponent.
15741         (__sqr): Likewise.
15742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15743         Likewise.
15744         (__sqr): Likewise.
15746         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15747         [!NO__SQR]: Define __sqr.
15748         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15749         and NO__SQR.  Remove all code except __mul and __sqr.  Include
15750         sysdeps/ieee754/dbl-64/mpa.c.
15751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15753         [BZ #12723]
15754         * posix/Makefile (tests): Add tst-pathconf.
15755         * posix/tst-pathconf.c: New test case.
15756         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15757         _PC_PIPE_BUF.
15758         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15760 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
15762         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15764 2013-03-06  Andreas Jaeger  <aj@suse.de>
15766         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15767         definition via __MAP_ANONYMOUS.
15769         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15770         it's not part of Linux headers.
15772         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15773         (MAP_HUGE_MASK): Define.
15775         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15776         Define.
15777         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15778         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15779         Define.
15780         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15781         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15782         Define.
15783         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15784         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15785         Define.
15786         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15788         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15789         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15790         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15791         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15792         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15793         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15795         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15796         Handle f2fs.
15798         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15799         Handle f2fs and efivarfs.
15801         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15802         f2fs.
15804         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15805         (EFIVARFS_MAGIC): Add.
15806         (F2FS_LINK_MAX): Add.
15808 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15810         * stdio-common/vfprintf.c: Replace __builtin_expect with
15811         __glibc_unlikely.
15813 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
15815         [BZ #13550]
15816         * sysdeps/generic/bp-sym.h: Remove file.
15817         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15818         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15819         <bp-sym.h> and <bp-asm.h>.
15820         (__longjmp): Don't use BP_SYM.
15821         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15822         and <bp-asm.h>.
15823         (memcpy): Don't use BP_SYM.
15824         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15825         <bp-sym.h> and <bp-asm.h>.
15826         (memcpy): Don't use BP_SYM.
15827         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15828         <bp-asm.h>.
15829         (memcpy): Don't use BP_SYM.
15830         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15831         <bp-asm.h>.
15832         (memset): Don't use BP_SYM.
15833         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15834         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15835         (__bzero): Don't use BP_SYM.
15836         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15837         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15838         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15839         <bp-sym.h> and <bp-asm.h>.
15840         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15841         pointers.
15842         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15843         <bp-sym.h> and <bp-asm.h>.
15844         (memcpy): Don't use BP_SYM.
15845         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15846         <bp-sym.h> and <bp-asm.h>.
15847         (memset): Don't use BP_SYM.
15848         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15849         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15850         (__bzero): Don't use BP_SYM.
15851         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15852         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15853         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15854         <bp-sym.h> and <bp-asm.h>.
15855         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15856         pointers.
15857         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15858         <bp-sym.h> and <bp-asm.h>.
15859         (memcpy): Don't use BP_SYM.
15860         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15861         <bp-sym.h> and <bp-asm.h>.
15862         (memset): Don't use BP_SYM.
15863         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15864         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15865         (__bzero): Don't use BP_SYM.
15866         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15867         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15868         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15869         <bp-sym.h> and <bp-asm.h>.
15870         (__memchr): Don't use BP_SYM.
15871         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15872         <bp-sym.h> and <bp-asm.h>.
15873         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15874         pointers.
15875         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15876         <bp-sym.h> and <bp-asm.h>.
15877         (memcpy): Don't use BP_SYM.
15878         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15879         <bp-sym.h> and <bp-asm.h>.
15880         (__mempcpy): Don't use BP_SYM.
15881         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15882         <bp-sym.h> and <bp-asm.h>.
15883         (__memrchr): Don't use BP_SYM.
15884         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15885         <bp-sym.h> and <bp-asm.h>.
15886         (memset): Don't use BP_SYM.
15887         (__bzero): Likewise.
15888         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15889         <bp-sym.h> and <bp-asm.h>.
15890         (__rawmemchr): Don't use BP_SYM.
15891         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15892         <bp-sym.h> and <bp-asm.h>.
15893         (__STRCMP): Don't use BP_SYM.
15894         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15895         <bp-sym.h> and <bp-asm.h>.
15896         (strchr): Don't use BP_SYM.
15897         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15898         <bp-sym.h> and <bp-asm.h>.
15899         (__strchrnul): Don't use BP_SYM.
15900         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15901         <bp-sym.h> and <bp-asm.h>.
15902         (strlen): Don't use BP_SYM.
15903         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15904         <bp-sym.h> and <bp-asm.h>.
15905         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15906         pointers.
15907         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15908         <bp-sym.h> and <bp-asm.h>.
15909         (__strnlen): Don't use BP_SYM.
15910         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15911         <bp-sym.h> and <bp-asm.h>.
15912         (__GI__setjmp): Don't use BP_SYM.
15913         (_setjmp): Likewise.
15914         (__sigsetjmp): Likewise.
15915         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15916         (L(start_addresses)): Don't use BP_SYM.
15917         (_start): Likewise.
15918         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15919         <bp-asm.h>.
15920         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15921         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15922         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15923         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15924         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15925         <bp-asm.h>.
15926         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15927         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
15928         about bounded pointers.
15929         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15930         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15931         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15932         <bp-asm.h>.
15933         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15934         about bounded pointers.  Remove GKM FIXME comments.
15935         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15936         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15937         <bp-asm.h>.
15938         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15939         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
15940         Remove GKM FIXME comments.
15941         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15942         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15943         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15944         <bp-asm.h>.
15945         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15946         about bounded pointers.  Remove GKM FIXME comment.
15947         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15948         and <bp-asm.h>.
15949         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15950         pointers.
15951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15952         <bp-sym.h> and <bp-asm.h>.
15953         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15955         <bp-sym.h> and <bp-asm.h>.
15956         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15957         comment.
15959 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15961         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15962         call free(NULL).
15964 2013-03-05  David S. Miller  <davem@davemloft.net>
15966         * po/es.po: Update from translation team.
15968 2013-03-05  Andreas Jaeger  <aj@suse.de>
15970         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15971         <bits/mman-linux.h>.
15972         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15973         is fine.
15974         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15975         <bits/mman-linux.h> to end of file.
15976         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15977         is fine.
15978         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15979         <bits/mman-linux.h> to end of file.
15980         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15981         is fine.
15982         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15983         <bits/mman-linux.h> to end of file.
15985         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15986         (MCL_CURRENT, MCL_FUTURE): Define here.
15988 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15990         [BZ #15232]
15991         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15992         attribute_hidden.
15993         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15995 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15997         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15998         fourth parameter needed for rt_sigprocmask syscall.
15999         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16000         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16001         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16002         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16003         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16004         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16006 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
16008         [BZ #13550]
16009         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16010         comment about bounded pointers.
16011         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16012         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16014 2013-03-04  Andreas Jaeger  <aj@suse.de>
16016         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16017         common definitions.
16019         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16020         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16021         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16022         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16023         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16024         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16026 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16028         [BZ #15055]
16029         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16030         __ieee754_sqrl instead of __sqrl.
16032 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
16034         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16035         * sysdeps/powerpc/fpu_control.h: ... here.
16036         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16037         * sysdeps/powerpc/bits/fenvinline.h: ... here.
16038         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16039         * sysdeps/powerpc/bits/mathinline.h: ... here.
16041 2013-03-01  Roland McGrath  <roland@hack.frob.com>
16043         * elf/dl-hwcaps.c (_dl_important_hwcaps):
16044         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16045         to just [NEED_DL_SYSINFO_DSO].
16046         * elf/dl-support.c: Likewise.
16047         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16048         * elf/rtld.c (dl_main): Likewise.
16049         * elf/setup-vdso.h (setup_vdso): Likewise.
16050         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16051         * sysdeps/unix/sysv/linux/dl-sysdep.c
16052         (_dl_discover_osversion): Likewise.
16054 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
16056         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16057         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16059 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16061         * NEWS: Mention libm performance improvements and non-x86 PI
16062         futex support.
16064         * csu/libc-start.c (__pthread_initialize_minimal): Change
16065         function arguments.
16066         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16068 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
16070         [BZ #13550]
16071         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16072         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16073         <bp-sym.h> and <bp-asm.h>.
16074         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16075         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16076         and <bp-asm.h>.
16077         (memcpy): Don't use BP_SYM.
16078         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16079         <bp-asm.h>.
16080         (__mpn_add_n): Don't use BP_SYM.
16081         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16082         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16083         and <bp-asm.h>.
16084         (__mpn_addmul_1): Don't use BP_SYM.
16085         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16086         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16087         <bp-sym.h>.
16088         (_setjmp): Don't use BP_SYM.
16089         (__novmx_setjmp): Likewise.
16090         (__GI__setjmp): Likewise.
16091         (__vmx_setjmp): Likewise.
16092         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16093         <bp-sym.h>.
16094         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16095         (__bzero): Don't use BP_SYM.
16096         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16097         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16098         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16099         <bp-sym.h> and <bp-asm.h>.
16100         (memcpy): Don't use BP_SYM.
16101         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16102         <bp-sym.h> and <bp-asm.h>.
16103         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16104         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16105         <bp-sym.h> and <bp-asm.h>.
16106         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16107         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16108         <bp-asm.h>.
16109         (__mpn_lshift): Don't use BP_SYM.
16110         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16111         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16112         <bp-asm.h>.
16113         (memset): Don't use BP_SYM.
16114         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16115         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16116         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16117         <bp-asm.h>.
16118         (__mpn_mul_1): Don't use BP_SYM.
16119         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16120         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16121         <bp-sym.h> and <bp-asm.h>.
16122         (memcmp): Don't use BP_SYM.
16123         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16124         <bp-sym.h> and <bp-asm.h>.
16125         (memcpy): Don't use BP_SYM.
16126         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16127         <bp-sym.h> and <bp-asm.h>.
16128         (memset): Don't use BP_SYM.
16129         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16130         <bp-sym.h> and <bp-asm.h>.
16131         (strncmp): Don't use BP_SYM.
16132         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16133         <bp-sym.h> and <bp-asm.h>.
16134         (memcpy): Don't use BP_SYM.
16135         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16136         <bp-sym.h> and <bp-asm.h>.
16137         (memset): Don't use BP_SYM.
16138         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16139         <bp-sym.h> and <bp-asm.h>.
16140         (__memchr): Don't use BP_SYM.
16141         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16142         <bp-sym.h> and <bp-asm.h>.
16143         (memcmp): Don't use BP_SYM.
16144         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16145         <bp-sym.h> and <bp-asm.h>.
16146         (memcpy): Don't use BP_SYM.
16147         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16148         <bp-sym.h> and <bp-asm.h>.
16149         (__mempcpy): Don't use BP_SYM.
16150         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16151         <bp-sym.h> and <bp-asm.h>.
16152         (__memrchr): Don't use BP_SYM.
16153         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16154         <bp-sym.h> and <bp-asm.h>.
16155         (memset): Don't use BP_SYM.
16156         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16157         <bp-sym.h> and <bp-asm.h>.
16158         (__rawmemchr): Don't use BP_SYM.
16159         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16160         <bp-sym.h> and <bp-asm.h>.
16161         (__STRCMP): Don't use BP_SYM.
16162         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16163         <bp-sym.h> and <bp-asm.h>.
16164         (strchr): Don't use BP_SYM.
16165         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16166         <bp-sym.h> and <bp-asm.h>.
16167         (__strchrnul): Don't use BP_SYM.
16168         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16169         <bp-sym.h> and <bp-asm.h>.
16170         (strlen): Don't use BP_SYM.
16171         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16172         <bp-sym.h> and <bp-asm.h>.
16173         (strncmp): Don't use BP_SYM.
16174         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16175         <bp-sym.h> and <bp-asm.h>.
16176         (__strnlen): Don't use BP_SYM.
16177         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16178         <bp-asm.h>.
16179         (__mpn_rshift): Don't use BP_SYM.
16180         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16181         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16182         <bp-sym.h> and <bp-asm.h>.
16183         (__sigsetjmp): Don't use BP_SYM.
16184         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16185         (L(start_addresses)): Don't use BP_SYM.
16186         (_start): Likewise.
16187         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16188         <bp-asm.h>.
16189         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16190         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16191         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16192         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16193         <bp-asm.h>.
16194         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16195         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16196         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16197         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16198         <bp-asm.h>.
16199         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16200         comments.
16201         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16202         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16203         <bp-asm.h>.
16204         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
16205         FIXME comments.
16206         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16207         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16208         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16209         <bp-asm.h>.
16210         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16211         comment.
16212         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16213         and <bp-asm.h>.
16214         (strncmp): Don't use BP_SYM,
16215         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16216         <bp-asm.h>.
16217         (__mpn_sub_n): Don't use BP_SYM.
16218         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16219         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16220         and <bp-asm.h>.
16221         (__mpn_submul_1): Don't use BP_SYM.
16222         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16224         <bp-sym.h> and <bp-asm.h>.
16225         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16227         <bp-sym.h> and <bp-asm.h>.
16228         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16229         comment.
16231 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16234         Use ZK to minimize writes to Z.
16235         (sub_magnitudes): Simplify code a bit.
16236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16237         Use ZK to minimize writes to Z.
16238         (sub_magnitudes): Simplify code a bit.
16240 2013-02-27  Roland McGrath  <roland@hack.frob.com>
16242         * csu/gmon-start.c: Add special exception to license text.
16244 2013-02-27  Richard Henderson  <rth@redhat.com>
16246         * scripts/config.guess: Update from config.git.
16247         * scripts/config.sub: Likewise.
16249 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16251         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16253         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16255         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16257         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16259         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16261 2013-02-26  Roland McGrath  <roland@hack.frob.com>
16263         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16264         [$(build-shared = yes].
16266 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16268         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16269         (__mul): Reduce iterations for calculating mantissa.
16271         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16272         MPTWO.
16273         (__mpranred): Likewise.
16275         [BZ #15160]
16276         * malloc/memusagestat.c (main): Draw graphs for heap and stack
16277         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16279 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
16281         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16282         Define __attribute__.
16284 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16286         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16287         unused.
16288         * posix/regex_internal.h (__attribute): Remove.
16289         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16290         (re_string_context_at): Likewise.
16291         (bitset_not): Use __attribute__ and mark function as possibly
16292         unused.
16293         (bitset_merge): Likewise.
16294         (bitset_mask): Likewise.
16295         (re_string_char_size_at): Likewise.
16296         (re_string_wchar_at): Likewise.
16297         (re_string_elem_size_at): Likewise.
16299 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16301         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16302         code.
16303         (cc32): Likewise.
16305         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16306         (__acr): Likewise.
16307         (__cpy): Likewise.
16308         (norm): Likewise.
16309         (denorm): Likewise.
16310         (__dbl_mp): Likewise.
16311         (add_magnitudes): Likewise.
16312         (sub_magnitudes): Likewise.
16313         (__mul): Likewise.
16314         (__inv): Likewise.
16316         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16317         style.
16319         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16320         style.
16322         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16323         code.
16325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16326         up changes with default code.
16327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16328         Likewise.
16330 2013-02-24  Allan McRae  <allan@archlinux.org>
16332         * manual/socket.texi (The Internet Namespace): Order menu items
16333         to match that in the file.
16335         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16336         node listing of the info page menu.
16338 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
16340         [BZ #13550]
16341         * sysdeps/i386/bp-asm.h: Remove file.
16342         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16343         (PARMS): Do not use macros from bp-asm.h.
16344         (S1): Likewise.
16345         (S2): Likewise.
16346         (SIZE): Likewise.
16347         (__mpn_add_n): Do not use BP_SYM
16348         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16349         "bp-asm.h".
16350         (PARMS): Do not use macros from bp-asm.h.
16351         (S1): Likewise.
16352         (SIZE): Likewise.
16353         (__mpn_addmul_1): Do not use BP_SYM
16354         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16355         "bp-asm.h".
16356         (PARMS): Do not use macros from bp-asm.h.
16357         (SIGMSK): Likewise.
16358         (_setjmp): Likewise.  Do not use BP_SYM.
16359         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16360         "bp-asm.h".
16361         (PARMS): Do not use macros from bp-asm.h.
16362         (SIGMSK): Likewise.
16363         (setjmp): Likewise.  Do not use BP_SYM.
16364         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16365         "bp-asm.h".
16366         (PARMS): Do not use macros from bp-asm.h.
16367         (__frexp): Do not use BP_SYM.
16368         (frexp): Likewise.
16369         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16370         "bp-asm.h".
16371         (PARMS): Do not use macros from bp-asm.h.
16372         (__frexpf): Do not use BP_SYM.
16373         (frexpf): Likewise.
16374         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16375         "bp-asm.h".
16376         (PARMS): Do not use macros from bp-asm.h.
16377         (__frexpl): Do not use BP_SYM.
16378         (frexpl): Likewise.
16379         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16380         "bp-asm.h".
16381         (PARMS): Do not use macros from bp-asm.h.
16382         (__remquo): Do not use BP_SYM.
16383         (remquo): Likewise.
16384         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16385         "bp-asm.h".
16386         (PARMS): Do not use macros from bp-asm.h.
16387         (__remquof): Do not use BP_SYM.
16388         (remquof): Likewise.
16389         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16390         "bp-asm.h".
16391         (PARMS): Do not use macros from bp-asm.h.
16392         (__remquol): Do not use BP_SYM.
16393         (remquol): Likewise.
16394         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16395         "bp-asm.h".
16396         (PARMS): Do not use macros from bp-asm.h.
16397         (DEST): Likewise.
16398         (SRC): Likewise.
16399         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
16400         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16401         "bp-asm.h".
16402         (PARMS): Do not use macros from bp-asm.h.
16403         (strlen): Do not use BP_SYM.
16404         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16405         "bp-asm.h".
16406         (PARMS): Do not use macros from bp-asm.h.
16407         (S1): Likewise.
16408         (S2): Likewise.
16409         (SIZE): Likewise.
16410         (__mpn_add_n): Do not use BP_SYM.
16411         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16412         "bp-asm.h".
16413         (PARMS): Do not use macros from bp-asm.h.
16414         (S1): Likewise.
16415         (SIZE): Likewise.
16416         (__mpn_addmul_1): Do not use BP_SYM.
16417         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16418         weak_alias.
16419         (bzero): Likewise.
16420         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16421         "bp-asm.h".
16422         (PARMS): Do not use macros from bp-asm.h.
16423         (S): Likewise.
16424         (SIZE): Likewise.
16425         (__mpn_lshift): Do not use BP_SYM.
16426         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16427         "bp-asm.h".
16428         (PARMS): Do not use macros from bp-asm.h.
16429         (DEST): Likewise.
16430         (SRC): Likewise.
16431         (LEN): Likewise.
16432         (memcpy): Likewise.  Do not use BP_SYM.
16433         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16434         libc_hidden_def and weak_alias.
16435         (mempcpy): Do not use BP_SYM in weak_alias.
16436         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16437         "bp-asm.h".
16438         (PARMS): Do not use macros from bp-asm.h.
16439         (DEST): Likewise.
16440         (LEN): Likewise.
16441         [!BZERO_P] (CHR): Likewise.
16442         (memset): Likewise.  Do not use BP_SYM.
16443         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16444         "bp-asm.h".
16445         (PARMS): Do not use macros from bp-asm.h.
16446         (S1): Likewise.
16447         (SIZE): Likewise.
16448         (__mpn_mul_1): Do not use BP_SYM.
16449         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16450         "bp-asm.h".
16451         (PARMS): Do not use macros from bp-asm.h.
16452         (S): Likewise.
16453         (SIZE): Likewise.
16454         (__mpn_rshift): Do not use BP_SYM.
16455         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16456         "bp-asm.h".
16457         (PARMS): Do not use macros from bp-asm.h.
16458         (STR): Likewise.
16459         (CHR): Likewise.
16460         (strchr): Likewise.  Do not use BP_SYM.
16461         (index): Do not use BP_SYM in weak_alias.
16462         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16463         "bp-asm.h".
16464         (PARMS): Do not use macros from bp-asm.h.
16465         (DEST): Likewise.
16466         (SRC): Likewise.
16467         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
16468         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16469         "bp-asm.h".
16470         (PARMS): Do not use macros from bp-asm.h.
16471         (strlen): Do not use BP_SYM.
16472         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16473         "bp-asm.h".
16474         (PARMS): Do not use macros from bp-asm.h.
16475         (S1): Likewise.
16476         (S2): Likewise.
16477         (SIZE): Likewise.
16478         (__mpn_sub_n): Do not use BP_SYM.
16479         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16480         "bp-asm.h".
16481         (PARMS): Do not use macros from bp-asm.h.
16482         (S1): Likewise.
16483         (SIZE): Likewise.
16484         (__mpn_submul_1): Do not use BP_SYM.
16485         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16486         "bp-asm.h".
16487         (PARMS): Do not use macros from bp-asm.h.
16488         (S1): Likewise.
16489         (S2): Likewise.
16490         (SIZE): Likewise.
16491         (__mpn_add_n): Do not use BP_SYM.
16492         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16493         weak_alias.
16494         (bzero): Likewise.
16495         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16496         "bp-asm.h".
16497         (PARMS): Do not use macros from bp-asm.h.
16498         (BLK2): Likewise.
16499         (LEN): Likewise.
16500         (memcmp): Do not use BP_SYM.
16501         (bcmp): Do not use BP_SYM in weak_alias.
16502         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16503         "bp-asm.h".
16504         (PARMS): Do not use macros from bp-asm.h.
16505         (DEST): Likewise.
16506         (SRC): Likewise.
16507         (LEN): Likewise.
16508         (memcpy): Likewise.  Do not use BP_SYM.
16509         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16510         "bp-asm.h".
16511         (PARMS): Do not use macros from bp-asm.h.
16512         (DEST): Likewise.
16513         (SRC): Likewise.
16514         (LEN): Likewise.
16515         (memmove): Likewise.  Do not use BP_SYM.
16516         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16517         "bp-asm.h".
16518         (PARMS): Do not use macros from bp-asm.h.
16519         (DEST): Likewise.
16520         (SRC): Likewise.
16521         (LEN): Likewise.
16522         (__mempcpy): Likewise.  Do not use BP_SYM.
16523         (mempcpy): Do not use BP_SYM in weak_alias.
16524         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16525         "bp-asm.h".
16526         (PARMS): Do not use macros from bp-asm.h.
16527         (DEST): Likewise.
16528         (LEN): Likewise.
16529         [!BZERO_P] (CHR): Likewise.
16530         (memset): Likewise.  Do not use BP_SYM.
16531         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16532         "bp-asm.h".
16533         (PARMS): Do not use macros from bp-asm.h.
16534         (STR2): Likewise.
16535         (strcmp): Do not use BP_SYM.
16536         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16537         "bp-asm.h".
16538         (PARMS): Do not use macros from bp-asm.h.
16539         (STR): Likewise.
16540         (DELIM): Likewise.
16541         [USE_AS_STRTOK_R] (SAVE): Likewise.
16542         (FUNCTION): Likewise.  Do not use BP_SYM.
16543         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16544         aliases.
16545         (strtok_r): Likewise.
16546         (__GI___strtok_r): Likewise.
16547         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16548         (PARMS): Do not use macros from bp-asm.h.
16549         (S): Likewise.
16550         (SIZE): Likewise.
16551         (__mpn_lshift): Do not use BP_SYM.
16552         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16553         (PARMS): Do not use macros from bp-asm.h.
16554         (STR): Likewise.
16555         (CHR): Likewise.
16556         (__memchr): Do not use BP_SYM.
16557         (memchr): Do not use BP_SYM in weak_alias.
16558         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16559         (PARMS): Do not use macros from bp-asm.h.
16560         (BLK2): Likewise.
16561         (LEN): Likewise.
16562         (memcmp): Do not use BP_SYM.
16563         (bcmp): Do not use BP_SYM in weak_alias.
16564         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16565         (PARMS): Do not use macros from bp-asm.h.
16566         (S1): Likewise.
16567         (SIZE): Likewise.
16568         (__mpn_mul_1): Do not use BP_SYM.
16569         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16570         "bp-asm.h".
16571         (PARMS): Do not use macros from bp-asm.h.
16572         (STR): Likewise.
16573         (CHR): Likewise.
16574         (__rawmemchr): Do not use BP_SYM.
16575         (rawmemchr): Do not use BP_SYM in weak_alias.
16576         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16577         (PARMS): Do not use macros from bp-asm.h.
16578         (S): Likewise.
16579         (SIZE): Likewise.
16580         (__mpn_rshift): Do not use BP_SYM.
16581         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16582         (PARMS): Do not use macros from bp-asm.h.
16583         (SIGMSK): Likewise.
16584         (__sigsetjmp): Likewise.  Do not use BP_SYM.
16585         * sysdeps/i386/start.S: Do not include "bp-sym.h".
16586         (_start): Do not use BP_SYM.
16587         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16588         (PARMS): Do not use macros from bp-asm.h.
16589         (DEST): Likewise.
16590         (SRC): Likewise.
16591         (__stpcpy): Likewise.  Do not use BP_SYM.
16592         (stpcpy): Do not use BP_SYM in weak_alias.
16593         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16594         "bp-asm.h".
16595         (PARMS): Do not use macros from bp-asm.h.
16596         (DEST): Likewise.
16597         (SRC): Likewise.
16598         (LEN): Likewise.
16599         (__stpncpy): Likewise.  Do not use BP_SYM.
16600         (stpncpy): Do not use BP_SYM in weak_alias.
16601         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16602         (PARMS): Do not use macros from bp-asm.h.
16603         (STR): Likewise.
16604         (CHR): Likewise.
16605         (strchr): Likewise.  Do not use BP_SYM.
16606         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16607         "bp-asm.h".
16608         (PARMS): Do not use macros from bp-asm.h.
16609         (STR): Likewise.
16610         (CHR): Likewise.
16611         (__strchrnul): Likewise.  Do not use BP_SYM.
16612         (strchrnul): Do not use BP_SYM in weak_alias.
16613         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16614         "bp-asm.h".
16615         (PARMS): Do not use macros from bp-asm.h.
16616         (STOP): Likewise.
16617         (strcspn): Do not use BP_SYM.
16618         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16619         "bp-asm.h".
16620         (PARMS): Do not use macros from bp-asm.h.
16621         (STR): Likewise.
16622         (STOP): Likewise.
16623         (strpbrk): Likewise.  Do not use BP_SYM.
16624         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16625         "bp-asm.h".
16626         (PARMS): Do not use macros from bp-asm.h.
16627         (STR): Likewise.
16628         (CHR): Likewise.
16629         (strrchr): Likewise.  Do not use BP_SYM.
16630         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16631         (PARMS): Do not use macros from bp-asm.h.
16632         (SKIP): Likewise.
16633         (strspn): Do not use BP_SYM.
16634         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16635         (PARMS): Do not use macros from bp-asm.h.
16636         (STR): Likewise.
16637         (DELIM): Likewise.
16638         (SAVE): Likewise.
16639         (FUNCTION): Likewise.  Do not use BP_SYM.
16640         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16641         aliases.
16642         (strtok_r): Likewise.
16643         (__GI___strtok_r): Likewise.
16644         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16645         (PARMS): Do not use macros from bp-asm.h.
16646         (S1): Likewise.
16647         (S2): Likewise.
16648         (SIZE): Likewise.
16649         (__mpn_sub_n): Do not use BP_SYM.
16650         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16651         "bp-asm.h".
16652         (PARMS): Do not use macros from bp-asm.h.
16653         (S1): Likewise.
16654         (SIZE): Likewise.
16655         (__mpn_submul_1): Do not use BP_SYM.
16656         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16657         <bp-sym.h>.
16658         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16659         and <bp-asm.h>.
16660         (PARMS): Do not use macros from bp-asm.h.
16661         (FLAGS): Likewise.
16662         (PTID): Likewise.
16663         (TLS): Likewise.
16664         (CTID): Likewise.
16665         (__clone): Do not use BP_SYM.
16666         (clone): Do not use BP_SYM in weak_alias.
16667         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16668         and <bp-asm.h>.
16669         (PARMS): Do not use macros from bp-asm.h.
16670         (LEN): Likewise.
16671         (__mmap64): Do not use BP_SYM.
16672         (mmap64): Do not use BP_SYM in weak_alias.
16673         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16674         <bp-sym.h> and <bp-asm.h>.
16675         (PARMS): Do not use macros from bp-asm.h.
16676         (__posix_fadvise64_l64): Do not use BP_SYM.
16677         * sysdeps/unix/sysv/linux/i386/semtimedop.S
16678         (PARMS): Do not use macros from bp-asm.h.
16679         (NSOPS): Likewise.
16680         (semtimedop): Do not use BP_SYM.
16681         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16682         and <bp-asm.h>.
16684 2013-02-21  Allan McRae  <allan@archlinux.org>
16686         * manual/message.texi (Charset conversion in gettext):
16687         Move @end statement to beginning of line.
16689 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16692         static.
16693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16694         Likewise.
16696         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16697         (denorm): Likewise.
16698         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16701 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16703         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16704         tail-call to the resolved function if pltexit isn't needed.
16706 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16709         or Y being zero as being unlikely.
16710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16711         Likewise.
16713 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
16715         * manual/nss.texi (System Databases and Name Service Switch):
16716         Remove frobnicate @pxref.
16718 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16720         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16721         __attribute__ ((unused)) to __attribute__ ((__unused__)).
16723 2013-02-20  Petr Machata  <pmachata@redhat.com>
16725         * elf/elf.h (R_ARM_TARGET1): New macro.
16726         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16727         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16728         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16729         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16730         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16731         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16732         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16733         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16734         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16735         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16736         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16737         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16738         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16739         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16740         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16741         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16742         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16743         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16744         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16745         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16746         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16747         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16748         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16749         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16750         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16751         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16752         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16753         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16754         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16755         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16756         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16757         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16758         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16759         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16760         (R_ARM_THM_GOT_BREL12): Likewise.
16761         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16762         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16763         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16764         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16765         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16766         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16767         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16768         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16769         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16771 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16773         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16774         __attribute_used__ to __attribute__ ((unused)).
16776 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16778         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16779         powerpc mpa.c.
16780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16781         comment formatting.
16782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16784 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
16786         [BZ #13550]
16787         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16788         Remove macro.
16789         (ENTER): Remove both macro definitions.
16790         (LEAVE): Likewise.
16791         (CHECK_BOUNDS_LOW): Likewise.
16792         (CHECK_BOUNDS_HIGH): Likewise.
16793         (CHECK_BOUNDS_BOTH): Likewise.
16794         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16795         (RETURN_BOUNDED_POINTER): Likewise.
16796         (RETURN_NULL_BOUNDED_POINTER): Likewise.
16797         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16798         (POP_ERRNO_LOCATION_RETURN): Likewise.
16799         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16800         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16801         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16802         macros.
16803         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16804         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16805         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16806         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16807         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16808         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16809         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16810         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16811         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16812         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16813         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16814         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16815         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16816         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16817         removed macros.
16818         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16819         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16820         macros.
16821         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16822         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16823         * sysdeps/i386/i586/memset.S (memset): Likewise.
16824         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16825         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16826         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16827         macros.
16828         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16829         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16830         Change uses of L(2) to L(out).
16831         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16832         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16833         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16834         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16835         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16836         removed macros.
16837         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16838         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16839         macros.
16840         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16841         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16842         (RETURN): Do not use macro LEAVE.
16843         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16844         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16845         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16846         * sysdeps/i386/i686/memset.S (memset): Likewise.
16847         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16848         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16849         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16850         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16851         Likewise.
16852         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16853         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
16854         L(1_2) and L(1_3) into L(1).
16855         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16856         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16857         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16858         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16859         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16860         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16861         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16862         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16863         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16864         macros.
16865         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16866         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16867         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16868         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16869         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16870         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16871         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16872         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16873         * sysdeps/i386/strcspn.S (strcspn): Likewise.
16874         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16875         * sysdeps/i386/strrchr.S (strrchr): Likewise.
16876         * sysdeps/i386/strspn.S (strspn): Likewise.
16877         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16878         conditional code.
16879         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16880         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16881         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16882         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
16883         L(1_3) into L(1_1).
16884         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16885         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16886         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16887         macros.
16888         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16890 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
16892         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16893         macro.
16895 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16897         * math/atest-exp.c (exp_mpn): Remove ROUND.
16898         * math/atest-exp2.c (exp_mpn): Likewise.
16899         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16901         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16902         * stdlib/tst-tls-atexit-lib.c: Likewise.
16903         * stdlib/tst-tls-atexit.c: Likewise.
16905 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16907         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16908         and __attribute_alloc_size__.
16910 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16912         * include/programs/xmalloc.h: Change __attribute_alloc_size to
16913         __attribute_alloc_size__.
16914         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16915         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16917 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16919         * include/programs/xmalloc.h: New file.
16920         * catgets/gencat.c: Include it.
16921         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16922         * elf/pldd.c: Likewise.
16923         * iconv/iconv_charmap.c: Likewise.
16924         * iconv/iconvconfig.c: Likewise.
16925         * iconv/strtab.c: Likewise.
16926         * locale/programs/locale.c: Likewise.
16927         * locale/programs/localedef.h: Likewise.
16928         * locale/programs/simple-hash.c: Likewise.
16929         * nscd/nscd.h: Likewise.
16930         * nss/makedb.c: Likewise.
16931         * sysdeps/generic/ldconfig.h: Likewise.
16933 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16935         * Versions.def: Add GLIBC_2.18.
16936         * include/link.h (struct link_map): New member l_tls_dtor_count.
16937         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16938         (__call_tls_dtors): Likewise.
16939         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16940         __cxa_thread_atexit_impl.
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16942         Likewise.
16943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16944         Likewise.
16945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16946         Likewise.
16947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16948         Likewise.
16949         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16951         Likewise.
16952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16953         Likewise.
16954         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16956         Likewise.
16957         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16958         (tests): Add test case tst-tls-atexit.
16959         (modules-names): Add shared library for tst-tls-atexit.
16960         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16961         (GLIBC_PRIVATE): Add __call_tls_dtors.
16962         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16963         for libstdc++.
16964         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16965         * stdlib/tst-tls-atexit.c: New test case.
16966         * stdlib/tst-tls-atexit-lib.c: New test case.
16968         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16970         * elf/Versions (ld): Add _dl_find_dso_for_object.
16971         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16972         * elf/dl-open.c (_dl_find_dso_for_object): New function.
16973         (dl_open_worker): Use _dl_find_dso_for_object.
16974         * elf/dl-sym.c (do_sym): Likewise.
16975         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16977 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16979         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16980         Syntactic changes only.
16981         (_dl_runtime_profile): Do a tail-call to the resolved function.
16983 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
16985         [BZ #13550]
16986         * sysdeps/x86_64/bp-asm.h: Remove file.
16987         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16988         <bp-sym.h> and <bp-asm.h>.
16989         (__clone): Do not use BP_SYM.
16990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16991         <bp-sym.h> and <bp-asm.h>.
16992         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16993         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16994         "bp-asm.h".
16995         (_setjmp): Do not use BP_SYM.
16996         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16997         "bp-asm.h".
16998         (setjmp): Do not use BP_SYM.
16999         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17000         libc_hidden_def.
17001         (mempcpy): Do not use BP_SYM in weak_alias.
17002         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17003         "bp-asm.h".
17004         (strchr): Do not use BP_SYM.
17005         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17006         "bp-asm.h".
17007         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17008         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17009         (_start): Do not use BP_SYM.
17010         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17011         "bp-asm.h".
17012         (strcat): Do not use BP_SYM.
17013         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17014         "bp-asm.h".
17015         (STRCMP): Do not use BP_SYM.
17016         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17017         "bp-asm.h".
17018         (STRCPY): Do not use BP_SYM.
17019         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17020         "bp-asm.h".
17021         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17022         "bp-asm.h".
17023         (FUNCTION): Do not use BP_SYM.
17024         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17025         weak_alias.
17026         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17028 2013-02-17  Andreas Jaeger  <aj@suse.de>
17030         * time/Versions: Sort entries.
17031         * string/Versions: Likewise.
17032         * resolv/Versions: Likewise.
17033         * posix/Versions: Likewise.
17034         * iconv/Versions: Likewise.
17035         * elf/Versions: Likewise.
17036         * wcsmbs/Versions: Likewise.
17038 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17040         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17041         loop termination condition.
17043         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17044         variable to calculate EZ.
17045         (__sqr): Likewise.
17047         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17048         the lower precision input.
17050 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
17052         [BZ #13550]
17053         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17054         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17055         (run-via-rtld-prefix): Do not handle %-bp tests.
17056         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17057         (all-object-suffixes): Remove .ob.
17058         (bppfx): Remove variable.
17059         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17060         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17061         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17062         [$(build-bounded) = yes] (libtype.ob): Likewise.
17063         * Makerules (elide-routines.ob): Remove variable.
17064         (do-tests-clean): Do not handle *-bp.out.
17065         (common-mostlyclean): Do not handle *-bp and *-bp.out.
17066         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17067         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17068         (tests): Do not include $(tests-bp.out).
17069         (xtests): Do not include $(xtests-bp.out).
17070         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17071         [$(build-bounded) = yes] ($(addprefix
17072         $(objpfx),$(binaries-bounded))): Remove rule.
17073         ($(objpfx)%-bp.out): Remove rule.
17074         * config.make.in (build-bounded): Remove variable.
17075         * crypt/Makefile [$(build-bounded) = yes]
17076         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17077         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17078         append to variable.
17079         [$(build-bounded) = yes] (install-lib): Likewise.
17080         [$(build-bounded) = yes] (generated): Likewise.
17081         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17082         Remove rule.
17083         * intl/Makefile [$(build-bounded) = yes]
17084         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17085         * math/Makefile [$(build-bounded) = yes]
17086         ($(tests:%=$(objpfx)%-bp): Likewise.
17087         * misc/Makefile [$(build-bounded) = yes]
17088         ($(objpfx)tst-tsearch-bp): Likewise.
17089         * nptl/Makeconfig (bounded-thread-library): Remove variable.
17090         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17091         Remove dependency.
17092         * string/Makefile (o-objects.ob): Remove variable.
17093         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17094         (CFLAGS-.ob): Remove variable.
17095         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17096         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17097         both definitions of variable.
17098         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17099         (ASFLAGS-.ob): Remove variable.
17101 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
17103         [BZ #13550]
17104         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17105         Remove __BOUNDED_POINTERS__ from condition.
17106         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17107         * string/bits/string2.h [!__NO_STRING_INLINES &&
17108         !__BOUNDED_POINTERS__]: Likewise.
17109         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17110         Likewise.
17111         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17112         Remove conditional code.
17113         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17114         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17115         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17116         condition.
17118         [BZ #13550]
17119         * csu/libc-start.c: Do not include <bp-sym.h>.
17120         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17121         * elf/dl-open.c: Do not include <bp-sym.h>.
17122         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17123         * math/fegetenv.c: Do not include <bp-sym.h>.
17124         (fegetenv): Do not use BP_SYM in versioned symbols.
17125         * nptl/sysdeps/pthread/bits/libc-lockP.h
17126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17127         <bp-sym.h>.
17128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17129         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17131         (__pthread_mutex_destroy): Likewise.
17132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17133         (__pthread_mutex_lock): Likewise.
17134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17135         (__pthread_mutex_trylock): Likewise.
17136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17137         (__pthread_mutex_unlock): Likewise.
17138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17139         (__pthread_mutexattr_init): Likewise.
17140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17141         (__pthread_mutexattr_destroy): Likewise.
17142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17143         (__pthread_mutexattr_settype): Likewise.
17144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17145         (__pthread_rwlock_init): Likewise.
17146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17147         (__pthread_rwlock_destroy): Likewise.
17148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17149         (__pthread_rwlock_rdlock): Likewise.
17150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17151         (__pthread_rwlock_tryrdlock): Likewise.
17152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17153         (__pthread_rwlock_wrlock): Likewise.
17154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17155         (__pthread_rwlock_trywrlock): Likewise.
17156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17157         (__pthread_rwlock_unlock): Likewise.
17158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17159         (__pthread_key_create): Likewise.
17160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17161         (__pthread_setspecific): Likewise.
17162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17163         (__pthread_getspecific): Likewise.
17164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17165         Likewise.
17166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17167         (_pthread_cleanup_push_defer): Likewise.
17168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17169         (_pthread_cleanup_pop_restore): Likewise.
17170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17171         (pthread_setcancelstate): Likewise.
17172         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17173         <bp-sym.h>.
17174         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17175         (memchr): Do not use BP_SYM in weak_alias.
17176         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17177         (fegetenv): Do not use BP_SYM in versioned symbols.
17178         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17179         (fesetenv): Do not use BP_SYM in versioned symbols.
17180         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17181         (feupdateenv): Do not use BP_SYM in versioned symbols.
17182         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17183         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17184         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17185         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17186         (open64): Do not use BP_SYM in weak_alias.
17187         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17188         (fegetenv): Do not use BP_SYM in versioned symbols.
17189         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17190         (fesetenv): Do not use BP_SYM in versioned symbols.
17191         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17192         (feupdateenv): Do not use BP_SYM in versioned symbols.
17193         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17194         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17195         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17196         (feraiseexcept): Do not use BP_SYM in versioned symbols.
17197         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17198         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17199         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17200         <bp-sym.h>.
17201         (__libc_start_main): Do not use BP_SYM.
17203 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17206         redundant return line.
17207         (norm): Likewise.
17208         (denorm): Likewise.
17209         (dbl_mp): Likewise.
17210         (sub_magnitudes): Likewise.
17211         (__add): Likewise.
17212         (__sub): Likewise.
17213         (__mul): Likewise.
17214         (__inv): Likewise.
17215         (__dvd): Likewise.
17216         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17217         (norm): Likewise.
17218         (denorm): Likewise.
17219         (dbl_mp): Likewise.
17220         (sub_magnitudes): Likewise.
17221         (__add): Likewise.
17222         (__sub): Likewise.
17223         (__mul): Likewise.
17224         (__inv): Likewise.
17225         (__dvd): Likewise.
17227         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17228         instead of __mul.
17229         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17230         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17231         (cc32): Likewise.
17233         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17234         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17235         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17236         of __mul for squares.
17237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17238         function
17239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17240         Likewise.
17241         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17242         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17244 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
17246         [BZ #13550]
17247         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17248         code.
17249         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17250         prototype or function definition.  Rename ubp_* variables and
17251         parameters.  Remove argv definitions conditional on
17252         [__BOUNDED_POINTERS__].
17253         * debug/backtrace.c (__backtrace): Do not use __unbounded.
17254         * elf/dl-runtime.c (_dl_fixup): Likewise.
17255         * include/set-hooks.h (RUN_HOOK): Likewise.
17256         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17257         definition.
17258         * string/strcpy.c (strcpy): Do not use __unbounded.
17259         * sysdeps/generic/frame.h (struct layout): Likewise.
17260         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17261         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17262         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17263         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17264         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17265         (__backtrace): Likewise.
17266         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17267         use __ptrvalue.
17268         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17269         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17270         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17271         Likewise.
17272         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17273         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17274         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17275         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17276         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17277         Do not use __unbounded.
17278         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17279         Rename __unboundedrlimits parameter to rlimits in prototype.
17280         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17281         Do not use __unbounded.
17282         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17283         not use __ptrvalue.
17284         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17285         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17286         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17287         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17288         __ptrvalue or __unbounded.
17289         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17290         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17291         use __unbounded.
17292         (__new_msgctl): Do not use __ptrvalue.
17293         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17294         __unbounded.
17295         (__libc_msgrcv): Do not use __ptrvalue.
17296         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17297         startup_info): Do not use __unbounded.
17298         (__libc_start_main): Likewise.  Rename ubp_* variables and
17299         parameters.  Remove argv definitions conditional on
17300         [__BOUNDED_POINTERS__].
17301         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17302         __ptrvalue.
17303         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17304         use __unbounded.
17305         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17306         or __ptrvalue.
17307         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17308         use __unbounded.
17309         (__new_shmctl): Do not use __ptrvalue.
17310         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17311         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17312         Likewise.
17313         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17314         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17315         (__libc_sigaction): Likewise.
17316         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17317         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17318         Likewise.
17319         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17321 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
17323         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17325         * string/mempcpy.c: Implement by calling memcpy.
17327 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17329         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17331         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17332         evaluation.
17334         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17335         values in the mantissa.
17337         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17338         minimize writes to Z.
17339         (sub_magnitudes): Simplify code a bit.
17341 2013-02-12  Roland McGrath  <roland@hack.frob.com>
17343         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17344         from the message.  The linker prefixes all warnings with that already.
17346 2013-02-12  Andreas Schwab  <schwab@suse.de>
17348         [BZ #15078]
17349         * posix/regexec.c (extend_buffers): Add parameter min_len.
17350         (check_matching): Pass minimum needed length.
17351         (clean_state_log_if_needed): Likewise.
17352         (get_subexp): Likewise.
17353         * posix/Makefile (tests): Add bug-regex34.
17354         (bug-regex34-ENV): Define.
17355         * posix/bug-regex34.c: New file.
17357         [BZ #11561]
17358         * posix/regcomp.c (parse_bracket_exp): When looking up collating
17359         elements compare against the byte sequence of it, not its name.
17360         * posix/Makefile (tests): Add bug-regex35.
17361         (bug-regex35-ENV): Define.
17362         * posix/bug-regex35.c: New file.
17364 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17366         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
17367         comment.
17368         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17369         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17370         (CHECK_EOL): Add undef.
17372 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
17374         * bits/stdlib-bsearch.h: New file.
17375         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17376         * stdlib/stdlib.h: Likewise.
17378 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17380         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17381         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17382         declaration.
17383         * manual/search.texi (Array Search Function): Add missing const in
17384         lfind prototype.
17385         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17386         declaration to use rlim_t.
17387         (Basic Scheduling Functions): Remove erroneous const from
17388         sched_getparam prototype.  Remove erroneous * from
17389         sched_get_priority_max and sched_get_priority_min prototypes.
17390         (Resource Usage): Fix summary @comment on vtimes to refer to
17391         sys/vtimes.h rather than vtimes.h.
17392         Add missing *s in vtimes prototype.
17393         (Limits on Resources): Fix ulimit prototype to return long int.
17394         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17395         prototypes to use long int rather than double.
17396         (BSD Random): Fix initstate and setstate to use char *, not void *.
17397         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17398         prototype to make second argument 'struct aiocb64 *const[]'.
17399         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17400         (Status of AIO Operations): Remove erroneous const in aio_return and
17401         aio_return64 prototypes.
17402         (Synchronizing I/O): Fix sync prototype to return void.
17403         * manual/startup.texi (Suboptions): Remove an erroneous const in
17404         getsubopt prototype.
17405         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17406         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17407         use size_t rather than int.
17408         (Scanning All Users): Likewise for getpwent_r.
17409         (Setting Groups): Add missing const to setgroups prototype.
17410         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17411         * manual/socket.texi (Host Names): Fix gethostbyaddr and
17412         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17413         'const void *' rather than 'const char *'.
17414         (Host Address Functions): Likewise for inet_ntop.
17415         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17416         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17417         ssize_t for return value.
17418         (Sending Data): Likewise for send, sendto, sendmsg.
17419         (Socket Option Functions): Add a missing const in setsockopt prototype.
17420         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17421         use wchar_t for the argument.
17422         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17423         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17424         take no arguments.
17425         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17426         double/float/long double for second argument.
17427         Fix return types of significand, significandf, significandl.
17428         * manual/filesys.texi (Setting Permissions): Use mode_t for second
17429         argument in fchmod prototype.
17430         (File Owner): Use uid_t and gid_t in fchown prototype.
17431         (File Times): Add const to utimes, futimes, and lutimes prototypes.
17432         (Making Special Files): Use mode_t and dev_t in mknod prototype.
17433         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17434         use 'const struct dirent **' as argument types to CMP function pointer
17435         argument.
17436         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17437         (File Times): Fix summary magic @comment for struct utimbuf and utime
17438         to refer to utime.h, not time.h.
17439         * manual/string.texi (Argz Functions): Add missing const in
17440         argz_extract and argz_next prototypes.
17441         (Finding Tokens in a String): Likewise for basename.
17442         (String/Array Comparison): Fix typo in wcscasecmp prototype.
17443         (Copying and Concatenation): Fix typo in wmemmove prototype.
17444         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17445         (Signal Stack): Remove erroneous const in sigstack prototype.
17446         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17447         prototype.
17448         (Simple Calendar Time): Likewise for stime.
17449         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17450         prototype.
17451         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17452         say sys/sysctl.h instead.
17453         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17454         and vsyslog prototypes.
17456 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17458         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17459         Remove.
17461 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17463         * misc/sys/mman.h: Fix typo in mremap comment.
17465 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17467         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17468         the '\0' terminator.
17470 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17472         [BZ #13550]
17473         * debug/segfault.c: Don't include <bp-checks.h>.
17474         * sysdeps/generic/bp-checks.h: Remove file.
17475         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17476         (__GETDENTS): Don't use CHECK_N.
17477         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17478         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17479         (__getgroups): Don't use CHECK_N.
17480         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17481         (setgroups): Don't use CHECK_N.
17482         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17483         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17484         (__libc_msgrcv): Don't use CHECK_N.
17485         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17486         (__libc_msgsnd): Don't use CHECK_N.
17487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17488         <bp-checks.h>.
17489         (__libc_pread): Don't use CHECK_N.
17490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17491         include <bp-checks.h>.
17492         (__libc_pread64): Don't use CHECK_N.
17493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17494         include <bp-checks.h>.
17495         (__libc_pwrite): Don't use CHECK_N.
17496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17497         include <bp-checks.h>.
17498         (__libc_pwrite64): Don't use CHECK_N.
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17500         <bp-checks.h>.
17501         (__libc_pread): Don't use CHECK_N.
17502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17503         include <bp-checks.h>.
17504         (__libc_pread64): Don't use CHECK_N.
17505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17506         include <bp-checks.h>.
17507         (__libc_pwrite): Don't use CHECK_N.
17508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17509         include <bp-checks.h>.
17510         (__libc_pwrite64): Don't use CHECK_N.
17511         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17512         (do_pread): Don't use CHECK_N.
17513         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17514         (do_pread64): Don't use CHECK_N.
17515         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17516         (do_pwrite): Don't use CHECK_N.
17517         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17518         (do_pwrite64): Don't use CHECK_N.
17519         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17520         (__libc_readv): Don't use CHECK_N.
17521         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17522         (semop): Don't use CHECK_N.
17523         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17524         <bp-checks.h>.
17525         (semtimedop): Don't use CHECK_N.
17526         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17527         (__libc_pread): Don't use CHECK_N.
17528         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17529         <bp-checks.h>.
17530         (__libc_pread64): Don't use CHECK_N.
17531         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17532         <bp-checks.h>.
17533         (__libc_pwrite): Don't use CHECK_N.
17534         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17535         <bp-checks.h>.
17536         (__libc_pwrite64): Don't use CHECK_N.
17537         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17538         <bp-checks.h>.
17539         (__libc_msgrcv): Don't use CHECK_N.
17540         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17541         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
17542         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17543         (__libc_writev): Don't use CHECK_N.
17545 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17547         * string/strcpy.c: Removed unused variable.
17549         * Makeconfig (+sysdep-includes): Define with := rather than =.
17550         Use an existing include/ subdir of each sysdeps dir before it.
17552 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17554         * nscd/connection.c (register_traced_file): Comment function.
17555         [HAVE_INOTIFY] (union __inev): Define.
17556         [HAVE_INOTIFY] (inotify_check_files): New function.
17557         [HAVE_INOTIFY] (clear_db_cache): Likewise.
17558         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17559         clear_db_cache.
17560         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17562 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17564         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17565         loaded if not already and that a failure is permanent.
17567 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17569         [BZ #15006]
17570         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17571         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17573 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17575         [BZ #13550]
17576         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17577         (CHECK_1_NULL_OK): Likewise.
17578         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17579         (__fxstat): Do not use CHECK_1.
17580         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17581         <bp-checks.h>.
17582         (___fxstat64): Do not use CHECK_1.
17583         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17584         <bp-checks.h>.
17585         (__fxstatat): Do not use CHECK_1.
17586         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17587         <bp-checks.h>.
17588         (__fxstatat64): Do not use CHECK_1.
17589         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17590         <bp-checks.h>.
17591         (__fxstat): Do not use CHECK_1.
17592         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17593         <bp-checks.h>.
17594         (__fxstatat): Do not use CHECK_1.
17595         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17596         <bp-checks.h>.
17597         (__getresgid): Do not use CHECK_1.
17598         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17599         <bp-checks.h>.
17600         (__getresuid): Do not use CHECK_1.
17601         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17602         <bp-checks.h>.
17603         (__lxstat): Do not use CHECK_1.
17604         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17605         <bp-checks.h>.
17606         (__old_msgctl): Do not use CHECK_1.
17607         (__new_msgctl): Likewise.
17608         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17609         <bp-checks.h>.
17610         (__new_setrlimit): Do not use CHECK_1.
17611         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17612         <bp-checks.h>.
17613         (__old_shmctl): Do not use CHECK_1.
17614         (__new_shmctl): Likewise.
17615         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17616         <bp-checks.h>.
17617         (__xstat): Do not use CHECK_1.
17618         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17619         (__lxstat): Do not use CHECK_1.
17620         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17621         <bp-checks.h>.
17622         (___lxstat64): Do not use CHECK_1.
17623         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17624         (__old_msgctl): Do not use CHECK_1.
17625         (__new_msgctl): Likewise.
17626         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17627         <bp-checks.h>.
17628         (__gettimeofday): Do not use CHECK_1.
17629         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17630         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17631         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17632         <bp-checks.h>.
17633         (__gettimeofday): Do not use CHECK_1.
17634         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17635         (__old_shmctl): Do not use CHECK_1_NULL_OK.
17636         (__new_shmctl): Do not use CHECK_1.
17637         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17638         <bp-checks.h>.
17639         (do_sigtimedwait): Do not use CHECK_1.
17640         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17641         <bp-checks.h>.
17642         (do_sigwaitinfo): Do not use CHECK_1.
17643         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17644         <bp-checks.h>.
17645         (msgctl): Do not use CHECK_1.
17646         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17647         <bp-checks.h>.
17648         (shmctl): Do not use CHECK_1.
17649         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17650         (ustat): Do not use CHECK_1.
17651         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17652         <bp-checks.h>.
17653         (__fxstat): Do not use CHECK_1.
17654         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17655         <bp-checks.h>.
17656         (__fxstatat): Do not use CHECK_1.
17657         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17658         <bp-checks.h>.
17659         (__lxstat): Do not use CHECK_1.
17660         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17661         <bp-checks.h>.
17662         (__xstat): Do not use CHECK_1.
17663         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17664         (__xstat): Do not use CHECK_1.
17665         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17666         (___xstat64): Do not use CHECK_1.
17668         [BZ #13550]
17669         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17670         definitions.
17671         (CHECK_BOUNDS_HIGH): Likewise.
17672         * string/strcpy.c: Do not include <bp-checks.h>.
17673         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17675 2013-02-07  Roland McGrath  <roland@hack.frob.com>
17677         * nscd/nscd-client.h (__nscd_drop_map_ref):
17678         Add __attribute__ ((unused)).
17679         * nis/nss-nisplus.h (niserr2nss): Likewise.
17681         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17682         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17684         * csu/libc-tls.c (init_static_tls, init_slotinfo):
17685         Remove inline keyword.
17686         * include/rounding-mode.h (round_away): Likewise.
17687         * libio/wfileops.c (adjust_wide_data): Likewise.
17688         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17689         (__m128i_strloadu_tolower): Likewise.
17690         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17691         (__m128i_strloadu_tolower): Likewise.
17692         * time/mktime.c (ydhms_diff): Likewise.
17693         * locale/elem-hash.h (elem_hash): Likewise.
17694         * locale/setlocale.c (setdata): Likewise.
17695         * posix/regex_internal.h (re_string_char_size_at): Likewise.
17696         (re_string_wchar_at): Likewise.
17697         (bitset_not, bitset_merge, bitset_mask): Likewise.
17698         [!(__GNUC__ > 3)] (inline): Remove macro.
17699         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17700         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17701         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17702         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17703         * string/memcmp.c (memcmp_bytes): Likewise.
17704         * locale/programs/locarchive.c (compute_hashval): Likewise.
17705         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17706         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17707         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17708         * nss/getent.c (print_rpc, print_protocols): Likewise.
17709         (print_passwd, print_group, print_aliases): Likewise.
17710         * nis/nss-nisplus.h (niserr2nss): Likewise.
17711         * nscd/connections.c (restart_p): Likewise.
17712         Change return type to bool.
17714 2013-02-05  Roland McGrath  <roland@hack.frob.com>
17716         * Makeconfig (all-Depend-files): Add existing
17717         $(sorted-subdirs:=/Depend) files.
17718         (all-subdirs): Remove nss.
17719         * sysdeps/unix/inet/Subdirs: Add it here instead.
17720         * hesiod/Depend: New file.
17722         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17723         instead of calling alloca.
17725         * io/lseek.c (__lseek): Rename to __libc_lseek.
17726         Define __lseek as an alias.
17728         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17730 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
17732         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17733         else clause and remove check for non-standard endianness.
17735 2013-02-04  David S. Miller  <davem@davemloft.net>
17737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17739 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
17741         [BZ #13550]
17742         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17743         (__ubp_memchr): Remove prototype.
17744         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17745         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17746         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17747         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17748         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17749         Remove alias.
17750         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17751         (__ubp_memchr): Likewise.
17752         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17753         (__ubp_memchr): Likewise.
17754         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17755         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17756         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17757         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17758         CHECK_STRING.
17759         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17760         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17761         (__getcwd): Do not use CHECK_STRING.
17762         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17763         <bp-checks.h>.
17764         (__real_chown): Do not use CHECK_STRING.
17765         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17766         <bp-checks.h>.
17767         (fchownat): Do not use CHECK_STRING.
17768         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17769         CHECK_STRING.
17770         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17771         <bp-checks.h>.
17772         (__lchown): Do not use CHECK_STRING.
17773         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17774         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17775         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17776         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17778         include <bp-checks.h>.
17779         (truncate64): Do not use CHECK_STRING.
17780         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17781         <bp-checks.h>.
17782         (__real_chown): Do not use CHECK_STRING.
17783         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17784         <bp-checks.h>.
17785         (__lchown): Do not use CHECK_STRING.
17786         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17787         <bp-checks.h>.
17788         (__chown): Do not use CHECK_STRING.
17789         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17790         <bp-checks.h>.
17791         (truncate64): Do not use CHECK_STRING.
17792         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17793         Likewise.
17794         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17795         (__xmknod): Do not use CHECK_STRING.
17796         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17797         <bp-checks.h>.
17798         (__xmknodat): Do not use CHECK_STRING.
17799         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17800         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17802 2013-02-04  Andreas Schwab  <schwab@suse.de>
17804         [BZ #14142]
17805         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17806         * include/netdb.h: Likewise for h_errno.
17807         * elf/tst-stackguard1.c: Include <tls.h>.
17809 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
17811         * elf/link.h (struct link_map): Extend the l_addr comment.
17812         * include/link.h (struct link_map): Likewise.
17814 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
17816         [BZ #13550]
17817         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17818         (BOUNDED_1): Remove macro.
17819         * debug/backtrace.c: Don't include <bp-checks.h>.
17820         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17821         (__backtrace): Likewise.
17822         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17823         <bp-checks.h>.
17824         (__backtrace): Don't use BOUNDED_1.
17825         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17826         <bp-checks.h>.
17827         (__backtrace): Don't use BOUNDED_1.
17828         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17829         (__backtrace): Don't use BOUNDED_1.
17830         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17831         (shmat): Don't use BOUNDED_N.
17833 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
17835         [BZ #13550]
17836         * sysdeps/generic/bp-start.h: Remove file.
17837         * csu/libc-start.c: Don't include <bp-start.h>.
17838         (LIBC_START_MAIN): Set up __environ directly instead of using
17839         INIT_ARGV_and_ENVIRON.
17840         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17841         <bp-start.h>.
17843         [BZ #13550]
17844         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17845         definitions.
17846         (CHECK_FCNTL): Likewise.
17847         (CHECK_N_PAGES): Likewise.
17849         [BZ #13550]
17850         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17851         definitions.
17852         (CHECK_SIGSET_NULL_OK): Likewise.
17853         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17854         <bp-checks.h>.
17855         (sigpending): Don't use CHECK_SIGSET.
17856         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17857         <bp-checks.h>.
17858         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17859         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17860         <bp-checks.h>.
17861         (do_sigsuspend): Don't use CHECK_SIGSET.
17862         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17863         use CHECK_SIGSET.
17864         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17865         (do_sigwait): Don't use CHECK_SIGSET.
17866         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17867         use CHECK_SIGSET.
17868         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17869         include <bp-checks.h>.
17870         (sigpending): Don't use CHECK_SIGSET.
17871         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17872         include <bp-checks.h>.
17873         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17874         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17875         <bp-checks.h>.
17876         (sigpending): Don't use CHECK_SIGSET.
17877         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17878         <bp-checks.h>.
17879         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17881         [BZ #13550]
17882         * sysdeps/generic/bp-semctl.h: Remove file.
17883         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17884         <bp-checks.h> and <bp-semctl.h>.
17885         (__old_semctl): Don't use CHECK_SEMCTL.
17886         (__new_semctl): Likewise.
17887         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17888         and <bp-semctl.h>.
17889         (__old_semctl): Don't use CHECK_SEMCTL.
17890         (__new_semctl): Likewise.
17891         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17892         <bp-checks.h> and <bp-semctl.h>.
17893         (__old_semctl): Don't use CHECK_SEMCTL.
17894         (__new_semctl): Likewise.
17895         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17896         <bp-checks.h> and <bp-semctl.h>.
17897         (semctl): Don't use CHECK_SEMCTL.
17899         [BZ #13550]
17900         * Makerules (elide-bp-thunks): Remove variable.
17901         (elide-routines.oS): Don't use $(elide-bp-thunks).
17902         (elide-routines.os): Likewise.
17903         (elide-routines.o): Likewise.
17904         (elide-routines.op): Likewise.
17905         (elide-routines.og): Likewise.
17906         (objects): Don't use $(bp-thunks).
17907         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17908         include.
17909         (common-generated): Do not add s-proto-bp.d.
17910         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17911         (int): Likewise.
17912         (typ): Likewise.
17913         Do not generate makefile rules for bounded-pointer thunks.
17914         * sysdeps/generic/bp-thunks.h: Remove file.
17915         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17916         * sysdeps/unix/s-proto-bp.S: Likewise.
17918         [BZ #15062]
17919         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17920         parts of result separately when argument is not close to line from
17921         -i to i and one part of argument is small.
17922         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17923         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17924         * math/libm-test.inc (cacos_test): Add more tests.
17925         (casin_test): Likewise.
17926         (casinh_test): Likewise.
17927         * sysdeps/i386/fpu/libm-test-ulps: Update.
17928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17930 2013-01-31  David S. Miller  <davem@davemloft.net>
17932         * po/de.po: Update from translation team.
17934 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
17936         * time/tzfile.c: Include stdint.h for SIZE_MAX.
17938 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
17940         * configure.in (_AC_PROG_CC_C89): New definition.
17941         * configure: Regenerate.
17943         * configure.in (AC_PROG_CPP): New definition.
17944         * configure: Regenerate.
17946 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17948         * debug/tst-backtrace.h: New file.
17949         * debug/tst-backtrace2.c: Include tst-backtrace.h.
17950         (ret): Remove variable.
17951         (x): Likewise.
17952         (FAIL): Remove macro.
17953         (NO_INLINE): Likewise.
17954         (fn1): Use match function instead of strstr.
17955         * debug/tst-backtrace3.c: Include tst-backtrace.h.
17956         (ret): Remove variable.
17957         (x): Likewise.
17958         (FAIL): Remove macro.
17959         (NO_INLINE): Likewise.
17960         (fn): Use match function instead of strstr.
17961         * debug/tst-backtrace4.c: Include tst-backtrace.h.
17962         (ret): Remove variable.
17963         (x): Likewise.
17964         (FAIL): Remove macro.
17965         (NO_INLINE): Likewise.
17966         (handle_signal): Use match function instead of strstr.
17967         * debug/tst-backtrace5.c: Include tst-backtrace.h.
17968         (ret): Remove variable.
17969         (x): Likewise.
17970         (FAIL): Remove macro.
17971         (NO_INLINE): Likewise.
17972         (handle_signal): Use match function instead of strstr.
17974 2013-01-23  Roland McGrath  <roland@hack.frob.com>
17976         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17978 2013-01-23  David S. Miller  <davem@davemloft.net>
17980         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17981         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17982         argument of CAS if possible.
17983         * sysdeps/sparc/sparc64/bits/atomic.h
17984         (__arch_compare_and_exchange_val_32_acq): Likewise.
17985         (__arch_compare_and_exchange_val_64_acq): Likewise.
17987 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
17989         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17990         * sysdeps/posix/ulimit.c: ... this.
17991         Include <limits.h>.
17992         * sysdeps/unix/bsd/ulimit.c: Remove file.
17994 2013-01-23  Adam Conrad  <adconrad@0c3.net>
17996         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17997         (LDFLAGS-tst-array5): Likewise.
17999 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
18001         [BZ #15036]
18002         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18003         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18004         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18005         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18007 2013-01-21  David S. Miller  <davem@davemloft.net>
18009         * sysdeps/sparc/backtrace.c: New file.
18010         * sysdeps/sparc/sparc32/backtrace.h: New file.
18011         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18012         * sysdeps/sparc/sparc64/backtrace.h: New file.
18013         * sysdeps/sparc/sparc64/backtrace.c: Delete.
18014         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18015         -funwind-tables.
18017 2013-01-21  Andreas Schwab  <schwab@suse.de>
18019         [BZ #15020]
18020         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18021         closed its stdout.
18023 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
18025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18026         "mpa2.h".
18027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18029 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
18030             Mark Mitchell  <mark@codesourcery.com>
18031             Tom de Vries  <tom@codesourcery.com>
18032             Paul Pluzhnikov  <ppluzhnikov@google.com>
18034         * debug/tst-backtrace2.c: New file.
18035         * debug/tst-backtrace3.c: Likewise.
18036         * debug/tst-backtrace4.c: Likewise.
18037         * debug/tst-backtrace5.c: Likewise.
18038         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18039         (CFLAGS-tst-backtrace3.c): Likewise.
18040         (CFLAGS-tst-backtrace4.c): Likewise.
18041         (CFLAGS-tst-backtrace5.c): Likewise.
18042         (LDFLAGS-tst-backtrace2): Likewise.
18043         (LDFLAGS-tst-backtrace3): Likewise.
18044         (LDFLAGS-tst-backtrace4): Likewise.
18045         (LDFLAGS-tst-backtrace5): Likewise.
18046         (tests): Add new tests tst-backtrace2, tst-backtrace3,
18047         tst-backtrace4 and tst-backtrace5.
18049 2013-01-18  Anton Blanchard  <anton@samba.org>
18050             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18052         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18053         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18054         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18055         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18057         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18058         "+r" and remove output regs list as redundant.  Add explicit inline
18059         asm to specify register of return val to work around compiler codegen
18060         bug.  Remove (int) cast on return value.  Add return type parameter to
18061         use in macro so that this macro does not truncate return value for
18062         64-bit values.
18063         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18064         pass to INTERNAL_VSYSCALL_NCS.
18065         (INLINE_VSYSCALL): Add 'long int' as return type to
18066         INTERNAL_VSYSCALL_NCS macro invocation.
18067         (INTERNAL_VSYSCALL): Add 'long int' as return type to
18068         INTERNAL_VSYSCALL_NCS macro invocation.
18069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18071 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18073         [BZ #14496]
18074         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18075         Fix application of SIMD FP exception mask.
18077         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18078         mp_no from a power of two.
18079         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18080         __mpexp_twomm1.  Use __pow_mp.
18082         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18083         multiplication.
18085 2013-01-17  David S. Miller  <davem@davemloft.net>
18087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18089 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18091         [BZ #15023]
18092         * include/complex.h: Condition contents on [!_COMPLEX_H].
18093         (__kernel_casinhf): New prototype.
18094         (__kernel_casinh): Likewise.
18095         (__kernel_casinhl): Likewise.
18096         * math/Makefile (libm_calls): Add k_casinh.
18097         * math/k_casinh.c: New file.
18098         * math/k_casinhf.c: Likewise.
18099         * math/k_casinhl.c: Likewise.
18100         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18101         finite nonzero arguments.
18102         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18103         finite nonzero arguments.
18104         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18105         finite nonzero arguments.
18106         * math/s_casinh.c: Do not include <float.h>.
18107         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18108         * math/s_casinhf.c: Do not include <float.h>.
18109         (__casinhf): Move code for finite nonzero arguments to
18110         k_casinhf.c.
18111         * math/s_casinhl.c: Do not include <float.h>.
18112         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18113         redefine.
18114         (__casinhl): Move code for finite nonzero arguments to
18115         k_casinhl.c.
18116         * math/libm-test.inc (cacos_test): Add more tests.
18117         * sysdeps/i386/fpu/libm-test-ulps: Update.
18118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18120 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
18122         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18123         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18124         [!HAVE_MREMAP]: Remove [defined linux] case.
18125         * malloc/arena.c: Do not include <malloc-sysdep.h>.
18127 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18129         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18131 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
18133         * elf/elf.h (R_386_SIZE32): New relocation.
18134         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18135         R_386_SIZE32.
18136         (elf_machine_rela): Likewise.
18137         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18138         R_X86_64_SIZE64 and R_X86_64_SIZE32.
18140 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18142         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18143         (FP_FAST_FMA): Do not define.
18144         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18145         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18146         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18147         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18148         !_SOFT_FLOAT]: Likewise.
18149         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18150         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18151         value.
18152         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18153         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18154         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18155         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18156         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18157         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18158         file.
18160 2013-01-16  Andreas Schwab  <schwab@suse.de>
18162         [BZ #14327]
18163         * include/stdlib.h (__mktemp): Add declaration.
18164         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18165         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18167 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18169         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18170         definitions.
18171         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18172         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18173         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18174         definitions here.
18175         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18176         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18177         definitions.
18178         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18179         and ONE.
18180         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18181         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18182         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18183         definitions.
18184         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18185         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18186         definitions.
18187         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18189         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18191 2013-01-15  David S. Miller  <davem@davemloft.net>
18193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18194         trunc{,f} to libm-sysdep_routes.
18195         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18197         file.
18198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18200         file.
18201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18202         file.
18203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18205         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18206         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18207         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18208         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18209         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18210         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18213         nearbyint{,f} to libm-sysdep_routes.
18214         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18216         New file.
18217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18218         file.
18219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18220         New file.
18221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18222         file.
18223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18225         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18226         file.
18227         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18228         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18229         file.
18230         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18231         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18232         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18234         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18235         libc_feholdexcept and libc_fesetenv.
18237 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
18239         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18241 2013-01-14  David S. Miller  <davem@davemloft.net>
18243         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18244         (SPARC_ASM_VIS2_IFUNC): Likewise.
18245         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18247         use of 'siam' instruction.
18248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18249         Likewise.
18250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18251         Likewise.
18252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18253         Likewise.
18254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18256         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18257         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18259         file.
18260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18261         file.
18262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18263         file.
18264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18265         file.
18266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18271         new VIS2 routines.
18272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18275         Likewise.
18276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18277         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18278         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18281         routines to libm-sysdep_routines.
18282         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18285         fdim/fdimf to libm-sysdep_routines.
18286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18287         file.
18288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18290         file.
18291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18294         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18295         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18296         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18297         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18299 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18301         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18302         to optimize copies.
18304         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18309         local variable MPTWO.
18310         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18311         Likewise.
18313 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18315         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18316         GLOB_NOESCAPE.
18318 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18320         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18322 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18324         * manual/pattern.texi (glob_t): Document gl_flags.
18325         (glob64_t): Likewise.
18327 2013-01-11  David S. Miller  <davem@davemloft.net>
18329         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18330         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18331         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
18332         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18333         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18334         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18335         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18336         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18337         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18338         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18339         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18340         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18341         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18343         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18344         sparc V9 rather than using V8 code.
18345         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18346         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18348         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18349         Move to...
18350         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18351         Here.
18353 2013-01-11  Roland McGrath  <roland@hack.frob.com>
18355         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18356         not in the main loop.
18357         * configure: Regenerated.
18359 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
18361         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18362         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18363         to just #else.
18364         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
18365         [!__GLIBC_HAVE_LONG_LONG] case.
18366         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18367         condition to just #else.
18368         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18369         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18370         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18371         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18372         unconditional.
18373         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18374         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18375         #elif condition to just #else.
18376         * sysdeps/unix/sysv/linux/sys/sysmacros.h
18377         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18378         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18379         #elif condition to just #else.
18381 2013-01-11  Steve Ellcey  <sellcey@mips.com>
18383         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18384         (EF_MIPS_ARCH_64): Fix value.
18385         (EF_MIPS_ARCH_32R2): New.
18386         (EF_MIPS_ARCH_64R2): New.
18388 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
18390         * Makeconfig (+link-pie-before-libc): New.
18391         (+link-pie-after-libc): Likewise.
18392         (+link-pie-tests): Likewise.
18393         (+link-pie): Rewritten.
18394         (link-before-libc): Remove $(config-LDFLAGS).
18395         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18396         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18397         (config-LDFLAGS): Renamed to ...
18398         (rtld-LDFLAGS): This.
18399         (rtld-tests-LDFLAGS): New macro.
18400         (link-libc-rpath-link): Likewise.
18401         (link-libc-tests-rpath-link): Likewise.
18402         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18403         (link-libc): Prepand $(link-libc-rpath-link).
18404         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18405         (test-program-prefix): New macro.
18406         (test-via-rtld-prefix): Likewise.
18407         (test-program-cmd): Likewise.
18408         (host-test-program-cmd): Likewise.
18409         * Makefile ($(common-objpfx)testrun.sh): Replace
18410         $(run-program-prefix) with $(test-program-prefix).
18411         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18412         $(rtld-LDFLAGS).
18413         ($(common-objpfx)shlib.lds): Likewise.
18414         (build-module-helper): Likewise.
18415         ($(common-objpfx)format.lds): Likewise.
18416         * Rules (binaries-pie-tests): New.
18417         (binaries-pie-notests): Likewise.
18418         (binaries-pie): Rewritten.
18419         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18420         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18421         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18422         (make-test-out): Replace $(host-built-program-cmd) with
18423         $(host-test-program-cmd).
18424         * config.make.in (build-hardcoded-path-in-tests): New variable.
18425         * configure.in (--enable-hardcoded-path-in-tests): New configure
18426         option.
18427         (hardcoded_path_in_tests): New AC_SUBST.
18428         * configure: Regenerated.
18429         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18430         $(built-program-cmd) with $(test-program-cmd).
18431         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18432         (test_program_cmd): This.
18433         * elf/Makefile ($(objpfx)order.out): Run test with
18434         $(test-program-prefix).
18435         ($(objpfx)order2.out): Likewise.
18436         ($(objpfx)tst-initorder.out): Likewise.
18437         ($(objpfx)tst-initorder2.out): Likewise.
18438         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18439         $(test-program-cmd).
18440         ($(objpfx)tst-array1-static.out): Likewise.
18441         ($(objpfx)tst-array2.out): Likewise.
18442         ($(objpfx)tst-array3.out): Likewise.
18443         ($(objpfx)tst-array4.out): Likewise.
18444         ($(objpfx)tst-array5.out): Likewise.
18445         ($(objpfx)tst-array5-static.out): Likewise.
18446         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18447         $(test-program-cmd).
18448         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18449         $(run-program-prefix) with $(test-program-prefix).
18450         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18451         (test_program_prefix): This.
18452         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18453         $(run-program-prefix) with $(test-program-prefix).
18454         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18455         (test_program_prefix): This.
18456         * iconvdata/tst-tables.sh: Likewise.
18457         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18458         $(run-program-prefix) with $(test-program-prefix).
18459         ($(objpfx)tst-translit.out): Likewise.
18460         ($(objpfx)tst-gettext2.out): Likewise.
18461         ($(objpfx)tst-gettext4.out): Likewise.
18462         ($(objpfx)tst-gettext6.out): Likewise.
18463         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18464         (test_program_prefix): This.
18465         * intl/tst-gettext2.sh: Likewise.
18466         * intl/tst-gettext4.sh  Likewise.
18467         * intl/tst-gettext6.sh: Likewise.
18468         * intl/tst-translit.sh: Likewise.
18469         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18470         with $(test-program-cmd).
18471         * libio/Makefile ($(objpfx)test-freopen.out): Replace
18472         $(run-program-prefix) with $(test-program-prefix).
18473         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18474         (test_program_prefix): This.
18475         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18476         $(run-program-prefix) with $(test-program-prefix).
18477         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18478         (test_program_prefix): This.
18479         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18480         * posix/Makefile ($(objpfx)globtest.out): Replace
18481         $(run-via-rtld-prefix) and $(test-wrapper) with
18482         $(test-program-prefix) and $(test-via-rtld-prefix).
18483         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18484         $(test-program-prefix).
18485         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18486         $(host-test-program-cmd).
18487         (tst-spawn-ARGS): Likewise.
18488         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18489         $(test-program-prefix).
18490         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18491         (test_via_rtld_prefix): This.
18492         (test_wrapper): Renamed to ...
18493         (test_program_prefix): This.
18494         (run_program_prefix): Replaced by test_program_prefix.
18495         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18496         (test_program_prefix): This.
18497         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18498         with $(host-test-program-cmd).
18499         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18500         $(run-program-prefix) with $(test-program-prefix).
18501         ($(objpfx)tst-printf.out): Likewise.
18502         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18503         $(test-program-cmd).
18504         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18505         (test_program_prefix): This.
18506         * stdio-common/tst-unbputc.sh: Likewise.
18507         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18508         $(run-program-prefix) with $(test-program-prefix).
18509         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18510         (test_program_prefix): This.
18511         * string/Makefile ($(objpfx)tst-svc.out):  Replace
18512         $(built-program-cmd) with $(test-program-cmd).
18514 2013-01-11  Andreas Jaeger  <aj@suse.de>
18516         [BZ #15003]
18517         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18518         value. Sync with Linux 3.7.
18520 2013-01-10  David S. Miller  <davem@davemloft.net>
18522         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18523         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18524         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18526 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18528         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18529         never set.
18530         * configure: Regenerated.
18532 2013-01-10  David S. Miller  <davem@davemloft.net>
18534         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18535         sparc V9 rather than using V8 code.
18536         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18537         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18539 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18541         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18542         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18543         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18544         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18545         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18546         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18547         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18548         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18549         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18550         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18551         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18552         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18553         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18554         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18555         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18556         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18557         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18558         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18559         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18560         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18561         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18562         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18563         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18564         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18565         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18566         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18567         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18569 2013-01-10  David S. Miller  <davem@davemloft.net>
18571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18573 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18575         * posix/Makefile (tests-static): New variable.
18576         (tests): Add $(tests-static).
18577         (tst-exec-static-ARGS): New variable.
18578         (tst-spawn-static-ARGS): Likewise.
18579         * posix/tst-exec-static.c: New file.
18580         * posix/tst-spawn-static.c: Likewise.
18581         * posix/tst-exec.c: Support run directly.
18582         * posix/tst-spawn.c: Likewise.
18584 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
18586         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18587         long.
18588         * math/bits/mathcalls.h (llrint): Likewise.
18589         (llround): Likewise.
18590         * stdlib/stdlib.h (struct drand48_data): Likewise.
18591         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18592         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18593         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18594         Likewise.
18595         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18596         Likewise.
18597         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18598         (elf_greg_t): Likewise.
18599         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18600         (__jmp_buf): Likewise.
18601         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18602         definitions.
18603         (llrint): Likewise, for all definitions.
18604         (llrintl): Likewise.
18606         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18607         Remove [__GNUC__] condition.
18608         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18609         condition to just [__USE_ISOC99].
18610         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18612 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18614         [BZ #14200]
18615         * sysdeps/unix/sysv/linux/x86/bits/environments.h
18616         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18617         defined.
18618         (_POSIX_V6_ILP32_OFF32): Likewise.
18619         (_XBS5_ILP32_OFF32): Likewise.
18620         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18621         (__ILP32_OFFBIG_LDFLAGS): Likewise.
18623 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18625         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18627         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18628         doubles __mpexp_twomm1.  Adjust usage.
18629         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18630         Remove.
18632 2013-01-10  Andreas Schwab  <schwab@suse.de>
18634         [BZ #14964]
18635         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18636         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18638 2013-01-09  David S. Miller  <davem@davemloft.net>
18640         [BZ #15003]
18641         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18642         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18643         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18644         TCP_FASTOPEN): Define.
18645         (tcp_repair_opt): New structure.
18646         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18647         enum values.
18648         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18649         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18650         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18651         (tcp_cookie_transactions): New structure.
18653 2013-01-09  Anton Blanchard  <anton@samba.org>
18655         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18656         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18657         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18658         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18660 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
18662         * include/features.h (__USE_ANSI): Remove.
18664 2013-01-09  Roland McGrath  <roland@hack.frob.com>
18666         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18668         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18670 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18672         * sysdeps/s390/fpu/libm-test-ulps: Update.
18674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18676         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18677         (__acr): Likewise.
18678         (__cpy): Likewise.
18679         (norm): Likewise.
18680         (denorm): Likewise.
18681         (__mp_dbl): Likewise.
18682         (__dbl_mp): Likewise.
18683         (add_magnitudes): Likewise.
18684         (sub_magnitudes): Likewise.
18685         (__add): Likewise.
18686         (__sub): Likewise.
18687         (__mul): Likewise.
18688         (__inv): Likewise.
18689         (__dvd): Likewise.
18690         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18691         (__acr): Likewise.
18692         (__cpy): Likewise.
18693         (norm): Likewise.
18694         (denorm): Likewise.
18695         (__mp_dbl): Likewise.
18696         (__dbl_mp): Likewise.
18697         (add_magnitudes): Likewise.
18698         (sub_magnitudes): Likewise.
18699         (__add): Likewise.
18700         (__sub): Likewise.
18701         (__mul): Likewise.
18702         (__inv): Likewise.
18703         (__dvd): Likewise.
18704         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18705         (__acr): Likewise.
18706         (__cpy): Likewise.
18707         (norm): Likewise.
18708         (denorm): Likewise.
18709         (__mp_dbl): Likewise.
18710         (__dbl_mp): Likewise.
18711         (add_magnitudes): Likewise.
18712         (sub_magnitudes): Likewise.
18713         (__add): Likewise.
18714         (__sub): Likewise.
18715         (__mul): Likewise.
18716         (__inv): Likewise.
18717         (__dvd): Likewise.
18719 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
18721         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18722         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18723         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18724         2 && __USE_EXTERN_INLINES]: Likewise.
18726 2013-01-08  Andreas Jaeger  <aj@suse.de>
18728         [BZ# 14985]
18729         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18730         Remove.
18731         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18732         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18734 2013-01-07  Anton Blanchard  <anton@samba.org>
18736         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18737         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18738         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18739         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18740         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18741         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18742         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18743         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18745         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18746         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18747         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18748         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18749         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18750         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18751         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18752         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18753         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18754         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18755         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18756         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18757         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18758         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18759         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18760         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18761         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18762         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18763         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18764         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18765         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18766         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18768         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18769         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18770         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18771         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18772         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18773         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18774         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18775         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18776         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18777         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18778         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18780 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
18782         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18783         (__MALLOC_PMT): Likewise.
18784         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18785         [__GNUC__], only on [_LIBC].
18786         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18787         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18788         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18789         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18790         forward declaration.
18791         (realloc_hook_ini): Likewise.
18792         (memalign_hook_ini): Likewise.
18793         (__libc_memalign): Do not use __MALLOC_PMT in variable
18794         declaration.
18795         (__libc_valloc): Likewise.
18796         (__libc_pvalloc): Likewise.
18797         (__libc_calloc): Likewise.
18798         (__posix_memalign): Likewise.
18800         [BZ #14996]
18801         * math/s_casinh.c: Include <float.h>.
18802         (__casinh): Do not do computation with squaring and square root
18803         for large arguments.
18804         * math/s_casinhf.c: Include <float.h>.
18805         (__casinhf): Do not do computation with squaring and square root
18806         for large arguments.
18807         * math/s_casinhl.c: Include <float.h>.
18808         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18809         (__casinhl): Do not do computation with squaring and square root
18810         for large arguments.
18811         * math/libm-test.inc (casin_test): Add more tests.
18812         (casinh_test): Likewise.
18813         * sysdeps/i386/fpu/libm-test-ulps: Update.
18814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18816 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
18818         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18819         (__x86_64_raw_data_cache_size): Likewise.
18820         (__x86_64_data_cache_size_half): Likewise.
18821         (__x86_64_raw_data_cache_size_half): Likewise.
18822         (__x86_64_shared_cache_size): Likewise.
18823         (__x86_64_raw_shared_cache_size): Likewise.
18824         (__x86_64_shared_cache_size_half): Likewise.
18825         (__x86_64_raw_shared_cache_size_half): Likewise.
18826         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18827         to ...
18828         (__x86_data_cache_size): This.
18829         (__x86_64_raw_data_cache_size): Renamed to ...
18830         (__x86_raw_data_cache_size): This.
18831         (__x86_64_data_cache_size_half): Renamed to ...
18832         (__x86_data_cache_size_half): This.
18833         (__x86_64_raw_data_cache_size_half): Renamed to ...
18834         (__x86_raw_data_cache_size_half): This.
18835         (__x86_64_shared_cache_size): Renamed to ...
18836         (__x86_shared_cache_size): This.
18837         (__x86_64_raw_shared_cache_size): Renamed to ...
18838         (__x86_raw_shared_cache_size): This.
18839         (__x86_64_shared_cache_size_half): Renamed to ...
18840         (__x86_shared_cache_size_half): This.
18841         (__x86_64_raw_shared_cache_size_half): Renamed to ...
18842         (__x86_raw_shared_cache_size_half): This.
18843         * sysdeps/x86_64/memcpy.S: Updated.
18844         * sysdeps/x86_64/memset.S: Likewise.
18845         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18846         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18847         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18849 2013-01-04  David S. Miller  <davem@davemloft.net>
18851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18853 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
18855         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18856         1 to avoid redefinition warning.
18857         (__USE_GNU): Don't define.
18858         (init_signaling_nan): Protoize.
18860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18862 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18864         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18865         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18866         (__cpymn): Likewise.
18867         (norm): Remove commented code.
18868         (denorm): Likewise.
18869         (__mp_dbl): Likewise.
18870         (__inv): Likewise.
18871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18872         (__cpymn): Likewise.
18873         (norm): Remove commented code.
18874         (denorm): Likewise.
18875         (__mp_dbl): Likewise.
18876         (__inv): Likewise.
18878         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18879         mp_no value for 1.0 and 2.0.
18880         (norm): Use RADIXI instead of radixi.d.
18881         (denorm): Likewise.
18882         (__mul): Use 0.0 instead of zero.d.
18883         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18884         mp_no value for 1.0 and 2.0.
18885         (norm): Use RADIXI instead of radixi.d.
18886         (denorm): Likewise.
18887         (__mul): Use 0.0 instead of zero.d.
18889 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
18891         [BZ #14994]
18892         * math/s_casinh.c (__casinh): Reduce finite argument to first
18893         quadrant then set signs of results at the end.
18894         * math/s_casinhf.c (__casinhf): Likewise.
18895         * math/s_casinhl.c (__casinhl): Likewise.
18896         * math/libm-test.inc (casin_test): Add more tests.
18897         (casinh_test): Likewise.
18898         * sysdeps/i386/fpu/libm-test-ulps: Update.
18899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18901 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18903         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18905         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18907         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18908         declarations.
18909         (denorm): Likewise.
18910         (__mp_dbl): Likewise.
18911         (__inv): Likewise.
18913         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18914         and adjust the header comment.
18916         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18917         variable name from declaration.
18919 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
18921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18922         Initialize COMMON_CPUID_INDEX_7 element.
18923         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18924         (CPUID_RTM): Likewise.
18925         (HAS_RTM): Likewise.
18926         (COMMON_CPUID_INDEX_7): New enum.
18928 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
18930         [BZ #14981]
18931         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18932         size is zero, record memory as freed.
18934 2013-01-03  Andreas Jaeger  <aj@suse.de>
18936         * po/ia.po: Add new Interlingua translation.
18938 2012-01-03  Allan McRae  <allan@archlinux.org>
18940         * locale/programs/localedef.c: Fix description of '--posix' flag.
18942 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
18944         * NEWS: Update dates in second copyright notice.
18945         * README: Update copyright dates in example.
18946         * manual/libc.texinfo: Update copyright dates.
18947         * scripts/test-installation.pl: Update copyright date in --version
18948         output.
18950         * hurd/ctty-input.c: Fix copyright notice formatting.
18951         * hurd/ctty-output.c: Likewise.
18952         * hurd/dtable.c: Likewise.
18953         * hurd/hurd-raise.c: Likewise.
18954         * hurd/hurdprio.c: Likewise.
18955         * hurd/msgportdemux.c: Likewise.
18956         * misc/sys/file.h: Likewise.
18957         * misc/sys/ioctl.h: Likewise.
18958         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18959         * sysdeps/mach/hurd/chdir.c: Likewise.
18960         * sysdeps/mach/hurd/fchdir.c: Likewise.
18961         * sysdeps/mach/hurd/rename.c: Likewise.
18962         * sysdeps/mach/hurd/rmdir.c: Likewise.
18963         * sysdeps/mach/hurd/seekdir.c: Likewise.
18964         * sysdeps/mach/hurd/setsid.c: Likewise.
18965         * sysdeps/posix/wait3.c: Likewise.
18967         * All files with FSF copyright notices: Update copyright dates
18968         using scripts/update-copyrights.
18969         * intl/plural.c: Regenerated.
18970         * locale/programs/charmap-kw.h: Likewise.
18971         * locale/programs/locfile-kw.h: Likewise.
18973 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18975         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18976         four values.
18978         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18979         calculation loop and add branch prediction.
18981         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18982         check access beyond bounds of m1np.
18984         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18985         MPTWO.
18986         (__inv): Remove local variable MPTWO to use the global
18987         constant.
18988         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18989         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18990         variable MPTWO.
18991         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18992         MP3HALFS static const.
18994 2013-01-01  David S. Miller  <davem@davemloft.net>
18996         * po/ca.po: Update from translation team.
18998 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
19000         * scripts/update-copyrights: New file.
19001         * Makeconfig: Reformat copyright notice.
19002         * ctype/ctype.h: Likewise.
19003         * debug/swprintf_chk.c: Likewise.
19004         * elf/dl-cache.c: Likewise.
19005         * elf/dl-debug.c: Likewise.
19006         * elf/dl-object.c: Likewise.
19007         * grp/initgroups.c: Likewise.
19008         * hurd/Makefile: Likewise.
19009         * hurd/hurd/signal.h: Likewise.
19010         * hurd/hurdfault.c: Likewise.
19011         * hurd/hurdioctl.c: Likewise.
19012         * hurd/hurdlookup.c: Likewise.
19013         * hurd/intr-msg.c: Likewise.
19014         * iconv/gconv_open.c: Likewise.
19015         * libio/swprintf.c: Likewise.
19016         * locale/lc-ctype.c: Likewise.
19017         * locale/nl_langinfo.c: Likewise.
19018         * mach/Machrules: Likewise.
19019         * mach/Makefile: Likewise.
19020         * malloc/obstack.h: Likewise.
19021         * manual/Makefile: Likewise.
19022         * manual/tsort.awk: Likewise.
19023         * misc/bits/stab.def: Likewise.
19024         * nis/nis_print_group_entry.c: Likewise.
19025         * nis/nis_table.c: Likewise.
19026         * nis/nss_compat/compat-pwd.c: Likewise.
19027         * nis/nss_compat/compat-spwd.c: Likewise.
19028         * po/Makefile: Likewise.
19029         * posix/fnmatch.c: Likewise.
19030         * posix/regex.h: Likewise.
19031         * resolv/Makefile: Likewise.
19032         * resolv/nss_dns/dns-network.c: Likewise.
19033         * resolv/res_hconf.c: Likewise.
19034         * scripts/gen-sorted.awk: Likewise.
19035         * soft-fp/soft-fp.h: Likewise.
19036         * stdio-common/printf.h: Likewise.
19037         * stdlib/monetary.h: Likewise.
19038         * stdlib/random.c: Likewise.
19039         * stdlib/random_r.c: Likewise.
19040         * sysdeps/generic/Makefile: Likewise.
19041         * sysdeps/gnu/Makefile: Likewise.
19042         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19043         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19044         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19045         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19046         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19047         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19048         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19049         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19050         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19051         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19052         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19053         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19054         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19055         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19056         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19057         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19058         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19059         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19060         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19061         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19062         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19063         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19064         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19065         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19066         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19067         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19068         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19069         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19070         * sysdeps/mach/hurd/errnos.awk: Likewise.
19071         * sysdeps/mach/hurd/fork.c: Likewise.
19072         * sysdeps/mach/hurd/getcwd.c: Likewise.
19073         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19074         * sysdeps/mach/hurd/mmap.c: Likewise.
19075         * sysdeps/mach/hurd/utimes.c: Likewise.
19076         * sysdeps/mach/hurd/xmknod.c: Likewise.
19077         * sysdeps/posix/profil.c: Likewise.
19078         * sysdeps/posix/readdir_r.c: Likewise.
19079         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19080         * sysdeps/powerpc/bits/setjmp.h: Likewise.
19081         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19082         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19083         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19084         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19085         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19086         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19087         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19088         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19089         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19090         * sysdeps/pthread/lio_listio.c: Likewise.
19091         * sysdeps/sparc/dl-procinfo.h: Likewise.
19092         * sysdeps/unix/i386/sysdep.S: Likewise.
19093         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19094         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19095         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19096         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19098         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19099         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19100         * sysdeps/unix/sysv/linux/speed.c: Likewise.
19101         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19102         * sysdeps/wordsize-32/divdi3.c: Likewise.
19103         * time/sys/time.h: Likewise.
19104         * wcsmbs/Makefile: Likewise.
19106 2013-01-01  David S. Miller  <davem@davemloft.net>
19108         * po/fr.po: Update from translation team.
19110         * catgets/gencat.c: Update copyright year.
19111         * csu/version.c: Likewise.
19112         * debug/catchsegv.sh: Likewise.
19113         * debug/pcprofiledump.c: Likewise.
19114         * debug/xtrace.sh: Likewise.
19115         * elf/ldconfig.c: Likewise.
19116         * elf/ldd.bash.in: Likewise.
19117         * elf/pldd.c: Likewise.
19118         * elf/sotruss.ksh: Likewise.
19119         * elf/sprof.c: Likewise.
19120         * iconv/iconv_prog.c: Likewise.
19121         * iconv/iconvconfig.c: Likewise.
19122         * locale/programs/locale.c: Likewise.
19123         * locale/programs/localedef.c: Likewise.
19124         * login/programs/pt_chown.c: Likewise.
19125         * malloc/memusage.sh: Likewise.
19126         * malloc/memusagestat.c: Likewise.
19127         * malloc/mtrace.pl: Likewise.
19128         * nscd/nscd.c: Likewise.
19129         * nss/getent.c: Likewise.
19130         * nss/makedb.c: Likewise.
19131         * posix/getconf.c: Likewise.
19133 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19135         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19136         numbers.
19138 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
19140         * math/bits/mathcalls.h (modf): Use __nonnull.
19142 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19144         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19145         (split): Use macro CN instead of the bare value.
19146         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19147         could be used.
19148         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19149         instead of the bare value.
19150         (power1): Likewise.
19152 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19154         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19155         __ATAN_TWOM.
19156         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19158         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19159         their values.
19160         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19161         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19162         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19163         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19165 2012-12-28  Andreas Jaeger  <aj@suse.de>
19167         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
19168         values are from Linux 3.7.
19170         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19171         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
19173 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19175         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19176         TRUE case.
19178         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19179         (norm): Likewise.
19180         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19181         variables with preprocessor constants.
19182         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19183         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19184         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19186 2012-12-27  Bruno Haible  <bruno@clisp.org>
19188         [BZ #14317]
19189         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19190         only if needed.
19192 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19194         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19195         and use variable directly.
19196         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19198         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19199         MPONE.
19200         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19201         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19202         variable MPONE.
19203         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19205         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19206         include directive.  Remove local variable MPONE.
19207         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19208         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19209         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19211 2012-12-25  David S. Miller  <davem@davemloft.net>
19213         * version.h (RELEASE): Set to "development".
19214         (VERSION): Set to "2.17.90".
19215         * NEWS: Add 2.18 section.
19217 2012-12-21  David S. Miller  <davem@davemloft.net>
19219         * po/hr.po: Update from translation team.
19221 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19223         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19225 2012-12-19  Steve Ellcey  <sellcey@mips.com>
19227         * NEWS:  Mention new memcpy for MIPS.
19229 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19231         * manual/contrib.texi (Contributors): Spelling correction.
19233 2012-12-15  David S. Miller  <davem@davemloft.net>
19235         * po/ru.po: Update from translation team.
19237 2012-12-13  David S. Miller  <davem@davemloft.net>
19239         * NEWS: Mention IFUNC testsuite enhancements.
19241         * po/pl.po: Update from translation team.
19242         * po/bg.po: Likewise.
19244         * manual/contrib.texi (Contributors): Update entries for Hongjiu
19245         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
19247 2012-12-11  David S. Miller  <davem@davemloft.net>
19249         * po/sv.po: Update from translation team.
19251         * po/vi.po: Update from translation team.
19253         * po/cs.po: Update from translation team.
19255         * po/de.po: Update from translation team.
19256         * po/eo.po: Likewise.
19257         * po/nl.po: Likewise.
19259 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19261         [BZ #14246]
19262         * manual/argp.texi (Argp Helper Functions): Move node to follow
19263         Argp Parsing State.
19265         [BZ #14872]
19266         * manual/conf.texi (Limits on File System Capacity): Mention if
19267         terminating null is included in the max size.
19269 2012-12-10  Andreas Jaeger  <aj@suse.de>
19271         * po/cs.po: Update from translation team.
19273 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19275         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19276         void pointer and cast to uintptr_t.
19277         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19278         path.
19279         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19280         * sysdeps/s390/s390-64/memset.S: Likewise.
19282 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
19284         [BZ #14833]
19285         * menual/message.texi (Message Translation): Fix typos.
19286         (Helper programs for gettext): Likewise.
19288 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
19290         [BZ #14898]
19291         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19292         Change to -1.
19294 2012-12-07  David S. Miller  <davem@davemloft.net>
19296         * po/libc.pot: Update.
19298 2012-12-07  Richard Henderson  <rth@redhat.com>
19300         [BZ #10114]
19301         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19302         normal/normal case to before the switch.
19303         (_FP_DIV): Likewise.
19305 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
19306             Mike Frysinger  <vapier@gentoo.org>
19308         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19309         check for __NR_fadvise64_64.
19311 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
19313         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19314         0, not just to plain "0" as a statement.
19315         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19316         with cw.
19318 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
19320         * NEWS: Use sourceware.org in Bugzilla URL.
19322 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19325         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19327         * stdio-common/tst-put-error.c (do_test): Add newline to the
19328         padded test to ensure flush.
19330 2012-12-05  Jeff Law  <law@redhat.com>
19332         * sunrpc/etc.rpc (fedfs_admin): Add entry.
19334 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
19336         * README: Don't refer to ports add-on as distributed separately.
19337         Mention AArch64 in list of systems supported in the ports add-on.
19339         * LICENSES: Add more non-FSF copyright and license notices.
19341         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19342         ((unused)).
19344         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19346         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19347         10000 as width of padded output.
19349 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19351         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19353         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19354         variable LX with __attribute__ ((unused)).
19355         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19356         Likewise.
19357         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19358         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19359         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19360         with __attribute__ ((unused)).
19362 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
19364         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19366 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19368         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19369         (CFLAGS-nldbl-acos.c): New variable.
19370         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19371         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19372         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19373         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19374         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19375         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19376         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19377         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19378         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19379         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19380         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19381         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19382         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19383         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19384         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19385         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19386         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19387         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19388         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19389         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19390         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19391         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19392         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19393         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19394         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19395         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19396         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19397         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19398         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19399         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19400         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19401         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19402         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19403         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19404         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19405         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19406         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19407         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19408         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19409         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19410         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19411         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19412         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19413         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19414         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19415         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19416         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19417         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19418         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19419         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19420         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19421         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19422         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19423         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19424         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19425         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19426         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19427         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19428         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19429         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19430         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19431         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19432         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19433         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19434         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19435         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19436         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19437         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19438         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19439         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19440         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19441         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19442         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19443         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19444         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19445         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19446         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19447         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19448         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19449         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19450         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19451         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19452         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19453         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19454         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19455         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19456         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19457         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19458         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19459         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19460         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19461         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19462         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19463         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19464         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19465         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19466         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19469         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19471         [BZ #14914]
19472         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19473         whole low double instead of just low 47 bits when splitting values
19474         into two parts.
19476 2012-12-03  Allan McRae  <allan@archlinux.org>
19478         * manual/stdio.texi (Predefined Printf Handlers): Remove
19479         @hsep and @vsep usage.
19481 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
19483         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19484         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19486 2012-12-03  Jeff Law  <law@redhat.com>
19488         * time/sys/time.h (settimeofday): Do not mark TV argument
19489         as __nonnull.
19491 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
19493         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19494         when currently writing and seek to current position when not.
19495         * libio/Makefile (tests): Remove bug-fclose1.
19496         * libio/bug-fclose1.c: Delete.
19498 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
19500         * manual/arith.texi (feenableexcept): Fix typo.
19501         (fedisableexcept): Likewise.
19503 2012-11-30  Roland McGrath  <roland@hack.frob.com>
19505         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19506         second, differently-typed declaration, rather than a cast.
19508 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19510         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19511         * include/rpc/svc.h: ... here.
19513 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
19515         [BZ #13013]
19516         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19517         depending n and resplen2 to catch cases where answer
19518         equals answerp2.
19520 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
19522         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19523         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19525 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
19527         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19529 2012-11-29  Roland McGrath  <roland@hack.frob.com>
19531         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19533 2012-11-28  Jeff Law  <law@redhat.com>
19535         [BZ #13761]
19536         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19537         dataset_temporary.  Track alloca usage into alloca_used.
19538         If dataset is large allocate and release it via malloc/free.
19540 2012-06-04  Florian Weimer  <fweimer@redhat.com>
19542         [BZ #14197]
19543         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19545 2012-11-28  David S. Miller  <davem@davemloft.net>
19547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19549 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19551         [BZ #14803]
19552         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19553         of pi/2 rounded to nearest to 64 bits.
19554         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19555         nearest to 64 bits.
19556         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19557         bits.
19559 2012-11-28  Jeff Law <law@redhat.com>
19560             Martin Osvald <mosvald@redhat.com>
19562         [BZ #14889]
19563         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19564         * sunrpc/svc.c: Include time.h.
19565         (__svc_accept_failed): New function.
19566         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19567         any reason other than EINTR, call __svc_accept_failed.
19568         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19569         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19571 2012-11-28  Andreas Schwab  <schwab@suse.de>
19573         * scripts/abilist.awk: Also handle indirect functions in .opd
19574         section.
19576 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19578         [BZ #13881]
19579         * sysdeps/x86/fpu/powl_helper.c: New file.
19580         * sysdeps/x86/fpu/Makefile: Likewise.
19581         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19582         (p3): New object.
19583         (__ieee754_powl): Use __powl_helper for finite arguments except
19584         integer exponents below 8.
19585         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19586         (p3): New object.
19587         (__ieee754_powl): Use __powl_helper for finite arguments except
19588         integer exponents below 8.
19589         * math/libm-test.inc (pow_test): Add more tests and enable some
19590         previously disabled tests.
19591         * sysdeps/i386/fpu/libm-test-ulps: Update.
19592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19594 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19595             Carlos O'Donell  <carlos_odonell@mentor.com>
19597         * nss/makedb.c (is_prime): Assert that input is odd and greater
19598         than 4.  Note that fact in a comment too.
19599         (next_prime): Add 4 to input.
19601 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19603         [BZ #11741]
19604         * libio/Makefile (tests): Add test case tst-fwrite-error.
19605         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19606         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19607         * libio/tst-fwrite-error.c: New test case.
19609 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
19611         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19612         before casting to void *.
19613         * include/libc-internal.h (__pointer_type): New macro.
19614         (__integer_if_pointer_type_sub): Likewise.
19615         (__integer_if_pointer_type): Likewise.
19616         (cast_to_integer): Likewise.
19617         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19618         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19619         before casting to atomic64_t.
19620         (atomic_exchange_acq): Likewise.
19621         (__arch_exchange_and_add_body): Likewise.
19622         (__arch_add_body): Likewise.
19623         (atomic_add_negative): Likewise.
19624         (atomic_add_zero): Likewise.
19626 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
19628         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19629         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19630         (add_fdes): Likewise.
19631         (linear_search_fdes): Likewise.
19632         (binary_search_unencoded_fdes): Likewise.
19634 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
19636         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19638 2012-11-24  Adam Conrad  <adconrad@0c3.net>
19640         * configure.in: Autodetect C++ header directories.
19641         * configure: Regenerated.
19643 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
19645         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19647 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
19649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19651 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
19653         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19654         LDBL_MANT_DIG == 106]: Disable some tests.
19655         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19656         Likewise.
19657         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19658         Likewise.
19660         [BZ #14871]
19661         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19662         input for small inputs.  Return +/- pi/2 for large inputs.
19663         * math/libm-test.inc (atan_test): Add more tests.
19665         * sysdeps/generic/unwind-dw2-fde-glibc.c
19666         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19667         __attribute__ ((unused)).
19669         [BZ #14645]
19670         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19671         x * y if x and y are nonzero and z is zero.
19673         [BZ #14811]
19674         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19675         nonzero exponents with absolute value below 0x1p-117 to +/-
19676         0x1p-117.
19678         [BZ #14869]
19679         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19680         up arguments below 2**-450, not just those below 2**-500.
19681         * math/libm-test.inc (hypot_test): Add another test.
19683         [BZ #14868]
19684         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19685         Return a+b for ratio over 2**120, not 2**60.
19686         * math/libm-test.inc (hypot_test): Add another test.
19688         * math/libm-test.inc (clog_test): Use
19689         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19690         (clog10_test): Likewise.
19692         [BZ #6778]
19693         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19695 2012-11-22  Andreas Schwab  <schwab@suse.de>
19697         * sysdeps/i386/fpu/libm-test-ulps: Update.
19699 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
19701         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19702         printf output with newline.
19704 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
19706         [BZ #14865]
19707         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19708         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19709         -z nodlopen, -z initfirst and -z execstack support.
19710         * configure: Regenerated.
19712         * elf/elf.h (DF_1_NODIRECT): New macro.
19713         (DF_1_IGNMULDEF): Likewise.
19714         (DF_1_NOKSYMS): Likewise.
19715         (DF_1_NOHDR): Likewise.
19716         (DF_1_EDITED): Likewise.
19717         (DF_1_NORELOC): Likewise.
19718         (DF_1_SYMINTPOSE): Likewise.
19719         (DF_1_GLOBAUDIT): Likewise.
19720         (DF_1_SINGLETON): Likewise.
19721         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19722         DT_1_SUPPORTED_MASK bits.
19723         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19725 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
19727         * sysdeps/unix/make-syscalls.sh: Document prefixes.
19729 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
19731         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19732         macro.
19734         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19735         (sendmmsg): Move declarations...
19736         * socket/sys/socket.h: ... here.
19737         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19738         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19739         include it from...
19740         * socket/recvmmsg.c: ... this new file.
19741         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19742         (sendmmsg): Rename to __sendmmsg, create weak alias and make
19743         definition of __sendmmsg hidden.
19744         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19745         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19746         Move ENOSYS stub into and include it from...
19747         * socket/sendmmsg.c: ... this new file.
19748         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19749         (sysdep_routines): Move recvmmsg and sendmmsg...
19750         * socket/Makefile (routines): ... here.
19751         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19752         (GLIBC_PRIVATE): Add __sendmmsg.
19753         * include/sys/socket.h (__sendmmsg): Add declarations.
19754         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19755         sendmmsg.
19757 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
19759         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19760         variable I1 with __attribute__ ((unused)).
19761         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19763 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19765         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19766         DUMMY variables with __attribute__ ((unused)).
19768         * bits/byteswap.h: Include <bits/types.h>.
19769         (__bswap_64): Use __uint64_t instead of unsigned long long int.
19771 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19773         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19774         string_t.  Do not manually set errno.
19775         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19776         length with __strnlen.  Make sure to both set errno and return it on
19777         failure.
19779 2012-11-19  David S. Miller  <davem@davemloft.net>
19781         With help from Joseph Myers.
19782         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19783         very large arguments properly.
19784         * math/libm-test.inc (atan_test): New tests.
19785         (atan2_test): New tests.
19786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19789 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19791         [BZ #14856]
19792         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19793         Define to 3.
19795         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19796         [POSIX] (EADDRNOTAVAIL): Likewise.
19797         [POSIX] (EAFNOSUPPORT): Likewise.
19798         [POSIX] (EALREADY): Likewise.
19799         [POSIX] (ECONNABORTED): Likewise.
19800         [POSIX] (ECONNREFUSED): Likewise.
19801         [POSIX] (ECONNRESET): Likewise.
19802         [POSIX] (EDESTADDRREQ): Likewise.
19803         [POSIX] (EDQUOT): Likewise.
19804         [POSIX] (EHOSTUNREACH): Likewise.
19805         [POSIX] (EIDRM): Likewise.
19806         [POSIX] (EISCONN): Likewise.
19807         [POSIX] (ELOOP): Likewise.
19808         [POSIX] (EMULTIHOP): Likewise.
19809         [POSIX] (ENETDOWN): Likewise.
19810         [POSIX] (ENETUNREACH): Likewise.
19811         [POSIX] (ENOBUFS): Likewise.
19812         [POSIX] (ENODATA): Likewise.
19813         [POSIX] (ENOLINK): Likewise.
19814         [POSIX] (ENOMSG): Likewise.
19815         [POSIX] (ENOPROTOOPT): Likewise.
19816         [POSIX] (ENOSR): Likewise.
19817         [POSIX] (ENOSTR): Likewise.
19818         [POSIX] (ENOTCONN): Likewise.
19819         [POSIX] (ENOTSOCK): Likewise.
19820         [POSIX] (EOPNOTSUPP): Likewise.
19821         [POSIX] (EOVERFLOW): Likewise.
19822         [POSIX] (EPROTO): Likewise.
19823         [POSIX] (EPROTONOSUPPORT): Likewise.
19824         [POSIX] (EPROTOTYPE): Likewise.
19825         [POSIX] (ESTALE): Likewise.
19826         [POSIX] (ETIME): Likewise.
19827         [POSIX] (ETXTBSY): Likewise.
19828         [POSIX] (EWOULDBLOCK): Likewise.
19829         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19830         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19831         [POSIX] (SEEK_CUR): Likewise.
19832         [POSIX] (SEEK_END): Likewise.
19833         [POSIX || UNIX98] (mode_t): Do not require.
19834         [POSIX] (off_t): Likewise.
19835         [POSIX] (pid_t): Likewise.
19836         [POSIX] (sys/stat.h): Do not allow header.
19837         [POSIX] (unistd.h): Likewise.
19838         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19839         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19840         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19841         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19842         require.
19843         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19844         sigevent): Specify elements.
19845         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19846         entry.
19847         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19848         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19850         * conform/data/cpio.h-data [POSIX]: Disable whole file.
19851         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19852         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19853         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19854         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19855         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19856         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19857         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19858         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19859         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19860         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19861         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19862         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19863         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19864         Likewise.
19865         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19866         Likewise.
19867         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19868         Likewise.
19869         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19870         Likewise.
19871         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19872         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19873         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19874         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19875         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19876         Specify lower bound on value.
19877         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19878         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19879         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19880         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19881         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19882         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19883         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19884         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19885         value.
19886         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19887         as optional.
19888         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19889         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19890         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19891         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19892         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19893         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19894         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19895         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19896         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19897         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19898         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19899         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19900         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19901         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19902         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19903         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19904         entry.
19905         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19906         optional.
19907         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19908         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19909         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19910         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19911         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19912         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19913         Likewise.
19914         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19915         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19916         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19917         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19918         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
19919         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19920         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19921         as optional.
19922         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19923         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19924         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19925         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19926         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19927         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19928         specify as optional.
19929         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19930         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19931         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19932         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19933         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19934         [XPG3] (NL_LANGMAX): Likewise.
19935         [POSIX || XPG3] (NL_MSGMAX): Likewise.
19936         [POSIX || XPG3] (NL_NMAX): Likewise.
19937         [POSIX || XPG3] (NL_SETMAX): Likewise.
19938         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19939         [XPG3] (NZERO): Likewise.
19940         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19941         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19942         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19943         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19944         (REG_ERANGE): Expect.
19945         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19946         optional-constant.
19947         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19948         Use (void) in prototype.
19949         [POSIX] (*_t): Allow.
19950         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19951         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19952         (WRDE_BADVAL): Expect.
19954         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19955         expect.
19956         [XPG3 || XPG4] (O_RSYNC): Likewise.
19957         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19958         Likewise.
19959         [XPG3 || XPG4] (pthread_sigmask): Likewise.
19960         [XPG3 || XPG4] (sigqueue): Likewise.
19961         [XPG3 || XPG4] (sigtimedwait): Likewise.
19962         [XPG3 || XPG4] (sigwaitinfo): Likewise.
19963         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19964         [XPG3 || XPG4] (vsnprintf): Likewise.
19965         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19966         Likewise.
19967         [XPG3 || XPG4] (blksize_t): Likewise.
19968         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19969         Likewise.
19970         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19971         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19972         [XPG3 || XPG4] (struct itimerspec): Likewise.
19973         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19974         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19975         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19976         [XPG3 || XPG4] (clockid_t): Likewise.
19977         [XPG3 || XPG4] (timer_t): Likewise.
19978         [XPG3 || XPG4] (clock_getres): Likewise.
19979         [XPG3 || XPG4] (clock_gettime): Likewise.
19980         [XPG3 || XPG4] (clock_settime): Likewise.
19981         [XPG3 || XPG4] (nanosleep): Likewise.
19982         [XPG3 || XPG4] (timer_create): Likewise.
19983         [XPG3 || XPG4] (timer_delete): Likewise.
19984         [XPG3 || XPG4] (timer_gettime): Likewise.
19985         [XPG3 || XPG4] (timer_getoverrun): Likewise.
19986         [XPG3 || XPG4] (timer_settime): Likewise.
19987         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19988         [XPG3 || XPG4] (getlogin_r): Likewise.
19989         [XPG3 || XPG4] (pread): Likewise.
19990         [XPG3 || XPG4] (pthread_atfork): Likewise.
19991         [XPG3 || XPG4] (pwrite): Likewise.
19993         [BZ #14835]
19994         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19995         <bits/siginfo.h>.
19997 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19999         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20000         finalizing MALLSTREAM.
20002         * sysdeps/mach/hurd/syncfs.c: New file.
20004 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20006         [BZ #14719]
20007         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20008         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20009         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20010         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20011         (_nss_dns_gethostbyname4_r): Likewise.
20012         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20013         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20015 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
20017         [BZ #13763]
20018         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20020 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
20022         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20023         * elf/cache.c (print_entry): Print ",AArch64" for
20024         FLAG_AARCH64_LIB64
20026         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20027         * elf/cache.c (print_entry): Print ",hard-float" for
20028         FLAG_ARM_LIBHF.
20030 2012-11-18  David S. Miller  <davem@davemloft.net>
20032         With help from Joseph Myers.
20033         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20034         cutoff to 2**-13.
20035         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20036         cutoff to 2**-25.
20037         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20038         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20039         small.
20040         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20041         * math/libm-test.inc (y0_test): New tests.
20042         (y1_test): New tests.
20043         * sysdeps/i386/fpu/libm-test-ulps: Update.
20044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20047 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
20049         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20050         64-bit targets.
20051         * configure: Regenerated.
20053 2012-11-17  David S. Miller  <davem@davemloft.net>
20055         [BZ #14811]
20056         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20057         nonzero exponents with absolute value below 0x1p-128 to +/-
20058         0x1p-128.
20060 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
20062         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20064         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20066         * posix/getconf-speclist.c: New file.
20067         * posix/posix-envs.def: Likewise.
20068         * posix/confstr.c (START_ENV_GROUP): New macro.
20069         (END_ENV_GROUP): Likewise.
20070         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20071         (KNOWN_PRESENT_ENV_STRING): Likewise.
20072         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20073         (UNKNOWN_ENVIRONMENT): Likewise.
20074         (confstr): Include posix-envs.def instead of handling
20075         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20076         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20077         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20078         (END_ENV_GROUP): Likewise.
20079         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20080         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20081         (UNKNOWN_ENVIRONMENT): Likewise.
20082         (__sysconf): Include posix-envs.def instead of handling associated
20083         cases directly here.
20084         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20085         preprocessing getconf-speclist.c rather than running getconf or
20086         generating empty file.
20088 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
20090         * scripts/check-local-headers.sh: Ignore 'mach' headers.
20092 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
20094         [BZ #14672]
20095         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20097 2012-11-16  David S. Miller  <davem@davemloft.net>
20099         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20100         smaller than LDBL_EPSILON/2.0L, just return xm1.
20102 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
20104         * elf/tst-array1.c (init): Set constructor priority to 1000.
20105         (fini): Set destructor priority to 1000.
20106         * elf/tst-array2dep.c: Likewise.
20108 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20110         [BZ #11741]
20111         * libio/fileops.c (_IO_new_file_write): Correctly return error.
20112         (_IO_new_file_xsputn): Also return EOF if none of the input
20113         data was written when overflow failed.
20114         * libio/iopadn.c (_IO_padn): Likewise.
20115         * libio/iowpadn.c (_IO_wpadn): Likewise.
20116         * stdio-common/tst-put-error.c: Add copyright notice.
20117         (do_test): Add case for printing padded string.
20118         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20119         _IO_padn returned error.
20120         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20121         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20122         return EOF.
20124 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20126         * libio/libioP.h: Add comment note that the references to C++
20127         bits are now obsolete.
20129 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20131         * math/libm-test.inc (check_complex): Use asprintf.
20133 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
20135         * debug/pcprofiledump.c (print_version): Update copyright year.
20136         * malloc/memusagestat.c (print_version): Likewise.
20138 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20140         [BZ #14831]
20141         * elf/Makefile (tests): Add tst-audit8.
20142         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20143         ($(objpfx)tst-audit8.out): New target.
20144         (tst-audit8-ENV): New variable.
20145         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20146         audit if l_reloc_result is NULL.
20147         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20148         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20149         * elf/tst-audit8.c: New file.
20151 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20153         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20154         * misc/Makefile (CFLAGS-select.c): Define.
20155         * posix/Makefile (CFLAGS-pause.c): Define.
20157 2012-11-13  David S. Miller  <davem@davemloft.net>
20159         * crypt/Makefile: Move test targets after toplevel Rules
20160         inclusion.  Grab any necessary sysdep routines when linking.
20161         * crypt/md5.c (md5_process_block): Remove define, we will always
20162         name it __md5_process_block.
20163         (md5_finish_ctx): Update md5_process_block call.
20164         (md5_stream): Likewise.
20165         (md5_process_bytes): Likewise.
20166         (md5_process_block): Rename to __md5_process_block and move to ...
20167         * crypt/md5-block.c: ... here.
20168         * crypt/sha256.c (sha256_process_block): Move to ...
20169         * crypt/sha256-block.c: ... here.
20170         * crypt/sha512.c (sha512_process_block): Move to ...
20171         * crypt/sha512-block.c: ... here.
20172         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20173         path.
20174         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20175         * sysdeps/sparc/sparc64/multiarch/Makefile
20176         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20177         crypt subdir.
20178         (localedef-aux): Add md5 crypto assembler when in locale subdir.
20179         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20180         multiarch changes.
20181         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20182         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20183         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20184         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20185         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20186         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20187         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20188         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20189         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20190         file.
20191         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20192         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20193         file.
20194         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20196 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
20198         * timezone/tzselect.ksh: Update from tzcode git revision
20199         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20200         * timezone/zdump.c: Likewise.
20201         * timezone/zic.c: Likewise.
20202         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20203         in TZVERSION setting, not $(PKGVERSION).
20204         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
20205         REPORT_BUGS_TO settings.
20207         [BZ #14838]
20208         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20209         macro.
20211 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20213         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20214         detection to immediately after _FP_ROUND().
20215         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20216         bits are 0.
20218 2012-11-11  David S. Miller  <davem@davemloft.net>
20220         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20221         inttypes.h
20222         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20223         __close rather than their public counterparts.
20225 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
20227         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20228         file.
20229         [UNIX98] (sem_timedwait): Do not expect.
20230         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20231         [XPG4 || UNIX98] (sockatmark): Do not expect.
20232         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20233         (clock_getcpuclockid): Do not expect.
20234         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20235         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20236         Do not expect.
20237         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20238         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20239         [UNIX98] (vwscanf): Likewise.
20240         [UNIX98] (vswscanf): Likewise.
20242 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
20244         * timezone/version.h: Remove file.
20245         * timezone/README: Do not refer to version.h.
20246         * timezone/Makefile ($(objpfx)zic.o): New dependency on
20247         $(objpfx)version.h.
20248         ($(objpfx)zdump.o): Likewise.
20249         ($(objpfx)version.h): New target.
20251         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20252         2012i.
20253         * timezone/README: Don't mention modification to tzselect.ksh.
20254         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20255         work on unmodified tzselect.ksh.  Substitute version numbers in
20256         tzselect.ksh.
20258         * Makefile (format-me): Remove.
20259         (INSTALL): Adjust indentation.  Use commands directly instead of
20260         using $(format-me).
20262         * aclocal.m4 (ACX_PKGVERSION): New macro.
20263         (ACX_BUGURL): Likewise.
20264         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20265         (PKGVERSION): New AC_DEFINE_UNQUOTED.
20266         (REPORT_BUGS_TO): Likewise.
20267         * configure: Regenerated.
20268         * config.h.in (PKGVERSION): New macro.
20269         (REPORT_BUGS_TO): Likewise.
20270         * config.make.in (PKGVERSION): New variable.
20271         (PKGVERSION_TEXI): Likewise.
20272         (REPORT_BUGS_TO): Likewise.
20273         (REPORT_BUGS_TEXI): Likewise.
20274         * Makefile (format-me): Use -I$(common-objpfx)manual.
20275         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20276         ($(common-objpfx)manual/%): New target.
20277         (manual/%): Remove target.
20278         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20279         (print_version): Use PKGVERSION.
20280         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20281         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20282         and REPORT_BUGS_TO.
20283         ($(objpfx)xtrace): Likewise.
20284         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20285         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20286         (print_version): Use PKGVERSION.
20287         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20288         (do_version): Use PKGVERSION.
20289         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20290         REPORT_BUGS_TO.
20291         (common-ldd-rewrite): Likewise.
20292         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20293         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20294         (print_version): Use PKGVERSION.
20295         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20296         * elf/pldd.c (argp_program_bug_address): Remove variable.
20297         (more_help): New function.
20298         (argp): Use more_help.
20299         (print_version): Use PKGVERSION.
20300         * elf/sln.c (main): Use PKGVERSION.
20301         (usage): Use REPORT_BUGS_TO.
20302         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20303         (top level): Use PKGVERSION.
20304         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20305         (print_version): Use PKGVERSION.
20306         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20307         (print_version): Use PKGVERSION.
20308         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20309         (print_version): Use PKGVERSION.
20310         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20311         (print_version): Use PKGVERSION.
20312         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20313         (print_version): Use PKGVERSION.
20314         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20315         (print_version): Use PKGVERSION.
20316         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20317         and BUGURL.
20318         ($(objpfx)memusage): Likewise.
20319         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20320         (do_version): Use PKGVERSION.
20321         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20322         (print_version): Use PKGVERSION.
20323         * malloc/mtrace.pl ($PACKAGE): Remove variable.
20324         ($PKGVERSION): New variable.
20325         ($REPORT_BUGS_TO): Likewise.
20326         (usage): Use $REPORT_BUGS_TO.
20327         (top level): Use $PKGVERSION.
20328         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20329         ($(objpfx)pkgvers.texi): New rule.
20330         ($(objpfx)stamp-pkgvers): Likewise.
20331         * manual/install.texi: Include pkgvers.texi.
20332         (--with-pkgversion): Document new configure option.
20333         (--with-bugurl): Likewise.
20334         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20335         than necessarily for this particular distribution.  Use
20336         REPORT_BUGS_TO for where to report bugs.
20337         * INSTALL: Regenerated.
20338         * manual/libc.texinfo: Include pkgvers.texi.
20339         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20340         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20341         (print_version): Use PKGVERSION.
20342         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20343         (print_version): Use PKGVERSION.
20344         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20345         (print_version): Use PKGVERSION.
20346         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20347         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20348         macro.
20349         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20350         (print_version): Use PKGVERSION.
20351         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20352         (print_version): Use PKGVERSION.
20353         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20354         and PKGVERSION.
20356         * timezone/checktab.awk: Update from tzcode 2012i.
20357         * timezone/ialloc.c: Likewise.
20358         * timezone/private.h: Likewise.
20359         * timezone/scheck.c: Likewise.
20360         * timezone/tzfile.h: Likewise.
20361         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20362         (TZVERSION): Hardcode tzcode version number.
20363         * timezone/zdump.c: Update from tzcode 2012i.
20364         * timezone/zic.c: Likewise.
20365         * timezone/version.h: New file.
20366         * timezone/README: Describe version.h.  Update upstream location.
20368         [BZ #14824]
20369         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20370         (mktemp): Enable declaration.
20371         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20372         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20373         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20374         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20375         Likewise.
20376         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20377         Likewise.
20378         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20379         Likewise.
20380         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20381         Likewise.
20382         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20383         Likewise.
20384         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20385         Likewise.
20387         [BZ #14821]
20388         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20389         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
20390         for copies of such integer values.
20391         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20392         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20394 2012-11-09  Andreas Jaeger  <aj@suse.de>
20396         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20397         definitions and declarations that are provided by
20398         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20400 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20402         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20403         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20404         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20405         definition.
20407 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20409         * elf/elf.h: Update comment before AArch64 relocations.
20411 2012-11-07  David S. Miller  <davem@davemloft.net>
20413         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20414         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20415         (__start_context): Declare.
20416         (__makecontext_ret): Delete.
20417         (__makecontext): Hook up __start_context instead of
20418         __makecontext_ret.
20419         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20420         (sysdep_routines): Add __start_context when in stdlib.
20422 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20424         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20425         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20426         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
20427         hardcoded "nm".
20428         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
20429         (READELF): New variable.  Use it instead of hardcoded "readelf".
20431 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20433         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20434         * sysdeps/x86/Makefile: Here.
20435         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20436         * sysdeps/x86/tst-xmmymm.sh: This.
20438 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20440         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20441         expectations.
20442         [UNIX98] (pthread_barrier_t): Do not expect.
20443         [UNIX98] (pthread_barrierattr_t): Likewise.
20444         [UNIX98] (pthread_spinlock_t): Likewise.
20445         [UNIX98] (pthread_barrier_destroy): Likewise.
20446         [UNIX98] (pthread_barrier_init): Likewise.
20447         [UNIX98] (pthread_barrier_wait): Likewise.
20448         [UNIX98] (pthread_barrierattr_destroy): Likewise.
20449         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20450         [UNIX98] (pthread_barrierattr_init): Likewise.
20451         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20452         [UNIX98] (pthread_getcpuclockid): Likewise.
20453         [UNIX98] (pthread_mutex_timedlock): Likewise.
20454         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20455         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20456         [UNIX98] (pthread_sigmask): Likewise.
20457         [UNIX98] (pthread_spin_destroy): Likewise.
20458         [UNIX98] (pthread_spin_init): Likewise.
20459         [UNIX98] (pthread_spin_lock): Likewise.
20460         [UNIX98] (pthread_spin_trylock): Likewise.
20461         [UNIX98] (pthread_spin_unlock): Likewise.
20462         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20463         Do not expect.
20464         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20465         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20466         [XPG3 || XPG4] (pthread_cond_t): Likewise.
20467         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20468         [XPG3 || XPG4] (pthread_key_t): Likewise.
20469         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20470         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20471         [XPG3 || XPG4] (pthread_once_t): Likewise.
20472         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20473         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20474         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20475         [XPG3 || XPG4] (pthread_t): Likewise.
20477         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20478         not expect.
20479         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20481         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20482         Change function return type to int.
20484         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20485         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20486         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20487         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20488         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20489         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20490         [!POSIX] (posix_madvise): Likewise.
20491         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20492         && !UNIX98].
20493         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20494         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20495         (mode_t): Likewise.
20496         (posix_mem_offset): Likewise.
20497         (posix_typed_mem_get_info): Likewise.
20498         (posix_typed_mem_open): Likewise.
20500         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20501         Change condition to [XOPEN2K8].
20503         * conform/conformtest.pl: Preprocess allow-header data with -x c
20504         instead of from stdin.
20505         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20506         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20507         [C99-based standards] (cerfc): Likewise.
20508         [C99-based standards] (cexp2): Likewise.
20509         [C99-based standards] (cexpm1): Likewise.
20510         [C99-based standards] (clog10): Likewise.
20511         [C99-based standards] (clog1p): Likewise.
20512         [C99-based standards] (clog2): Likewise.
20513         [C99-based standards] (clgamma): Likewise.
20514         [C99-based standards] (ctgamma): Likewise.
20515         [C99-based standards] (cerff): Likewise.
20516         [C99-based standards] (cerfcf): Likewise.
20517         [C99-based standards] (cexp2f): Likewise.
20518         [C99-based standards] (cexpm1f): Likewise.
20519         [C99-based standards] (clog10f): Likewise.
20520         [C99-based standards] (clog1pf): Likewise.
20521         [C99-based standards] (clog2f): Likewise.
20522         [C99-based standards] (clgammaf): Likewise.
20523         [C99-based standards] (ctgammaf): Likewise.
20524         [C99-based standards] (cerfl): Likewise.
20525         [C99-based standards] (cerfcl): Likewise.
20526         [C99-based standards] (cexp2l): Likewise.
20527         [C99-based standards] (cexpm1l): Likewise.
20528         [C99-based standards] (clog10l): Likewise.
20529         [C99-based standards] (clog1pl): Likewise.
20530         [C99-based standards] (clog2l): Likewise.
20531         [C99-based standards] (clgammal): Likewise.
20532         [C99-based standards] (ctgammal): Likewise.
20533         * conform/data/inttypes.h-data [C99-based standards]: Include
20534         stdint.h-data.  Remove all expectations for stdint.h contents.
20535         [C99-based standards] (PRI*): Do not allow.
20536         [C99-based standards] (SCN*): Likewise.
20537         [C99-based standards] (*_t): Likewise.
20538         [C99-based-standards] (PRId8): Expect macro.
20539         [C99-based-standards] (PRIi8): Likewise.
20540         [C99-based-standards] (PRIo8): Likewise.
20541         [C99-based-standards] (PRIu8): Likewise.
20542         [C99-based-standards] (PRIx8): Likewise.
20543         [C99-based-standards] (PRIX8): Likewise.
20544         [C99-based-standards] (SCNd8): Likewise.
20545         [C99-based-standards] (SCNi8): Likewise.
20546         [C99-based-standards] (SCNo8): Likewise.
20547         [C99-based-standards] (SCNu8): Likewise.
20548         [C99-based-standards] (SCNx8): Likewise.
20549         [C99-based-standards] (PRIdLEAST8): Likewise.
20550         [C99-based-standards] (PRIiLEAST8): Likewise.
20551         [C99-based-standards] (PRIoLEAST8): Likewise.
20552         [C99-based-standards] (PRIuLEAST8): Likewise.
20553         [C99-based-standards] (PRIxLEAST8): Likewise.
20554         [C99-based-standards] (PRIXLEAST8): Likewise.
20555         [C99-based-standards] (SCNdLEAST8): Likewise.
20556         [C99-based-standards] (SCNiLEAST8): Likewise.
20557         [C99-based-standards] (SCNoLEAST8): Likewise.
20558         [C99-based-standards] (SCNuLEAST8): Likewise.
20559         [C99-based-standards] (SCNxLEAST8): Likewise.
20560         [C99-based-standards] (PRIdFAST8): Likewise.
20561         [C99-based-standards] (PRIiFAST8): Likewise.
20562         [C99-based-standards] (PRIoFAST8): Likewise.
20563         [C99-based-standards] (PRIuFAST8): Likewise.
20564         [C99-based-standards] (PRIxFAST8): Likewise.
20565         [C99-based-standards] (PRIXFAST8): Likewise.
20566         [C99-based-standards] (SCNdFAST8): Likewise.
20567         [C99-based-standards] (SCNiFAST8): Likewise.
20568         [C99-based-standards] (SCNoFAST8): Likewise.
20569         [C99-based-standards] (SCNuFAST8): Likewise.
20570         [C99-based-standards] (SCNxFAST8): Likewise.
20571         [C99-based-standards] (PRId16): Likewise.
20572         [C99-based-standards] (PRIi16): Likewise.
20573         [C99-based-standards] (PRIo16): Likewise.
20574         [C99-based-standards] (PRIu16): Likewise.
20575         [C99-based-standards] (PRIx16): Likewise.
20576         [C99-based-standards] (PRIX16): Likewise.
20577         [C99-based-standards] (SCNd16): Likewise.
20578         [C99-based-standards] (SCNi16): Likewise.
20579         [C99-based-standards] (SCNo16): Likewise.
20580         [C99-based-standards] (SCNu16): Likewise.
20581         [C99-based-standards] (SCNx16): Likewise.
20582         [C99-based-standards] (PRIdLEAST16): Likewise.
20583         [C99-based-standards] (PRIiLEAST16): Likewise.
20584         [C99-based-standards] (PRIoLEAST16): Likewise.
20585         [C99-based-standards] (PRIuLEAST16): Likewise.
20586         [C99-based-standards] (PRIxLEAST16): Likewise.
20587         [C99-based-standards] (PRIXLEAST16): Likewise.
20588         [C99-based-standards] (SCNdLEAST16): Likewise.
20589         [C99-based-standards] (SCNiLEAST16): Likewise.
20590         [C99-based-standards] (SCNoLEAST16): Likewise.
20591         [C99-based-standards] (SCNuLEAST16): Likewise.
20592         [C99-based-standards] (SCNxLEAST16): Likewise.
20593         [C99-based-standards] (PRIdFAST16): Likewise.
20594         [C99-based-standards] (PRIiFAST16): Likewise.
20595         [C99-based-standards] (PRIoFAST16): Likewise.
20596         [C99-based-standards] (PRIuFAST16): Likewise.
20597         [C99-based-standards] (PRIxFAST16): Likewise.
20598         [C99-based-standards] (PRIXFAST16): Likewise.
20599         [C99-based-standards] (SCNdFAST16): Likewise.
20600         [C99-based-standards] (SCNiFAST16): Likewise.
20601         [C99-based-standards] (SCNoFAST16): Likewise.
20602         [C99-based-standards] (SCNuFAST16): Likewise.
20603         [C99-based-standards] (SCNxFAST16): Likewise.
20604         [C99-based-standards] (PRId32): Likewise.
20605         [C99-based-standards] (PRIi32): Likewise.
20606         [C99-based-standards] (PRIo32): Likewise.
20607         [C99-based-standards] (PRIu32): Likewise.
20608         [C99-based-standards] (PRIx32): Likewise.
20609         [C99-based-standards] (PRIX32): Likewise.
20610         [C99-based-standards] (SCNd32): Likewise.
20611         [C99-based-standards] (SCNi32): Likewise.
20612         [C99-based-standards] (SCNo32): Likewise.
20613         [C99-based-standards] (SCNu32): Likewise.
20614         [C99-based-standards] (SCNx32): Likewise.
20615         [C99-based-standards] (PRIdLEAST32): Likewise.
20616         [C99-based-standards] (PRIiLEAST32): Likewise.
20617         [C99-based-standards] (PRIoLEAST32): Likewise.
20618         [C99-based-standards] (PRIuLEAST32): Likewise.
20619         [C99-based-standards] (PRIxLEAST32): Likewise.
20620         [C99-based-standards] (PRIXLEAST32): Likewise.
20621         [C99-based-standards] (SCNdLEAST32): Likewise.
20622         [C99-based-standards] (SCNiLEAST32): Likewise.
20623         [C99-based-standards] (SCNoLEAST32): Likewise.
20624         [C99-based-standards] (SCNuLEAST32): Likewise.
20625         [C99-based-standards] (SCNxLEAST32): Likewise.
20626         [C99-based-standards] (PRIdFAST32): Likewise.
20627         [C99-based-standards] (PRIiFAST32): Likewise.
20628         [C99-based-standards] (PRIoFAST32): Likewise.
20629         [C99-based-standards] (PRIuFAST32): Likewise.
20630         [C99-based-standards] (PRIxFAST32): Likewise.
20631         [C99-based-standards] (PRIXFAST32): Likewise.
20632         [C99-based-standards] (SCNdFAST32): Likewise.
20633         [C99-based-standards] (SCNiFAST32): Likewise.
20634         [C99-based-standards] (SCNoFAST32): Likewise.
20635         [C99-based-standards] (SCNuFAST32): Likewise.
20636         [C99-based-standards] (SCNxFAST32): Likewise.
20637         [C99-based-standards] (PRId64): Likewise.
20638         [C99-based-standards] (PRIi64): Likewise.
20639         [C99-based-standards] (PRIo64): Likewise.
20640         [C99-based-standards] (PRIu64): Likewise.
20641         [C99-based-standards] (PRIx64): Likewise.
20642         [C99-based-standards] (PRIX64): Likewise.
20643         [C99-based-standards] (SCNd64): Likewise.
20644         [C99-based-standards] (SCNi64): Likewise.
20645         [C99-based-standards] (SCNo64): Likewise.
20646         [C99-based-standards] (SCNu64): Likewise.
20647         [C99-based-standards] (SCNx64): Likewise.
20648         [C99-based-standards] (PRIdLEAST64): Likewise.
20649         [C99-based-standards] (PRIiLEAST64): Likewise.
20650         [C99-based-standards] (PRIoLEAST64): Likewise.
20651         [C99-based-standards] (PRIuLEAST64): Likewise.
20652         [C99-based-standards] (PRIxLEAST64): Likewise.
20653         [C99-based-standards] (PRIXLEAST64): Likewise.
20654         [C99-based-standards] (SCNdLEAST64): Likewise.
20655         [C99-based-standards] (SCNiLEAST64): Likewise.
20656         [C99-based-standards] (SCNoLEAST64): Likewise.
20657         [C99-based-standards] (SCNuLEAST64): Likewise.
20658         [C99-based-standards] (SCNxLEAST64): Likewise.
20659         [C99-based-standards] (PRIdFAST64): Likewise.
20660         [C99-based-standards] (PRIiFAST64): Likewise.
20661         [C99-based-standards] (PRIoFAST64): Likewise.
20662         [C99-based-standards] (PRIuFAST64): Likewise.
20663         [C99-based-standards] (PRIxFAST64): Likewise.
20664         [C99-based-standards] (PRIXFAST64): Likewise.
20665         [C99-based-standards] (SCNdFAST64): Likewise.
20666         [C99-based-standards] (SCNiFAST64): Likewise.
20667         [C99-based-standards] (SCNoFAST64): Likewise.
20668         [C99-based-standards] (SCNuFAST64): Likewise.
20669         [C99-based-standards] (SCNxFAST64): Likewise.
20670         [C99-based-standards] (PRIdMAX): Likewise.
20671         [C99-based-standards] (PRIiMAX): Likewise.
20672         [C99-based-standards] (PRIoMAX): Likewise.
20673         [C99-based-standards] (PRIuMAX): Likewise.
20674         [C99-based-standards] (PRIxMAX): Likewise.
20675         [C99-based-standards] (PRIXMAX): Likewise.
20676         [C99-based-standards] (SCNdMAX): Likewise.
20677         [C99-based-standards] (SCNiMAX): Likewise.
20678         [C99-based-standards] (SCNoMAX): Likewise.
20679         [C99-based-standards] (SCNuMAX): Likewise.
20680         [C99-based-standards] (SCNxMAX): Likewise.
20681         [C99-based-standards] (PRIdPTR): Likewise.
20682         [C99-based-standards] (PRIiPTR): Likewise.
20683         [C99-based-standards] (PRIoPTR): Likewise.
20684         [C99-based-standards] (PRIuPTR): Likewise.
20685         [C99-based-standards] (PRIxPTR): Likewise.
20686         [C99-based-standards] (PRIXPTR): Likewise.
20687         [C99-based-standards] (SCNdPTR): Likewise.
20688         [C99-based-standards] (SCNiPTR): Likewise.
20689         [C99-based-standards] (SCNoPTR): Likewise.
20690         [C99-based-standards] (SCNuPTR): Likewise.
20691         [C99-based-standards] (SCNxPTR): Likewise.
20692         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20693         allow.
20694         * conform/data/stdint.h-data: Update comments to clarify
20695         requirements.
20696         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
20697         type.
20698         [C99-based standards] (INT8_MAX): Likewise.
20699         [C99-based standards] (INT16_MIN): Likewise.
20700         [C99-based standards] (INT16_MAX): Likewise.
20701         [C99-based standards] (INT32_MIN): Likewise.
20702         [C99-based standards] (INT32_MAX): Likewise.
20703         [C99-based standards] (INT64_MIN): Likewise.
20704         [C99-based standards] (INT64_MAX): Likewise.
20705         [C99-based standards] (UINT8_MAX): Likewise.
20706         [C99-based standards] (UINT16_MAX): Likewise.
20707         [C99-based standards] (UINT32_MAX): Likewise.
20708         [C99-based standards] (UINT64_MAX): Likewise.
20709         [C99-based standards] (INT_LEAST8_MIN): Likewise.
20710         [C99-based standards] (INT_LEAST8_MAX): Likewise.
20711         [C99-based standards] (INT_LEAST16_MIN): Likewise.
20712         [C99-based standards] (INT_LEAST16_MAX): Likewise.
20713         [C99-based standards] (INT_LEAST32_MIN): Likewise.
20714         [C99-based standards] (INT_LEAST32_MAX): Likewise.
20715         [C99-based standards] (INT_LEAST64_MIN): Likewise.
20716         [C99-based standards] (INT_LEAST64_MAX): Likewise.
20717         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20718         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20719         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20720         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20721         [C99-based standards] (INT_FAST8_MIN): Likewise.
20722         [C99-based standards] (INT_FAST8_MAX): Likewise.
20723         [C99-based standards] (INT_FAST16_MIN): Likewise.
20724         [C99-based standards] (INT_FAST16_MAX): Likewise.
20725         [C99-based standards] (INT_FAST32_MIN): Likewise.
20726         [C99-based standards] (INT_FAST32_MAX): Likewise.
20727         [C99-based standards] (INT_FAST64_MIN): Likewise.
20728         [C99-based standards] (INT_FAST64_MAX): Likewise.
20729         [C99-based standards] (UINT_FAST8_MAX): Likewise.
20730         [C99-based standards] (UINT_FAST16_MAX): Likewise.
20731         [C99-based standards] (UINT_FAST32_MAX): Likewise.
20732         [C99-based standards] (UINT_FAST64_MAX): Likewise.
20733         [C99-based standards] (INTPTR_MIN): Likewise.
20734         [C99-based standards] (INTPTR_MAX): Likewise.
20735         [C99-based standards] (UINTPTR_MAX): Likewise.
20736         [C99-based standards] (INTMAX_MIN): Likewise.
20737         [C99-based standards] (INTMAX_MAX): Likewise.
20738         [C99-based standards] (UINTMAX_MAX): Likewise.
20739         [C99-based standards] (PTRDIFF_MIN): Likewise.
20740         [C99-based standards] (PTRDIFF_MAX): Likewise.
20741         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20742         [C99-based standards] (SIZE_MAX): Likewise.
20743         [C99-based standards] (WCHAR_MAX): Likewise.
20744         [C99-based standards] (WINT_MAX): Likewise.
20745         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
20746         constraint on value.
20747         [C99-based standards] (WCHAR_MIN): Likewise.
20748         [C99-based standards] (WINT_MIN): Likewise.
20749         [C99-based standards] (*_t): Allow.
20750         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20751         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20752         Include math.h-data and complex.h-data.  Remove all expectations
20753         of math.h and complex.h contents.
20754         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20755         at end of line.
20756         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20757         (struct tm): Expect tag.
20758         [C99-based-standards] (wcstof): Expect function.
20759         [C99-based-standards] (wcstold): Likewise.
20760         [C99-based-standards] (wcstoll): Likewise.
20761         [C99-based-standards] (wcstoull): Likewise.
20762         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20763         macro-int-constant.  Specify type.
20764         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
20765         constraint on value.
20766         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20767         Specify type.
20768         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20769         Specify value.
20770         [ISO C standards]: Do not allow headers.
20771         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20772         wcs[abcdefghijklmnopqrstuvwxyz]*.
20773         [ISO C standards] (*_t): Do not allow.
20774         * conform/data/wctype.h-data [C99-based standards] (iswblank):
20775         Expect function.
20776         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20777         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20778         Specify type.
20779         [ISO C standards]: Do not allow headers.
20780         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20781         is[abcdefghijklmnopqrstuvwxyz]*.
20782         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20783         to[abcdefghijklmnopqrstuvwxyz]*.
20784         [ISO C standards] (*_t): Do not allow.
20785         * conform/data/stdalign.h-data: New file.
20786         * conform/data/stdbool.h-data: Likewise.
20787         * conform/data/stdnoreturn.h-data: Likewise.
20789 2012-11-07  Roland McGrath  <roland@hack.frob.com>
20791         [BZ #14815]
20792         * manual/filesys.texi (Directory Entries): Typo fix.
20793         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20795 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20797         * elf/elf.h (EM_AARCH64): New macro.
20798         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20799         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20800         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20801         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20802         (R_AARCH64_TLSDESC): Likewise.
20803         (NT_ARM_TLS): Likewise.
20804         (NT_ARM_HW_BREAK): Likewise.
20805         (NT_ARM_HW_WATCH): Likewise.
20807 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20809         [BZ #14811]
20810         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20811         (__ieee754_powl): Saturate nonzero exponents with absolute value
20812         below 0x1p-79 to +/- 0x1p-79.
20813         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20814         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20815         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20816         nonzero exponents with absolute value below 0x1p-32 to +/-
20817         0x1p-32.
20818         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20819         (__ieee754_powl): Saturate nonzero exponents with absolute value
20820         below 0x1p-79 to +/- 0x1p-79.
20821         * math/libm-test.inc (pow_test): Add more tests.
20823 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20825         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20826         _dl_s390_cap_flags with kernel. Increase string length.
20827         (_dl_s390_platforms): Add z196 and zEC12.
20829 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20831         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20832         Change XOPEN21K to XOPEN2K.
20834 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
20836         * string/memmove.c: Use memcpy when possible.
20838 2012-11-06  Andreas Jaeger  <aj@suse.de>
20840         * po/eo.po: Update from translation team.
20842 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
20844         [BZ #14793]
20845         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20846         exponent and small x and y exponents, scale x or y up.  Increase
20847         by 2 the exponent used in scaling up.
20848         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20849         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20850         * math/libm-test.inc (fma_test): Add more tests.
20851         (fma_test_towardzero): Likewise.
20852         (fma_test_downward): Likewise.
20853         (fma_test_upward): Likewise.
20855 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
20857         [BZ #14805]
20858         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20859         fenv_t *.
20861         [BZ #14801]
20862         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20863         namespace for names of struct fields.
20864         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20865         fenv_t fields.
20866         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20867         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20869 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20871         [BZ #3665]
20872         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20874 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20876         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20877         PTR_DEMANGLE.
20879         [BZ #5246]
20880         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20881         PTR_DEMANGLE.
20883 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
20885         [BZ #14797]
20886         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20887         definitely overflow as x * y not x * y + z.
20888         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20889         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20890         * math/libm-test.inc (fma_test): Add more tests.
20891         (fma_test_towardzero): Likewise.
20892         (fma_test_downward): Likewise.
20893         (fma_test_upward): Likewise.
20895 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20897         [BZ #157]
20899         * include/stub-tag.h: Remove file.
20900         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20901         '#include' of it.
20902         * manual/maint.texi (Porting): Don't reference it.
20903         * Makerules ($(objpfx)stubs): Likewise.
20904         * dirent/closedir.c: Don't include <stub-tag.h>.
20905         * dirent/dirfd.c: Likewise.
20906         * dirent/fdopendir.c: Likewise.
20907         * dirent/getdents.c: Likewise.
20908         * dirent/getdents64.c: Likewise.
20909         * dirent/opendir.c: Likewise.
20910         * dirent/readdir.c: Likewise.
20911         * dirent/readdir64.c: Likewise.
20912         * dirent/readdir64_r.c: Likewise.
20913         * dirent/readdir_r.c: Likewise.
20914         * dirent/rewinddir.c: Likewise.
20915         * dirent/seekdir.c: Likewise.
20916         * dirent/telldir.c: Likewise.
20917         * gmon/profil.c: Likewise.
20918         * grp/setgroups.c: Likewise.
20919         * inet/if_index.c: Likewise.
20920         * io/access.c: Likewise.
20921         * io/chdir.c: Likewise.
20922         * io/chmod.c: Likewise.
20923         * io/chown.c: Likewise.
20924         * io/close.c: Likewise.
20925         * io/dup.c: Likewise.
20926         * io/dup2.c: Likewise.
20927         * io/dup3.c: Likewise.
20928         * io/euidaccess.c: Likewise.
20929         * io/faccessat.c: Likewise.
20930         * io/fchdir.c: Likewise.
20931         * io/fchmod.c: Likewise.
20932         * io/fchmodat.c: Likewise.
20933         * io/fchown.c: Likewise.
20934         * io/fchownat.c: Likewise.
20935         * io/fcntl.c: Likewise.
20936         * io/flock.c: Likewise.
20937         * io/fstatfs.c: Likewise.
20938         * io/fstatfs64.c: Likewise.
20939         * io/fstatvfs.c: Likewise.
20940         * io/fstatvfs64.c: Likewise.
20941         * io/futimens.c: Likewise.
20942         * io/fxstat.c: Likewise.
20943         * io/fxstat64.c: Likewise.
20944         * io/fxstatat.c: Likewise.
20945         * io/fxstatat64.c: Likewise.
20946         * io/getcwd.c: Likewise.
20947         * io/isatty.c: Likewise.
20948         * io/lchmod.c: Likewise.
20949         * io/lchown.c: Likewise.
20950         * io/link.c: Likewise.
20951         * io/linkat.c: Likewise.
20952         * io/lseek.c: Likewise.
20953         * io/lseek64.c: Likewise.
20954         * io/lxstat64.c: Likewise.
20955         * io/mkdir.c: Likewise.
20956         * io/mkdirat.c: Likewise.
20957         * io/mkfifo.c: Likewise.
20958         * io/mkfifoat.c: Likewise.
20959         * io/open.c: Likewise.
20960         * io/open64.c: Likewise.
20961         * io/openat.c: Likewise.
20962         * io/openat64.c: Likewise.
20963         * io/pipe.c: Likewise.
20964         * io/pipe2.c: Likewise.
20965         * io/poll.c: Likewise.
20966         * io/posix_fadvise.c: Likewise.
20967         * io/posix_fadvise64.c: Likewise.
20968         * io/posix_fallocate.c: Likewise.
20969         * io/posix_fallocate64.c: Likewise.
20970         * io/read.c: Likewise.
20971         * io/readlink.c: Likewise.
20972         * io/readlinkat.c: Likewise.
20973         * io/rmdir.c: Likewise.
20974         * io/sendfile.c: Likewise.
20975         * io/sendfile64.c: Likewise.
20976         * io/statfs.c: Likewise.
20977         * io/statfs64.c: Likewise.
20978         * io/statvfs.c: Likewise.
20979         * io/statvfs64.c: Likewise.
20980         * io/symlink.c: Likewise.
20981         * io/symlinkat.c: Likewise.
20982         * io/ttyname.c: Likewise.
20983         * io/ttyname_r.c: Likewise.
20984         * io/umask.c: Likewise.
20985         * io/unlink.c: Likewise.
20986         * io/unlinkat.c: Likewise.
20987         * io/utime.c: Likewise.
20988         * io/utimensat.c: Likewise.
20989         * io/write.c: Likewise.
20990         * io/xmknod.c: Likewise.
20991         * io/xmknodat.c: Likewise.
20992         * io/xstat.c: Likewise.
20993         * io/xstat64.c: Likewise.
20994         * login/getpt.c: Likewise.
20995         * login/grantpt.c: Likewise.
20996         * login/unlockpt.c: Likewise.
20997         * math/e_acoshl.c: Likewise.
20998         * math/e_acosl.c: Likewise.
20999         * math/e_asinl.c: Likewise.
21000         * math/e_atan2l.c: Likewise.
21001         * math/e_atanhl.c: Likewise.
21002         * math/e_coshl.c: Likewise.
21003         * math/e_expl.c: Likewise.
21004         * math/e_fmodl.c: Likewise.
21005         * math/e_gammal_r.c: Likewise.
21006         * math/e_hypotl.c: Likewise.
21007         * math/e_j0l.c: Likewise.
21008         * math/e_j1l.c: Likewise.
21009         * math/e_jnl.c: Likewise.
21010         * math/e_lgammal_r.c: Likewise.
21011         * math/e_log10l.c: Likewise.
21012         * math/e_log2l.c: Likewise.
21013         * math/e_logl.c: Likewise.
21014         * math/e_powl.c: Likewise.
21015         * math/e_rem_pio2l.c: Likewise.
21016         * math/e_sinhl.c: Likewise.
21017         * math/e_sqrtl.c: Likewise.
21018         * math/fclrexcpt.c: Likewise.
21019         * math/fedisblxcpt.c: Likewise.
21020         * math/feenablxcpt.c: Likewise.
21021         * math/fegetenv.c: Likewise.
21022         * math/fegetexcept.c: Likewise.
21023         * math/fegetround.c: Likewise.
21024         * math/feholdexcpt.c: Likewise.
21025         * math/fesetenv.c: Likewise.
21026         * math/fesetround.c: Likewise.
21027         * math/feupdateenv.c: Likewise.
21028         * math/fgetexcptflg.c: Likewise.
21029         * math/fraiseexcpt.c: Likewise.
21030         * math/fsetexcptflg.c: Likewise.
21031         * math/ftestexcept.c: Likewise.
21032         * math/k_cosl.c: Likewise.
21033         * math/k_rem_pio2l.c: Likewise.
21034         * math/k_sinl.c: Likewise.
21035         * math/k_tanl.c: Likewise.
21036         * math/s_asinhl.c: Likewise.
21037         * math/s_atanl.c: Likewise.
21038         * math/s_cbrtl.c: Likewise.
21039         * math/s_erfl.c: Likewise.
21040         * math/s_expm1l.c: Likewise.
21041         * math/s_log1pl.c: Likewise.
21042         * math/s_tanhl.c: Likewise.
21043         * misc/acct.c: Likewise.
21044         * misc/brk.c: Likewise.
21045         * misc/chflags.c: Likewise.
21046         * misc/chroot.c: Likewise.
21047         * misc/fchflags.c: Likewise.
21048         * misc/fgetxattr.c: Likewise.
21049         * misc/flistxattr.c: Likewise.
21050         * misc/fremovexattr.c: Likewise.
21051         * misc/fsetxattr.c: Likewise.
21052         * misc/fsync.c: Likewise.
21053         * misc/ftruncate.c: Likewise.
21054         * misc/futimes.c: Likewise.
21055         * misc/futimesat.c: Likewise.
21056         * misc/getdomain.c: Likewise.
21057         * misc/getdtsz.c: Likewise.
21058         * misc/gethostid.c: Likewise.
21059         * misc/gethostname.c: Likewise.
21060         * misc/getloadavg.c: Likewise.
21061         * misc/getpagesize.c: Likewise.
21062         * misc/getsysstats.c: Likewise.
21063         * misc/getxattr.c: Likewise.
21064         * misc/gtty.c: Likewise.
21065         * misc/ioctl.c: Likewise.
21066         * misc/lgetxattr.c: Likewise.
21067         * misc/listxattr.c: Likewise.
21068         * misc/llistxattr.c: Likewise.
21069         * misc/lremovexattr.c: Likewise.
21070         * misc/lsetxattr.c: Likewise.
21071         * misc/lutimes.c: Likewise.
21072         * misc/madvise.c: Likewise.
21073         * misc/mincore.c: Likewise.
21074         * misc/mlock.c: Likewise.
21075         * misc/mlockall.c: Likewise.
21076         * misc/mmap.c: Likewise.
21077         * misc/mprotect.c: Likewise.
21078         * misc/msync.c: Likewise.
21079         * misc/munlock.c: Likewise.
21080         * misc/munlockall.c: Likewise.
21081         * misc/munmap.c: Likewise.
21082         * misc/preadv.c: Likewise.
21083         * misc/preadv64.c: Likewise.
21084         * misc/ptrace.c: Likewise.
21085         * misc/pwritev.c: Likewise.
21086         * misc/pwritev64.c: Likewise.
21087         * misc/readv.c: Likewise.
21088         * misc/reboot.c: Likewise.
21089         * misc/remap_file_pages.c: Likewise.
21090         * misc/removexattr.c: Likewise.
21091         * misc/revoke.c: Likewise.
21092         * misc/select.c: Likewise.
21093         * misc/setdomain.c: Likewise.
21094         * misc/setegid.c: Likewise.
21095         * misc/seteuid.c: Likewise.
21096         * misc/sethostid.c: Likewise.
21097         * misc/sethostname.c: Likewise.
21098         * misc/setregid.c: Likewise.
21099         * misc/setreuid.c: Likewise.
21100         * misc/setxattr.c: Likewise.
21101         * misc/sstk.c: Likewise.
21102         * misc/stty.c: Likewise.
21103         * misc/swapoff.c: Likewise.
21104         * misc/swapon.c: Likewise.
21105         * misc/sync.c: Likewise.
21106         * misc/syncfs.c: Likewise.
21107         * misc/syscall.c: Likewise.
21108         * misc/truncate.c: Likewise.
21109         * misc/ualarm.c: Likewise.
21110         * misc/usleep.c: Likewise.
21111         * misc/ustat.c: Likewise.
21112         * misc/utimes.c: Likewise.
21113         * misc/vhangup.c: Likewise.
21114         * misc/writev.c: Likewise.
21115         * posix/_exit.c: Likewise.
21116         * posix/alarm.c: Likewise.
21117         * posix/execve.c: Likewise.
21118         * posix/fexecve.c: Likewise.
21119         * posix/fork.c: Likewise.
21120         * posix/fpathconf.c: Likewise.
21121         * posix/getaddrinfo.c: Likewise.
21122         * posix/getegid.c: Likewise.
21123         * posix/geteuid.c: Likewise.
21124         * posix/getgid.c: Likewise.
21125         * posix/getgroups.c: Likewise.
21126         * posix/getlogin.c: Likewise.
21127         * posix/getlogin_r.c: Likewise.
21128         * posix/getpgid.c: Likewise.
21129         * posix/getpid.c: Likewise.
21130         * posix/getppid.c: Likewise.
21131         * posix/getresgid.c: Likewise.
21132         * posix/getresuid.c: Likewise.
21133         * posix/getsid.c: Likewise.
21134         * posix/getuid.c: Likewise.
21135         * posix/glob64.c: Likewise.
21136         * posix/nanosleep.c: Likewise.
21137         * posix/pathconf.c: Likewise.
21138         * posix/pause.c: Likewise.
21139         * posix/posix_madvise.c: Likewise.
21140         * posix/pread.c: Likewise.
21141         * posix/pread64.c: Likewise.
21142         * posix/pwrite.c: Likewise.
21143         * posix/pwrite64.c: Likewise.
21144         * posix/sched_getaffinity.c: Likewise.
21145         * posix/sched_getp.c: Likewise.
21146         * posix/sched_gets.c: Likewise.
21147         * posix/sched_primax.c: Likewise.
21148         * posix/sched_primin.c: Likewise.
21149         * posix/sched_rr_gi.c: Likewise.
21150         * posix/sched_setaffinity.c: Likewise.
21151         * posix/sched_setp.c: Likewise.
21152         * posix/sched_sets.c: Likewise.
21153         * posix/sched_yield.c: Likewise.
21154         * posix/setgid.c: Likewise.
21155         * posix/setlogin.c: Likewise.
21156         * posix/setpgid.c: Likewise.
21157         * posix/setresgid.c: Likewise.
21158         * posix/setresuid.c: Likewise.
21159         * posix/setsid.c: Likewise.
21160         * posix/setuid.c: Likewise.
21161         * posix/sleep.c: Likewise.
21162         * posix/spawni.c: Likewise.
21163         * posix/sysconf.c: Likewise.
21164         * posix/times.c: Likewise.
21165         * posix/wait.c: Likewise.
21166         * posix/wait3.c: Likewise.
21167         * posix/wait4.c: Likewise.
21168         * posix/waitpid.c: Likewise.
21169         * resolv/gai_sigqueue.c: Likewise.
21170         * resource/getpriority.c: Likewise.
21171         * resource/getrlimit.c: Likewise.
21172         * resource/getrusage.c: Likewise.
21173         * resource/nice.c: Likewise.
21174         * resource/setpriority.c: Likewise.
21175         * resource/setrlimit.c: Likewise.
21176         * resource/ulimit.c: Likewise.
21177         * rt/aio_cancel.c: Likewise.
21178         * rt/aio_fsync.c: Likewise.
21179         * rt/aio_read.c: Likewise.
21180         * rt/aio_sigqueue.c: Likewise.
21181         * rt/aio_suspend.c: Likewise.
21182         * rt/aio_write.c: Likewise.
21183         * rt/clock_getres.c: Likewise.
21184         * rt/clock_gettime.c: Likewise.
21185         * rt/clock_nanosleep.c: Likewise.
21186         * rt/clock_settime.c: Likewise.
21187         * rt/lio_listio.c: Likewise.
21188         * rt/mq_close.c: Likewise.
21189         * rt/mq_getattr.c: Likewise.
21190         * rt/mq_notify.c: Likewise.
21191         * rt/mq_open.c: Likewise.
21192         * rt/mq_receive.c: Likewise.
21193         * rt/mq_send.c: Likewise.
21194         * rt/mq_setattr.c: Likewise.
21195         * rt/mq_timedreceive.c: Likewise.
21196         * rt/mq_timedsend.c: Likewise.
21197         * rt/mq_unlink.c: Likewise.
21198         * rt/shm_open.c: Likewise.
21199         * rt/shm_unlink.c: Likewise.
21200         * rt/timer_create.c: Likewise.
21201         * rt/timer_delete.c: Likewise.
21202         * rt/timer_getoverr.c: Likewise.
21203         * rt/timer_gettime.c: Likewise.
21204         * rt/timer_settime.c: Likewise.
21205         * setjmp/__longjmp.c: Likewise.
21206         * setjmp/setjmp.c: Likewise.
21207         * signal/kill.c: Likewise.
21208         * signal/killpg.c: Likewise.
21209         * signal/raise.c: Likewise.
21210         * signal/sigaction.c: Likewise.
21211         * signal/sigaltstack.c: Likewise.
21212         * signal/sigblock.c: Likewise.
21213         * signal/sigignore.c: Likewise.
21214         * signal/sigintr.c: Likewise.
21215         * signal/signal.c: Likewise.
21216         * signal/sigpause.c: Likewise.
21217         * signal/sigpending.c: Likewise.
21218         * signal/sigqueue.c: Likewise.
21219         * signal/sigreturn.c: Likewise.
21220         * signal/sigset.c: Likewise.
21221         * signal/sigsetmask.c: Likewise.
21222         * signal/sigstack.c: Likewise.
21223         * signal/sigsuspend.c: Likewise.
21224         * signal/sigtimedwait.c: Likewise.
21225         * signal/sigvec.c: Likewise.
21226         * signal/sigwait.c: Likewise.
21227         * signal/sigwaitinfo.c: Likewise.
21228         * signal/sysv_signal.c: Likewise.
21229         * socket/accept.c: Likewise.
21230         * socket/accept4.c: Likewise.
21231         * socket/bind.c: Likewise.
21232         * socket/connect.c: Likewise.
21233         * socket/getpeername.c: Likewise.
21234         * socket/getsockname.c: Likewise.
21235         * socket/getsockopt.c: Likewise.
21236         * socket/isfdtype.c: Likewise.
21237         * socket/listen.c: Likewise.
21238         * socket/recv.c: Likewise.
21239         * socket/recvfrom.c: Likewise.
21240         * socket/recvmsg.c: Likewise.
21241         * socket/send.c: Likewise.
21242         * socket/sendmsg.c: Likewise.
21243         * socket/sendto.c: Likewise.
21244         * socket/setsockopt.c: Likewise.
21245         * socket/shutdown.c: Likewise.
21246         * socket/sockatmark.c: Likewise.
21247         * socket/socket.c: Likewise.
21248         * socket/socketpair.c: Likewise.
21249         * stdio-common/ctermid.c: Likewise.
21250         * stdio-common/cuserid.c: Likewise.
21251         * stdio-common/remove.c: Likewise.
21252         * stdio-common/rename.c: Likewise.
21253         * stdio-common/renameat.c: Likewise.
21254         * stdio-common/tempname.c: Likewise.
21255         * stdlib/getcontext.c: Likewise.
21256         * stdlib/makecontext.c: Likewise.
21257         * stdlib/setcontext.c: Likewise.
21258         * stdlib/swapcontext.c: Likewise.
21259         * stdlib/system.c: Likewise.
21260         * streams/fattach.c: Likewise.
21261         * streams/fdetach.c: Likewise.
21262         * streams/getmsg.c: Likewise.
21263         * streams/getpmsg.c: Likewise.
21264         * streams/putmsg.c: Likewise.
21265         * streams/putpmsg.c: Likewise.
21266         * sysdeps/unix/bsd/getpt.c: Likewise.
21267         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21268         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21269         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21271         Likewise.
21272         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21273         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21274         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21275         * sysvipc/msgctl.c: Likewise.
21276         * sysvipc/msgget.c: Likewise.
21277         * sysvipc/msgrcv.c: Likewise.
21278         * sysvipc/msgsnd.c: Likewise.
21279         * sysvipc/semctl.c: Likewise.
21280         * sysvipc/semget.c: Likewise.
21281         * sysvipc/semop.c: Likewise.
21282         * sysvipc/semtimedop.c: Likewise.
21283         * sysvipc/shmat.c: Likewise.
21284         * sysvipc/shmctl.c: Likewise.
21285         * sysvipc/shmdt.c: Likewise.
21286         * sysvipc/shmget.c: Likewise.
21287         * termios/tcdrain.c: Likewise.
21288         * termios/tcflow.c: Likewise.
21289         * termios/tcflush.c: Likewise.
21290         * termios/tcgetattr.c: Likewise.
21291         * termios/tcgetpgrp.c: Likewise.
21292         * termios/tcsendbrk.c: Likewise.
21293         * termios/tcsetattr.c: Likewise.
21294         * termios/tcsetpgrp.c: Likewise.
21295         * time/adjtime.c: Likewise.
21296         * time/clock.c: Likewise.
21297         * time/getitimer.c: Likewise.
21298         * time/gettimeofday.c: Likewise.
21299         * time/setitimer.c: Likewise.
21300         * time/settimeofday.c: Likewise.
21301         * time/stime.c: Likewise.
21302         * time/time.c: Likewise.
21304 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
21306         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21307         /usr/old/bin.
21309         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21310         instead of spaces.
21311         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21313 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
21315         [BZ #14796]
21316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21317         FE_TONEAREST before applying Dekker multiplication and Knuth
21318         addition.  Clear inexact exceptions and check for exact zero
21319         results afterwards.
21320         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21321         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21322         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21323         * math/libm-test.inc (fma_test): Add more tests.
21324         (fma_test_towardzero): Likewise.
21325         (fma_test_downward): Likewise.
21326         (fma_test_upward): Likewise.
21327         * sysdeps/generic/math_private.h (default_libc_fesetround): New
21328         function.
21329         (libc_fesetround): New macro.
21330         (libc_fesetroundf): Likewise.
21331         (libc_fesetroundl): Likewise.
21332         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21333         function.
21334         (libc_fesetround_387): Likewise.
21335         (libc_fesetroundf): New macro.
21336         (libc_fesetround): Likewise.
21337         (libc_fesetroundl): Likewise.
21338         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21339         function.
21340         (libc_fesetroundf): New macro.
21341         (libc_fesetround): Likewise.
21342         (libc_fesetroundl): Likewise.
21343         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21344         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21345         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21346         libm_hidden_ver.
21347         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21348         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21349         libm_hidden_def.
21350         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21351         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21352         libm_hidden_ver.
21353         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21354         libm_hidden_def.
21356         [BZ #3439]
21357         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21358         integer constant usable in #if and use that to give value to enum
21359         constant.
21360         (FE_DIVBYZERO): Likewise.
21361         (FE_UNDERFLOW): Likewise.
21362         (FE_OVERFLOW): Likewise.
21363         (FE_INVALID): Likewise.
21364         (FE_INVALID_SNAN): Likewise.
21365         (FE_INVALID_ISI): Likewise.
21366         (FE_INVALID_IDI): Likewise.
21367         (FE_INVALID_ZDZ): Likewise.
21368         (FE_INVALID_IMZ): Likewise.
21369         (FE_INVALID_COMPARE): Likewise.
21370         (FE_INVALID_SOFTWARE): Likewise.
21371         (FE_INVALID_SQRT): Likewise.
21372         (FE_INVALID_INTEGER_CONVERSION): Likewise.
21373         (FE_TONEAREST): Likewise.
21374         (FE_TOWARDZERO): Likewise.
21375         (FE_UPWARD): Likewise.
21376         (FE_DOWNWARD): Likewise.
21377         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21378         (FE_DIVBYZERO): Likewise.
21379         (FE_OVERFLOW): Likewise.
21380         (FE_UNDERFLOW): Likewise.
21381         (FE_INEXACT): Likewise.
21382         (FE_TONEAREST): Likewise.
21383         (FE_DOWNWARD): Likewise.
21384         (FE_UPWARD): Likewise.
21385         (FE_TOWARDZERO): Likewise.
21386         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21387         (FE_UNDERFLOW): Likewise.
21388         (FE_OVERFLOW): Likewise.
21389         (FE_DIVBYZERO): Likewise.
21390         (FE_INVALID): Likewise.
21391         (FE_TONEAREST): Likewise.
21392         (FE_TOWARDZERO): Likewise.
21393         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21394         (FE_OVERFLOW): Likewise.
21395         (FE_UNDERFLOW): Likewise.
21396         (FE_DIVBYZERO): Likewise.
21397         (FE_INEXACT): Likewise.
21398         (FE_TONEAREST): Likewise.
21399         (FE_TOWARDZERO): Likewise.
21400         (FE_UPWARD): Likewise.
21401         (FE_DOWNWARD): Likewise.
21402         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21403         (FE_DIVBYZERO): Likewise.
21404         (FE_OVERFLOW): Likewise.
21405         (FE_UNDERFLOW): Likewise.
21406         (FE_INEXACT): Likewise.
21407         (FE_TONEAREST): Likewise.
21408         (FE_DOWNWARD): Likewise.
21409         (FE_UPWARD): Likewise.
21410         (FE_TOWARDZERO): Likewise.
21412 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
21414         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21416 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
21418         * scripts/cross-test-ssh.sh (command): Use newlines to separate
21419         commands.  Quote $PWD.
21420         (blacklist_exports): Don't use remove_newlines.  Replace "declare
21421         -x" by "export".
21422         (remove_newlines): Remove.
21424 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
21426         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21427         * stdlib/stdlib.h (atof): Moved to ...
21428         * include/bits/stdlib-float.h: Here.  New file.
21429         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21430         * stdlib/bits/stdlib-float.h: New file.
21431         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21432         -mno-sse -mno-mmx.
21433         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21434         <xmmintrin.h>.
21436 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21438         * conform/conformtest.pl (@headers): Add fenv.h.
21439         * conform/data/fenv.h-data: New file.
21440         * include/fenv.h [_ISOMAC]: Disable all contents of file except
21441         include of <math/fenv.h>.
21443         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21444         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21445         && !UNIX98].  Enables tests for XOPEN2K8.
21446         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21447         POSIX2008]: Likewise.
21449         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21450         (struct rusage): Do not expect type or its members.
21452         [BZ #3439]
21453         * math/math.h (FP_NAN): Define macro to integer constant usable in
21454         #if and use that to give value to enum constant.
21455         (FP_INFINITE): Likewise.
21456         (FP_ZERO): Likewise.
21457         (FP_SUBNORMAL): Likewise.
21458         (FP_NORMAL): Likewise.
21460 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
21462         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21463         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21464         arguments.
21466 2012-11-02  Roland McGrath  <roland@hack.frob.com>
21468         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21469         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21470         autoconf-time if not.
21471         * configure.in: Remove AC_PREREQ.
21473 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21475         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21476         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21477         of the internal implementation.
21479 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21481         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21482         except include of <misc/sys/syslog.h>.
21484 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21487         function returns with a NULL context exit with zero.
21489 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21491         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21493 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
21495         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21496         (run_program_cmd): This.
21497         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21498         (tst_langinfo): New variable.  Use it.
21500 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
21502         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21503         floating point opcodes.
21505 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21507         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21508         variable.
21510         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21512         * sysdeps/mach/hurd/powerpc: Remove directory.
21513         * sysdeps/mach/powerpc: Likewise.
21515 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21517         * scripts/check-local-headers.sh: Ignore c++ headers.
21519 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21521         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21522         __libc_cleanup_region_start argument.
21524 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
21526         [BZ #14784]
21527         [BZ #14785]
21528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21529         x * y using scaling, not as x * y + z.
21530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21531         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21532         * math/libm-test.inc (fma_test): Add more tests.
21533         (fma_test_towardzero): Likewise.
21534         (fma_test_downward): Likewise.
21535         (fma_test_upward): Likewise.
21537 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21539         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21541 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21543         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21544         New variable.
21546 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
21548         * rt/tst-shm.c (worker): Correct checking for mmap failure.
21550 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21553         Fix sort order.
21554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21555         Likewise.
21557 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21560         Fix the order of the list for glibc 2.17.
21561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21562         Likewise.
21564 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21568 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21570         [BZ #14610]
21571         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21572         for low part of x being zero before using __atanl (y).
21573         * math/libm-test.inc (atan2_test): Add another test.
21575         * manual/install.texi (Configuring and compiling): Document
21576         general use of test-wrapper and test-wrapper-env.
21577         * INSTALL: Regenerated.
21579         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21580         (__fma): Do not extract and scale down low bits on after-rounding
21581         systems when result rounded to normal precision would have normal
21582         exponent.
21583         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21584         (__fmal): Do not extract and scale down low bits on after-rounding
21585         systems when result rounded to normal precision would have normal
21586         exponent.
21587         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21588         (__fmal): Do not extract and scale down low bits on after-rounding
21589         systems when result rounded to normal precision would have normal
21590         exponent.
21591         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21592         macro.
21593         (fma_test): Add more tests.
21594         (fma_test_towardzero): Likewise.
21595         (fma_test_downward): Likewise.
21596         (fma_test_upward): Likewise.
21598 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
21600         * sysdeps/i386/tininess.h: Renamed to ...
21601         * sysdeps/x86/tininess.h: This.
21602         * sysdeps/x86_64/tininess.h: Removed.
21604 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21606         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21607         input.  Use $(build-program-cmd).
21608         ($(objpfx)tst-array1-static.out): Likewise.
21609         ($(objpfx)tst-array2.out): Likewise.
21610         ($(objpfx)tst-array3.out): Likewise.
21611         ($(objpfx)tst-array4.out): Likewise.
21612         ($(objpfx)tst-array5.out): Likewise.
21613         ($(objpfx)tst-array5-static.out): Likewise.
21615 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
21617         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21618         if defined.
21620         * nss/nsswitch.h (nss_interface_function): Provide new
21621         macro for use with NSS functions.
21622         * grp/initgroups.c: Use new macro.
21623         * nss/getXXbyYY.c: Likewise.
21624         * nss/getXXbyYY_r.c: Likewise.
21625         * nss/getXXent.c: Likewise.
21626         * nss/getXXent_r.c: Likewise.
21627         * sysdeps/posix/getaddrinfo.c: Likewise.
21629 2012-10-30  Andreas Jaeger  <aj@suse.de>
21631         * po/ru.po: Update Russion translation from translation project.
21633 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21635         [BZ #14152]
21636         [BZ #14783]
21637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21638         result and shift together with sticky bit instead of replicating
21639         round-to-nearest rounding.
21640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21641         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21642         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
21643         missing underflow exceptions.
21644         (fma_test_towardzero): Add more tests.
21645         (fma_test_downward): Likewise.
21646         (fma_test_upward): Likewise.
21648         [BZ #14047]
21649         * sysdeps/generic/tininess.h: New file.
21650         * sysdeps/i386/tininess.h: Likewise.
21651         * sysdeps/sh/tininess.h: Likewise.
21652         * sysdeps/x86_64/tininess.h: Likewise.
21653         * stdlib/tst-strtod-underflow.c: Likewise.
21654         * stdlib/tst-tininess.c: Likewise.
21655         * stdlib/strtod_l.c: Include <tininess.h>.
21656         (round_and_return): Do not set errno for exact underflow cases.
21657         Force an underflow exception when setting errno for underflow.
21658         Determine underflow based on rounding to normal precision if
21659         TININESS_AFTER_ROUNDING.
21660         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21661         ERANGE for exact underflow cases.
21662         * stdlib/Makefile (tests): Add tst-tininess and
21663         tst-strtod-underflow.
21664         ($(objpfx)tst-tininess): Use $(link-libm).
21665         ($(objpfx)tst-strtod-underflow): Likewise.
21667 2012-10-30  Andreas Jaeger  <aj@suse.de>
21669         [BZ#14767]
21670         * elf/Makefile (tests): Remove conditional for have-initfini-array
21671         since this is now always required and the variable does not exist
21672         anymore.
21673         (tests-static): Likewise.
21674         (modules-names): Likewise.
21676         * po/eo.po: Add Esperanto translation from translation project.
21678         * elf/tst-array1.c (fini_array): Make writeable so that it can be
21679         merged with constructor/destructor.
21680         (init_array): Likewise.
21681         * elf/tst-array2dep.c (fini_array): Likewise.
21682         (init_array): Likewise.
21684 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
21686         * manual/message.texi: Delete @cartouche tags.
21688 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
21690         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21691         EOPNOTSUPP.
21692         * sysdeps/mach/hurd/fsync.c: Likewise.
21694         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21695         [_POSIX_REALTIME_SIGNALS]: Change condition to
21696         [_POSIX_REALTIME_SIGNALS > 0].
21698 2012-10-27  Andreas Jaeger  <aj@suse.de>
21700         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21701         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21702         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21703         [__WORDSIZE != 64]: Likewise.
21705 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
21707         *  iconvdata/tst-table.sh: Remove ${SHELL}.
21708         *  iconvdata/tst-tables.sh: Likewise.
21710 2012-10-25  David S. Miller  <davem@davemloft.net>
21712         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21713         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21714         of strtoull.
21716         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21717         ifunc-impl-list.c
21718         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21719         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21720         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21721         file.
21723 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21725         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21726         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21727         __getdirentries.
21729 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21730             Jim Blandy  <jimb@codesourcery.com>
21732         * scripts/cross-test-ssh.sh: New file.
21733         * manual/install.texi (Configuring and compiling): Document use of
21734         cross-test-ssh.sh.
21735         * INSTALL: Regenerated.
21737 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
21739         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21740         EOPNOTSUPP.
21742 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21744         * Makeconfig (run-program-prefix): Fix comment.
21746 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21747             Jim Blandy  <jimb@codesourcery.com>
21749         * Makeconfig (test-wrapper): New variable,
21750         (test-wrapper-env): Likewise.
21751         [$(cross-compiling) = yes && $(test-wrapper) != ""]
21752         (run-built-tests): Define to yes.
21753         (run-program-prefix): Use $(test-wrapper).
21754         (built-program-cmd): Likewise.
21755         * Rules (make-test-out): Use $(test-wrapper-env) and
21756         $(host-built-program-cmd).
21757         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21758         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21759         tst-pathopt.sh.
21760         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21761         $(test-wrapper-env) to tst-rtld-load-self.sh.
21762         ($(objpfx)order2.out): Use $(test-wrapper).
21763         ($(objpfx)tst-initorder.out): Likewise.
21764         ($(objpfx)tst-initorder2.out): Likewise.
21765         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21766         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21767         (test_wrapper_env): New variable.  Use it to run ld.so.
21768         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21769         Use it to run ld.so.
21770         (test_wrapper_env): Likewise.
21771         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21772         $(test-wrapper) to run-iconv-test.sh.
21773         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21774         (ICONV): Use $test_wrapper.
21775         * posix/Makefile ($(objpfx)globtest.out): Pass
21776         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21777         globtest.sh, not $(run-program-prefix).
21778         * posix/globtest.sh (run_via_rtld_prefix): New variable.
21779         (test_wrapper): Likewise.
21780         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
21781         set together with run_via_rtld_prefix.
21782         (run_program_prefix): Define in terms of test_wrapper and
21783         run_via_rtld_prefix.
21785 2012-10-24  Roland McGrath  <roland@hack.frob.com>
21787         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21788         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21789         Targets removed.
21791         [BZ #14743]
21792         * include/time.h: Remove librt_hidden_proto (clock_gettime).
21793         Declare __clock_getres, __clock_gettime, __clock_settime,
21794         __clock_nanosleep, and __clock_getcpuclockid.
21795         * rt/clock_gettime.c: Define __clock_gettime as an alias.
21796         Remove librt_hidden_def (clock_gettime).
21797         * sysdeps/unix/clock_gettime.c: Likewise.
21798         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21799         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21800         * rt/clock_getres.c: Define __clock_getres as an alias.
21801         * sysdeps/posix/clock_getres.c: Likewise.
21802         * rt/clock_settime.c: Define __clock_settime as an alias.
21803         * sysdeps/unix/clock_settime.c: Likewise.
21804         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21805         * sysdeps/unix/clock_nanosleep.c: Likewise.
21806         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21807         * rt/clock-compat.c: New file.
21808         * rt/Makefile (librt-routines): Add clock-compat and move
21809         $(clock-routines) to ...
21810         (routines): ... here, new variable.
21811         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21812         Don't add get_clockfreq here.
21813         * rt/Versions (libc: GLIBC_2.17): New version set.
21814         Add clock_* symbols here.
21815         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
21816         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21817         (GLIBC_2.17): Add clock_* symbols.
21818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21820         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21822         Likewise.
21823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21824         Likewise.
21825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21829         * NEWS: Mention the move.
21831         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21832         Use __open, __read, __close rather than their public counterparts.
21833         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21834         (__get_clockfreq_via_cpuinfo): Likewise.
21835         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21836         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21838         * config.h.in (HAVE_IFUNC): New #undef.
21839         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21840         was successful.
21841         * configure: Regenerated.
21843 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21845         * configure.in: Move READELF check to start of file.
21846         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21847         libc_cv_asm_gnu_indirect_function in the process.
21848         * configure: Regenerated.
21850 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21852         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21853         send the output to /dev/null.
21854         (libc_cv_cc_with_libunwind): Likewise.
21855         (libc_cv_as_noexecstack): Likewise.
21856         * configure: Regenerate.
21858 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21860         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21862         * posix/globtest.sh (TMPDIR): Do not set.
21863         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21864         (testout): Likewise.
21866 2012-10-24  Andreas Jaeger  <aj@suse.de>
21868         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21869         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21870         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21871         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21872         posix_fadvise64, posix_fallocate64.
21874         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21875         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21876         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21877         Likewise.
21878         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21879         Likewise.
21880         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21882         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21883         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21884         <bits/fcntl-linux.h>.
21885         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21887         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21888         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21889         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21890         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21891         [__WORDSIZE != 64]: Likewise.
21893 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21895         * Makeconfig (run-built-tests): New variable.
21896         * Rules [$(cross-compiling) = yes]: Change condition to
21897         [$(run-built-tests) = no].
21898         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21899         to [$(run-built-tests) = yes].
21900         * elf/Makefile [$(cross-compiling) = no]: Likewise
21901         * grp/Makefile [$(cross-compiling) = no]: Likewise.
21902         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21903         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21904         * intl/Makefile [$(cross-compiling) = no]: Likewise.
21905         * io/Makefile [$(cross-compiling) = no]: Likewise.
21906         * libio/Makefile [$(cross-compiling) = no]: Likewise.
21907         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21908         * misc/Makefile [$(cross-compiling) = no]: Likewise.
21909         * posix/Makefile [$(cross-compiling) = no]: Likewise.
21910         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21911         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21912         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21913         * string/Makefile [$(cross-compiling) = no]: Likewise.
21915         * posix/Makefile ($(objpfx)globtest.out): Pass
21916         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21917         $(rtld-installed-name).
21918         * posix/globtest.sh (elf_objpfx): Remove variable.
21919         (rtld_installed_name): Likewise.
21920         (library_path): Likewise.
21921         (run_program_prefix): New variable.  Use for running globtest
21922         binary.
21924 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
21925             Joseph Myers  <joseph@codesourcery.com>
21927         * Makeconfig (host-built-program-cmd): New variable.
21928         * elf/Makefile (tst-stackguard1-ARGS): Use
21929         $(host-built-program-cmd).
21930         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21931         (tst-spawn-ARGS): Likewise.
21932         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21934 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21935             Jim Blandy  <jimb@codesourcery.com>
21937         * Makeconfig (run-via-rtld-prefix): New variable.
21938         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21939         (built-program-cmd): Likewise.
21941 2012-10-22  Andreas Jaeger  <aj@suse.de>
21943         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21944         __O_RSYNC if it exists, otherwise to O_SYNC.
21946 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
21947             Joseph Myers  <joseph@codesourcery.com>
21949         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21950         /dev/null.
21951         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21952         from /dev/null
21953         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21954         /dev/null.
21956 2012-10-22  Andreas Jaeger  <aj@suse.de>
21958         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21959         Define always.
21960         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21962         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21963         bits/fcntl-linux.h.
21965         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21966         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21968         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21969         to __O_LARGEFILE.
21970         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21971         to __O_LARGEFILE.
21973 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
21974             Joseph Myers  <joseph@codesourcery.com>
21976         * config.make.in (NM): New variable.
21978 2012-10-21  Andreas Jaeger  <aj@suse.de>
21980         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21981         definitions and declarations that are provided by
21982         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21984 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21986         [BZ #14683]
21987         * elf/Makefile (tests-static): Add tst-leaks1-static.
21988         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21989         ($(objpfx)tst-leaks1-static): New rule.
21990         ($(objpfx)tst-leaks1-static-mem): Likewise.
21991         (tst-leaks1-static-ENV): New macro.
21992         * elf/dl-open.c (dl_open_worker): Check the main application
21993         only if SHARED is defined.
21994         * elf/tst-leaks1-static.c: New file.
21996 2012-10-20  Andreas Jaeger  <aj@suse.de>
21998         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21999         generic values for Linux.
22000         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22001         and declarations that are provided by <bits/fcntl-linux.h> and
22002         include <bits/fcntl-linux.h>.
22003         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22004         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22006 2012-10-20  Roland McGrath  <roland@hack.frob.com>
22008         * io/fcntl.h: Move include of <bits/types.h> to the top and
22009         include it unconditionally.
22011 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
22013         * wcsmbs/Makefile (tests-ifunc): New variable.
22014         (tests): Add $(tests-ifunc).
22015         * wcsmbs/test-wcschr-ifunc.c: New file.
22016         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22017         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22018         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22019         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22020         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22022         * string/Makefile (tests-ifunc): New variable.
22023         (tests): Add $(tests-ifunc).
22024         * string/test-memccpy.c (TEST_NAME): New macro.
22025         * string/test-memchr.c (TEST_NAME): Likewise.
22026         * string/test-memcmp.c (TEST_NAME): Likewise.
22027         * string/test-memcpy.c (TEST_NAME): Likewise.
22028         * string/test-memmem.c (TEST_NAME): Likewise.
22029         * string/test-memmove.c (TEST_NAME): Likewise.
22030         * string/test-memset.c (TEST_NAME): Likewise.
22031         * string/test-rawmemchr.c (TEST_NAME): Likewise.
22032         * string/test-stpcpy.c (TEST_NAME): Likewise.
22033         * string/test-stpncpy.c (TEST_NAME): Likewise.
22034         * string/test-strcasecmp.c (TEST_NAME): Likewise.
22035         * string/test-strcasestr.c (TEST_NAME): Likewise.
22036         * string/test-strcat.c (TEST_NAME): Likewise.
22037         * string/test-strchr.c (TEST_NAME): Likewise.
22038         * string/test-strcmp.c(TEST_NAME): Likewise.
22039         * string/test-strcpy.c (TEST_NAME): Likewise.
22040         * string/test-strcspn.c (TEST_NAME): Likewise.
22041         * string/test-strlen.c (TEST_NAME): Likewise.
22042         * string/test-strncasecmp.c (TEST_NAME): Likewise.
22043         * string/test-strncmp.c (TEST_NAME): Likewise.
22044         * string/test-strncpy.c (TEST_NAME): Likewise.
22045         * string/test-strnlen.c (TEST_NAME): Likewise.
22046         * string/test-strpbrk.c (TEST_NAME): Likewise.
22047         * string/test-strrchr.c (TEST_NAME): Likewise.
22048         * string/test-strspn.c (TEST_NAME): Likewise.
22049         * string/test-strstr.c (TEST_NAME): Likewise.
22050         * string/test-bcopy-ifunc.c: New file.
22051         * string/test-bzero-ifunc.c: Likewise.
22052         * string/test-memccpy-ifunc.c: Likewise.
22053         * string/test-memchr-ifunc.c: Likewise.
22054         * string/test-memcmp-ifunc.c: Likewise.
22055         * string/test-memcpy-ifunc.c: Likewise.
22056         * string/test-memmem-ifunc.c: Likewise.
22057         * string/test-memmove-ifunc.c: Likewise.
22058         * string/test-mempcpy-ifunc.c: Likewise.
22059         * string/test-memset-ifunc.c: Likewise.
22060         * string/test-rawmemchr-ifunc.c: Likewise.
22061         * string/test-stpcpy-ifunc.c: Likewise.
22062         * string/test-stpncpy-ifunc.c: Likewise.
22063         * string/test-strcasecmp-ifunc.c: Likewise.
22064         * string/test-strcasestr-ifunc.c: Likewise.
22065         * string/test-strcat-ifunc.c: Likewise.
22066         * string/test-strchr-ifunc.c: Likewise.
22067         * string/test-strchrnul-ifunc.c: Likewise.
22068         * string/test-strcmp-ifunc.c: Likewise.
22069         * string/test-strcpy-ifunc.c: Likewise.
22070         * string/test-strcspn-ifunc.c: Likewise.
22071         * string/test-strlen-ifunc.c: Likewise.
22072         * string/test-strncasecmp-ifunc.c: Likewise.
22073         * string/test-strncat-ifunc.c: Likewise.
22074         * string/test-strncmp-ifunc.c: Likewise.
22075         * string/test-strncpy-ifunc.c: Likewise.
22076         * string/test-strnlen-ifunc.c: Likewise.
22077         * string/test-strpbrk-ifunc.c: Likewise.
22078         * string/test-strrchr-ifunc.c: Likewise.
22079         * string/test-strspn-ifunc.c: Likewise.
22080         * string/test-strstr-ifunc.c: Likewise.
22082         * debug/Makefile (tests-ifunc): New variable.
22083         (tests): Add $(tests-ifunc).
22084         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22085         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22086         * debug/test-stpcpy_chk-ifunc.c: New file.
22087         * debug/test-strcpy_chk-ifunc.c: Likewise.
22089 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22091         [BZ #13601]
22092         * elf/dl-load.c (open_verify): Retry read if the entire ELF
22093         header is not read in.
22095 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
22097         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
22098         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
22099         directly.  Pass built executable to script as
22100         $(built-program-cmd).
22101         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
22102         $testprogram without using LD_LIBRARY_PATH and $ldso.
22104         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22105         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22106         $(rtld-installed-name).
22107         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22108         (rtld_installed_name): Likewise.
22109         (library_path): Likewise.
22110         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
22111         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22112         $(run-program-prefix) to tst-tables.sh.
22113         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
22114         it to run tst-table-from and tst-table-to.
22115         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22116         Pass it to tst-table.sh.
22117         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22118         $(run-program-prefix) to tst-gettext.sh.
22119         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22120         tst-translit.sh.
22121         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22122         tst-gettext2.sh.
22123         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
22124         to run tst-gettext.
22125         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
22126         to run tst-gettext2.
22127         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
22128         to run tst-translit.
22129         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22130         $(run-program-prefix) to tst-mtrace.sh.
22131         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
22132         to run tst-mtrace.
22133         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22134         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22135         $(rtld-installed-name).
22136         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22137         (rtld_installed_name): Likewise.
22138         (run_program_prefix): New variable.  Use it to run wordexp-test.
22140         * Makeconfig (ARCH): Remove all definitions.
22141         (machine): Likewise.
22142         [ARCH]: Remove conditional code.
22143         [!objdir]: Give error.
22144         [!objdir] (objpfx): Remove.
22145         [!objdir] (common-objpfx): Likewise.
22146         [!objdir] (common-objdir): Likewise.
22147         * configure.in (config_makefile): Remove.  Hardcode Makefile in
22148         AC_CONFIG_FILES call.
22149         * configure: Regenerated.
22151         [BZ #13888]
22152         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22153         or TMPDIR.
22154         (testout): Likewise.
22156         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22157         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22158         $(rtld-installed-name).
22159         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22160         (rtld_installed_name): Likwise.
22161         (runit): Remove function.
22162         (run_getconf): New variable,  Use it for running getconf binary.
22164 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
22166         [BZ #14716]
22167         * string/test-memmem.c (check_result): New function.
22168         (do_one_test): Use it.
22169         (check1): New function.
22170         (test_main): Use it.
22172 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
22174         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22176 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
22178         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22179         (_G_LSEEK64): Likewise.
22180         (_G_MMAP64): Likewise.
22181         (_G_FSTAT64): Likewise.
22182         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22183         (_G_LSEEK64): Likewise.
22184         (_G_MMAP64): Likewise.
22185         (_G_FSTAT64): Likewise.
22186         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22187         unconditional.  Call __mmap64 directly.
22188         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22189         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
22190         __lseek64 directly.
22191         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22192         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
22193         __mmap64 directly.
22194         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22195         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22196         __lseek64 directly.
22197         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22198         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22199         __lseek64 directly.
22200         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22201         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
22202         __lseek64 directly.
22203         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22204         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
22205         __fxstat64 directly.
22206         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22207         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22208         unconditional.
22209         (freopen64) [!_G_OPEN64]: Remove conditional code.
22210         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22211         unconditional.
22212         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22213         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22214         unconditional.
22215         (ftello64) [!_G_LSEEK64]: Remove conditional code.
22216         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22217         unconditional.
22218         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22219         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22220         unconditional.
22221         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22222         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22223         unconditional.
22224         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22225         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22226         unconditional.
22227         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22228         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22229         unconditional.
22230         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22232 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22234         [BZ #12140]
22235         * manual/memory.texi (Malloc Tunable Parameters): Add note
22236         about free list pointers overwriting some perturb bytes.
22237         Wording suggested by Roland McGrath.
22239 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
22241         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22242         (lgamma_test): Likewise.
22243         (tgamma_test): Likewise.
22245 2012-10-16  Florian Weimer  <fweimer@redhat.com>
22247         [BZ #14700]
22248         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22249         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22251 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
22253         * NEWS: Mention BZ #14716.
22254         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22255         when removing AVAILABLE1_USES_J macro.
22257 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
22259         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22260         (__bswap_64): __uint64_t for unsigned 64-bit int.
22262 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
22264         * include/string.h (memmem): Declare libc hidden alias.
22265         * string/memmem.c (memmem): Define libc hidden alias.
22266         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22267         __read, __close instead of open, read, close.
22269 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
22271         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22272         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22273         global and hidden.
22274         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22275         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22276         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22277         Likewise.
22278         (__rawmemchr_sse2): Likewise.
22279         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22280         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22281         (__strchr_sse2): Likewise.
22282         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22283         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22284         (__strcasecmp_sse2): Likewise.
22285         (__strncasecmp_sse2): Likewise.
22286         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22287         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22288         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22289         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22290         (__strrchr_sse2): Likewise.
22291         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22292         ifunc-impl-list.c.
22293         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22294         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22295         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22296         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22297         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22298         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22299         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22300         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22301         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22302         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22303         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22304         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22305         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22306         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22307         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22308         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22309         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22310         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22311         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22312         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22313         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22314         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22315         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22316         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22317         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22318         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22319         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22320         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22321         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22322         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22324         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22325         global and hidden.
22326         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22327         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22328         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22329         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22330         Likewise.
22331         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22332         Likewise.
22333         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22334         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22335         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22336         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22337         ifunc-impl-list.c.
22338         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22339         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22340         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22341         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22342         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22343         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22344         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22345         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22346         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22347         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22348         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22349         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22350         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22351         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22352         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22353         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22354         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22355         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22356         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22357         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22358         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22359         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22360         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22361         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22362         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22363         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22364         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22365         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22366         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22367         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22368         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22369         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22370         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22371         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22372         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22373         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22374         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22375         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22376         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22377         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22378         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22380         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22381         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22382         * include/ifunc-impl-list.h: New file.
22383         * misc/ifunc-impl-list.c: Likewise.
22384         * misc/Makefile (routines): Add ifunc-impl-list.
22385         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22386         * string/test-string.h: Include <ifunc-impl-list.h>.
22387         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22388         impl_array): New variables.
22389         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22390         are defined.
22391         (test_init): Call __libc_ifunc_impl_list to initialize
22392         func_list if TEST_IFUNC and TEST_NAME are defined.
22394         * string/Makefile (strop-tests): Add bcopy and bzero.
22395         * string/test-bcopy.c: New file.
22396         * string/test-bzero.c: Likewise.
22397         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22398         defined.
22399         * string/test-memset.c: Support bzero test if TEST_BZERO is
22400         defined.
22401         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22402         __libc_memmove.
22403         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22404         __libc_memset.
22405         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22406         of memset.
22408 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
22410         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22411         * configure: Regenerated.
22413         * Makeconfig (+link-static-before-libc): Don't include
22414         $(link-static-libc).
22416         * libio/libio.h (_IO_pos_t): Remove.
22418 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22420         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
22421         McGrath.
22423 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22425         * crypt/crypt-entry.c: Include fips-private.h.
22426         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22427         * crypt/md5c-test.c (main): Tolerate disabled MD5.
22428         * sysdeps/unix/sysv/linux/fips-private.h: New file.
22429         * sysdeps/generic/fips-private.h: New file, dummy fallback.
22431 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22433         * crypt/crypt-private.h: Include stdbool.h.
22434         (_ufc_setup_salt_r): Return bool.
22435         * crypt/crypt-entry.c: Include errno.h.
22436         (__crypt_r): Return NULL with EINVAL for bad salt.
22437         * crypt/crypt_util.c (bad_for_salt): New.
22438         (_ufc_setup_salt_r): Check that salt is long enough and within
22439         the specified alphabet.
22440         * crypt/badsalttest.c: New file.
22441         * crypt/Makefile (tests): Add it.
22442         ($(objpfx)badsalttest): New.
22444 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
22446         * NEWS: Add entry for BZ #14602.
22448 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22450         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22451         type-generic.
22452         * math/libm-test.inc: Update comment listing what functions and
22453         macros are tested.
22454         (isgreater_test): New function.
22455         (isgreaterequal_test): Likewise.
22456         (isless_test): Likewise.
22457         (islessequal_test): Likewise.
22458         (islessgreater_test): Likewise.
22459         (isunordered_test): Likewise.
22460         (main): Call the new functions.
22462 2012-10-09  Roland McGrath  <roland@hack.frob.com>
22464         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22465         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22466         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22467         * sysdeps/i386/configure: Regenerated.
22468         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22469         * sysdeps/mach/configure: Regenerated.
22470         * sysdeps/mach/hurd/configure: Regenerated.
22471         * sysdeps/powerpc/configure: Regenerated.
22472         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22473         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22474         * sysdeps/s390/s390-32/configure: Regenerated.
22475         * sysdeps/s390/s390-64/configure: Regenerated.
22476         * sysdeps/sh/configure: Regenerated.
22477         * sysdeps/sparc/configure: Regenerated.
22478         * sysdeps/unix/sysv/linux/configure: Regenerated.
22479         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22480         * sysdeps/x86_64/configure: Regenerated.
22482         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22483         defined.  Don't check if MAP is NULL.
22485 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22487         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22488         (_G_stat64): Likewise.
22489         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22490         (_G_stat64): Likewise.
22491         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22492         instead of struct _G_stat64.
22493         * libio/fileops.c (mmap_remap_check): Likewise.
22494         (decide_maybe_mmap): Likewise.
22495         (_IO_new_file_seekoff): Likewise.
22496         (_IO_file_stat): Likewise.
22497         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22498         _G_off64_t.
22499         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22500         instead of struct _G_stat64.
22501         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22503 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
22505         [BZ #14602]
22506         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22507         Replace with ...
22508         (CHECK_EOL): New macro.
22509         (two_way_short_needle): Check beginning of haystack for EOL.  Use
22510         CHECK_EOL.
22511         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22512         Replace with CHECK_EOL.
22513         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22514         Replace with CHECK_EOL.
22516 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
22518         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22519         type-generic.
22520         * math/libm-test.inc: Update comment listing what functions and
22521         macros are tested.
22522         (finite_test): New function.
22523         (isinf_test): Likewise.
22524         (isnan_test): Likewise.
22525         (fpclassify_test): Test subnormal input.
22526         (isfinite_test): Likewise.
22527         (isnormal_test): Likewise.
22528         (main): Call the new functions.
22530 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
22532         [BZ #14660]
22533         * Makerules (%.dynsym): Force C locale when running
22534         $(OBJDUMP) --dynamic-syms.
22536 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
22538         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22539         <stdint.h>.
22541 2012-10-06  David S. Miller  <davem@davemloft.net>
22543         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22544         upper 32-bits of the length value in %o2 since we use branch-on-register
22545         tests which consider the entire 64-bit register.
22547 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
22549         * string/test-strstr.c (check2): Add a test for page boundary.
22551 2012-10-05  David S. Miller  <davem@davemloft.net>
22553         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22554         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22555         file.
22556         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22557         sysdep_routines.
22558         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22559         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22560         and bzero when HWCAP_SPARC_CRYPTO is present.
22562 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
22564         [BZ #14602]
22565         * string/test-strstr.c (check2): New function.
22566         (test_main): Call check2.
22568         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22569         and bug-strchr1.
22570         * string/bug-strcasestr1.c (do_test): Moved to ...
22571         * string/test-strcasestr.c (check1): Here.  New function.
22572         (do_one_test): Break out result checking code into ...
22573         (check_result): This.  New function.
22574         (do_one_test): Call check_result.
22575         (test_main): Call check1.
22576         * string/bug-strchr1.c (do_test): Moved to ...
22577         * string/test-strchr.c (check1): Here.  New function.
22578         (do_one_test): Break out result checking code into ...
22579         (check_result): This.  New function.
22580         (do_one_test): Call check_result.
22581         (test_main): Call check1.
22582         * string/bug-strstr1.c (main): Moved to ...
22583         * string/test-strstr.c (check1): Here.  New function.
22584         (do_one_test): Break out result checking code into ...
22585         (check_result): This.  New function.
22586         (do_one_test): Call check_result.
22587         (test_main): Call check1.
22588         * string/bug-strcasestr1.c: Removed.
22589         * string/bug-strchr1.c: Likewise.
22590         * string/bug-strstr1.c: Likewise.
22592         * elf/Makefile (dl-routines): Add hwcaps.
22593         * elf/dl-support.c (_dl_important_hwcaps): Removed.
22594         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22595         (_dl_important_hwcaps): Moved to ...
22596         * elf/dl-hwcaps.c: Here.  New file.
22597         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22599         [BZ #14557]
22600         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22601         if IS_IN_rtld isn't defined.
22603         * elf/dl-support.c (_dl_sysinfo_map): New.
22604         Include "get-dynamic-info.h" and "setup-vdso.h".
22605         (_dl_non_dynamic_init): Call setup_vdso.
22606         * elf/dynamic-link.h: Don't include <assert.h>.
22607         (elf_get_dynamic_info): Moved to ...
22608         * elf/get-dynamic-info.h: Here.  New file.
22609         * elf/dynamic-link.h: Include "get-dynamic-info.h".
22610         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22611         * elf/setup-vdso.h: Here.  New file.
22612         * elf/rtld.c: Include "setup-vdso.h".
22613         (dl_main): Call setup_vdso.
22615 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
22617         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22618         creal in comment listing functions tested.  List finite, isinf,
22619         isnan, isless, islessequal, isgreater, isgreaterequal,
22620         islessgreater, isunordered, lgamma_r and pow10 as functions and
22621         macros not tested.  Mention which functions not tested are aliases
22622         for other functions.  Fix typo.  Note that signs of NaNs are not
22623         tested.
22625         * scripts/config.guess: Update from config.git.
22626         * scripts/config.sub: Likewise.
22628 2012-10-04  Roland McGrath  <roland@hack.frob.com>
22630         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22631         * misc/madvise.c (madvise): Renamed to __madvise.
22632         Make madvise a weak alias.
22633         * include/sys/mman.h: Declare __madvise.
22634         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22635         * sysdeps/unix/syscalls.list
22636         (madvise): Make __madvise the strong name, and madvise a weak alias.
22637         * sysdeps/unix/sysv/linux/syscalls.list
22638         (madvise, mmap): Remove redundant entries.
22639         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22640         * malloc/malloc.c (mtrim): Likewise.
22641         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22643 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22645         * sysdeps/mach/hurd/dl-cache.c: File removed.
22646         * config.h.in (USE_LDCONFIG): New #undef.
22647         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22648         * configure: Regenerated.
22649         * elf/Makefile (dl-routines): Add dl-cache only under
22650         [$(use-ldconfig) = yes].
22651         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22652         cache on [USE_LDCONFIG].
22653         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22654         [USE_LDCONFIG].
22655         * elf/rtld.c (dl_main): Likewise.
22657 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
22659         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22660         _SC_LEVEL4_CACHE_LINESIZE.
22662 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22664         * sysdeps/unix/bsd/confstr.h: File removed.
22666 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
22668         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22669         sys/sdt-config.h.
22671 2012-10-02  Roland McGrath  <roland@hack.frob.com>
22673         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22674         Make 'mapoff' field ElfW(Off) rather than off_t.
22676 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
22678         * nscd/Makefile: Remove nscd-cflags and all its users.
22679         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22680         (CFLAGS-nonlib): Add compiler flags for nscd modules.
22682         [BZ #10631]
22683         * malloc.c (malloc_printerr): Clarify error message.
22685 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
22687         [BZ #14648]
22688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22689         Set bit_FMA_Usable if FMA is supported.
22690         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22691         macro.
22692         (bit_FMA4_Usable): Updated.
22693         (index_FMA_Usable): New macro.
22694         (CPUID_FMA): Likewise
22695         (HAS_FMA): Defined with bit_FMA_Usable.
22697 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22699         * bits/types.h (__swblk_t): Type removed.
22700         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22701         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22702         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22703         (__SWBLK_T_TYPE): Likewise.
22704         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22705         (__SWBLK_T_TYPE): Likewise.
22706         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22707         (__SWBLK_T_TYPE): Likewise.
22708         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22709         (__SWBLK_T_TYPE): Likewise.
22711 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
22712             Honza Horak <hhorak@redhat.com>
22714         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22715         (xdr_mapname): Use YPMAXMAP as maxsize.
22716         (xdr_peername): Use YPMAXPEER as maxsize.
22717         (xdr_keydat): Use YPAXRECORD as maxsize.
22718         (xdr_valdat): Use YPMAXRECORD as maxsize.
22720 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22722         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22724         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22725         * csu/init-first.c: ... here.
22726         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22727         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22728         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22729         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22730         * sysdeps/i386/init-first.c: File removed.
22731         * sysdeps/sh/init-first.c: File removed.
22733 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
22735         [BZ #14645]
22736         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22737         if x * y might underflow to zero and z is zero.
22738         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22739         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22740         * math/libm-test.inc (min_subnorm_value): New variable.
22741         (fma_test): Add more tests.
22742         (fma_test_towardzero): Likewise.
22743         (fma_test_downward): Likewise
22744         (fma_test_upward): Likewise.
22745         (initialize): Set min_subnorm_value.
22747 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
22749         [BZ #14638]
22750         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22751         0 + 0.
22752         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22753         mode for addition resulting in exact zero.
22754         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22756         exact 0 + 0.
22757         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22758         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22759         * math/libm-test.inc (fma_test): Add more tests.
22760         (fma_test_towardzero): New function.
22761         (fma_test_downward): Likewise.
22762         (fma_test_upward): Likewise.
22763         (main): Call the new functions.
22765 2012-09-28  David S. Miller  <davem@davemloft.net>
22767         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22769 2012-09-28  Roland McGrath  <roland@hack.frob.com>
22771         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22772         instead of SIGALRM.
22774         * sysdeps/gnu/_G_config.h: Moved to ...
22775         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22776         * sysdeps/mach/hurd/_G_config.h: Moved to ...
22777         * sysdeps/generic/_G_config.h: ... here.
22779         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
22781         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22783         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22784         Conditionalize target on [libnss_test1.so-version].
22786         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22788         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22789         (elfobjdir): Move out of conditionals.
22791         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22792         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22793         (__nss_lookup_function): Conditionalize label remove_from_tree on
22794         [!DO_STATIC_NSS || SHARED], matching its only use.
22796 2012-09-28  David S. Miller  <davem@davemloft.net>
22798         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22799         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22800         file.
22801         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22802         sysdep_routines.
22803         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22804         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22805         when HWCAP_SPARC_CRYPTO is present.
22807 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22809         * io/tst-mknodat.c: Create a FIFO instead of a socket.
22811 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
22813         [BZ #6530]
22814         * stdio-common/vfprintf.c (process_string_arg): Revert
22815         2000-07-22 change.
22817 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
22819         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22820         for testcase.
22821         * stdio-common/tst-sprintf.c: Include <locale.h>
22822         (main): Test sprintf's handling of incomplete multibyte
22823         characters.
22825 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
22827         * elf/dl-runtime.c (VERSYMIDX): Removed.
22828         * elf/dl-version.c (VERSYMIDX): Likewise.
22829         * elf/do-rel.h (VERSYMIDX): Likewise.
22830         (VALIDX): Likewise.
22831         * elf/dynamic-link.h (VERSYMIDX): Likewise.
22832         * elf/rtld.c (VALIDX): Likewise.
22833         (ADDRIDX): Likewise.
22834         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22835         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22836         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22837         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22838         (VALIDX): Likewise.
22839         (ADDRIDX): Likewise.
22841 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22843         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22845 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
22847         [BZ #11438]
22848         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22849         to global scope.
22850         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22851         addresses are in the same scope as 192.0.2/24.
22852         * posix/gai.conf: Document new scope table defaults.
22854 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22856         [BZ #5298]
22857         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22858         for ftell.  Compute offsets from write pointers instead.
22859         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22861 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22863         [BZ #14543]
22864         * libio/Makefile (tests): New test case tst-fseek.
22865         * libio/tst-fseek.c: New test case to verify that fseek/ftell
22866         combination works in wide mode.
22867         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22868         state when the external buffer state changes.
22870 2012-09-27  David S. Miller  <davem@davemloft.net>
22872         [BZ #14376]
22873         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22874         pass reloc->r_addend in as the 'high' argument to
22875         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22879 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22881         * rt/tst-aio2.c: Include <pthread.h>.
22882         * rt/tst-aio3.c: Likewise.
22884 2012-09-27  Steve Ellcey  <sellcey@mips.com>
22886         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22888 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
22890         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22891         contents on [SHARED].
22893 2012-09-26  Marek Polacek  <polacek@redhat.com>
22895         [BZ #14530]
22896         [BZ #13741]
22897         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22898         for C++ and GCC <4.3 as well as for non GCC compilers.
22900 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22904 2012-09-25  Roland McGrath  <roland@hack.frob.com>
22906         * Makefile.in (all, install): Declare with .PHONY.
22907         Reported by Michael Hope <michael.hope@linaro.org>.
22909 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22911         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22912         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22913         system header.
22914         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22915         Likewise.
22916         (sydep_routines): Add the new and the internal functions.
22917         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22918         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22920         (GLIBC_2.17): Add the new function.
22921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22922         (GLIBC_2.17): Likewise.
22923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22924         (GLIBC_2.17): Likewise.
22925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22926         (GLIBC_2.17): Likewise.
22927         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22929 2012-09-25  Alan Modra  <amodra@gmail.com>
22931         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22932         Add release barrier before setting once_control to say
22933         initialisation is done.  Add hints on lwarx.  Use macro in
22934         place of isync.
22935         (clear_once_control): Add release barrier.
22937 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22939         [BZ #13629]
22940         * math/s_clog.c (__clog): Handle more values close to |z| = 1
22941         specially.
22942         * math/s_clog10.c (__clog10): Likewise.
22943         * math/s_clog10f.c (__clog10f): Likewise.
22944         * math/s_clog10l.c (__clog10l): Likewise.
22945         * math/s_clogf.c (__clogf): Likewise.
22946         * math/s_clogl.c (__clogl): Likewise.
22947         * math/Makefile (libm-calls): Add x2y2m1.
22948         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22949         (__x2y2m1): Likewise.
22950         (__x2y2m1l): Likewise.
22951         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22952         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22953         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22954         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22955         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22956         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22957         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22958         * sysdeps/i386/fpu/libm-test-ulps: Update.
22959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22961         [BZ #14621]
22962         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22963         int as type of variable DEPTH.
22964         (glob): Use size_t instead of int as type of variables NEWCOUNT
22965         and OLD_PATHC.
22967 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22969         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22970         Add s_sincosf-sse2.
22971         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22972         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22973         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22974         macros for using routine as __sincosf_ia32.
22975         Use macro for function declaration and weak_alias.
22976         * sysdeps/i386/fpu/libm-test-ulps: Update.
22978         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22981         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22982         subnormal argument.
22983         * math/s_cexpf.c (__cexpf): Likewise.
22984         * math/s_csinf.c (__csinf): Likewise.
22985         * math/s_csinhf.c (__csinhf): Likewise.
22986         * math/s_ctanf.c (__ctanf): Likewise.
22987         * math/s_ctanhf.c (__ctanhf): Likewise.
22988         * math/s_ccosh.c (__ccoshf): Likewise.
22989         * math/s_cexp.c (__cexpl): Likewise.
22990         * math/s_csin.c (__csin): Likewise.
22991         * math/s_csinh.c (__csinh): Likewise.
22992         * math/s_ctan.c (__ctan): Likewise.
22993         * math/s_ctanh.c (ctanh): Likewise.
22994         * math/s_ccoshl.c (__ccoshl): Likewise.
22995         * math/s_cexpl.c (__cexpl): Likewise.
22996         * math/s_csinl.c (__csinl): Likewise.
22997         * math/s_csinhl.c (__csinhl): Likewise.
22998         * math/s_ctanl.c (__ctanl): Likewise.
22999         * math/s_ctanhl.c (__ctanhl): Likewise.
23001 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
23003         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23004         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23005         (_IO_off_t): Define to __off_t, not _G_off_t.
23006         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23007         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23008         (_IO_wint_t): Define to wint_t, not _G_wint_t.
23009         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23010         type of __dummy and __dummy2 fields.
23011         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23012         (_G_ssize_t): Likewise.
23013         (_G_off_t): Likewise.
23014         (_G_pid_t): Likewise.
23015         (_G_uid_t): Likewise.
23016         (_G_wchar_t): Likewise.
23017         (_G_wint_t): Likewise.
23018         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23019         (_G_ssize_t): Likewise.
23020         (_G_off_t): Likewise.
23021         (_G_pid_t): Likewise.
23022         (_G_uid_t): Likewise.
23023         (_G_wchar_t): Likewise.
23024         (_G_wint_t): Likewise.
23025         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23026         (_G_ssize_t): Likewise.
23027         (_G_off_t): Likewise.
23028         (_G_pid_t): Likewise.
23029         (_G_uid_t): Likewise.
23030         (_G_wchar_t): Likewise.
23031         (_G_wint_t): Likewise.
23033 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23035         * malloc/arena.c: Include malloc-sysdep.h.
23036         (shrink_heap): Use check_may_shrink_heap to decide if madvise
23037         is sufficient to shrink the heap or an unmap is needed.
23038         * sysdeps/generic/malloc-sysdep.h: New file.  Define
23039         new function check_may_shrink_heap.
23040         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
23041         new function check_may_shrink_heap.
23043 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23045         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23046         comments.
23048 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
23050         * catgets/test-gencat.sh: Add "set -e".
23051         * elf/tst-pathopt.sh: Likewise.
23052         * grp/tst_fgetgrent.sh: Likewise.
23053         * iconvdata/run-iconv-test.sh: Likewise.
23054         * intl/tst-gettext.sh: Likewise.
23055         * intl/tst-gettext2.sh: Likewise.
23056         * intl/tst-gettext4.sh: Likewise.
23057         * intl/tst-gettext6.sh: Likewise.
23058         * intl/tst-translit.sh: Likewise.
23059         * io/ftwtest-sh: Likewise.
23060         * libio/test-freopen.sh: Likewise.
23061         * malloc/tst-mtrace.sh: Likewise.
23062         * posix/globtest.sh: Likewise.
23063         * posix/tst-getconf.sh: Likewise.
23064         * posix/wordexp-tst.sh: Likewise.
23065         * stdio-common/tst-printf.sh: Likewise.
23066         * stdio-common/tst-unbputc.sh: Likewise.
23067         * stdlib/tst-fmtmsg.sh: Likewise.
23068         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23069         * catgets/Makefile: Do not specify -e option when running
23070         testsuite shell scripts.
23071         * elf/Makefile: Likewise.
23072         * grp/Makefile: Likewise.
23073         * iconvdata/Makefile: Likewise.
23074         * intl/Makefile: Likewise.
23075         * io/Makefile: Likewise.
23076         * libio/Makefile: Likewise.
23077         * malloc/Makefile: Likewise.
23078         * posix/Makefile: Likewise.
23079         * stdio-common/Makefile: Likewise.
23080         * stdlib/Makefile: Likewise.
23081         * sysdeps/x86_64/Makefile: Likewise.
23083         * io/ftwtest-sh: Add copyright header.
23084         * posix/globtest.sh: Likewise.
23085         * posix/tst-getconf.sh: Likewise.
23086         * posix/wordexp-tst.sh: Likewise.
23087         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23089 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
23091         [BZ #13679]
23092         * Makeconfig (+link): Defined as $(+link-static) if
23093         $(build-shared) isn't yes.
23094         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23095         isn't yes.
23096         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23098         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23100         [BZ #14562]
23101         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23102         new chunk size with MALLOC_ALIGN_MASK.
23104 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
23106         [BZ #5044]
23107         * stdio-common/printf_fphex.c: Include <stdbool.h> and
23108         <rounding-mode.h>.
23109         (__printf_fphex): Determine rounding using get_rounding_mode and
23110         round_away.
23111         * stdio-common/tst-printf-round.c (struct hex_test): New
23112         structure.
23113         (hex_tests): New variable.
23114         (test_hex_in_one_mode): New function.
23115         (do_test): Also run tests for hex float output.
23117 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
23119         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23120         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23121         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23122         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23123         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23124         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23125         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23126         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23128 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
23130         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23131         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23132         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23133         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23135 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
23137         [BZ #14579]
23138         * elf/rtld.c (dl_main): Limit the check for self loading to normal
23139         mode only.
23140         * elf/tst-rtld-load-self.sh: New test.
23141         * elf/Makefile: Run it.
23143 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
23145         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23146         (tst-writev-ENV): Remove.
23147         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23149 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
23151         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23153 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
23155         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23156         unconditional.
23157         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23158         Likewise.
23159         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23160         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23161         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23162         Likewise.
23164 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
23166         [BZ #14587]
23167         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23168         * config.make.in (have-cpp-asm-debuginfo): Removed.
23169         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23170         * configure: Regenerated.
23172 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
23174         [BZ #5044]
23175         * stdio-common/printf_fp.c: Include <stdbool.h> and
23176         <rounding-mode.h>.
23177         (___printf_fp): Determine rounding using get_rounding_mode and
23178         round_away.
23179         * stdio-common/tst-printf-round.c: New file.
23180         * stdio-common/Makefile (tests): Add tst-printf-round.
23181         (link-libm): New variable.
23182         ($(objpfx)tst-printf-round): Depend in $(link-libm).
23184 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
23186         [BZ #14576]
23187         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23188         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23189         Likewise.
23190         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23191         Likewise.
23193 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
23195         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23196         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23197         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23198         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23200 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
23202         [BZ #14518]
23203         * include/rounding-mode.h: New file.
23204         * sysdeps/generic/get-rounding-mode.h: Likewise.
23205         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23206         * stdlib/strtod_l.c: Include <rounding-mode.h>.
23207         (MAX_VALUE): New macro.
23208         (MIN_VALUE): Likewise.
23209         (overflow_value): New function.
23210         (underflow_value): Likewise.
23211         (round_and_return): Use overflow_value and underflow_value to
23212         determine return values in overflow and underflow cases.  Use
23213         round_away to determine rounding depending on rounding mode.
23214         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23215         determine return values in overflow and underflow cases.
23216         * stdlib/tst-strtod-round.c: Include <fenv.h>.
23217         (struct test_results): New structure.
23218         (struct test): Use struct test_results to store expected results
23219         for all rounding modes.
23220         (TEST): Include expected results for all rounding modes.
23221         (test_in_one_mode): New function.
23222         (do_test): Use test_in_one_mode to compute and check results.
23223         Check results for all rounding modes.
23224         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23225         $(link-libm).
23227 2012-12-09  Allan McRae  <allan@archlinux.org>
23229         * sysdeps/i386/fpu/libm-test-ulps: Update
23231 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
23233         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23234         (_G_int32_t): Likewise.
23235         (_G_uint16_t): Likewise.
23236         (_G_uint32_t): Likewise.
23237         (_G_HAVE_BOOL): Likewise.
23238         (_G_HAVE_ATEXIT): Likewise.
23239         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23240         (_G_HAVE_IO_FILE_OPEN): Likewise.
23241         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23242         (_G_int32_t): Likewise.
23243         (_G_uint16_t): Likewise.
23244         (_G_uint32_t): Likewise.
23245         (_G_HAVE_BOOL): Likewise.
23246         (_G_HAVE_ATEXIT): Likewise.
23247         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23248         (_G_HAVE_IO_FILE_OPEN): Likewise.
23249         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23250         (_G_int32_t): Likewise.
23251         (_G_uint16_t): Likewise.
23252         (_G_uint32_t): Likewise.
23253         (_G_HAVE_BOOL): Likewise.
23254         (_G_HAVE_ATEXIT): Likewise.
23255         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23256         (_G_HAVE_IO_FILE_OPEN): Likewise.
23258 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
23260         * csu/libc-tls.c: Update copyright years.
23262 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
23264         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23265         [!_G_USING_THUNKS]: Remove conditional code.
23266         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23267         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23269         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23270         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23271         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23272         (_G_VTABLE_LABEL_PREFIX): Likewise.
23273         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23274         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23275         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23276         (_G_VTABLE_LABEL_PREFIX): Likewise.
23277         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23278         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23279         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23280         (_G_VTABLE_LABEL_PREFIX): Likewise.
23281         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23283 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
23285         * libio/Makefile: Include ../Makeconfig before tests.
23286         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23287         only if $(build-shared) is yes.
23289         * iconv/gconv_db.c: Update copyright years.
23291 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23293         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23294         unwind info if defined PIC. Fix special cases description.
23295         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23297         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23298         DP_HI_MASK entry.
23299         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23301 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
23303         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23305         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23306         is NULL.
23308         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23309         (LDLIBS-tst-chk4): This.
23310         (LDFLAGS-tst-chk5): Renamed to ...
23311         (LDLIBS-tst-chk5): This.
23312         (LDFLAGS-tst-chk6): Renamed to ...
23313         (LDLIBS-tst-chk6): This.
23314         (LDFLAGS-tst-lfschk4): Renamed to ...
23315         (LDLIBS-tst-lfschk4): This.
23316         (LDFLAGS-tst-lfschk5): Renamed to ...
23317         (LDLIBS-tst-lfschk5): This.
23318         (LDFLAGS-tst-lfschk6): Renamed to ...
23319         (LDLIBS-tst-lfschk6): This.
23321         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23322         on $(common-objpfx)soversions.mk.
23324 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
23326         [BZ #10014]
23327         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23328         example host name.
23330 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23332         * malloc/arena.c (arena_get_retry): New function that gets
23333         another arena for the caller to try its request on.
23334         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23335         current arena cannot fulfill the request.
23336         (__libc_memalign): Likewise.
23337         (__libc_memalign): Likewise.
23338         (__libc_pvalloc): Likewise.
23339         (__libc_calloc): Likewise.
23341 2012-09-05  John Tobey  <john.tobey@gmail.com>
23343         [BZ #13542]
23344         * manual/arith.texi (Operations on Complex): Fix description
23345         of carg branch cut.
23347 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23349         [BZ #10014]
23350         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23351         host name.
23353         [BZ #10038]
23354         * manual/memory.texi (Memory): Make order of menu items match
23355         order of sections.
23357 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23359         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23360         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
23361         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23363 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23365         * csu/libc-tls.c (static_dtv): Renamed to ...
23366         (_dl_static_dtv): This.  Make it global.
23367         (_dl_initial_dtv): Removed.
23368         (__libc_setup_tls): Updated.
23369         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23370         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23371         DL_INITIAL_DTV.
23373 2012-09-06  Petr Machata  <pmachata@redhat.com>
23375         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23376         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23377         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23378         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23380 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23382         [BZ #14545]
23383         * csu/libc-tls.c (_dl_initial_dtv): New variable.
23384         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23385         freeing dtv[-1].
23387 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23389         [BZ #14544]
23390         * Makeconfig (link-static-before-libc): Replace $(+prector)
23391         with $(+prectorT).
23392         (link-static-after-libc): Replace $(+postctor) with
23393         $(+postctorT).
23394         (link-bounded): Replace $(+prector)/$(+postctor) with
23395         $(+prectorT)/$(+postctorT).
23396         (+prectorT): New macro.
23397         (+postctorT): Likewise.
23399 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23401         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23402         (round_str): Handle values above the maximum for IBM long double
23403         as inexact.
23404         * stdlib/tst-strtod-round.c (tests): Regenerated.
23406 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23408         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23409         assembler flag.
23410         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23411         zarch_nohighgprs around the zarch optimized routines.
23412         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23413         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23414         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23415         for zarch.
23417 2012-09-05  David S. Miller  <davem@davemloft.net>
23419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23421         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23422         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23423         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23424         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23425         entries.
23427 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23429         * malloc/arena.c: Fold copyright years.
23430         * malloc/mcheck.c, malloc/memusage.c: Likewise.
23432 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23434         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23436 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23438         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
23440 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23442         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23443         change internal state upon failure.
23445 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23447         * malloc/mcheck.c (mcheck_check_all): Fix typo.
23448         * malloc/memusage.c (mmap): Likewise.
23449         (mmap64, mremap): Likewise.  Adjust name in comment.
23451 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23453         * libio/fileops.c: Fix typos in comments.
23454         * libio/oldfileops.c: Likewise.
23455         * libio/wfileops.c: Likewise.
23457 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23459         [BZ #1349]
23460         * malloc/Makefile (tests): Add tst-malloc-usable test case.
23461         (tst-malloc-usable-ENV): Set environment for test case.
23462         * malloc/hooks.c (malloc_check_get_size): New function to get
23463         requested size.
23464         * malloc/malloc.c (musable): Use malloc_check_get_size.
23465         * malloc/tst-malloc-usable.c: New test case.
23467 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23469         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23471 2012-09-05  Allan McRae  <allan@archlinux.org>
23473         [BZ #13966]
23474         * configure.in (CXX_SYSINCLUDES): Use compiler output to
23475         determine header location.
23476         * configure: Regenerated.
23478 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23480         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23481         float format.
23482         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23483         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23484         format.
23485         (test): Regenerate.
23487 2012-09-04  David S. Miller  <davem@davemloft.net>
23489         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23490         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23491         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23493 2012-09-04  Florian Weimer  <fweimer@redhat.com>
23495         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23496         failures.
23498         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23500 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
23502         [BZ #9914]
23503         * libio/iogetdelim.c: Include <limits.h>.
23504         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23505         + len + 1 would overflow.
23507 2012-09-03  Andreas Jaeger  <aj@suse.de>
23509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23510         * sysdeps/i386/fpu/libm-test-ulps: Update.
23512 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23514         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23515         Add s_sinf-sse2, s_conf-sse2.
23517         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23518         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23519         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23520         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23522         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23523         for using routine as __sinf_ia32.
23524         Use macro for function declaration and weak_alias.
23525         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23526         for using routine as __cosf_ia32.
23527         Use macro for function declaration and weak_alias.
23529         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23530         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23532         * sysdeps/x86_64/fpu/s_sinf.S: New file.
23533         * sysdeps/x86_64/fpu/s_cosf.S: New file.
23534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23536         * math/libm-test.inc (cos_test): Add more test cases.
23537         (sin_test): Likewise.
23538         (sincos_test): Likewise.
23540 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23542         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23543         (IFUNC_RESOLVE): Make pointers to the specialized implementations
23544         hidden.
23545         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23547 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
23549         [BZ #14538]
23550         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23551         first element of the GOT.
23552         (elf_machine_load_address): Return the difference between
23553         the runtime address of _DYNAMIC and elf_machine_dynamic ().
23555 2012-09-01  Allan McRae  <allan@archlinux.org>
23557         [BZ #13412]
23558         * configure.in (AWK): Require gawk version 3.0 or later.
23559         * configure: Regenerated.
23561 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
23563         * sysdeps/unix/sysv/linux/kernel-features.h
23564         (__ASSUME_POSIX_CPU_TIMERS): Remove.
23565         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23566         [__NR_clock_getres]: Make code unconditional.
23567         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23568         (clock_getcpuclockid): Remove code left unreachable by removal of
23569         conditionals.
23570         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23571         code unconditional.
23572         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23573         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23574         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23575         Make code unconditional.
23576         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23577         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23578         * sysdeps/unix/sysv/linux/clock_settime.c
23579         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23580         conditional code.
23581         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23582         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23584 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
23586         [BZ #14476]
23587         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23588         scripts/test-installation.pl.
23590         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23591         and $ld_so_version if it is set.
23593 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23595         [BZ #14516]
23596         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23597         failure if reading from procfs failed.
23598         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23600 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23602         * sysdeps/unix/sysv/linux/kernel-features.h
23603         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23604         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23605         Remove conditional code.
23606         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23607         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23608         Remove conditional code.
23609         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23610         * sysdeps/unix/sysv/linux/i386/fxstat.c
23611         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23612         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23613         * sysdeps/unix/sysv/linux/i386/fxstatat.c
23614         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23615         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23616         * sysdeps/unix/sysv/linux/i386/lxstat.c
23617         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23618         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23619         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23620         Remove conditional code.
23621         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23622         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23623         Remove conditional code.
23624         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23625         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23626         <kernel-features.h>.
23627         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23628         Remove.
23629         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23630         Remove conditional code.
23631         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23632         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23633         Remove conditional.
23635 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
23637         [BZ #5400]
23638         * NEWS: Add fixed bug number.
23640 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23642         [BZ #14519]
23643         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23644         underflowing exponent in case of negative sign.
23645         * stdlib/tst-strtod-round-data: Add more tests.
23646         * stdlib/tst-strtod-round.c (tests): Regenerated.
23648         [BZ #3479]
23649         * stdlib/strtod_l.c (NDIG): Remove.
23650         (HEXNDIG): Likewise.
23651         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23652         smallest representable value.
23653         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23654         lie within an exact representation of 1/2 ulp of the result.
23655         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23656         unconditionally.
23657         (TENS_P9_IDX): Define unconditionally.
23658         (TENS_P9_SIZE): Likewise.
23659         (TENS_P10_IDX): Likewise.
23660         (TENS_P10_SIZE): Likewise.
23661         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23662         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23663         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23664         entries for 10^2^13 and 10^2^14.
23665         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23666         (TENS_P13_IDX): Define.
23667         (TENS_P13_SIZE): Likewise.
23668         (TENS_P14_IDX): Likewise.
23669         (TENS_P14_SIZE): Likewise.
23670         (_fpioconst_pow10): Change array size to
23671         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
23672         unconditional.
23673         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23674         1024]: Add entries for 10^2^13 and 10^2^14.
23675         [LAST_POW10 > _LAST_POW10]: Remove #error.
23676         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23677         (_fpioconst_pow10): Change array size to
23678         FPIOCONST_POW10_ARRAY_SIZE.
23679         * stdlib/gen-fpioconst.c: New file.
23680         * stdlib/gen-tst-strtod-round.c: Likewise.
23681         * stdlib/tst-strtod-round-data: Likewise.
23682         * stdlib/tst-strtod-round.c: Likewise.
23683         * stdlib/Makefile (tests): Add tst-strtod-round.
23685         [BZ #14459]
23686         * stdlib/strtod_l.c: Include <stdint.h>.
23687         (NDEBUG): Do not define.
23688         (round_and_return): Change EXPONENT parameter to type intmax_t.
23689         Rearrange calculations to avoid internal overflow possibilities.
23690         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23691         Rearrange calculations to avoid internal overflow possibilities.
23692         Assert that number fits inside MPNSIZE limbs.
23693         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23694         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
23695         calculations and add assertions to avoid internal overflow
23696         possibilities.  Add casts to avoid signed/unsigned operations.
23697         * stdlib/tst-strtod-overflow.c: New file.
23698         * stdlib/Makefile (tests): Add tst-strtod-overflow.
23700 2012-08-25  Marek Polacek  <polacek@redhat.com>
23702         * time/time.h: Fix some typos in comments.
23704 2012-08-23  Roland McGrath  <roland@hack.frob.com>
23706         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23707         * posix/tst-rfc3484-2.c: Likewise.
23708         * posix/tst-rfc3484-3.c: Likewise.
23710 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
23712         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23713         (EF_ARM_ABI_FLOAT_HARD): Likewise.
23715 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
23717         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23718         #include of fxstatat64.c.
23720 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23722         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23723         * shadow/getspent_r.c: Likewise.
23724         * shadow/getspnam.c: Likewise.
23725         * shadow/getspnam_r.c: Likewise.
23726         * gshadow/getsgent.c: Likewise.
23727         * gshadow/getsgent_r.c: Likewise.
23728         * gshadow/getsgnam.c: Likewise.
23729         * gshadow/getsgnam_r.c: Likewise.
23730         * inet/getnetbyad.c: Likewise.
23731         * inet/getnetbyad_r.c: Likewise.
23732         * inet/getnetbynm.c: Likewise.
23733         * inet/getnetbynm_r.c: Likewise.
23734         * inet/getnetent.c: Likewise.
23735         * inet/getnetent_r.c: Likewise.
23736         * inet/getproto.c: Likewise.
23737         * inet/getproto_r.c: Likewise.
23738         * inet/getprtent.c: Likewise.
23739         * inet/getprtent_r.c: Likewise.
23740         * inet/getprtname.c: Likewise.
23741         * inet/getprtname_r.c: Likewise.
23742         * inet/getrpcbyname.c: Likewise.
23743         * inet/getrpcbyname_r.c: Likewise.
23744         * inet/getrpcbynumber.c: Likewise.
23745         * inet/getrpcbynumber_r.c: Likewise.
23746         * inet/getrpcent.c: Likewise.
23747         * inet/getrpcent_r.c: Likewise.
23748         * inet/getaliasent.c: Likewise.
23749         * inet/getaliasent_r.c: Likewise.
23750         * inet/getaliasname.c: Likewise.
23751         * inet/getaliasname_r.c: Likewise.
23752         * nscd/getgrgid_r.c: Likewise.
23753         * nscd/getgrnam_r.c: Likewise.
23754         * nscd/gethstbyad_r.c: Likewise.
23755         * nscd/gethstbynm3_r.c: Likewise.
23756         * nscd/getpwnam_r.c: Likewise.
23757         * nscd/getpwuid_r.c: Likewise.
23758         * nscd/getsrvbynm_r.c: Likewise.
23759         * nscd/getsrvbypt_r.c: Likewise.
23760         * nscd/gai.c: Likewise.
23762         * configure.in (build_nscd): New substituted variable, set
23763         by --disable-build-nscd and defaults to $use_nscd.
23764         * configure: Regenerated.
23765         * config.make.in (build-nscd): New substituted variable.
23766         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23767         Change conditional to require [$(build-nscd) = yes] as well.
23768         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23770         [BZ# 13696]
23771         * configure.in (use_nscd): New substituted variable, set by
23772         --disable-nscd.  If enabled, define USE_NSCD.
23773         * configure: Regenerated.
23774         * config.h.in: Add USE_NSCD.
23775         * config.make.in (use-nscd): New substituted variable.
23776         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23777         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23778         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23779         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23780         (CFLAGS-getgrnam_r.c): Likewise.
23781         (CFLAGS-initgroups.c): Likewise.
23782         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23783         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23784         Variables removed.
23785         * inet/getnetgrent_r.c
23786         (nscd_setnetgrent): New function, broken out of ...
23787         (setnetgrent): ... here.  Call it.
23788         (innetgr): Conditionalize nscd bits on [USE_NSCD].
23789         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23790         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23791         * nscd/Makefile (routines, aux): Move definitions after include of
23792         Makeconfig.  Conditionalize on [$(use-nscd) != no].
23793         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23794         Conditionalize on [USE_NSCD].
23795         (is_nscd, nscd_init_cb): Likewise.
23796         (nss_load_library): Conditionalize init callback on [USE_NSCD].
23797         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23798         * nss/nss_db/db-init.c: Likewise.
23799         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23800         [USE_NSCD].
23801         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23802         (make_request): Use it.
23803         (cache_valid_p): New function.
23804         (__check_pf): Use it.
23805         * NEWS: Add item for --disable-nscd.
23807 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
23809         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23810         to support sed >= 4.2.1-20-ga9bf076.
23811         * configure: Regenerated.
23813 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23815         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23816         Conditionalize whole body on [IREL].
23818 2012-08-22  Jeff Law <law@redhat.com>
23820         [BZ #14505]
23821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23822         if the family is PF_UNSPEC.
23824 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
23826         * Makerules (lib-version): Rename from V.
23827         (install-lib-nosubdir): Change V to lib-version.
23829 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
23831         [BZ #14252]
23832         * powerpc32/power6/wcschr.c: New file.
23833         * powerpc32/power6/wcscpy.c: New file.
23834         * powerpc32/power6/wcsrchr.c: New file.
23835         * powerpc64/power6/wcschr.c: New file.
23836         * powerpc64/power6/wcscpy.c: New file.
23837         * powerpc64/power6/wcsrchr.c: New file.
23839 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23841         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23842         (two_way_short_needle): Use it.
23843         * string/strstr.c (AVAILABLE1_USES_J): Define.
23844         * string/strcasestr.c: Likewise.
23846         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23847         array references.
23848         * string/strcasestr.c (TOLOWER): Make side-effect safe.
23850         [BZ #11607]
23851         * NEWS: Add an entry.
23852         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23853         define their defaults.
23854         (two_way_short_needle): Detect end-of-string on-the-fly.
23855         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23856         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23857         * string/bug-strcasestr1.c: New test.
23858         * string/Makefile: Run it.
23860 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23862         [BZ #11607]
23863         * string/str-two-way.h (two_way_short_needle): Optimize matching of
23864         the first character.
23866 2012-08-21  Roland McGrath  <roland@hack.frob.com>
23868         * csu/elf-init.c (__libc_csu_irel): Function removed.
23869         * csu/libc-start.c (apply_irel): New function.
23870         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23872 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
23874         * sysdeps/unix/sysv/linux/kernel-features.h
23875         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23876         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23877         <kernel-features.h>.
23878         [__NR_fadvise64_64]: Make code unconditional.
23879         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23880         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23881         !__NR_fadvise64_64)]: Likewise.
23882         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23883         !__NR_fadvise64_64))]: Likewise.
23884         [__NR_fadvise64]: Make code unconditional.
23885         [!__NR_fadvise64]: Remove conditional code.
23886         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23887         <kernel-features.h>.
23888         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23889         unconditional.
23890         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23891         conditional code.
23892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23893         not include <kernel-features.h>.
23894         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23895         unconditional.
23896         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23897         conditional code.
23898         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23899         include <kernel-features.h>.
23900         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23901         unconditional.
23902         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23903         conditional code.
23905 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
23907         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23908         slight instruction rearrangements per scrollpipe analysis.
23909         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23911 2012-08-20  Roland McGrath  <roland@hack.frob.com>
23913         * manual/syslog.texi (syslog; vsyslog, closelog):
23914         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23915         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23917         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23918         DSOCAPS to match condition on defining it.
23920 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
23922         * sysdeps/unix/sysv/linux/kernel-features.h
23923         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23925         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23926         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23928         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23929         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23931         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23932         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23934         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23935         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23937         * sysdeps/unix/sysv/linux/kernel-features.h
23938         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23939         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23940         unconditional.
23941         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23942         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23943         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23944         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23945         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23946         Make code unconditional.
23947         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23948         (__mmap64) [!__NR_mmap2]: Likewise.
23949         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23950         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23951         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23952         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23953         [__NR_mmap2]: Make code unconditional.
23954         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23955         (__mmap64) [!__NR_mmap2]: Likewise.
23957 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23959         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23961 2012-08-18  Andreas Jaeger  <aj@suse.de>
23963         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23965 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23967         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23968         * include/unistd.h (__have_sock_cloexec): Likewise.
23969         (__have_pipe2): Likewise.
23970         (__have_dup3): Likewise.
23972 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23974         [BZ #9685]
23975         * include/unistd.h (__have_pipe2): Change define into an extern int.
23976         (__have_dup3): Likewise.
23977         * socket/have_sock_cloexec.c: Include fcntl.h.
23978         (__have_pipe2): New variable.
23979         (__have_dup3): Likewise.
23981 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
23983         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23985 2012-08-17  Marek Polacek  <polacek@redhat.com>
23987         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23988         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23990 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23992         * configure.in: Add AC_SUBST for sysheaders.
23993         * configure: Regenerated.
23994         * config.make.in (sysheaders): New substituted variable.
23996         * sysdeps/unix/mkfifo.c: Moved ...
23997         * sysdeps/posix/mkfifo.c: ... here.
23998         * sysdeps/unix/mkfifoat.c: Moved ...
23999         * sysdeps/posix/mkfifoat.c: ... here.
24001         * sysdeps/unix/utime.c: Moved ...
24002         * sysdeps/posix/utime.c: ... here.
24004         * sysdeps/unix/time.c: Moved ...
24005         * sysdeps/posix/time.c: ... here.
24006         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24007         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24009         * sysdeps/unix/nice.c: Moved ...
24010         * sysdeps/posix/nice.c: ... here.
24012         * sysdeps/unix/alarm.c: Moved ...
24013         * sysdeps/posix/alarm.c: ... here.
24015         * intl/Makefile ($(codeset_mo)): Depend on the input file.
24017 2012-08-17  Jeff Law <law@redhat.com>
24019         * intl/Makefile (codeset_mo): New variable.
24020         ($(codeset_mo)): New target.
24021         (tst-codeset.out): Depend on that.  Remove explicit rule.
24022         (tst-gettext3.out, tst-gettext5.out): Likewise.
24023         (LOCPATH-ENV, tst-codeset-ENV): New variables.
24024         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24025         * intl/tst-codeset.sh: Remove.
24026         * intl/tst-gettext3.sh: Likewise.
24027         * intl/tst-gettext5.sh: Likewise.
24029 2012-08-17  Roland McGrath  <roland@hack.frob.com>
24031         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
24032         * sysdeps/unix/syscalls.list: ... here.
24034         * sysdeps/posix/getaddrinfo.c
24035         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24036         (gaiconf_init, gaiconf_reload): Use them.
24037         [!_STATBUF_ST_NSEC]
24038         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24039         Define using time_t rather than struct timespec.
24041         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24042         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24043         Macros removed.
24044         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24045         [!NO_THREADS].
24046         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24047         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24048         Likewise.
24050         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24051         __libc_cleanup_push argument.
24053         * bits/param.h: New file.
24054         * misc/sys/param.h: New file.
24055         * include/sys/param.h: New file.
24056         * misc/Makefile (headers): Add bits/param.h.
24057         * sysdeps/generic/sys/param.h: File removed.
24058         * sysdeps/unix/sysv/linux/bits/param.h: New file.
24059         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24060         * sysdeps/mach/hurd/bits/param.h: New file.
24061         * sysdeps/mach/hurd/sys/param.h: File removed.
24063         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24064         last change.
24066         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24067         [_IO_MTSAFE_IO].
24068         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24069         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24070         New macros.
24072         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24073         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24074         rather than -D_IO_MTSAFE_IO conditionally.
24075         * stdio-common/Makefile (CPPFLAGS): Likewise.
24076         * wcsmbs/Makefile (CPPFLAGS): Likewise.
24077         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24078         Use $(libio-mtsafe).
24079         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24080         of -D_IO_MTSAFE_IO.
24081         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24082         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24083         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24084         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24085         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24086         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24087         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24088         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24089         (CFLAGS-fread_u_chk.c): Likewise.
24090         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24091         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24092         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24093         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24094         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24095         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24096         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24097         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24098         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24100         * libio/Makefile: Test [$(libc-reentrant) = yes]
24101         instead of [$(filter %REENTRANT, $(defines)) nonempty].
24103         * Makeconfig
24104         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24105         * sysdeps/pthread/configure: File removed.
24106         * sysdeps/pthread/Makeconfig: New file.
24107         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24108         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24110 2012-08-16  Gary Benson  <gbenson@redhat.com>
24112         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24113         unmapping the first object in a namespace.
24115 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24117         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24118         (__internal_setnetgrent): ... this.  Add internal_function to
24119         definition.  Add libc_hidden_def.
24120         (setnetgrent): Update caller.
24121         (internal_endnetgrent): Renamed to ...
24122         (__internal_endnetgrent): ... this.  Add internal_function to
24123         definition.  Add libc_hidden_def.
24124         (endnetgrent): Update caller.
24125         (internal_getnetgrent_r): Renamed to ...
24126         (__internal_getnetgrent_r): ... this.  Add internal_function to
24127         definition.  Add libc_hidden_def.
24128         (__getnetgrent_r): Update caller.
24129         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
24131 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24133         * stdlib/longlong.h: Update from GCC.
24135 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24137         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24138         on _QL, which is set by umul_ppmm but never used.
24139         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24140         variables, which are set by GMP macros but never used.
24141         * stdio-common/_itowa.c (_itowa): Likewise.
24142         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24143         * stdlib/mod_1.c (mpn_mod_1): Likewise.
24145 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
24147         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24148         struct La_sh_regs is not constant.
24149         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24150         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24151         and struct La_sparc64_regs are not constant.
24153 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24155         * sysdeps/unix/sysv/linux/kernel-features.h
24156         (__ASSUME_POSIX_TIMERS): Remove.
24157         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24158         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24159         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24160         Make code unconditional.
24161         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24162         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24163         Make code unconditional.
24164         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24165         * sysdeps/unix/sysv/linux/clock_nanosleep.c
24166         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24167         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24168         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24169         Make code unconditional.
24170         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24171         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24172         (__libc_missing_posix_timers): Remove.
24174 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24176         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24177         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24179         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24181         * elf/dl-sym.c: Include <stdlib.h>.
24183         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24184         constants, which avoids warnings in 32-bit builds.
24186         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24187         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24189         * misc/lseek.c: File moved to ...
24190         * io/lseek.c: ... here.
24192         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24194         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24195         shifting LEN more than 31 bits at once.
24197 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24199         [BZ #14195]
24200         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24201         segmentation fault for a case of two empty input strings.
24202         * string/test-strncasecmp.c (check1): Renamed to...
24203         (bz12205): ...this.
24204         (bz14195): Add new testcase for two empty input strings and N > 0.
24205         (test_main): Call new testcase, adapt for renamed function.
24207 2012-08-15  Andreas Jaeger  <aj@suse.de>
24209         [BZ #14090]
24210         * crypt/md5test2.c: New test, based on test supplied by Serge
24211         Belyshev <belyshev@depni.sinp.msu.ru>.
24212         * crypt/Makefile (xtests): Add md5test-giant..
24213         * crypt/Makefile ($(objpfx)md5test-giant): Add.
24215 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
24217         [BZ #14090]
24218         * crypt/md5.c (md5_process_block): Don't assume the buffer
24219         length is less than 2**32.
24220         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24221         length is less than 2**64.
24223 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24225         * string/str-two-way.h: Include <sys/param.h>.
24226         (MAX): Macro removed.
24228         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24229         Move #define and #undef of memmove to just before and after
24230         including <string.h>.
24232         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24233         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24234         and after including <string.h>.  Move declarations of
24235         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24236         to before #include "string/memmove.c".
24238         * include/dirent.h: Declare __getdirentries.
24240         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24241         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24243 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
24245         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24246         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24247         * sysdeps/i386/configure: Regenerated.
24248         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24249         STABS_CURRENT_FILE, and STABS_FUN.
24250         (END): Remove call to STABS_FUN_END.
24251         (STABS_CURRENT_FILE1): Delete.
24252         (STABS_CURRENT_FILE): Likewise.
24253         (STABS_FUN): Likewise.
24254         (STABS_FUN_END): Likewise.
24255         (STABS_FUN2): Likewise.
24256         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24257         * sysdeps/x86_64/configure: Regenerated.
24259 2012-08-14  Roland McGrath  <roland@hack.frob.com>
24261         * elf/dl-open.c: Include <atomic.h>.
24262         * elf/dl-lookup.c: Likewise.
24264 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
24266         * sysdeps/unix/sysv/linux/kernel-features.h
24267         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24268         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24269         unconditionally.
24270         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24271         unconditionally.
24272         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24273         condition on __ASSUME_CLONE_THREAD_FLAGS.
24275 2012-08-14  Andreas Jaeger  <aj@suse.de>
24277         * sysdeps/i386/fpu/libm-test-ulps: Update.
24279 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
24281         * include/atomic.h (atomic_exchange_and_add): Split into ...
24282         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24283         New atomic macros.
24285 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
24287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24289 2012-08-13  Jeff Law <law@redhat.com>
24291         * manual/stdio.texi (snprintf): Clarify handling of the trailing
24292         null byte in the output string.
24294 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
24296         * sysdeps/unix/sysv/linux/kernel-features.h
24297         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24298         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24299         (__ASSUME_ARG_MAX_STACK_BASED): Define.
24300         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24301         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24302         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
24303         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24305 2012-08-09  Jeff Law <law@redhat.com>
24307         [BZ #13939]
24308         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24309         When avoid_arena is set, don't retry in the that arena.  Pick the
24310         next one, whatever it might be.
24311         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24312         (arena_lock): Pass in new parameter to arena_get2.
24313         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24314         arena_get2.
24315         (__libc_malloc): Unify retrying after main arena failure with
24316         __libc_memalign version.
24317         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24319 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24321         [BZ #14166]
24322         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24323         to __redirect_strstr.
24324         (__strstr_sse42): Use typeof __redirect_strstr.
24325         (__strstr_ia32): Likewise.
24326         (__libc_strstr): New prototype.
24327         (strstr): Renamed to ...
24328         (__libc_strstr): This.
24329         (strstr): New strong alias of __libc_strstr.
24330         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24331         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24332         __redirect_time.
24333         Include <time.h>.
24334         (__libc_time): New prototype.
24335         (time_ifunc): Replace time with __libc_time.
24336         (time): New strong alias and hidden definition of __libc_time.
24337         (__GI_time): Remove strong alias.
24338         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24339         Include <stddef.h>.
24340         (memmove): Redefined to __redirect_memmove.
24341         (__memmove_sse2): Use typeof __redirect_memmove.
24342         (__memmove_ssse3): Likewise.
24343         (__memmove_ssse3_back): Likewise.
24344         (__libc_memmove): New prototype.
24345         (memmove): Renamed to ...
24346         (__libc_memmove): This.
24347         (memmove): New strong alias of __libc_memmove.
24349 2012-08-08  Mark Salter  <msalter@redhat.com>
24351         * elf/elf.h
24352         (R_MN10300_TLS_GD): Define.
24353         (R_MN10300_TLS_LD): Likewise.
24354         (R_MN10300_TLS_LDO): Likewise.
24355         (R_MN10300_TLS_GOTIE): Likewise.
24356         (R_MN10300_TLS_IE): Likewise.
24357         (R_MN10300_TLS_LE): Likewise.
24358         (R_MN10300_TLS_DTPMOD): Likewise.
24359         (R_MN10300_TLS_DTPOFF): Likewise.
24360         (R_MN10300_TLS_TPOFF): Likewise.
24361         (R_MN10300_SYM_DIFF): Likewise.
24362         (R_MN10300_ALIGN): Likewise.
24363         (R_MN10300_NUM): Update.
24365 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
24367         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24368         Remove.
24370 2012-08-08  Roland McGrath  <roland@hack.frob.com>
24372         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24374         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24375         sysdeps/unix -> sysdeps/posix move.
24376         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24378 2012-08-07      Allan McRae     <allan@archlinux.org>
24380         [BZ #14303]
24381         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24382         (SUNOS_CPP): Likewise.
24383         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24384         not found.
24385         (open_input): Call CPP using execvp.
24387 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24389         * sysdeps/unix/sysv/linux/kernel-features.h
24390         (__ASSUME_PROT_GROWSUPDOWN): Remove.
24391         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24392         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24393         (__ASSUME_WAITID_SYSCALL): Likewise.
24394         * sysdeps/unix/sysv/linux/dl-execstack.c
24395         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24396         code unconditional.
24397         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24398         conditional code.
24399         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24400         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24401         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24402         code.
24403         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24404         unconditional.
24405         [__ASSUME_WAITID_SYSCALL]: Likewise.
24406         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24408 2012-08-07  Roland McGrath  <roland@hack.frob.com>
24410         * sysdeps/unix/closedir.c: Renamed to ...
24411         * sysdeps/posix/closedir.c: ... here.
24412         * sysdeps/unix/dirfd.c: Renamed to ...
24413         * sysdeps/posix/dirfd.c: ... here.
24414         * sysdeps/unix/dirstream.h: Renamed to ...
24415         * sysdeps/posix/dirstream.h: ... here.
24416         * sysdeps/unix/fdopendir.c: Renamed to ...
24417         * sysdeps/posix/fdopendir.c: ... here.
24418         * sysdeps/unix/opendir.c: Renamed to ...
24419         * sysdeps/posix/opendir.c: ... here.
24420         * sysdeps/unix/readdir.c: Renamed to ...
24421         * sysdeps/posix/readdir.c: ... here.
24422         * sysdeps/unix/readdir_r.c: Renamed to ...
24423         * sysdeps/posix/readdir_r.c: ... here.
24424         * sysdeps/unix/rewinddir.c: Renamed to ...
24425         * sysdeps/posix/rewinddir.c: ... here.
24426         * sysdeps/unix/seekdir.c: Renamed to ...
24427         * sysdeps/posix/seekdir.c: ... here.
24428         * sysdeps/unix/telldir.c: Renamed to ...
24429         * sysdeps/posix/telldir.c: ... here.
24430         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24431         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24432         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24433         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24435         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24436         * bits/fcntl.h: ... here.
24438         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24439         not 0.
24440         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24441         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24442         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24443         (struct flock): Move l_start, l_len to the beginning.
24444         Use __pid_t for l_pid.
24445         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24446         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24447         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24448         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24449         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24450         [__USE_LARGEFILE64] (struct flock64): New type.
24451         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24453         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24454         * bits/dirent.h: ... here.
24456         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24457         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24459 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24461         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24462         Change from 2.6.0 to 2.6.16.
24463         * sysdeps/unix/sysv/linux/configure: Regenerated.
24464         * sysdeps/unix/sysv/linux/kernel-features.h
24465         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24466         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24467         version.
24468         (__ASSUME_UTIMES): Likewise.
24469         (__ASSUME_CLONE_STOPPED): Remove.
24470         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24471         architectures, not kernel version.
24472         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24473         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24474         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24475         (__ASSUME_WAITID_SYSCALL): Likewise.
24476         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24477         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24478         * README: State 2.6.16 as minimum Linux kernel version.  Do not
24479         refer to older versions.
24481 2012-08-06  Roland McGrath  <roland@hack.frob.com>
24483         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24484         Define alphasort64 as an alias.
24485         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24486         Define versionsort64 as an alias.
24487         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24488         Define scandir64 as an alias.
24489         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24490         Define scandirat64 as an alias.
24491         * dirent/alphasort64.c (alphasort64):
24492         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24493         * dirent/versionsort64.c: Likewise.
24494         * dirent/scandir64.c: Likewise.
24495         * dirent/scandirat64.c: Likewise.
24496         * sysdeps/wordsize-64/alphasort.c: File removed.
24497         * sysdeps/wordsize-64/alphasort64.c: File removed.
24498         * sysdeps/wordsize-64/scandir.c: File removed.
24499         * sysdeps/wordsize-64/scandir64.c: File removed.
24500         * sysdeps/wordsize-64/scandirat.c: File removed.
24501         * sysdeps/wordsize-64/scandirat64.c: File removed.
24502         * sysdeps/wordsize-64/versionsort.c: File removed.
24503         * sysdeps/wordsize-64/versionsort64.c: File removed.
24504         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24505         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24506         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24507         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24508         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24509         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24510         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24511         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24513         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24514         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24515         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24516         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24517         [defined __arch64__ || defined __sparcv9]
24518         (__INO_T_MATCHES_INO64_T): New macro.
24519         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24520         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24521         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24522         * sysdeps/unix/sysv/linux/bits/dirent.h
24523         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24524         (_DIRENT_MATCHES_DIRENT64): New macro.
24526         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24527         Define lockf64 as an alias.
24528         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24529         Define fseeko64 as an alias.
24530         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24531         Define ftello64 as an alias.
24532         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24533         Define _IO_fgetpos64 and fgetpos64 as aliases.
24534         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24535         Define _IO_fsetpos64 and fsetpos64 as aliases.
24536         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24537         Conditionalize body on this.
24538         * libio/fseeko64.c: Likewise.
24539         * libio/ftello64.c: Likewise.
24540         * libio/iofgetpos64.c: Likewise.
24541         * libio/iofsetpos64.c: Likewise.
24542         * sysdeps/wordsize-64/lockf.c: File removed.
24543         * sysdeps/wordsize-64/lockf64.c: File removed.
24544         * sysdeps/wordsize-64/fseeko.c: File removed.
24545         * sysdeps/wordsize-64/fseeko64.c: File removed.
24546         * sysdeps/wordsize-64/ftello.c: File removed.
24547         * sysdeps/wordsize-64/ftello64.c: File removed.
24548         * sysdeps/wordsize-64/iofgetpos.c: File removed.
24549         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24550         * sysdeps/wordsize-64/iofsetpos.c: File removed.
24551         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24552         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24553         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24554         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24555         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24556         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24557         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24558         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24559         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24560         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24561         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24563         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24564         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24565         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24566         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24567         [defined __arch64__ || defined __sparcv9]
24568         (__OFF_T_MATCHES_OFF64_T): New macro.
24569         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24570         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24571         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24572         (__OFF_T_MATCHES_OFF64_T): New macro.
24574 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24576         * stdlib/secure-getenv.c (__secure_getenv): Replace
24577         GLIBC_2_16 with GLIBC_2_17.
24579 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24581         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24582         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24584 2012-08-03  David S. Miller  <davem@davemloft.net>
24586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24588 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24591         Remove.
24592         (__ASSUME_CORRECT_SI_PID): Likewise.
24593         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24594         (__ASSUME_TMPFS_NAME): Likewise.
24595         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24596         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24597         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24598         (HAVE_AUX_SECURE): Make definition unconditional.
24599         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24600         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24602 2012-08-03  Roland McGrath  <roland@hack.frob.com>
24604         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24605         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24606         * sysdeps/mach/hurd/eloop-threshold.h: New file.
24607         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24608         __eloop_threshold instead of SYMLOOP_MAX.
24610         * sysdeps/generic/eloop-threshold.h: New file.
24611         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24612         of MAXSYMLINKS.
24613         * elf/chroot_canon.c (chroot_canon): Likewise.
24615 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24617         [BZ #13717]
24618         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24619         Change to 2.6.0 everywhere.
24620         * sysdeps/unix/sysv/linux/configure: Regenerated.
24621         * sysdeps/unix/sysv/linux/kernel-features.h
24622         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24623         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24624         kernel versions.
24625         (__ASSUME_POSIX_TIMERS): Define unconditionally.
24626         (__ASSUME_FUTEX_REQUEUE): Remove.
24627         (__ASSUME_STATFS64): Define unconditionally.
24628         (__ASSUME_AT_SECURE): Likewise.
24629         (__ASSUME_CORRECT_SI_PID): Likewise.
24630         (__ASSUME_TGKILL): Define without depending on kernel version for
24631         i386.
24632         (__ASSUME_UTIMES): Likewise.
24633         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24634         kernel version.
24635         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24636         (__ASSUME_TMPFS_NAME): Likewise.
24637         * README: Update reference to Linux kernel versions.
24639 2012-08-02  Marek Polacek  <polacek@redhat.com>
24641         [BZ# 14150]
24642         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
24643         libc_cv_asm_type_prefix with %.
24644         * configure: Regenerated.
24645         * include/libc-symbols.h: Remove comment about
24646         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24647         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24648         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24649         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24650         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24651         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24652         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24653         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24654         * elf/tst-unique2mod1.c: Likewise.
24655         * elf/tst-unique1mod2.c: Likewise.
24656         * elf/tst-unique1mod1.c: Likewise.
24657         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24658         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24659         Replace ASM_TYPE_DIRECTIVE with .type.
24660         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24661         * sysdeps/i386/sysdep.h: Likewise.
24662         * sysdeps/x86_64/sysdep.h: Likewise.
24663         * sysdeps/sh/sysdep.h: Likewise.
24664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24665         Do not define ASM_TYPE_DIRECTIVE.
24666         * sysdeps/powerpc/sysdep.h: Likewise.
24667         * sysdeps/powerpc/powerpc32/sysdep.h:
24668         Replace ASM_TYPE_DIRECTIVE with .type.
24669         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24670         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24671         * sysdeps/i386/fpu/e_powf.S: Likewise.
24672         * sysdeps/i386/fpu/e_expl.S: Likewise.
24673         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24674         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24675         * sysdeps/i386/fpu/e_pow.S: Likewise.
24676         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24677         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24678         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24679         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24680         * sysdeps/i386/fpu/e_log2.S: Likewise.
24681         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24682         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24683         * sysdeps/i386/fpu/e_powl.S: Likewise.
24684         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24685         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24686         * sysdeps/i386/fpu/e_logl.S: Likewise.
24687         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24688         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24689         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24690         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24691         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24692         * sysdeps/i386/fpu/e_log.S: Likewise.
24693         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24694         * sysdeps/i386/fpu/e_logf.S: Likewise.
24695         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24696         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24697         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24698         * sysdeps/i386/fpu/e_log10.S: Likewise.
24699         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24700         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24701         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24702         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24703         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24704         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24705         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24706         * sysdeps/i386/i686/strtok.S: Likewise.
24707         * sysdeps/i386/i386-mcount.S: Likewise.
24708         * sysdeps/i386/strtok.S: Likewise.
24709         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24710         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24711         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24712         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24713         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24714         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24715         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24716         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24717         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24718         * sysdeps/x86_64/_mcount.S: Likewise.
24719         * sysdeps/x86_64/strtok.S: Likewise.
24720         * sysdeps/sh/_mcount.S: Likewise.
24722 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24724         * libio/iofopen.c: Include <fcntl.h>.
24725         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24726         (_IO_fopen64, fopen64): Define as aliases.
24727         * libio/iofopen64.c: Include <fcntl.h>.
24728         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24729         Conditionalize body on this.
24730         * sysdeps/wordsize-64/iofopen.c: File removed.
24731         * sysdeps/wordsize-64/iofopen64.c: File removed.
24733 2012-08-01  Marek Polacek  <polacek@redhat.com>
24735         * libc/Makeconfig: Use elf in place of binfmt-subdir.
24736         Use dlfcn directly instead of a variable.
24737         (binfmt-subdir): Do not define.
24738         (dlfcn): Likewise.
24740 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
24742         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24743         Remove all definitions.
24744         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24745         <kernel-features.h>.
24746         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24747         (miss_F_GETOWN_EX): Remove all definitions.
24748         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24749         macro definition.
24750         [!__ASSUME_FCNTL64]: Remove conditional code.
24751         [__ASSUME_FCNTL64]: Make code unconditional.
24752         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24753         <kernel-features.h>.
24754         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24755         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24756         (lockf64) [__NR_fcntl64]: Make code unconditional.
24757         (lockf64) [__ASSUME_FCNTL64]: Likewise.
24759         * sysdeps/unix/sysv/linux/kernel-features.h
24760         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24761         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24762         Make code unconditional.
24763         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24764         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24766         [__NR_vfork]: Make code unconditional.
24767         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24768         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24770         [__NR_vfork]: Make code unconditional.
24771         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24772         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24774 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24776         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24777         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24779         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24780         Define mkstemp64 as an alias.
24781         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24782         Define mkstemps64 as an alias.
24783         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24784         Define mkostemp64 as an alias.
24785         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24786         Define mkostemps64 as an alias.
24787         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24788         Conditionalize body on this.
24789         * misc/mkostemp64.c: Likewise.
24790         * misc/mkostemps64.c: Likewise.
24791         * misc/mkstemps64.c: Likewise.
24792         * sysdeps/wordsize-64/mkstemp64.c: File removed.
24793         * sysdeps/wordsize-64/mkostemp64.c: File removed.
24794         * sysdeps/wordsize-64/mkostemp.c: File removed.
24795         * sysdeps/wordsize-64/mkstemp.c: File removed.
24796         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24797         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24798         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24799         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24801         [BZ #14138]
24802         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24803         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24804         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24805         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24807         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24808         compat_symbol macros from <shlib-compat.h> rather than the underlying
24809         default_symbol_version and symbol_version macros, so that DEFAULT
24810         lines in shlib-versions are respected.
24811         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24813 2012-08-01  Florian Weimer  <fweimer@redhat.com>
24815         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24816         Declare with warn_unused_result.
24817         (setgid, setregid, setegid, setresgid): Likewise.
24818         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24819         Likewise.
24820         * WUR-REPORT: Remove set*id functions.
24822 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
24824         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24826 2012-07-31  Roland McGrath  <roland@hack.frob.com>
24828         [BZ #10191]
24829         * include/sys/socket.h (__libc_accept, __libc_accept4):
24830         Add attribute_hidden.
24831         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24833         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24834         use of PTR_MANGLE.
24835         * inet/getnetgrent_r.c (setup): Likewise.
24837         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24839 2012-07-31  David S. Miller  <davem@davemloft.net>
24841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24843 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
24845         [BZ #13629]
24846         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24847         value between 1.0 and 2.0 and smaller part has absolute value less
24848         than 1.0.
24849         * math/s_clog10.c (__clog10): Likewise.
24850         * math/s_clog10f.c (__clog10f): Likewise.
24851         * math/s_clog10l.c (__clog10l): Likewise.
24852         * math/s_clogf.c (__clogf): Likewise.
24853         * math/s_clogl.c (__clogl): Likewise.
24854         * math/libm-test.inc (clog_test): Add more tests.
24855         (clog10_test): Likewise.
24856         * sysdeps/i386/fpu/libm-test-ulps: Update.
24857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24859 2012-07-31  Florian Weimer  <fweimer@redhat.com>
24861         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24862         Exit with zero in case no suitable GID is found, and write a
24863         message to standard error.
24865 2012-07-30  Roland McGrath  <roland@hack.frob.com>
24867         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24868         rather than to 1.
24869         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24870         (MAXPATHLEN): Removed.
24871         (NOGROUP, NODEV): New macros.
24872         (setbit, clrbit, isset, isclr): New macros.
24873         (howmany, roundup, powerof2): New macros.
24874         (DEV_BSIZE): New macro.
24876         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24877         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24879         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24880         definition on [!__NO_LONG_DOUBLE_MATH].
24882         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24883         PTR_MANGLE and PTR_DEMANGLE.
24885         * socket/accept4.c (accept4): Rename to __libc_accept4.
24886         Define accept4 as a weak alias.
24888         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24889         on [_DIRENT_HAVE_D_TYPE].
24890         * io/ftw.c (ftw_dir): Likewise.
24892         * io/xmknod.c (__xmknod): Don't check PATH for being null.
24894         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24896         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24897         Use the BSD numbers rather than the arbitrary ones we had.
24898         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24899         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24900         (SIGXCPU, SIGXFSZ): New macros.
24901         (_NSIG): Now 32.
24903         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24904         initializer on [_LIBC_REENTRANT].
24906         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24907         definitions inside [_POSIX_MAPPED_FILES].
24909         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24911         * dirent/opendir.c: Include <fcntl.h>.
24913         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24914         (__libc_getspecific): Likewise.
24915         (__libc_key_create): Likewise.
24917         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24918         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24919         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24920         (tmpfile64): Define as alias.
24921         * sysdeps/wordsize-64/tmpfile.c: File removed.
24922         * sysdeps/wordsize-64/tmpfile64.c: File removed.
24923         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24924         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24926         * stdio-common/vfscanf.c: Include <stdbool.h>.
24927         * nss/makedb.c: Likewise.
24928         * stdio-common/_i18n_number.h: Likewise.
24929         * argp/argp-help.c: Likewise.
24930         * posix/wordexp.c: Likewise.
24931         * sysdeps/posix/spawni.c: Likewise.
24932         * nss/nss_files/files-initgroups.c: Likewise.
24933         * stdio-common/reg-modifier.c: Include <stdlib.h>.
24934         * nss/nss_files/files-initgroups.c: Likewise.
24935         * nss/nss_db/db-netgrp.c: Likewise.
24936         * nss/nss_db/db-initgroups.c: Likewise.
24937         * io/fchmodat.c: Include <sys/stat.h>.
24939         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24940         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24942         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24943         [HAVE_MMAP].
24945         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24946         Add multiple inclusion protection.
24948 2012-07-27  David S. Miller  <davem@davemloft.net>
24950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24952 2012-07-27  Gary Benson  <gbenson@redhat.com>
24954         [BZ #14298]
24955         * elf/rtld.c: Include <stap-probe.h>.
24956         (dl_main): Added static probes "init_start" and "init_complete".
24957         * elf/dl-load.c: Include <stap-probe.h>.
24958         (lose): Take new parameter "nsid".
24959         Added static probe "map_failed".
24960         (_dl_map_object_from_fd): Pass namespace id to lose.
24961         Added static probe "map_start".
24962         (open_verify): Pass namespace id to lose.
24963         * elf/dl-open.c: Include <stap-probe.h>.
24964         (dl_open_worker) Added static probes "map_complete", "reloc_start"
24965         and "reloc_complete".
24966         * elf/dl-close.c: Include <stap-probe.h>.
24967         (_dl_close_worker): Added static probes "unmap_start" and
24968         "unmap_complete".
24969         * elf/rtld-debugger-interface.txt: New file documenting the above.
24971 2012-07-26  Roland McGrath  <roland@hack.frob.com>
24973         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24974         rather than a string variable.
24975         * sunrpc/rpc_main.c (h_output): Likewise.
24976         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24978 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
24980         * inet/check_native.c: New file.
24982 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
24984         [BZ #13629]
24985         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24986         if larger part has absolute value 1.0.
24987         * math/s_clog10.c (__clog10): Likewise.
24988         * math/s_clog10f.c (__clog10f): Likewise.
24989         * math/s_clog10l.c (__clog10l): Likewise.
24990         * math/s_clogf.c (__clogf): Likewise.
24991         * math/s_clogl.c (__clogl): Likewise.
24992         * math/libm-test.inc (clog_test): Add more tests.
24993         (clog10_test): Likewise.
24994         * sysdeps/i386/fpu/libm-test-ulps: Update.
24995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24997         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24998         (pltexit): Likewise.
24999         (La_regs): Likewise.
25000         (La_retval): Likewise.
25001         (int_retval): Likewise.
25002         Update #error for removed macros to refer only to definitions in
25003         tst-audit.h.
25004         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25005         macro.
25006         (pltexit): Likewise.
25007         (La_regs): Likewise.
25008         (La_retval): Likewise.
25009         (int_retval): Likewise.
25010         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25011         macro.
25012         (pltexit): Likewise.
25013         (La_regs): Likewise.
25014         (La_retval): Likewise.
25015         (int_retval): Likewise.
25016         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25017         macro.
25018         (pltexit): Likewise.
25019         (La_regs): Likewise.
25020         (La_retval): Likewise.
25021         (int_retval): Likewise.
25022         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25023         macro.
25024         (pltexit): Likewise.
25025         (La_regs): Likewise.
25026         (La_retval): Likewise.
25027         (int_retval): Likewise.
25028         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25029         macro.
25030         (pltexit): Likewise.
25031         (La_regs): Likewise.
25032         (La_retval): Likewise.
25033         (int_retval): Likewise.
25034         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25035         macro.
25036         (pltexit): Likewise.
25037         (La_regs): Likewise.
25038         (La_retval): Likewise.
25039         (int_retval): Likewise.
25040         * sysdeps/generic/tst-audit.h: Update comment to refer only to
25041         macro definitions in tst-audit.h.
25042         * sysdeps/i386/tst-audit.h: New file.
25043         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25044         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25045         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25046         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25047         * sysdeps/sh/tst-audit.h: Likewise.
25048         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25049         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25050         * sysdeps/x86_64/tst-audit.h: Likewise.
25052 2012-07-26  Andreas Jaeger  <aj@suse.de>
25054         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25055         ptrace.
25057         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25058         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25059         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25060         PTRACE_O_MASK.
25061         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25062         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25063         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25065         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25066         value.
25068         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25069         _sigsys.
25070         (si_call_addr, si_syscall, si_arch): Define new macro.
25071         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25072         _sigsys.
25073         (si_call_addr, si_syscall, si_arch): Define new marcro.
25074         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25075         _sigsys.
25076         (si_call_addr, si_syscall, si_arch): Define new macro.
25077         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25078         _sigsys.
25079         (si_call_addr, si_syscall, si_arch): Define new macro.
25081 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25083         [BZ #13717]
25084         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25085         Change to 2.4.21 where previously 2.4.1.
25086         * sysdeps/unix/sysv/linux/configure: Regenerated.
25087         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25088         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25089         Linux kernel version.
25090         (__ASSUME_STD_AUXV): Remove.
25091         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25092         kernel version.
25093         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25094         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25095         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25096         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25097         (__ASSUME_NETLINK_SUPPORT): Likewise.
25098         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25099         (__no_netlink_support): Remove conditional definition.
25100         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25101         Remove.
25102         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25103         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25104         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25105         (if_nameindex_ioctl): Remove.
25106         (if_nameindex_netlink): Do not handle __no_netlink_support.
25107         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25108         code.
25109         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25110         Remove conditional code.
25111         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25112         code.
25113         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25114         unconditional.
25115         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25116         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25117         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25118         Remove.
25119         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25120         [!__ASSUME_STD_AUXV]: Remove conditional code.
25121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25122         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25123         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25125         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25126         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25127         code.
25128         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25130         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25131         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25132         conditional code.
25133         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25135         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25136         code.
25137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25138         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25139         conditional code.
25140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25141         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25142         code unconditional.
25143         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25144         conditional code.
25145         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25146         unconditional.
25147         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25148         conditional code.
25149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25150         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25151         unconditional.
25152         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25153         conditional code.
25154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25155         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25156         code unconditional.
25157         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25158         conditional code.
25159         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25160         unconditional.
25161         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25162         conditional code.
25163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25164         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25165         code unconditional.
25166         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25167         conditional code.
25168         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25169         unconditional.
25170         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25171         conditional code.
25173 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
25175         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25176         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25177         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25178         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25179         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25180         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25181         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25182         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25183         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25184         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25185         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25186         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25187         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25188         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25189         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25190         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25191         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25192         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25193         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25194         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25195         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25196         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25197         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25199 2012-07-25  Florian Weimer  <fweimer@redhat.com>
25201         * Versions.def: Add GLIBC_2.17.
25202         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25203         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25204         Introduce __libc_secure_getenv.
25205         * stdlib/Versions (2.17): Add secure_getenv
25206         (GLIBC_PRIVATE): Add __libc_secure_getenv.
25207         * stdlib/secure-getenv.c: Rename __secure_getenv to
25208         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
25209         symbol __secure_getenv for GLIBC_2.0.
25210         * stdlib/tst-secure-getenv.c: New.
25211         * stdlib/Makefile (tests): Add testcase.
25212         * manual/startup.texi (Environment Access): Document
25213         secure_getenv.
25214         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25215         __libc_secure_getenv.
25216         * inet/ruserpass.c (ruserpass): Likewise.
25217         * malloc/mtrace.c (mtrace): Likewise.
25218         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25219         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25220         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25221         * sysdeps/posix/tempname.c: Likewise.  Evaluate
25222         HAVE_SECURE_GETENV.
25223         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25224         __secure_getenv to __libc_secure_getenv.
25225         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25227         Likewise.
25228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25229         Likewise.
25230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25232         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25238 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25240         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25241         (struct La_i86_retval): Likewise.
25242         (struct La_x86_64_regs): Likewise.
25243         (struct La_x86_64_retval): Likewise.
25244         (struct La_x32_regs): Likewise.
25245         (struct La_x32_retval): Likewise.
25246         (struct La_ppc32_regs): Likewise.
25247         (struct La_ppc32_retval): Likewise.
25248         (struct La_ppc64_regs): Likewise.
25249         (struct La_ppc64_retval): Likewise.
25250         (struct La_sh_regs): Likewise.
25251         (struct La_sh_retval): Likewise.
25252         (struct La_s390_32_regs): Likewise.
25253         (struct La_s390_32_retval): Likewise.
25254         (struct La_s390_64_regs): Likewise.
25255         (struct La_s390_64_retval): Likewise.
25256         (struct La_sparc32_regs): Likewise.
25257         (struct La_sparc32_retval): Likewise.
25258         (struct La_sparc64_regs): Likewise.
25259         (struct La_sparc64_retval): Likewise.
25260         (struct audit_ifaces): Remove architecture-specific pltenter and
25261         pltexit members.
25262         * sysdeps/i386/ldsodefs.h: New file.
25263         * sysdeps/powerpc/ldsodefs.h: Likewise.
25264         * sysdeps/s390/ldsodefs.h: Likewise.
25265         * sysdeps/sh/ldsodefs.h: Likewise.
25266         * sysdeps/sparc/ldsodefs.h: Likewise.
25267         * sysdeps/x86_64/ldsodefs.h: Likewise.
25269 2012-07-25  Marek Polacek  <polacek@redhat.com>
25271         [BZ #6808]
25272         * math/libm-test.inc (yn_test): Add another test.
25273         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25274         to ERANGE when the result is +-Inf.
25275         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25276         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25277         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25278         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25280 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
25282         * conform/data/time.h-data (NULL): Use macro-constant.  Require
25283         equal to 0.
25284         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
25285         clock_t.
25286         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
25288 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
25290         * configure.in <sysdeps resolving>: Correct printing
25291         Implies_before.
25292         * configure: Regenerate.
25294 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
25296         * math/w_ilogb.c: Include <limits.h>.
25297         * math/w_ilogbl.c: Likewise.
25299 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25301         * manual/lang.texi (__va_copy): Document primarily as ISO C99
25302         va_copy.  Document allowing for unavailable va_copy only as
25303         pre-C99 compatibility.
25304         * manual/string.texi (Copying and Concatenation): Use va_copy
25305         instead of __va_copy in concat example.
25307 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
25309         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25310         (__sendto): Use create_address_port.  Initialize APORT and deallocate
25311         it if not null.
25313         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25314         with O_NOLINK passed to __file_name_lookup.
25316         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25317         with O_NOLINK passed to __file_name_lookup.
25319         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25320         negative N or less than NGIDS.
25322         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25323         type to string_t.  Set ERANGE as errno and return it if NAME is not big
25324         enough.  Use memcpy instead of strncpy.
25326 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25328         * elf/Makefile (check-data): Remove.
25329         (localplt.data): New vpath directive.
25330         ($(objpfx)check-localplt.out): Use localplt.data from vpath
25331         instead of $(check-data).
25332         * scripts/data/localplt-generic.data: Move to ...
25333         * sysdeps/generic/localplt.data: ... here.
25334         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25335         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25336         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25338         ... here.
25339         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25341         ... here.
25342         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25344         ... here.
25345         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25347         ... here.
25348         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25350         ... here.
25351         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25353         ... here.
25355 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25357         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25358         PPC32 and PPC64 files.
25359         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25360         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25362 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25364         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25365         __makecontext_ret to ...
25366         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25367         ... here and call exit if uc_link is NULL.  New file.
25368         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25369         __makecontext_ret.S.
25370         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25371         __makecontext_ret to ...
25372         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25373         ... here and call exit if uc_link is NULL.  New file.
25374         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25375         __makecontext_ret.S.
25377 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25379         * elf/elf.h (R_390_IRELATIVE): New definition.
25380         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25381         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
25382         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25383         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25384         (elf_machine_lazy_rel): Likewise.
25385         * sysdeps/s390/dl-irel.h: New file.
25386         * sysdeps/s390/s390-64/memcpy.S: New asm code.
25387         * sysdeps/s390/s390-64/memset.S: New asm code.
25388         * sysdeps/s390/s390-64/memcmp.S: New asm code.
25389         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25390         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25391         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25392         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25393         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25394         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25395         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25396         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25397         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25398         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25399         * sysdeps/s390/s390-32/memcpy.S: New asm code.
25400         * sysdeps/s390/s390-32/memset.S: New asm code.
25401         * sysdeps/s390/s390-32/memcmp.S: New asm code.
25403 2012-07-17  Marek Polacek  <polacek@redhat.com>
25405         [BZ #14349]
25406         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25407         * sysdeps/s390/s390-64/configure.in: Likewise.
25408         * sysdeps/sparc/configure.in: Likewise.
25409         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25410         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25411         * sysdeps/i386/configure.in: Likewise.
25412         * sysdeps/x86_64/configure.in: Likewise.
25413         * sysdeps/sh/configure.in: Likewise.
25414         * sysdeps/s390/s390-32/configure: Regenerated.
25415         * sysdeps/s390/s390-64/configure: Likewise.
25416         * sysdeps/x86_64/configure: Likewise.
25417         * sysdeps/sh/configure: Likewise.
25418         * sysdeps/powerpc/powerpc64/configure: Likewise.
25419         * sysdeps/powerpc/powerpc32/configure: Likewise.
25420         * sysdeps/sparc/configure: Likwise.
25421         * sysdeps/i386/configure: Likewise.
25423         * elf/dl-open.c: Comment fixes.
25425 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
25427         * Makefile [CXX] (check-data): Remove.
25428         [CXX] (c++-types.data): New vpath directive.
25429         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25430         vpath.  Do not allow for C++ type data being missing.
25431         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25432         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25433         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25434         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25435         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25436         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25437         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25439         ... here.
25440         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25442         ... here.
25443         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25445         ... here.
25446         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25448         ... here.
25449         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25451         ... here.
25452         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25454         ... here.
25455         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25457         ... here.
25458         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25461         * elf/tls-macros.h (TLS_LE): Move architecture-specific
25462         definitions to architecture-specific files.
25463         (TLS_IE): Likewise.
25464         (TLS_LD): Likewise.
25465         (TLS_GD): Likewise.
25466         * sysdeps/i386/tls-macros.h: New file.
25467         * sysdeps/powerpc/tls-macros.h: Likewise.
25468         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25469         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25470         * sysdeps/sh/tls-macros.h: Likewise.
25471         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25472         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25473         * sysdeps/x86_64/tls-macros.h: Likewise.
25475 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25477         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25478         zero value for regular exit case.
25480         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25481         (__start_context): Preserve zero value for regular exit case.
25483 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25484             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25486         * manual/setjmp.texi (setcontext): Clarify normal process
25487         termination when uc_link is the null pointer.
25488         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25489         exit call.
25491 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
25493         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25494         preprocessor.  Test for each exception mask separately.
25496 2012-07-16  Andreas Jaeger  <aj@suse.de>
25498         * po/ru.po: Update from translation team.
25500 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
25502         * conform/data/string.h-data (NULL): Use macro-constant.  Require
25503         equal to 0.
25504         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25505         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25506         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25507         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25508         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25510 2012-07-13  Andreas Jaeger  <aj@suse.de>
25512         * po/fr.po: Update from translation team.
25514 2012-07-12  Marek Polacek  <polacek@redhat.com>
25516         [BZ #14173]
25517         * math/libm-test.inc (yn_test): Add test for BZ #14173.
25518         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25519         loop condition.
25521 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
25523         [BZ #13717]
25524         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25525         Change to 2.4.1 where previously 2.4.0.
25526         * sysdeps/unix/sysv/linux/configure: Regenerated.
25527         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25528         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25529         version.
25530         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25531         (__ASSUME_AT_CLKTCK): Remove.
25532         (__ASSUME_AT_PAGESIZE): Likewise.
25533         (__ASSUME_AT_XID): Likewise.
25534         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25535         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25536         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25537         unconditionally.
25538         (HAVE_AUX_PAGESIZE): Likewise.
25539         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25540         [__ASSUME_AT_CLKTCK]: Make code unconditional.
25541         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25543 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
25545         [BZ #14307]
25546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25547         the temporary buffer used to invoke __gethostbyname2_r,
25548         __gethostbyaddr_r and gethostbyname4_r to make room for struct
25549         host_data / struct gaih_addrtuple.
25550         * resolv/nss_dns/dns-host.c (global scope): Move definition of
25551         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25552         header file nss/nsswitch.h.
25553         * nss/nsswitch.h (global scope): Add definition of implementation
25554         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25555         resolv/nss_dns/dns-host.c).
25557 2012-07-11  Andreas Jaeger  <aj@suse.de>
25559         * po/fr.po: Update from translation team.
25561         * po/sv.po: Update from translation team
25562         * po/fr.po: Another update from translation team.
25564 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25566         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25567         for subnormals or multiply small sinh result by itself.
25568         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25571 2012-07-11  David S. Miller  <davem@davemloft.net>
25573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25575 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
25577         [BZ #14347]
25578         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25579         (INTERNAL_MARK): Shift it here.
25581 2012-07-10  Marek Polacek  <polacek@redhat.com>
25583         [BZ #14151]
25584         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
25585         libc_cv_asm_global_directive with .globl.
25586         * configure: Regenerated.
25587         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25588         with .globl.
25589         * sysdeps/i386/configure: Regenerated.
25590         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25591         with .globl.
25592         * sysdeps/x86_64/configure: Regenerated.
25593         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25594         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25595         * elf/tst-unique2mod2.c: Likewise.
25596         * elf/tst-unique2mod1.c: Likewise.
25597         * elf/tst-unique1mod2.c: Likewise.
25598         * elf/tst-unique1mod1.c: Likewise.
25599         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25600         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25601         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25602         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25603         * sysdeps/mach/sysdep.h: Likewise.
25604         * sysdeps/i386/sysdep.h: Likewise.
25605         * sysdeps/i386/i386-mcount.S: Likewise.
25606         * sysdeps/x86_64/_mcount.S: Likewise.
25607         * sysdeps/x86_64/sysdep.h: Likewise.
25608         * sysdeps/sh/_mcount.S: Likewise.
25609         * sysdeps/sh/sysdep.h: Likewise.
25610         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25611         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25612         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25613         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25614         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25615         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25616         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25617         * locale/localeinfo.h: Likewise.
25618         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25619         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25621 2012-07-09  Roland McGrath  <roland@hack.frob.com>
25623         [BZ #14336]
25624         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25625         system".
25626         * manual/message.texi (The Uniforum approach): Likewise.
25627         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25628         (glibc iconv Implementation): Likewise.
25630 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
25632         [BZ #14337]
25633         * math/s_clog.c (__clog): Avoid scaling a value down where that
25634         could result in underflow.
25635         * math/s_clog10.c (__clog10): Likewise.
25636         * math/s_clog10f.c (__clog10f): Likewise.
25637         * math/s_clog10l.c (__clog10l): Likewise.
25638         * math/s_clogf.c (__clogf): Likewise.
25639         * math/s_clogl.c (__clogl): Likewise.
25640         * math/libm-test.inc (clog_test): Add more tests.
25641         (clog10_test): Likewise.
25642         * sysdeps/i386/fpu/libm-test-ulps: Update.
25643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25645 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
25647         [BZ #14283]
25648         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25649         by 7 not 8 to examine high bit of fractional part.
25651         [BZ #14042]
25652         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25653         for call to __mcount_internal.
25654         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25655         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25656         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25658 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
25660         [BZ #14154]
25661         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25662         approximation for values within 0x1p-13f of an odd multiple of
25663         pi/4.
25664         * math/libm-test.inc (tan_test): Do not allow spurious underflow
25665         exception.  Add more tests.
25666         * sysdeps/i386/fpu/libm-test-ulps: Update.
25668         [BZ #6778]
25669         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25670         inputs and return -1 for them.  Do not check for +Inf in case not
25671         reachable for +Inf.
25672         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25673         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25674         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25675         and return -1 for them.  Do not check for +Inf in case not
25676         reachable for +Inf.
25677         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25678         define.
25679         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25680         and return -1 for them.  Do not check for +Inf in case not
25681         reachable for +Inf.
25682         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
25683         spurious underflow.
25684         * sysdeps/i386/fpu/libm-test-ulps: Update.
25685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25687 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
25689         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25691 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
25693         [BZ #14157]
25694         [BZ #14331]
25695         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25696         could result in spurious underflow.  Scale down values above
25697         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25698         * math/s_csqrtf.c (__csqrtf): Likewise.
25699         * math/s_csqrtl.c (__csqrtl): Likewise.
25700         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
25701         spurious underflow.
25702         * sysdeps/i386/fpu/libm-test-ulps: Update.
25703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25705 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
25707         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25708         xopen-msg.sed.
25709         * catgets/xopen-msg.awk: New file.
25710         * catgets/xopen-msg.sed: Removed.
25712         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25713         po2text.sed.
25714         * intl/po2test.awk: New file.
25715         * intl/po2test.sed: Removed.
25717 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
25719         [BZ #14328]
25720         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25721         or multiply small sinh result by itself.
25722         * math/s_ctanf.c (__ctanf): Likewise.
25723         * math/s_ctanh.c (__ctanh): Likewise.
25724         * math/s_ctanhf.c (__ctanhf): Likewise.
25725         * math/s_ctanhl.c (__ctanhl): Likewise.
25726         * math/s_ctanl.c (__ctanl): Likewise.
25727         * math/libm-test.inc (ctan_test_tonearest): New function.
25728         (ctan_test_towardzero): Likewise.
25729         (ctan_test_downward): Likewise.
25730         (ctan_test_upward): Likewise.
25731         (ctanh_test_tonearest): Likewise.
25732         (ctanh_test_towardzero): Likewise.
25733         (ctanh_test_downward): Likewise.
25734         (ctanh_test_upward): Likewise.
25735         (main): Call these new functions.
25736         * sysdeps/i386/fpu/libm-test-ulps: Update.
25737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25739 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
25741         * .gitignore: Delete /ports entry.
25743 2012-07-03  Andreas Jaeger  <aj@suse.de>
25745         * po/bg.po: Update from translation team.
25746         * po/cs.po: Likewise.
25747         * po/de.po: Likewise.
25748         * po/hr.po: Likewise.
25749         * po/nl.pl: Likewise.
25750         * po/pl.po: Likewise.
25751         * po/vi.po: Likewise.
25753 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
25755         * Makeconfig [!+link] (+link-before-libc): New variable.
25756         [!+link] (+link-after-libc): Likewise.
25757         [!+link] (+link-tests): Likewise.
25758         [!+link] (+link): Define in terms of $(+link-before-libc) and
25759         $(+link-after-libc).
25760         [!+link-static] (+link-static-before-libc): New variable.
25761         [!+link-static] (+link-static-after-libc): Likewise.
25762         [!+link-static] (+link-static-tests): Likewise.
25763         [!+link-static] (+link-static): Define in terms of
25764         $(+link-static-before-libc) and $(+link-static-after-libc).
25765         [build-shared] (link-libc-before-gnulib): New variable.
25766         [build-shared] (link-libc-tests): Likewise.
25767         [build-shared] (link-libc): Define in terms of
25768         $(link-libc-before-gnulib).
25769         [!build-shared] (link-libc-tests): New variable.
25770         (link-libc-static-tests): New variable.
25771         [!gnulib] (gnulib-arch): New variable.
25772         [!gnulib] (gnulib-tests): Likewise.
25773         [!gnulib] (static-gnulib-arch): Likewise.
25774         [!gnulib] (static-gnulib-tests): Likewise.
25775         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
25776         Define with "=" instead of ":=".
25777         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
25778         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
25779         * Rules (binaries-all-notests): New variable.
25780         (binaries-all-tests): Likewise.
25781         (binaries-static-notests): Likewise.
25782         (binaries-static-tests): Likewise.
25783         (binaries-all): Define using $(binaries-all-notests) and
25784         $(binaries-all-tests).
25785         (binaries-static): Define using $(binaries-static-notests) and
25786         $(binaries-static-tests).
25787         (binaries-shared-tests): New variable.
25788         (binaries-shared-notests): Likewise.
25789         (binaries-shared): Remove variable.
25790         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25791         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25792         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25793         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25794         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25795         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25796         * elf/Makefile (sln-modules): New variable.
25797         (extra-objs): Add $(sln-modules:=.o).
25798         (ldconfig-modules): Add static-stubs.
25799         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25800         * elf/static-stubs.c: New file.
25802         [BZ #14283]
25803         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25804         by 7 not 8 to examine high bit of fractional part.  Use volatile
25805         variables when splitting into final array of floats if
25806         __FLT_EVAL_METHOD__ != 0.
25807         * math/libm-test.inc (cos_test): Add another test.
25808         (sin_test): Likewise.
25809         * sysdeps/i386/fpu/libm-test-ulps: Update.
25811         [BZ #14273]
25812         * math/libm-test.inc (cosh_test): Add more tests.
25814         * version.h (RELEASE): Set to "development".
25815         (VERSION): Set to "2.16.90".
25817 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
25819         * NEWS: Update copyright. Remove last-updated date.
25820         Mention math library bug fixes and timezone data changes.
25821         * README: Mention GNU/Hurd, x32, and HPPA support status.
25823 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
25825         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25827 2012-06-27  Andreas Jaeger  <aj@suse.de>
25829         * manual/contrib.texi (Contributors): Add Samuel Thibault.
25831 2012-06-25  Andreas Jaeger  <aj@suse.de>
25833         * sysdeps/s390/fpu/libm-test-ulps: Update.
25835 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
25836             Thomas Schwinge  <thomas@codesourcery.com>
25838         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25839         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25840         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25841         fanotify_mark.
25843 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
25845         * sysdeps/mach/start.c: Remove file.
25846         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25847         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25848         * sysdeps/sh/init-first.c: Likewise.
25850         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25851         registers for frame unwinding purposes, add CFI directives.
25852         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25853         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25854         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25855         Likewise.
25857         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25858         __fortify_fail returning.
25859         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25861         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25862         sysdeps/sh/____longjmp_chk.S.
25863         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25864         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25865         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25866         (gen-as-const-headers): Append sigaltstack-offsets.sym.
25868         * sysdeps/sh/abort-instr.h: New file.
25869         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25870         process in case exit returns.
25872         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25873         initialize the GOT register before use.
25875         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25876         calculation of ARGC > 4.
25878         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25879         meaningful names to some local labels.
25881 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25882             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25884         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25885         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25886         (__arch_compare_and_exchange_val_16_acq): Likewise.
25887         (__arch_compare_and_exchange_val_32_acq): Likewise.
25888         (atomic_exchange_and_add): Fix gUSA sequence.
25889         (atomic_add): Likewise.
25890         (atomic_add_negative): Likewise.
25891         (atomic_add_zero): Likewise.
25892         (atomic_bit_test_set): Likewise.
25894 2012-06-22  Andreas Schwab  <schwab@redhat.com>
25896         [BZ #13579]
25897         * include/link.h (struct link_map): Add l_free_initfini.
25898         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25899         l_initfini.
25900         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25901         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25902         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25903         set.
25905 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
25907         * configure.in: Use AC_LANG_SOURCE.
25908         * configure: Regenerate.
25910 2012-06-22  Roland McGrath  <roland@hack.frob.com>
25912         * configure.in (libc_cv_localstatedir): New substituted variable.
25913         * configure: Regenerated.
25914         * config.make.in (localstatedir): New variable, substituted from
25915         libc_cv_localstatedir.
25916         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25917         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25918         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25919         * sysdeps/gnu/configure: Regenerated.
25921 2012-06-21  Jeff Law  <law@redhat.com>
25923         [BZ #14277]
25924         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25925         free.  Simplify list management for _LIBC case.
25927 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
25929         [BZ #14273]
25930         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25931         Clear sign bit of 64-bit integer value before comparing against
25932         overflow value.
25934         * sysdeps/mach/configure: Regenerated.
25936 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
25938         [BZ #14278]
25939         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25941 2012-06-21  Jeff Law  <law@redhat.com>
25943         [BZ #13882]
25944         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
25945         uint16_t for elements in the "seen" array to avoid char overflows.
25946         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25947         * elf/dl-open.c (dl_open_worker): Likewise.
25949 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
25951         * scripts/list-sources.sh: Scan PORTS for translations.
25952         * po/libc.pot: Regenerated.
25954 2012-06-21  Andreas Jaeger  <aj@suse.de>
25956         [BZ #12194]
25957         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25958         warning.
25959         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25960         * bits/byteswap-16.h (__bswap_16): Likewise.
25961         * bits/byteswap.h (__bswap_constant_16): Likewise.
25963 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
25965         [BZ #14117]
25966         * sysdeps/i386/fpu_control.h: Removed.
25967         * sysdeps/x86_64/fpu_control.h: Moved to ...
25968         * sysdeps/x86/fpu_control.h: Here.
25970         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25971         (_FPU_SETCW): Likewise.
25973 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
25975         [BZ #14117]
25976         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25977         * sysdeps/x86/fpu/bits/mathinline.h: This.
25978         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25980         [BZ #14050]
25981         [BZ #14117]
25982         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25983         functions if __x86_64__ is defined.
25985 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
25987         * string/endian.h: Add !__ASSEMBLER__ condition for including
25988         conversion interfaces.
25990 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
25992         [BZ #14241]
25993         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25994         of ABS(x) in calculating zero to negative powers other than odd
25995         integers.
25996         * math/libm-test.inc (pow_test): Add more tests.
25998 2012-06-15  Andreas Jaeger  <aj@suse.de>
26000         * manual/contrib.texi (Contributors): Update entry of Liubov
26001         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26002         Machado Filho.
26004 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
26006         * string/string.h: Add __wur to GNU version of strerror_r.
26008 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
26010         [BZ #14229]
26011         * string/Makefile (tests): Add tst-strtok_r.
26012         * string/tst-strtok_r.c: New file.
26013         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26014         RAX_LP/RDX_LP on SAVE_PTR.
26016 2012-06-14  Roland McGrath  <roland@hack.frob.com>
26018         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26020 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
26022         * libm_test.inc (csqrt_test): Allow more spurious underflow
26023         exceptions.
26024         (j0_test): Likewise.
26025         (j1_test): Likewise.
26026         (y0_test): Likewise.
26027         (y1_test): Likewise.
26029 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
26031         * po/Makefile (libc.pot): Use UTF-8 charset.
26033 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
26035         [BZ #14210]
26036         Suppress sign-conversion warning from FD_SET.
26037         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26038         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26039         not unsigned long int.
26040         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26042 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
26044         [BZ #14050]
26045         [BZ #14117]
26046         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26047         __extern_always_inline instead of __extern_inline.
26048         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26049         (__signbit): Likewise.
26050         (__signbitl): Support C++ namespace.
26051         (lrintf): New inline function.
26052         (lrint): Likewise.
26053         (llrintf): Likewise.
26054         (llrint): Likewise.
26055         (fmaxf): Likewise.
26056         (fmax): Likewise.
26057         (fminf): Likewise.
26058         (fmin): Likewise.
26059         (rint): Likewise.
26060         (rintf): Likewise.
26061         (ceil): Likewise.
26062         (ceilf): Likewise.
26063         (floor): Likewise.
26064         (floorf): Likewise.
26065         (nearbyint): Likewise.
26066         (nearbyintf): Likewise.
26068 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
26070         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26071         non-default versions.
26073 2012-06-11  Roland McGrath  <roland@hack.frob.com>
26075         [BZ #14218]
26076         * manual/argp.texi (Argp): Reword argp_parse description slightly.
26078 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
26080         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26081         (FE_UPWARD, FE_DOWNWARD): Don't define.
26082         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26083         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26085         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26086         reading it.
26087         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26088         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26090 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26092         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26093         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26094         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26095         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26097 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
26099         [BZ #14117]
26100         * sysdeps/i386/fpu/bits/fenv.h: Removed.
26101         * sysdeps/i386/fpu/Implies: New file.
26102         * sysdeps/x86_64/fpu/Implies: Likewise.
26103         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26104         * sysdeps/x86/fpu/bits/fenv.h: This.
26106         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26107         __SSE_MATH__.
26109 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26111         [BZ #14134]
26112         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26113         character 0xffff that matches the last element of the
26114         conversion table.
26116 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26118         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26119         fmodl commit.
26121 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26123         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26124         values higher than 25.6283.
26126 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26128         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26129         subnormal exponent extraction and add some __builtin_expect.
26130         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26131         Fix for subnormal mantissa calculation.
26133 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
26135         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26136         cpu2 is -1 and errno is not ENOSYS.
26138 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
26140         [BZ #14117]
26141         * sysdeps/i386/i486/bits/string.h: Renamed to ...
26142         * sysdeps/x86/bits/string.h: This.
26143         * sysdeps/x86_64/bits/string.h: Removed.
26145         * sysdeps/i386/i486/bits/string.h: Define inline functions only
26146         if not compiling for x86-64, but compiling for >= i486.
26148         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26149         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26151         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26152         New macro from Linux kernel 3.4.0.
26153         (FP_XSTATE_MAGIC2): Likewise.
26154         (FP_XSTATE_MAGIC2_SIZE): Likewise.
26155         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26156         (struct _fpx_sw_bytes): New struct.
26157         (struct _xsave_hdr): Likewise.
26158         (struct _ymmh_state): Likewise.
26159         (struct _xstate): Likewise.
26161         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26162         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26163         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26164         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26165         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26166         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26168         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26169         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26170         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26171         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26172         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26173         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26175 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26177         [BZ #13743]
26178         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26179         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26180         (sysdep_headers): Include sys/platform/ppc.h.
26181         * sysdeps/powerpc/test-gettimebase.c: Test for
26182         __ppc_get_timebase() to catch future ISA opcode/insn changes.
26183         * manual/Makefile (appendices): Include platform.texi.
26184         * manual/contrib.texi (Contributors): Update @node pointers.
26185         * manual/maint.texi (Maintenance): Likewise.
26186         (Platform): New node.
26187         * manual/platform.texi: New file.  Document the new features.
26189 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26190             Jakub Jelinek  <jakub@redhat.com>
26192         [BZ #14188]
26193         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26194         where __builtin_expect is unavailable.
26196 2012-06-03  David S. Miller  <davem@davemloft.net>
26198         * stdlib/longlong.h: Updated from GCC.
26200 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
26202         [BZ #14042]
26203         * sysdeps/powerpc/powerpc32/mcount.c: New file.
26204         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26205         __mcount_internal.
26206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26207         (GLIBC_2.16): Likewise.
26209 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26211         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26213 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26216         (default-abi): New variable.
26217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26218         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26219         variable.
26220         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26221         Likewise.
26222         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26223         Likewise.
26224         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26225         Likewise.
26227         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26228         definition.  Document in comment.
26230 2012-06-01  David S. Miller  <davem@davemloft.net>
26232         * stdlib/longlong.h: Updated from GCC.
26234 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26236         [BZ #14117]
26237         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26238         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26239         sys/debugreg.h sys/io.h here.
26240         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26241         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26242         sys/io.h.
26243         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26244         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26245         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26246         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26247         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26248         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26250         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26251         Define only if __x86_64__ is defined.
26253 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26255         [BZ #14048]
26256         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26257         Use int64_t for variable i.
26258         * math/libm-test.inc (fmod_test): Add more tests.
26260         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26261         z computation is not scheduled after fetestexcept.
26262         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26263         Use math_force_eval instead of asm to ensure calculation scheduled
26264         before exception test.
26265         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26266         Ensure a1 + u.d computation is not scheduled after fetestexcept.
26268 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
26270         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26271         computation is not scheduled after fetestexcept.
26273 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26275         [BZ #14117]
26276         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26277         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26279 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26281         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26282         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26284 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26286         [BZ #14117]
26287         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26288         <bits/wordsize.h>.
26289         (__WCHAR_MIN): Support __WORDSIZE == 64.
26290         (__WCHAR_MAX): Likewise.
26292         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26293         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26295         [BZ #14183]
26296         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26297         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26299         [BZ #14117]
26300         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26301         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26303         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26304         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26306         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26307         Defined to 1 if __x86_64__ isn't defined.
26308         (_STAT_VER_LINUX_OLD): New.
26309         (st_atime): Remove duplicate.
26310         (st_mtime): Likewise.
26311         (st_ctime): Likewise.
26313 2012-05-31  David S. Miller  <davem@davemloft.net>
26315         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26316         entries.
26318 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
26320         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26321         gen-libm-test.pl.
26323         [BZ #14132]
26324         * elf/dl-reloc.c: Include <_itoa.h>.
26325         (_dl_reloc_bad_type): Remove use of INTUSE.
26326         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26327         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26328         * stdio-common/psiginfo.c (psiginfo): Likewise.
26329         * stdio-common/psignal.c (psignal): Likewise.
26330         * string/strsignal.c (strsignal): Likewise.
26331         * include/signal.h (_sys_siglist): Declare hidden proto.
26332         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
26333         INTVARDEF with libc_hidden_data_def.
26334         * stdio-common/itoa-udigits.c: Likewise.
26335         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26336         (_itoa_lower_digits_internal): Remove declaration.
26337         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26338         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26339         (_sys_sigabbrev_internal): Remove aliases.
26340         (_sys_siglist): Define hidden alias.
26342 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
26344         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26345         bits/sysctl.h.
26347 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26349         [BZ #14117]
26350         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26351         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26353         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26354         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26355         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26356         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26357         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26358         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26360         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26361         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26362         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26364         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26365         with __addr.
26366         (insw): Likewise.
26367         (insl): Likewise.
26368         (outsb): Likewise.
26369         (outsw): Likewise.
26370         (outsl): Likewise.
26372         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26373         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26374         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26376         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26377         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26378         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26379         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26380         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26381         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26383         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26384         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26386         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26387         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26389         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26390         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26391         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26393         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26394         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26395         to ...
26396         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26398         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26399         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26400         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26402         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26403         for x86-64.
26404         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26406 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
26408         * math/math.h (M_El): Use two more decimal places.
26409         (M_LOG2El): Likewise.
26410         (M_LOG10El): Likewise.
26411         (M_LN2l): Likewise.
26412         (M_LN10l): Likewise.
26413         (M_PIl): Likewise.
26414         (M_PI_2l): Likewise.
26415         (M_PI_4l): Likewise.
26416         (M_1_PIl): Likewise.
26417         (M_2_PIl): Likewise.
26418         (M_2_SQRTPIl): Likewise.
26419         (M_SQRT2l): Likewise.
26420         (M_SQRT1_2l): Likewise.
26422 2012-05-31  David S. Miller  <davem@davemloft.net>
26424         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26425         values between float registers.
26426         * sysdeps/sparc/sparc64/memset.S: Likewise.
26427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26429 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
26431         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26432         -D_FORTIFY_SOURCE=1.
26433         (CPPFLAGS-tst-longjmp_chk.c): Define.
26434         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26435         (CPPFLAGS-tst-longjmp_chk2.c): Define.
26436         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26437         CFLAGS-tst-wchar-h.c.
26439 2012-05-31  Marek Polacek  <polacek@redhat.com>
26441         [BZ #14132]
26442         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26443         __endmntent_internal): Remove declaration.
26444         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26445         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26446         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26448 2012-05-30  David S. Miller  <davem@davemloft.net>
26450         * sysdeps/sparc/sparc32/soft-fp/q_util.c
26451         (___Q_simulate_exceptions): Use real FP ops rather than writing
26452         into the %fsr.
26453         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26454         Likewise.
26456 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26458         [BZ #14117]
26459         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26460         * sysdeps/x86/bits/xtitypes.h: This.
26462         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26463         * sysdeps/x86/bits/wordsize.h: This.
26465         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26466         * sysdeps/x86/bits/huge_vall.h: This.
26468         * sysdeps/i386/bits/select.h: Removed.
26469         * sysdeps/x86_64/bits/select.h: Renamed to ...
26470         * sysdeps/x86/bits/select.h: This.
26472         * sysdeps/i386/bits/setjmp.h: Removed.
26473         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26474         * sysdeps/x86/bits/setjmp.h: This.
26476         * sysdeps/i386/bits/mathdef.h: Removed.
26477         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26478         * sysdeps/x86/bits/mathdef.h: This.
26480 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
26482         [BZ #14132]
26483         * include/sys/socket.h (__connect_internal)
26484         (__libc_sa_len_internal): Remove declaration.
26485         (__connect, __libc_sa_len): Declare hidden_proto.
26486         (SA_LEN): Remove use of INTUSE.
26487         * socket/connect.c: Add libc_hidden_def.
26488         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26489         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26490         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26491         alias.
26492         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26493         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26494         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26495         of adding _internal alias.
26497 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26499         [BZ #14117]
26500         * sysdeps/i386/bits/link.h: Removed.
26501         * sysdeps/i386/bits/linkmap.h: Likewise.
26502         * sysdeps/x86_64/bits/link.h: Renamed to ...
26503         * sysdeps/x86/bits/link.h: This.
26504         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26505         * sysdeps/x86/bits/linkmap.h: This.
26507         * sysdeps/i386/bits/endian.h: Removed.
26508         * sysdeps/x86_64/bits/endian.h: Renamed to ...
26509         * sysdeps/x86/bits/endian.h: This.
26511         * sysdeps/i386/bits/byteswap.h: Removed.
26512         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26513         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26514         * sysdeps/x86/bits/byteswap.h: This.
26515         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26516         * sysdeps/x86/bits/byteswap-16.h: This.
26517         * sysdeps/i386/Implies: Add x86.
26518         * sysdeps/x86_64/Implies: Likewise.
26520 2012-05-30  David S. Miller  <davem@davemloft.net>
26522         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26523         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26524         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26525         (FP_TRAPPING_EXCEPTIONS): Define.
26526         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26527         (FP_TRAPPING_EXCEPTIONS): Define.
26528         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26529         subnormals only when inexact has been signalled or underflow
26530         exceptions are enabled.
26531         (_FP_PACK_CANONICAL): Likewise.
26533 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26535         [BZ #14183]
26536         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26537         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26539 2012-05-30  Richard Henderson  <rth@twiddle.net>
26541         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26542         with #ifndef NOT_IN_libc.
26544         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
26545         marked to avoid plt entry.
26547 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26549         [BZ #14112]
26550         * Makeconfig (default-abi): New macro.
26551         (abi-includes): Likewise.
26552         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
26553         $(abi-$(default-abi)-lib-soname) for soname if defined.
26554         ($(common-objpfx)gnu/lib-names.stmp): Generate from
26555         abi-variants.
26556         * Makefile (installed-stubs): Likewise.
26557         * include/stubs-biarch.h: Removed.
26558         * scripts/lib-names.awk: Only handle one library at a time.
26559         * scripts/soversions.awk: Remove WORDSIZE support.
26560         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26561         entries.
26562         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26563         Removed.
26564         (syscall-list-default-condition): Likewise.
26565         (syscall-list-default-condition): Likewise.
26566         (syscall-list-includes): Likewise.
26567         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26568         syscall-list-* with abi-*.  Handle undefined abi-variants.
26569         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26570         * sysdeps/unix/sysv/linux/i386/Implies: New file.
26571         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26572         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26573         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26574         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26575         Removed.
26576         (syscall-list-32-options): Likewise.
26577         (syscall-list-32-condition): Likewise.
26578         (syscall-list-64-options): Likewise.
26579         (syscall-list-64-condition): Likewise.
26580         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26581         macro.
26582         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26583         Renamed to ...
26584         (abi-*): This.
26585         (abi-64-ld-soname): New macro.
26586         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26587         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26588         Renamed to ...
26589         (abi-*): This.
26590         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26591         * sysdeps/x86_64/x32/shlib-versions: Likewise.
26593 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
26595         * sysdeps/unix/sysv/linux/kernel-features.h
26596         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26597         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26598         include <kernel-features.h>.
26599         [!__NR_ftruncate64]: Remove conditional code.
26600         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26601         [__NR_ftruncate64]: Make code unconditional.
26602         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26603         * sysdeps/unix/sysv/linux/truncate64.c: Do not
26604         include <kernel-features.h>.
26605         [!__NR_ftruncate64]: Remove conditional code.
26606         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26607         [__NR_ftruncate64]: Make code unconditional.
26608         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26610         include <kernel-features.h>.
26611         [!__NR_ftruncate64]: Remove conditional code.
26612         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26613         [__NR_ftruncate64]: Make code unconditional.
26614         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26616         include <kernel-features.h>.
26617         [!__NR_ftruncate64]: Remove conditional code.
26618         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26619         [__NR_ftruncate64]: Make code unconditional.
26620         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26622         * configure.in (libc_cv_fpie): Weaken to a compile test using
26623         LIBC_TRY_CC_OPTION.
26624         * configure: Regenerated.
26626 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26632         Refreshed.
26633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26639         Refreshed.
26641 2012-05-27  David S. Miller  <davem@davemloft.net>
26643         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26644         (___Q_zero): New.
26645         (__Q_simulate_exceptions): Return void.  Change to simulate
26646         exceptions by writing into the %fsr.
26647         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26648         (__Qp_handle_exceptions): Likewise.
26649         (numbers): Delete.
26650         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26651         __Qp_handle_exceptions.
26652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26653         __Qp_handle_exceptions.
26654         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26655         as unused and give dummy FP_RND_NEAREST initializer.
26656         (FP_INHIBIT_RESULTS): Define.
26657         (___Q_simulate_exceptions): Update declaration.
26658         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26659         formatting.
26660         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26661         as unused and give dummy FP_RND_NEAREST initializer.
26662         (__Qp_handle_exceptions): Update declaration.
26663         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26664         formatting.
26666 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
26668         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26669         the temporary FPU control word.
26670         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26671         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26672         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26673         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26674         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26675         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26676         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26677         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26678         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26679         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26680         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26682 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26684         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26685         fields.
26687 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
26689         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26690         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26691         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26692         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26693         Likewise.
26694         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26695         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26696         Likewise.
26698 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
26700         * po/h.po: Update from translation team.
26702 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
26704         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26706         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26707         handling of denormals.
26708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26709         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26710         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26711         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26712         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26713         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26714         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26715         Likewise.
26717 2012-05-26  Marek Polacek  <polacek@redhat.com>
26719         [BZ #14152]
26720         * math/libm-test.inc (fma_test): Don't always expect underflow
26721         exception.
26723 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26725         [BZ #12416]
26726         * elf/tst-execstack.c: Include stackinfo.h.
26727         (do_test): Adjust test case to ensure that pthread_getattr_np
26728         behaviour remains the same after marking stack executable.
26730 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26732         * sysdeps/unix/sysv/linux/kernel-features.h
26733         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26734         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26735         kernel-features.h.
26736         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26737         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26738         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26739         kernel-features.h.
26740         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26741         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26743 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
26745         * configure.in: Define the default includes to being none.
26746         * configure: Regenerated.
26748 2012-05-25  Roland McGrath  <roland@hack.frob.com>
26750         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26751         * sysdeps/x86_64/setjmp.S: Likewise.
26752         * sysdeps/i386/bsd-setjmp.S: Likewise.
26753         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26754         * sysdeps/i386/setjmp.S: Likewise.
26755         * sysdeps/i386/__longjmp.S: Likewise.
26756         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26757         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26759         * include/stap-probe.h: New file.
26760         * configure.in: Handle --enable-systemtap.
26761         * configure: Regenerated.
26762         * config.h.in (USE_STAP_PROBE): New #undef.
26763         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26764         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26765         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26767 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26769         [BZ #13717]
26770         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26771         to 2.4.0 where earlier.
26772         * sysdeps/unix/sysv/linux/configure: Regenerated.
26773         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26774         <kernel-features.h>.
26775         [__ASSUME_32BITUIDS]: Make code unconditional.
26776         [!__ASSUME_32BITUIDS]: Remove conditional code.
26777         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26778         <kernel-features.h>.
26779         [__ASSUME_32BITUIDS]: Make code unconditional.
26780         [!__ASSUME_32BITUIDS]: Remove conditional code.
26781         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26782         [__ASSUME_32BITUIDS]: Make code unconditional.
26783         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26784         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26785         <kernel-features.h>.
26786         [__ASSUME_32BITUIDS]: Make code unconditional.
26787         [!__ASSUME_32BITUIDS]: Remove conditional code.
26788         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26789         <kernel-features.h>.
26790         [__ASSUME_32BITUIDS]: Make code unconditional.
26791         [!__ASSUME_32BITUIDS]: Remove conditional code.
26792         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26793         <kernel-features.h>.
26794         [__ASSUME_32BITUIDS]: Make code unconditional.
26795         [!__ASSUME_32BITUIDS]: Remove conditional code.
26796         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26797         <kernel-features.h>.
26798         [__ASSUME_32BITUIDS]: Make code unconditional.
26799         [!__ASSUME_32BITUIDS]: Remove conditional code.
26800         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26801         <kernel-features.h>.
26802         [__ASSUME_32BITUIDS]: Make code unconditional.
26803         [!__ASSUME_32BITUIDS]: Remove conditional code.
26804         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26805         <kernel-features.h>.
26806         [__ASSUME_32BITUIDS]: Make code unconditional.
26807         [!__ASSUME_32BITUIDS]: Remove conditional code.
26808         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26809         <kernel-features.h>.
26810         [__ASSUME_32BITUIDS]: Make code unconditional.
26811         [!__ASSUME_32BITUIDS]: Remove conditional code.
26812         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26813         <kernel-features.h>.
26814         [__ASSUME_32BITUIDS]: Make code unconditional.
26815         [!__ASSUME_32BITUIDS]: Remove conditional code.
26816         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26817         <kernel-features.h>.
26818         [__ASSUME_32BITUIDS]: Make code unconditional.
26819         [!__ASSUME_32BITUIDS]: Remove conditional code.
26820         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26821         <kernel-features.h>.
26822         [__ASSUME_32BITUIDS]: Make code unconditional.
26823         [!__ASSUME_32BITUIDS]: Remove conditional code.
26824         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26825         <kernel-features.h>.
26826         [__NR_setresgid] (__setresgid): Do not declare.
26827         [__ASSUME_32BITUIDS]: Make code unconditional.
26828         [!__ASSUME_32BITUIDS]: Remove conditional code.
26829         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26830         <kernel-features.h>.
26831         [__NR_setresuid] (__setresuid): Do not declare.
26832         [__ASSUME_32BITUIDS]: Make code unconditional.
26833         [!__ASSUME_32BITUIDS]: Remove conditional code.
26834         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26835         <kernel-features.h>.
26836         [__ASSUME_32BITUIDS]: Make code unconditional.
26837         [!__ASSUME_32BITUIDS]: Remove conditional code.
26838         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26839         <kernel-features.h>.
26840         [__ASSUME_32BITUIDS]: Make code unconditional.
26841         [!__ASSUME_32BITUIDS]: Remove conditional code.
26842         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26843         <kernel-features.h>.
26844         [__ASSUME_32BITUIDS]: Make code unconditional.
26845         [!__ASSUME_32BITUIDS]: Remove conditional code.
26846         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26847         <kernel-features.h>.
26848         [__ASSUME_32BITUIDS]: Make code unconditional.
26849         [!__ASSUME_32BITUIDS]: Remove conditional code.
26850         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26851         <kernel-features.h>.
26852         [__ASSUME_32BITUIDS]: Make code unconditional.
26853         [!__ASSUME_32BITUIDS]: Remove conditional code.
26854         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26855         <kernel-features.h>.
26856         [__ASSUME_32BITUIDS]: Make code unconditional.
26857         [!__ASSUME_32BITUIDS]: Remove conditional code.
26858         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26859         <kernel-features.h>.
26860         [__ASSUME_32BITUIDS]: Make code unconditional.
26861         [!__ASSUME_32BITUIDS]: Remove conditional code.
26862         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26863         <kernel-features.h>.
26864         [__ASSUME_32BITUIDS]: Make code unconditional.
26865         [!__ASSUME_32BITUIDS]: Remove conditional code.
26866         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26867         <kernel-features.h>.
26868         [__ASSUME_32BITUIDS]: Make code unconditional.
26869         [!__ASSUME_32BITUIDS]: Remove conditional code.
26870         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26871         <kernel-features.h>.
26872         [__ASSUME_32BITUIDS]: Make code unconditional.
26873         [!__ASSUME_32BITUIDS]: Remove conditional code.
26874         * sysdeps/unix/sysv/linux/kernel-features.h
26875         (__ASSUME_SETRESUID_SYSCALL): Remove.
26876         (__ASSUME_SETRESGID_SYSCALL): Likewise.
26877         (__ASSUME_32BITUIDS): Likewise.
26878         (__ASSUME_LDT_WORKS): Likewise.
26879         (__ASSUME_O_DIRECTORY): Likewise.
26880         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26881         architecture but not kernel version.
26882         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26883         (__ASSUME_MMAP2_SYSCALL): Likewise.
26884         (__ASSUME_STAT64_SYSCALL): Likewise.
26885         (__ASSUME_IPC64): Likewise.
26886         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26887         <kernel-features.h>.
26888         [__ASSUME_32BITUIDS]: Make code unconditional.
26889         [!__ASSUME_32BITUIDS]: Remove conditional code.
26890         * sysdeps/unix/sysv/linux/opendir.c: Do not include
26891         <kernel-features.h>.
26892         [__ASSUME_O_DIRECTORY]: Make code unconditional.
26893         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26894         132096]: Remove conditional code.
26895         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26896         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26897         <kernel-features.h>.
26898         [__ASSUME_32BITUIDS]: Make code unconditional.
26899         [!__ASSUME_32BITUIDS]: Remove conditional code.
26900         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26901         <kernel-features.h>.
26902         [__ASSUME_32BITUIDS]: Make code unconditional.
26903         [!__ASSUME_32BITUIDS]: Remove conditional code.
26904         * sysdeps/unix/sysv/linux/setegid.c: Do not include
26905         <kernel-features.h>.
26906         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26907         unconditional.
26908         (__setresgid): Do not declare.
26909         [__ASSUME_32BITUIDS]: Make code unconditional.
26910         [!__ASSUME_32BITUIDS]: Remove conditional code.
26911         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26912         <kernel-features.h>.
26913         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26914         unconditional.
26915         (__setresuid): Do not declare.
26916         [__ASSUME_32BITUIDS]: Make code unconditional.
26917         [!__ASSUME_32BITUIDS]: Remove conditional code.
26918         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26919         <kernel-features.h>.
26920         [__ASSUME_32BITUIDS]: Make code unconditional.
26921         [!__ASSUME_32BITUIDS]: Remove conditional code.
26922         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26923         <kernel-features.h>.
26924         [__ASSUME_32BITUIDS]: Make code unconditional.
26925         [!__ASSUME_32BITUIDS]: Remove conditional code.
26927 2012-05-25  Richard Henderson  <rth@twiddle.net>
26929         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26930         dl_hwcap to ifunc resolver.
26931         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26932         elf_ifunc_invoke.
26933         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26934         dl_hwcap to ifunc resolver.
26935         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26937 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26939         [BZ #14153]
26940         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26941         for |x| <= 2**-26, not 2**-57.
26942         * math/libm-test.inc (acos_test): Do not allow spurious underflow
26943         exception.
26945 2012-05-24  Jeff Law  <law@redhat.com>
26947         * stdio-common/Makefile (tests): Add bug25.
26948         * stdio-common/bug25.c: New test.
26950 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26952         [BZ #13576]
26953         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26954         multiple of MALLOC_ALIGNMENT in size.
26955         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26957 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26959         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26960         Require >= 256.
26961         (FILENAME_MAX): Use macro-int-constant.
26962         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
26963         (_IOFBF): Use macro-int-constant.
26964         (_IOLBF): Likewise.
26965         (_IONBF): Likewise.
26966         (SEEK_CUR): Likewise.
26967         (SEEK_END): Likewise.
26968         (SEEK_SET): Likewise.
26969         (TMP_MAX): Likewise.
26970         (EOF): Use macro-int-constant.  Require < 0.
26971         (NULL): Use macro-constant.  Require == 0.
26972         (stdin): Require type to be FILE *.
26973         (stdout): Likewise.
26974         (stderr): Likewise.
26975         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26976         macro-int-constant.
26977         (EXIT_SUCCESS): Likewise.
26978         (NULL): Use macro-constant.  Require == 0.
26979         (RAND_MAX): Use macro-int-constant.
26980         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26981         [C99-based standards] (strtof): Require function.
26982         [C99-based standards] (strtold): Likewise.
26983         [C99-based standards] (strtoll): Likewise.
26984         [C99-based standards] (strtoull): Likewise.
26985         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26986         [ISO || ISO99 || ISO11] (limits.h): Likewise.
26987         [ISO || ISO99 || ISO11] (math.h): Likewise.
26988         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26989         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26990         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26992 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
26994         [BZ #14132]
26995         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26996         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26997         * intl/dgettext.c (DCGETTEXT): Likewise.
26998         * intl/gettext.c (DCGETTEXT): Likewise.
26999         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27000         * posix/regex_internal.h (gettext): Likewise.
27001         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27002         Remove declaration.
27003         * include/argz.h (__argz_count_internal)
27004         (__argz_stringify_internal): Remove declaration.
27005         (__argz_count, __argz_stringify): Declare hidden proto.
27006         * intl/dcgettext.c: Remove use of INTDEF.
27007         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27008         * string/argz-stringify.c: Likewise.
27009         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27010         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27011         Declare hidden proto.
27012         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27013         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27014         Declare hidden proto.
27015         * include/stdio.h (__asprintf_internal): Don't declare.
27016         (__asprintf): Don't define as macro.  Declare hidden proto.
27017         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27018         (__fsetlocking): Declare hidden proto.
27019         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27020         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27021         hidden proto.
27022         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27023         (_IO_setlinebuf): Remove use of INTUSE.
27024         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27025         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27026         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27027         Remove declaration.
27028         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27029         (_IO_do_flush): Remove use of INTUSE.
27030         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27031         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27032         (_IO_adjust_column, _IO_least_wmarker)
27033         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27034         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27035         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27036         (_IO_default_doallocate, _IO_wdefault_doallocate)
27037         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27038         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27039         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27040         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27041         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27042         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27043         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27044         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27045         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27046         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27047         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27048         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27049         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27050         proto.
27051         (_IO_flush_all_internal, _IO_adjust_column_internal)
27052         (_IO_default_uflow_internal, _IO_default_finish_internal)
27053         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27054         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27055         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27056         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27057         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27058         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27059         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27060         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27061         (_IO_file_close_internal, _IO_file_close_it_internal)
27062         (_IO_file_underflow_internal, _IO_file_overflow_internal)
27063         (_IO_file_init_internal, _IO_file_attach_internal)
27064         (_IO_file_fopen_internal, _IO_file_read_internal)
27065         (_IO_file_sync_internal, _IO_file_seek_internal)
27066         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27067         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27068         (_IO_str_underflow_internal, _IO_str_overflow_internal)
27069         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27070         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27071         (_IO_list_all_internal, _IO_link_in_internal)
27072         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27073         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27074         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27075         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27076         (_IO_do_write_internal, _IO_padn_internal)
27077         (_IO_getline_info_internal, _IO_getline_internal)
27078         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27079         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27080         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27081         (_IO_vfscanf_internal, _IO_vfprintf_internal)
27082         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27083         (_IO_init_internal, _IO_un_link_internal): Don't declare.
27084         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27085         with libc_hidden_ver, remove use of INTUSE.
27086         * libio/genops.c: Likewise.
27087         * libio/freopen.c: Likewise.
27088         * libio/freopen64.c: Likewise.
27089         * libio/iofclose.c: Likewise.
27090         * libio/iofdopen.c: Likewise.
27091         * libio/iofflush.c: Likewise.
27092         * libio/iofflush_u.c: Likewise.
27093         * libio/iofgets.c: Likewise.
27094         * libio/iofgets_u.c: Likewise.
27095         * libio/iofopen.c: Likewise.
27096         * libio/iofopncook.c: Likewise.
27097         * libio/iofread.c: Likewise.
27098         * libio/iofread_u.c: Likewise.
27099         * libio/ioftell.c: Likewise.
27100         * libio/iofwrite.c: Likewise.
27101         * libio/iogetline.c: Likewise.
27102         * libio/iogets.c: Likewise.
27103         * libio/iogetwline.c: Likewise.
27104         * libio/iopadn.c: Likewise.
27105         * libio/iopopen.c: Likewise.
27106         * libio/ioseekoff.c: Likewise.
27107         * libio/ioseekpos.c: Likewise.
27108         * libio/iosetbuffer.c: Likewise.
27109         * libio/iosetvbuf.c: Likewise.
27110         * libio/ioungetc.c: Likewise.
27111         * libio/ioungetwc.c: Likewise.
27112         * libio/iovdprintf.c: Likewise.
27113         * libio/iovsprintf.c: Likewise.
27114         * libio/iovsscanf.c: Likewise.
27115         * libio/memstream.c: Likewise.
27116         * libio/obprintf.c: Likewise.
27117         * libio/oldfileops.c: Likewise.
27118         * libio/oldiofclose.c: Likewise.
27119         * libio/oldiofdopen.c: Likewise.
27120         * libio/oldiofopen.c: Likewise.
27121         * libio/oldiopopen.c: Likewise.
27122         * libio/oldstdfiles.c: Likewise.
27123         * libio/putc.c: Likewise.
27124         * libio/setbuf.c: Likewise.
27125         * libio/setlinebuf.c: Likewise.
27126         * libio/stdfiles.c: Likewise.
27127         * libio/strops.c: Likewise.
27128         * libio/vasprintf.c: Likewise.
27129         * libio/vscanf.c: Likewise.
27130         * libio/vsnprintf.c: Likewise.
27131         * libio/vswprintf.c: Likewise.
27132         * libio/wfiledoalloc.c: Likewise.
27133         * libio/wfileops.c: Likewise.
27134         * libio/wgenops.c: Likewise.
27135         * libio/wmemstream.c: Likewise.
27136         * libio/wstrops.c: Likewise.
27137         * libio/__fpurge.c: Likewise.
27138         * libio/__fsetlocking.c: Likewise.
27139         * assert/assert.c: Likewise.
27140         * debug/fgets_chk.c: Likewise.
27141         * debug/fgets_u_chk.c: Likewise.
27142         * debug/fread_chk.c: Likewise.
27143         * debug/fread_u_chk.c: Likewise.
27144         * debug/gets_chk.c: Likewise.
27145         * debug/obprintf_chk.c: Likewise.
27146         * debug/vasprintf_chk.c: Likewise.
27147         * debug/vdprintf_chk.c: Likewise.
27148         * debug/vsnprintf_chk.c: Likewise.
27149         * debug/vsprintf_chk.c: Likewise.
27150         * malloc/mtrace.c: Likewise.
27151         * misc/error.c: Likewise.
27152         * misc/syslog.c: Likewise.
27153         * stdio-common/asprintf.c: Likewise.
27154         * stdio-common/fxprintf.c: Likewise.
27155         * stdio-common/getw.c: Likewise.
27156         * stdio-common/isoc99_fscanf.c: Likewise.
27157         * stdio-common/isoc99_scanf.c: Likewise.
27158         * stdio-common/isoc99_vfscanf.c: Likewise.
27159         * stdio-common/isoc99_vscanf.c: Likewise.
27160         * stdio-common/isoc99_vsscanf.c: Likewise.
27161         * stdio-common/printf-prs.c: Likewise.
27162         * stdio-common/printf_fp.c: Likewise.
27163         * stdio-common/printf_fphex.c: Likewise.
27164         * stdio-common/printf_size.c: Likewise.
27165         * stdio-common/putw.c: Likewise.
27166         * stdio-common/scanf.c: Likewise.
27167         * stdio-common/sprintf.c: Likewise.
27168         * stdio-common/tmpfile.c: Likewise.
27169         * stdio-common/vfprintf.c: Likewise.
27170         * stdio-common/vfscanf.c: Likewise.
27171         * stdlib/strfmon_l.c: Likewise.
27172         * sunrpc/openchild.c: Likewise.
27173         * sunrpc/xdr_stdio.c: Likewise.
27174         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27175         * sysdeps/mach/hurd/tmpfile.c: Likewise.
27177 2012-05-24  Roland McGrath  <roland@hack.frob.com>
27179         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27181         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27182         in the third column, to generate for the shared library an IFUNC
27183         that uses _dl_vdso_vsym.
27184         * Makerules (COMPILE.c, compile-stdin.c): New variables.
27185         * Makeconfig (object-suffixes-noshared): New variable.
27187         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27188         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27189         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27190         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27192         [BZ #14132]
27193         * include/sys/time.h (__gettimeofday): Remove macro.
27194         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27195         * time/gettimeofday.c (__gettimeofday): Remove #undef.
27196         Remove INTDEF.
27197         (__gettimeofday): Add libc_hidden_def.
27198         (gettimeofday): Add libc_hidden_weak.
27199         * sysdeps/mach/gettimeofday.c: Likewise.
27200         * sysdeps/posix/gettimeofday.c: Likewise.
27201         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27202         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27203         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27204         (__gettimeofday_internal): Remove strong_alias.
27205         (__gettimeofday): Add libc_hidden_def.
27206         (gettimeofday): Add libc_hidden_weak.
27207         * sysdeps/unix/syscalls.list (gettimeofday):
27208         Remove __gettimeofday_internal alias.
27210 2012-05-24  Daniel Jacobowitz  <drow@false.org>
27211             H.J. Lu  <hongjiu.lu@intel.com>
27213         [BZ #12495]
27214         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27215         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27216         (largebin_index_32_big): New.
27217         (largebin_index): Use it for 16-byte alignment.
27218         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
27219         correction with front_misalign.
27221 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27225         Likewise.
27226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27227         Likewise.
27228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27229         Likewise.
27230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27231         Likewise.
27232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27233         Likewise.
27234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27235         Likewise.
27236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27237         Likewise.
27238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27239         Likewise.
27240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27241         Likewise.
27242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27243         Likewise.
27244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27245         Likewise.
27246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27247         Likewise.
27249         * scripts/data/c++-types-x32-linux-gnu.data: New file.
27250         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27252 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27254         [BZ #10846]
27255         [BZ #14036]
27256         * math/libm-test.inc (exp_test): Add test from bug 14036.
27257         (pow_test): Add test from bug 10846.
27259         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27260         and other flags.
27261         (special_function): Do not include flags in test name.
27262         (parse_args): Likewise.
27263         * sysdeps/i386/fpu/libm-test-ulps: Update.
27264         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27265         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27266         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27269         * math/gen-libm-test.pl (%beautify): Add entries for underflow
27270         exceptions.
27271         * math/libm-test.inc ("Philosophy"): Update comment about
27272         exception testing.
27273         (UNDERFLOW_EXCEPTION): New macro.
27274         (UNDERFLOW_EXCEPTION_OK): Likewise.
27275         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27276         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27277         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27278         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27279         (INVALID_EXCEPTION_OK): Update value.
27280         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27281         (OVERFLOW_EXCEPTION_OK): Likewise.
27282         (IGNORE_ZERO_INF_SIGN): Likewise.
27283         (test_exceptions): Handle underflow exceptions.
27284         (acos_test): Update for underflow exception expectations.
27285         (cexp_test): Likewise.
27286         (clog_test): Likewise.
27287         (clog10_test): Likewise.
27288         (csqrt_test): Likewise.
27289         (ctan_test): Likewise.
27290         (ctanh_test): Likewise.
27291         (exp_test): Likewise.
27292         (exp10_test): Likewise.
27293         (exp2_test): Likewise.
27294         (expm1_test): Likewise.
27295         (fma_test): Likewise.
27296         (j0_test): Likewise.
27297         (jn_test): Likewise.
27298         (nexttoward_test): Likewise.
27299         (pow_test): Likewise.
27300         (scalbn_test): Likewise.
27301         (scalbln_test): Likewise.
27302         (tan_test): Likewise.
27303         (y1_test): Likewise.
27304         * sysdeps/i386/fpu/libm-test-ulps: Update.
27305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27307 2012-05-23  David S. Miller  <davem@davemloft.net>
27309         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27310         (__libc_sigaction): Remove unused local variables.
27312 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27314         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27316 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
27318         mktime: avoid signed integer overflow
27319         * time/mktime.c (__mktime_internal): Do not mishandle the case
27320         where diff == INT_MIN.
27322         mktime: simplify computation of average
27323         * time/mktime.c (ranged_convert): Use new time_t_avg function
27324         instead of rolling our own (probably-slower) code.
27326         mktime: do not assume signed right shift propagates sign bit
27327         * time/mktime.c (isdst_differ): New static function.
27328         (__mktime_internal): No need to normalize tm_isdst now.
27329         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27330         tm_isdst values.
27332         mktime: merge another wrapv change from gnulib
27333         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27334         from some compilers.
27336         mktime: remove incorrect attempt at unusual arithmetics
27337         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27338         The code didn't really work on such machines anyway.
27339         (TYPE_MINIMUM): Assume two's complement.
27340         (twos_complement_arithmetic): Verify that long_int and time_t
27341         are two's complement (or unsigned, in the latter case).
27343         mktime: check signed shifts on long_int and time_t, too
27344         * time/mktime.c (SHR): Check that shifts work as desired
27345         on the types long_int and time_t too, as SHR is used on
27346         such types.
27348         mktime: do not assume 'long' is wide enough
27349         * time/mktime.c (verify): Move decl up.
27350         (long_int): New type.
27351         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27352         to remove assumption in the code that 'long' is wide enough to
27353         store year values.  This assumption is not true on x32 and on
27354         some non-glibc platforms.
27356         mktime: merge wrapv change from gnulib
27357         * time/mktime.c (WRAPV): New macro.
27358         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27359         (guess_time_tm, __mktime_internal): Do not assume that signed
27360         integer overflow wraps around; modern compilers generate code
27361         where this assumption is no longer valid.
27363 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27365         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27366         Replace "jmp L(pseudo_end)" with "ret".
27367         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27368         Likewise.
27370 2012-05-23  Andreas Jaeger  <aj@suse.de>
27372         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27373         * sysdeps/unix/sysv/linux/poll.c: Remove file.
27375 2012-05-23  Andreas Jaeger  <aj@suse.de>
27376             Maximilian Attems  <max@stro.at>
27378         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27379         New macros.
27381 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27383         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27384         code so that pseudo_end is just ret and the stack pointer is
27385         correct also for static library in error case.
27387 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
27389         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27390         move to syscalls.list.
27391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27396         * manual/install.texi (Running make install): Do not mention Linux
27397         kernel version for which pt_chown is not needed.
27398         (Linux): Do not mention problems with nscd with 2.0 kernels.
27399         * INSTALL: Regenerated.
27401 2012-05-23  Andreas Jaeger  <aj@suse.de>
27403         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27404         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27405         macro.
27406         * sysdeps/unix/sysv/linux/s390/bits/mman.h
27407         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27408         * sysdeps/unix/sysv/linux/sh/bits/mman.h
27409         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27410         * sysdeps/unix/sysv/linux/i386/bits/mman.h
27411         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27412         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27413         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27414         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27415         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27416         * sysdeps/unix/sysv/linux/bits/in.h
27417         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27419 2012-05-22  Roland McGrath  <roland@hack.frob.com>
27421         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27422         (PREPARE_VERSION): Just use assert instead, it will be elided
27423         under [NDEBUG] anyway.
27425 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27427         * sysdeps/unix/sysv/linux/Makefile: Include
27428         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27429         (sysdep_routines): Remove sysctl.
27430         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27431         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27432         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27433         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27434         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27436 2012-05-22  Andreas Jaeger  <aj@suse.de>
27438         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27439         that pseudo_end is just ret and the stack pointer is correct also
27440         for static library in error case.
27442 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
27444         [BZ #14122]
27445         * nss/nsswitch.c (defconfig_entries): New variable.
27446         (__nss_database_lookup): Don't leak defconfig entries.
27447         (nss_parse_service_list): Don't leak on error paths.
27448         (free_database_entries): New function.
27449         (free_defconfig): New function.
27450         (free_mem): Move common code to free_database_entries.
27452 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27454         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27455         Add arch_prctl.
27456         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27458         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27459         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27461         New macro.
27462         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27463         (INTERNAL_SYSCALL_TYPES): Likewise.
27464         (LOAD_ARGS_TYPES_[1-6]): Likewise.
27465         (LOAD_REGS_TYPES_[1-6]): Likewise.
27466         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27467         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27469 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27471         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27472         copysignl for GLIBC_2_0.
27473         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27474         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27475         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27476         logbl for GLIBC_2_0.
27477         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27478         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27480 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27482         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27483         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27485         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27486         Use "neg %eax".
27488         * time/mktime.c: Update copyright years.
27490 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
27492         mktime: merge comment-quoting-style change from gnulib
27493         * time/mktime.c: Quote 'like this' in comments.
27494         The GNU coding standards suggest that we no longer quote `like this',
27495         as "`" and "'" are typically rendered asymmetrically nowadays.
27496         The typical gnulib style is to quote 'like this' when quoting
27497         code, and "like this" when quoting English.
27499         * time/mktime.c (compile-command): Add "-I.".
27501         mktime: merge mktime-internal.h change from gnulib
27502         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27504         mktime: merge time_r change from gnulib
27505         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27507         mktime: merge DEBUG change from gnulib
27508         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27509         case system <time.h> has a #define.
27511         mktime: merge <sys/types.h> change from gnulib
27512         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27513         since <time.t> is now guaranteed to define time_t.
27515         mktime: merge HAVE_CONFIG_H change from gnulib
27516         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27518 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27521         Use "neg %eax".
27523         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27524         __rlim_t cast.
27525         (struct rusage): Use anonymous union to pad each field to
27526         __syscall_slong_t.
27528 2012-05-21  David S. Miller  <davem@davemloft.net>
27530         * Makefules (o-iterator): Remove .s cases.
27531         (compile-command.s): Delete.
27532         (COMPILE.s): Delete.
27533         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27535 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
27537         * configure.in (libc_cv_predef_stack_protector): Only consider
27538         "foobar" and "__stack_chk_fail" lines in libc_undefs.
27539         * configure: Regenerated.
27541 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27543         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27544         New macro.  Use R*LP on int and pointer.
27545         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27546         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27547         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27548         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27550         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27551         [__WORDSIZE_TIME64_COMPAT32] instead of
27552         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27553         (struct utmp): Likewise.
27554         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27555         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27556         Renamed to ...
27557         (__WORDSIZE_TIME64_COMPAT32): This.
27558         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27559         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27560         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27561         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27562         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27563         (__WORDSIZE_TIME64_COMPAT32): New macro.
27565 2012-05-21  Andreas Jaeger  <aj@suse.de>
27567         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27568         only if [SHARED]. Add prototype for __wcschr_ia32.
27570 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27572         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27573         of %rbp unmolested in the jmp_buf while mangling the low bits.
27574         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27575         unmolested high bits of %rbp while demangling the low bits.
27576         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27578 2012-05-21  Andreas Jaeger  <aj@suse.de>
27580         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27581         * sunrpc/svc_simple.c: Use it for registerrpc.
27582         * sunrpc/xcrypt.c: Use it for passwd2des.
27584         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27586 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27588         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27589         Don't define if [__SYSCALL_WORDSIZE != 32].
27590         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27591         New macro.
27593 2012-05-21  Bruno Haible  <bruno@clisp.org>
27594             Andreas Jaeger  <aj@suse.de>
27596         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27597         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27598         inptr and inend for must_buffer_ch.
27599         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27600         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27601         * stdio-common/Makefile (tests): Remove bug15.
27602         (bug15-ENV): Remove macro.
27603         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27604         anymore.
27606 2012-05-19  Andreas Jaeger  <aj@suse.de>
27607             Roland McGrath  <roland@hack.frob.com>
27609         * manual/contrib.texi: Completely rewritten. It contains now an
27610         alphabetical list of contributors and their contributions.
27612 2012-05-21  Richard Henderson  <rth@twiddle.net>
27614         * misc/getauxval.c (__getauxval): Use unsigned long int.
27615         * misc/sys/auxv.h: Include <sys/cdefs.h>.
27616         (getauxval): Use unsigned long int.
27618 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27620         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27622 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27624         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27625         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27626         __alignof__ (long double).
27628 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27632 2012-05-20  Richard Henderson  <rth@twiddle.net>
27634         * misc/getauxval.c: New file.
27635         * misc/sys/auxv.h: New file.
27636         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27637         (routines): Add getauxval.
27638         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27639         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27640         * elf/dl-sysdep.c (_dl_auxv): Remove.
27641         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27642         * elf/dl-support.c (_dl_auxv): New variable.
27643         (_dl_aux_init): Initialize it.
27644         * manual/startup.texi (Auxiliary Vector): New node.
27645         * sysdeps/generic/bits/hwcap.h: New file.
27646         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27647         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
27648         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27649         * sysdeps/sparc/sysdep.h: ... here.  Include it.
27650         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27651         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27653         Update.
27654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27657         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27663 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27667 2012-05-19  David S. Miller  <davem@davemloft.net>
27669         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27671 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27673         [BZ #14123]
27674         * math/s_ccosh.c: Include <float.h>
27675         (__ccosh): Avoid internal overflow calculating sinh and cosh
27676         values before multiplying by sin and cos values.
27677         * math/s_ccoshf.c: Likewise.
27678         * math/s_ccoshl.c: Likewise.
27679         * math/s_csin.c: Likewise.
27680         * math/s_csinf.c: Likewise.
27681         * math/s_csinl.c: Likewise.
27682         * math/s_csinh.c: Likewise.
27683         * math/s_csinhf.c: Likewise.
27684         * math/s_csinhl.c: Likewise.
27685         * math/libm-test.inc (ccos_test): Add more tests.
27686         (ccosh_test): Likewise.
27687         (csin_test): Likewise.
27688         (csinh_test): Likewise.
27689         * sysdeps/i386/fpu/libm-test-ulps: Update.
27690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27692 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
27694         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27695         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27697         * sysdeps/x86_64/x32/_itoa.h: Add comment.
27699 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27701         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27702         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27703         * sysdeps/powerpc/soft-fp/Versions: Likewise.
27704         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27705         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27706         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27707         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27708         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27709         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27710         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27711         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27712         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27713         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27714         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27715         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27716         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27717         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27718         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27719         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27720         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27721         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27722         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27723         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27724         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27725         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27726         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27727         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27728         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27729         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27730         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27731         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27733 2012-05-18  Andreas Jaeger  <aj@suse.de>
27735         * csu/.gitignore: Delete.
27737 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27739         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27740         (timex): Use __syscall_slong_t.
27742 2012-05-18  Andreas Jaeger  <aj@suse.de>
27743             Carlos O'Donell  <carlos_odonell@mentor.com>
27745         * manual/install.texi (Configuring and compiling): Update
27746         description about files modified in the source directory.
27747         * INSTALL: Regenerated.
27749 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27751         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27752         value.  Use "or" to set return value to -1.
27753         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27754         negate return value.
27756 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27758         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27759         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27760         failure if the compiler has Graphite support disabled.
27761         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27762         Likewise.
27763         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27764         CFLAGS-memmove.c): Likewise.
27765         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27766         Likewise.
27768 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27770         * sysdeps/x86_64/x32/_itoa.h: New file.
27772         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27773         getdents system call only if kernel and user dirents have the
27774         same d_ino and d_off.
27776         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27777         LLONG_MAX != LONG_MAX.
27778         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27779         (_fitoa_word): Likewise.
27781         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27782         years.
27783         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27784         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27785         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27787         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27788         include <bits/wordsize.h>.  Check __x86_64__ instead of
27789         __WORDSIZE.
27790         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27791         if __x86_64__ is defined.  Use anonymous union on fpstate.
27793         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27794         anonymous union.
27796 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
27798         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27799         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27800         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27801         Refer to _rtld_local_ro instead of _rtld_global_ro.
27802         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27803         Likewise.
27804         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27805         Likewise.
27806         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27807         Likewise.
27808         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27809         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27810         of _rtld_global, and rtld_progname instead of _dl_argv[0].
27812         * sysdeps/powerpc/powerpc32/dl-machine.c
27813         (__elf_machine_runtime_setup) [PROF]: Don't reference
27814         _dl_prof_resolve.
27816 2012-05-18  Andreas Jaeger  <aj@suse.de>
27818         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27819         function only available for GCCs before 3.4 since GCC 3.4
27820         introduced a builtin.
27821         (lrint): Likewise.
27822         (llrintf): Likewise.
27823         (llrint): Likewise.
27824         (fmaxf): Likewise.
27825         (fmax): Likewise.
27826         (fminf): Likewise.
27827         (fmin): Likewise.
27828         (rint): Likewise.
27829         (rintf): Likewise.
27830         (nearbyint): Likewise.
27831         (nearbyintf): Likewise.
27832         (ceil): Likewise.
27833         (ceilf): Likewise.
27834         (floor): Likewise.
27835         (floorf): Likewise.
27837 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27839         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27840         on both fields and cast pointer to __syscall_ulong_t.
27842         * bits/types.h (__fsword_t): New type.
27843         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27844         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27845         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27846         (__FSWORD_T_TYPE): Likewise.
27847         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27848         (__FSWORD_T_TYPE): Likewise.
27849         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27850         (__FSWORD_T_TYPE): Likewise.
27851         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27852         (__FSWORD_T_TYPE): Likewise.
27853         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27854         __SWORD_TYPE with __fsword_t.
27855         (statfs64): Likewise.
27857 2012-05-17  David S. Miller  <davem@davemloft.net>
27859         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27861 2012-05-17  Andreas Jaeger  <aj@suse.de>
27863         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27864         warning.
27866 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27868         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27870 2012-05-17  Andreas Jaeger  <aj@suse.de>
27872         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27873         when it is used.
27875 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27877         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27879 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27881         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27882         * sysdeps/x86_64/tst-mallocalign1.c: New file.
27884 2012-05-17  Andreas Jaeger  <aj@suse.de>
27885             Carlos O'Donell  <carlos_odonell@mentor.com>
27887         [BZ #14059]
27888         * sysdeps/x86_64/multiarch/init-arch.h
27889         (bit_YMM_Usable): Rename to...
27890         (bit_AVX_Usable): ... this.
27891         (bit_FMA4_Usable): New macro.
27892         (bit_XMM_state): New macro.
27893         (bit_YMM_state): New macro.
27894         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27895         [__ASSEMBLER__] (index_AVX_Usable): ... this.
27896         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27897         (CPUID_OSXSAVE): New macro.
27898         (CPUID_AVX): New macro.
27899         (CPUID_FMA4): New macro.
27900         (index_YMM_Usable): Rename to...
27901         (index_AVX_Usable): ... this.
27902         (HAS_AVX): Use HAS_ARCH_FEATURE.
27903         (HAS_FMA4): Likewise.
27904         (HAS_YMM_USABLE): Remove.
27905         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27906         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27907         are present.
27908         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27909         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27910         * sysdeps/x86_64/multiarch/Makefile: Likewise.
27911         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27912         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27914 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27916         * math/libm-test.c: Support platforms without multiple rounding modes.
27917         * math/bug-nextafter.c: Support platforms without FP exceptions.
27918         * math/bug-nexttoward.c: Likewise.
27919         * math/test-fenv.c: Likewise.
27920         * math/test-misc.c: Likewise.
27921         * stdlib/bug-getcontext.c: Likewise.
27923 2012-05-17  Andreas Jaeger  <aj@suse.de>
27925         * manual/examples/search.c (critter_cmp): Change signature to
27926         avoid warnings.
27927         * manual/string.texi (Collation Functions): Likewise.
27929 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27931         * bits/types.h: Fold copyright years.
27932         * bits/typesizes.h: Likewise.
27933         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27934         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27935         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27936         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27937         * time/time.h: Likewise.
27939 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
27941         [BZ #208]
27942         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27943         in instead of returning them.  Return void.
27944         (__libc_mallinfo): Accumulate over all arenas.
27945         (__malloc_stats): Adjust for change in int_mallinfo interface.
27947 2012-05-16  Roland McGrath  <roland@hack.frob.com>
27949         [BZ #10375]
27950         * configure.in (NM): Add AC_CHECK_TOOL for it.
27951         (libc_extra_cflags): New substituted variable.
27952         Check for -fstack-protector being used implicitly.
27953         * configure: Regenerated.
27954         * config.make.in (config-extra-cflags): New variable,
27955         gets @libc_extra_cflags@.
27956         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27958         [BZ #10375]
27959         * configure.in: Check for _FORTIFY_SOURCE being predefined.
27960         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27961         * configure: Regenerated.
27962         * config.make.in (CPPUNDEFS): New substituted variable.
27963         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27964         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27965         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27967 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27969         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27970         (mq_attr): Use __syscall_slong_t.
27972 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27974         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27975         Check __x86_64__ instead of __WORDSIZE.
27976         (_STAT_VER_LINUX): Likewise.
27977         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
27978         __syscall_ulong_t and __syscall_slong_t.
27979         (stat64): Likewise.
27981 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27983         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27985 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27987         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27989 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27991         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27992         __syscall_ulong_t.
27994         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27995         include <bits/wordsize.h>.  Check __x86_64__ instead of
27996         __WORDSIZE.
27997         (greg_t): Use "__extension__ long long int" if __x86_64__ is
27998         defined.
27999         (mcontext_t): Replace "unsigned long" with "unsigned long long".
28001         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28002         include <bits/wordsize.h>.  Check __x86_64__ instead of
28003         __WORDSIZE.
28004         (user_regs_struct): Use "__extension__ unsigned long long"
28005         instead of "unsigned long" if __x86_64__ is defined.
28006         (user): Likewise.  Pad after pointer field if __ILP32__ is
28007         defined.
28009 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
28011         * configure.in (makeinfo): Require version 4.5 or later.  Allow
28012         versions 5 to 9.
28013         * configure: Regenerated.
28014         * manual/install.texi (texinfo): Increase version requirement to
28015         4.5 or later.
28016         * INSTALL: Regenerated.
28018         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
28022         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28024         * sysdeps/x86_64/x32/ffs.c: New file.
28026         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28027         __syscall_ulong_t.
28028         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28029         defined.  Use __syscall_ulong_t.
28030         (shminfo): Use __syscall_ulong_t.
28031         (shm_info): Likewise.
28033         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28034         __syscall_ulong_t.
28036         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28037         <bits/wordsize.h>.
28038         (msgqnum_t): Use __syscall_ulong_t.
28039         (msglen_t): Likewise.
28040         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
28041         __syscall_ulong_t.
28043         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28044         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28046         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28048         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28049         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28051         * sysvipc/sys/msg.h (msgbuf): Replace long int with
28052         __syscall_slong_t.
28054         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28055         include <bits/wordsize.h>.  Check __x86_64__ instead of
28056         __WORDSIZE.
28058         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28059         "unsigned long long int" if __x86_64__ is defined.
28060         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28062         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28063         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28064         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28066         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28067         <stdint.h>.
28068         (GET_PC): Cast to uintptr_t first.
28069         (GET_FRAME): Likewise.
28070         (GET_STACK): Likewise.
28072         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28073         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28074         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28075         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28076         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28077         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28078         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28079         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28080         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28081         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28082         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28083         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28084         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28085         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28086         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28087         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28088         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28089         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28090         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28091         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28092         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28093         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28094         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28095         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28096         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28097         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28098         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28099         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28100         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28102 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
28104         * Makerules (+depfiles): Also collect depfiles from .oS in
28105         $(extra-objs).
28106         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28107         .oS, $(libnldbl-routines)).
28109         * Makerules (native-compile-mkdep-flags): Define.
28110         * sunrpc/Makefile (extra-objs): Add $(addprefix
28111         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28112         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28113         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
28114         calling $(make-target-directory).
28116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28118         * bits/types.h (__snseconds_t): Removed.
28119         * time/time.h (struct timespec): Replace __snseconds_t with
28120         __syscall_slong_t.
28121         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28122         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28123         Likewise.
28124         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28125         (__SNSECONDS_T_TYPE): Likewise.
28126         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28127         (__SNSECONDS_T_TYPE): Likewise.
28128         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28129         (__SNSECONDS_T_TYPE): Likewise.
28131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28133         * sysdeps/mach/hurd/bits/typesizes.h
28134         (__SYSCALL_SLONG_TYPE): New macro.
28135         (__SYSCALL_ULONG_TYPE): Likewise.
28137 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28139         * bits/types.h (__syscall_slong_t): New type.
28140         (__syscall_ulong_t): Likewise.
28142         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28143         (__SYSCALL_ULONG_TYPE): Likewise.
28144         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28145         (__SYSCALL_SLONG_TYPE): Likewise.
28146         (__SYSCALL_ULONG_TYPE): Likewise.
28147         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28148         (__SYSCALL_SLONG_TYPE): Likewise.
28149         (__SYSCALL_ULONG_TYPE): Likewise.
28150         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28151         (__SYSCALL_SLONG_TYPE): Likewise.
28152         (__SYSCALL_ULONG_TYPE): Likewise.
28154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28156         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28157         Add sigaltstack-offsets.sym.
28158         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28159         <sigaltstack-offsets.h>.
28160         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
28161         longjmp_msg pointer.
28162         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
28163         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28164         signal stack.
28165         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28167 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28169         * elf/stackguard-macros.h: Remove file.
28170         * sysdeps/generic/stackguard-macros.h: New file.
28171         * sysdeps/i386/stackguard-macros.h: Likewise.
28172         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28173         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28174         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28175         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28176         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28177         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28178         * sysdeps/x86_64/stackguard-macros.h: Likewise.
28179         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28180         <elf/stackguard-macros.h>.
28182         [BZ #14109]
28183         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28184         __aligned__ in attribute.
28185         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28186         (gregset_t): Likewise.
28188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28190         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28191         * sysdeps/x86_64/64/Implies-after: Here.  New file.
28192         * sysdeps/x86_64/x32/Implies-after: New file.
28194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28196         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28197         and access return value for _dl_profile_fixup.  Use R10_LP to
28198         load frame size.
28200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28202         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28206         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28207         * sysdeps/x86_64/x32/sysdep.h: New file.
28209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28211         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28212         * sysdeps/x86_64/setjmp.S: Likewise.
28214 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28216         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28217         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28218         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28219         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28220         remove unused global constant.
28222 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
28224         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28225         include of <not-cancel.h>.
28227 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28229         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28231 2012-05-15  Jeff Law  <law@redhat.com>
28232             Andreas Jaeger  <aj@suse.de>
28234         [BZ #13594]
28235         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28236         out from...
28237         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28238         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28239         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28240         code changing __hst_map_handle.map.
28242 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28244         * configure.in (sysnames): Look for Implies-before and Implies-after
28245         files.
28246         * configure: Regenerated.
28248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28250         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28251         8-byte data alignment with LP_SIZE alignment.
28253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28255         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28256         into R10_LP.
28258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28260         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28264         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28265         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28266         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28267         Likewise.
28268         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28272         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28273         (stackinfo_sub_sp): Likewise.
28275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28277         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28278         RAX_LP.
28280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28282         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28283         into R*_LP.
28285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28287         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28288         sizes into R*_LP.
28290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28292         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28296         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28297         into R11_LP and load __x86_64_shared_cache_size_half into
28298         R8_LP.
28300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28302         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28303         R8_LP.
28305 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28307         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28308         logb for POWER7.
28309         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28310         logbf for POWER7.
28311         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28312         logbl for POWER7.
28313         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28314         powerpc32/power7/fpu/s_logb.c via #include.
28315         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28316         powerpc32/power7/fpu/s_logbf.c via #include.
28317         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28318         powerpc32/power7/fpu/s_logbl.c via #include.
28320 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28322         * README.libm: Remove file.
28324 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28326         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28327         count for x32.  Use R*_LP and omit operand-size suffix.
28329 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28331         * shlib-versions: Move x86_64-.*-linux.* entries to ...
28332         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
28333         * sysdeps/x86_64/x32/shlib-versions: New file.
28335 2012-05-14  Roland McGrath  <roland@hack.frob.com>
28337         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28338         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28339         Use _dl_fatal_printf instead.
28341 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28343         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28344         set if not set by the user.  Do not allow for being unset.
28345         * sysdeps/unix/sysv/linux/configure: Regenerated.
28347 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28349         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28350         the `q' suffix from lea and replace .quad with ASM_ADDR.
28352 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28355         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
28356         instead of $17.
28357         (PTR_DEMANGLE): Likewise.
28359 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28361         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28362         (LP_OP): Likewise.
28363         (ASM_ADDR): Likewise.
28364         (RAX_LP): Likewise.
28365         (RBP_LP): Likewise.
28366         (RBX_LP): Likewise.
28367         (RCX_LP): Likewise.
28368         (RDI_LP): Likewise.
28369         (RSI_LP): Likewise.
28370         (RSP_LP): Likewise.
28371         (R8_LP): Likewise.
28372         (R9_LP): Likewise.
28373         (R10_LP): Likewise.
28374         (R10_LP): Likewise.
28375         (R11_LP): Likewise.
28376         (R12_LP): Likewise.
28377         (R13_LP): Likewise.
28378         (R14_LP): Likewise.
28379         (R15_LP): Likewise.
28381 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28383         * sysdeps/x86_64/x32/dl-machine.h: New file.
28385 2012-05-14  Andreas Jaeger  <aj@suse.de>
28387         * manual/Makefile (subdir): Remove export of subdir.
28388         (all): Remove target.
28389         (.PHONY): Remove all from list.
28390         (mkinstalldirs): Remove.
28391         (.PHONY): Remove installdirs from list.
28392         ($(inst_infodir)/libc.info): Use make-target-directory.
28393         (installdirs): Remove.
28394         (subdir_%): Remove.
28395         (glibc-targets): Remove.
28396         (lib): Remove.
28397         (stubs): Remove.
28398         ($(objpfx)stubs ../po/manual.pot): Remove.
28399         ($(objpfx)stamp%): Remove.
28400         (make-target-directory): Remove.
28401         (subdir_install): Remove.
28402         (routines): Remove.
28403         (aux): Remove.
28404         (sources): Remove.
28405         (objects): Remove.
28406         (headers): Remove.
28408         [BZ #13750]
28409         * manual/.gitignore: Remove, it's not needed anymore.
28410         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28411         all files in it.
28412         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28413         directory.
28414         (texis): Renamed to $(objpfx)texis.
28415         (texis-path): New, contains path to generated files.
28416         (chapters.%): Use texis-path for complete path, add extra argument
28417         libc-texinfo.sh.
28418         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28419         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28420         (summary,texi, stamp-summary): Use complete path of
28421         files. Generate files in build dir.
28422         (dir-add.texi): Build in build dir.
28423         (libm-err.texi,stamp-libm-err): Likewise.
28424         (version.texi, stamp-version): Likewise.
28425         (.%c.texi): Likewise.
28426         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28427         (mostlyclean): Remove target.
28428         (realclean): Remove target.
28429         (generated): Add new variable with contents from mostlyclean and
28430         realclean, remove entries duplicated in common-mostlyclean, add
28431         stamp-libm-err and stamp-version.
28432         (generated-dirs): Add libc directory.
28433         ($(inst_infodir)/libc.info): Install files from build dir.
28435         * manual/install.texi (Configuring and compiling): Adjust since
28436         the info files are not part of the tar ball anymore.
28438 2012-05-14  Andreas Jaeger  <aj@suse.de>
28440         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28441         variable.
28443 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28445         [BZ #13717]
28446         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28447         to 2.2.0 where earlier.
28448         * sysdeps/unix/sysv/linux/configure: Regenerated.
28449         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28450         Remove conditional code.
28451         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28452         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28453         Remove conditional code.
28454         [!__NR_lchown]: Likewise.
28455         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28456         [__NR_lchown]: Likewise.
28457         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28458         comment referencing __ASSUME_LCHOWN_SYSCALL.
28459         * sysdeps/unix/sysv/linux/i386/sigaction.c
28460         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28461         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28462         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28463         Remove conditional code.
28464         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28465         (__protocol_available): Remove #if 0 code.
28466         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28467         conditional code.
28468         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28469         * sysdeps/unix/sysv/linux/kernel-features.h
28470         (__ASSUME_GETCWD_SYSCALL): Don't define.
28471         (__ASSUME_REALTIME_SIGNALS): Likewise.
28472         (__ASSUME_PREAD_SYSCALL): Likewise.
28473         (__ASSUME_PWRITE_SYSCALL): Likewise.
28474         (__ASSUME_POLL_SYSCALL): Likewise.
28475         (__ASSUME_LCHOWN_SYSCALL): Likewise.
28476         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28477         non-SPARC.
28478         (__ASSUME_SIOCGIFNAME): Don't define.
28479         (__ASSUME_MSG_NOSIGNAL): Likewise.
28480         (__ASSUME_SENDFILE): Define unconditionally.
28481         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28482         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28483         conditional code.
28484         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28485         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28486         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28487         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28488         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28489         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28490         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28492         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28493         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28495         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28496         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28498         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28499         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28501         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28502         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28504         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28505         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28507         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28508         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28510         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28511         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28513         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28514         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28515         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28516         Remove conditional code.
28517         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28518         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28519         Remove conditional code.
28520         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28521         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28522         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28523         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28524         Remove conditional code.
28525         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28526         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28527         Remove conditional code.
28528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28529         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28530         Remove conditional code.
28531         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28532         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28533         Remove conditional code.
28534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28535         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28536         Remove conditional code.
28537         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28538         * sysdeps/unix/sysv/linux/sh/pwrite64.c
28539         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28540         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28541         * sysdeps/unix/sysv/linux/sigaction.c
28542         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28543         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28544         * sysdeps/unix/sysv/linux/sigpending.c
28545         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28546         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28547         * sysdeps/unix/sysv/linux/sigprocmask.c
28548         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28549         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28550         * sysdeps/unix/sysv/linux/sigsuspend.c
28551         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28552         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28553         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28554         (__libc_missing_rt_sigs): Remove.
28555         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28556         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28557         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28558         Remove conditional code.
28559         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28560         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28561         return 1.
28562         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28563         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28564         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28565         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28567 2012-05-14  Andreas Jaeger  <aj@suse.de>
28569         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28570         it's not used in glibc.
28571         (__coshm1): Likewise.
28572         (__acosh1p): Likewise.
28573         (__sgn): Likewise.
28575         * manual/string.texi (Copying and Concatenation): Add missing
28576         variable in concat example.
28577         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28579 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28581         [BZ #14103]
28582         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28583         __builtin_clzl with __builtin_clzll.
28585 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28587         [BZ #14104]
28588         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28589         libc_freeres_ptr.
28591 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28593         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28594         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28595         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28596         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28598 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
28600         * NEWS: Update ia64 info.
28602 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
28604         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28605         used as bcopy.
28607 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
28609         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28610         * sysdeps/unix/syscalls.list (dup3): Likewise.
28611         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28612         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28614 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28616         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28617         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28619 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28621         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28622         thread pointer.
28623         (TLS_IE): Use mov/add instead of movq/addq to load thread
28624         pointer.
28625         (TLS_GD_PREFIX): New.
28626         (TLS_GD): Use it.
28628 2012-05-11  David S. Miller  <davem@davemloft.net>
28630         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28631         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28632         (_FPU_SETCW): Likewise.
28634 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28636         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28637         is 32-byte aligned.
28639 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
28641         [BZ #11837]
28642         * iconvdata/gb18030.c: Update tables.
28643         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
28644         characters specially.
28645         (BODY for TO_LOOP): Add encoding of missing ranges.
28647 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
28649         [BZ #13673]
28650         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28651         * sysdeps/mach/hurd/dup3.c: Likewise.
28652         * sysdeps/mach/hurd/readlinkat.c: Likewise.
28653         * sysdeps/powerpc/memmove.c:: Likewise.
28655 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28657         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28658         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28660 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28662         * elf/elf.h (R_X86_64_RELATIVE64): New.
28663         (R_X86_64_NUM): Updated.
28664         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28665         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
28666         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28667         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28668         tst-quad1pie tst-quad2pie
28669         (modules-names): Add tst-quadmod1 tst-quadmod2.
28670         ($(objpfx)tst-quad1): New dependency.
28671         ($(objpfx)tst-quad2): Likewise.
28672         ($(objpfx)tst-quad1pie): Likewise.
28673         ($(objpfx)tst-quad2pie): Likewise.
28674         * sysdeps/x86_64/tst-quad1.c: New file.
28675         * sysdeps/x86_64/tst-quad1pie.c: New file.
28676         * sysdeps/x86_64/tst-quad2.c: Likewise.
28677         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28678         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28679         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28680         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28681         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28683 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28685         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28686         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28687         * streams/stropts.h (t_scalar_t): Define type.
28689         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28690         (_PATH_PRESERVE): Set to "/var/lib".
28691         (_PATH_RWHODIR): Set to "/var/spool/rwho".
28693         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28694         instead of int.
28696         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28697         if __dir_mkfile succeeded.
28699         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28700         checking for _hurd_dtablesize.  Unlock it right after having
28701         finished _hurd_dtable allocation.
28703 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28705         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28706         * sysdeps/mach/hurd/configure: Regenerated.
28707         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28708         special-casing to...
28709         * sysdeps/gnu/configure.in: ... this new file.
28710         * sysdeps/unix/sysv/linux/configure: Regenerated.
28711         * sysdeps/gnu/configure: New generated file.
28713         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28714         for Linux: use nsec instead of usec, as well as:
28715         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28716         members of type struct timespec.
28717         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28718         New macros.
28719         (struct stat64): Likewise.
28720         (_STATBUF_ST_NSEC): New macro.
28721         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28723         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28724         __strtoul_internal rather than strtoul.
28726 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28728         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28729         and reject them.
28731 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28733         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28734         which preserves existing values.
28735         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28737 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28739         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28740         TIMEOUT values.  Return EINVAL for NFDS values either negative or
28741         greater than FD_SETSIZE.
28743 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28745         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28746         allocated, call __vm_protect to finish enabling the existing space, and
28747         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28748         allocate the remainder.
28750 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28752         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28753         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
28755 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28757         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28758         sysdeps/mach/hurd/readlink.c.
28760         * posix/tst-sysconf.c (posix_options): Only use
28761         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28762         _POSIX_SYNCHRONIZED_IO when they are defined
28763         * sysdeps/mach/hurd/bits/posix_opt.h:
28764         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28765         (_XOPEN_REALTIME): Undefine macro.
28766         (_XOPEN_REALTIME_THREADS): Undefine macro.
28767         (_XOPEN_SHM): Undefine macro.
28768         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28769         macro to -1.
28770         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28771         macro to -1.
28772         (_POSIX_ASYNC_IO): Undefine macro.
28773         (_POSIX_PRIORITIZED_IO): Undefine macro.
28774         (_POSIX_SPIN_LOCKS): Define macro to -1.
28776         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28777         SA_NODEFER, SA_RESETHAND.
28778         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28779         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28780         F_DUPFD_CLOEXEC.
28782 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28784         * elf/Makefile (pldd-modules): Define unconditionally.
28786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28788         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28790 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28792         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28793         Return ENOENT when name is empty.
28794         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28798         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28800         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28802 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28804         Fix mlock in all cases except non-readable pages.
28805         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28806         instead of VM_PROT_ALL as parameter to __vm_wire function.
28808         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28809         (__mkdir): When path is `/', just fail with EEXIST.
28810         * sysdeps/mach/hurd/mkdirat.c: Likewise.
28812 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28814         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28815         <sys/uio.h> (for writev).
28816         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28817         and <sys/param.h> (for MIN).
28819 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28821         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28822         REQUESTED_TIME.  Properly set the remaining time and return EINTR
28823         if interrupted.
28825 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28827         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28828         Depend on against $(link-rpcuserlibs).
28830 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28832         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28833         (__libc_stack_end): Do not use attribute_relro.
28834         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28835         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28836         to libthread-provided value.
28837         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28838         attribute_relro.
28840 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28842         [BZ #3748]
28843         * bits/libc-lock.h (__libc_once_get): New macro.
28844         * sysdeps/mach/bits/libc-lock.h: Likewise.
28845         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28846         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28847         instead of using implementation details.
28849         * libio/fileops.c: Unconditionally include <kernel-features.h>.
28850         * libio/freopen.c: Likewise.
28851         * libio/freopen64.c: Likewise.
28852         * misc/syslog.c: Likewise.
28853         * nscd/connections.c: Likewise.
28854         * nscd/netgroupcache.c: Likewise.
28855         * sysdeps/posix/getcwd.c: Likewise.
28857 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28859         * math/w_ilogbf.c: Add #include <limits.h>.
28861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28863         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28864         path instead of returning without unlocking.
28866         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28867         immediate-write ioctls.
28868         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28870 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28872         * sysdeps/mach/hurd/i386/init-first.c (init): Use
28873         __builtin_frame_address instead of making assumptions about the
28874         location of the return address relative to DATA.  Force early load of
28875         the return address.
28876         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28877         __builtin_frame_address.
28879         dup3 for GNU Hurd.
28880         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28881         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
28882         implement dup3 and do some further code clean-ups.
28883         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28884         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28886 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28888         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28890         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28891         HURD_CRITICAL_END around holding _hurd_dtable_lock.
28892         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28893         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28894         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28895         d->port.lock.
28897         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28898         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
28899         when handler == SIG_ERR, not when handler != SIG_ERR.
28901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28903         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28904         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28905         definitions.
28907         accept4 for GNU Hurd.
28908         * include/sys/socket.h (__libc_accept4): New prototype.
28909         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
28910         to implement __libc_accept4.
28911         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28912         __libc_accept4.
28913         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28915         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28916         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28917         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28918         signal-defines.sym.
28920 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28922         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28924 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28926         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28927         assertion on O_CLOEXEC flag.
28928         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28929         * hurd/intern-fd.c: Likewise.
28930         * hurd/port2fd.c: Likewise.
28932 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28934         [BZ #3906]
28935         * bits/in.h (IPV6_PKTINFO): Define new macro.
28936         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28938 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28940         [BZ #13954]
28941         [BZ #13955]
28942         [BZ #13956]
28943         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28944         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28945         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28946         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28947         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28948         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28949         * math/libm-test.inc (logb_test) : Additional logb tests.
28951 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
28952             Andreas Jaeger  <aj@suse.de>
28954         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28955         * configure: Regenerated.
28956         * config.h.in (LINK_OBSOLETE_RPC): New macro.
28957         * config.make.in (link-obsolete-rpc): New substituted variable.
28958         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28959         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28960         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28961         (shared-only-routines): Don't set it under [link-obsolete-rpc],
28962         so that libc.a contains the symbols.
28963         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28964         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28965         * sunrpc/auth_none.c: Likewise.
28966         * sunrpc/auth_unix.c: Likewise.
28967         * sunrpc/authdes_prot.c: Likewise.
28968         * sunrpc/authuxprot.c: Likewise.
28969         * sunrpc/clnt_gen.c: Likewise.
28970         * sunrpc/clnt_perr.c: Likewise.
28971         * sunrpc/clnt_raw.c: Likewise.
28972         * sunrpc/clnt_simp.c: Likewise.
28973         * sunrpc/clnt_tcp.c: Likewise.
28974         * sunrpc/clnt_udp.c: Likewise.
28975         * sunrpc/clnt_unix.c: Likewise.
28976         * sunrpc/des_crypt.c: Likewise.
28977         * sunrpc/des_soft.c: Likewise.
28978         * sunrpc/get_myaddr.c: Likewise.
28979         * sunrpc/key_call.c: Likewise.
28980         * sunrpc/key_prot.c: Likewise.
28981         * sunrpc/netname.c: Likewise.
28982         * sunrpc/pm_getmaps.c: Likewise.
28983         * sunrpc/pm_getport.c: Likewise.
28984         * sunrpc/pmap_clnt.c: Likewise.
28985         * sunrpc/pmap_prot.c: Likewise.
28986         * sunrpc/pmap_prot2.c: Likewise.
28987         * sunrpc/pmap_rmt.c: Likewise.
28988         * sunrpc/publickey.c: Likewise.
28989         * sunrpc/rpc_cmsg.c: Likewise.
28990         * sunrpc/rpc_common.c: Likewise.
28991         * sunrpc/rpc_dtable.c: Likewise.
28992         * sunrpc/rpc_prot.c: Likewise.
28993         * sunrpc/rpc_thread.c: Likewise.
28994         * sunrpc/rtime.c: Likewise.
28995         * sunrpc/svc.c: Likewise.
28996         * sunrpc/svc_auth.c: Likewise.
28997         * sunrpc/svc_raw.c: Likewise.
28998         * sunrpc/svc_run.c: Likewise.
28999         * sunrpc/svc_tcp.c: Likewise.
29000         * sunrpc/svc_udp.c: Likewise.
29001         * sunrpc/svc_unix.c: Likewise.
29002         * sunrpc/svcauth_des.c: Likewise.
29003         * sunrpc/xcrypt.c: Likewise.
29004         * sunrpc/xdr.c: Likewise.
29005         * sunrpc/xdr_array.c: Likewise.
29006         * sunrpc/xdr_float.c: Likewise.
29007         * sunrpc/xdr_intXX_t.c: Likewise.
29008         * sunrpc/xdr_mem.c: Likewise.
29009         * sunrpc/xdr_rec.c: Likewise.
29010         * sunrpc/xdr_ref.c: Likewise.
29011         * sunrpc/xdr_sizeof.c: Likewise.
29012         * sunrpc/xdr_stdio.c: Likewise.
29014 2012-05-10  Roland McGrath  <roland@hack.frob.com>
29016         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29017         change.  Update copyright years.
29019 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29021         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29023 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
29024             Joseph Myers  <joseph@codesourcery.com>
29025             Paul Pluzhnikov  <ppluzhnikov@google.com>
29027         [BZ #14012]
29028         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29029         requiring rpcgen.
29030         [cross-compiling] (extra-libs): Likewise.
29031         [cross-compiling] (extra-libs-others): Likewise.
29032         [cross-compiling] (librpcsvc-routines): Likewise.
29033         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29034         [cross-compiling] (omit-deps): Likewise.
29035         (sunrpc-CPPFLAGS): New variable.
29036         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29037         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29038         (cross-rpcgen-objs): New variable.
29039         (extra-objs): Append $(cross-rpcgen-objs).
29040         ($(cross-rpcgen-objs)): New rule.
29041         ($(objpfx)cross-rpcgen): Likewise.
29042         (rpcgen-cmd): Define to use $(built-program-file).  Expand
29043         comment.
29044         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29045         ($(objpfx)x%.stmp): Likewise.
29046         * sunrpc/proto.h [IS_IN_build] (_): Define.
29047         [IS_IN_build] (_libc_intl_domainname): Likewise.
29049 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29051         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29052         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29053         and R_X86_64_TPOFF64.
29055 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29057         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29058         sysdeps/unix/sysv/syscalls.list.
29059         (stime): Likewise.
29060         (utime): Likewise.
29061         * sysdeps/unix/sysv/syscalls.list: Remove file.
29063 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
29065         [BZ #3440]
29066         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29067         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29068         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29069         (__LC_IDENTIFICATION): Make these macros useful in #if
29070         expressions, as required by C99.
29072 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
29074         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29075         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
29076         after this.
29078 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
29080         * stdlib/longlong.h: Updated from GCC.
29082 2012-05-09  Andreas Jaeger  <aj@suse.de>
29084         * nscd/nscd.c (run_modes): Make named enum, reorder so that
29085         default is first entry.
29086         (run_mode): Set type.
29087         (main): Remove informal message about syslog.
29088         (options): Fix typo.
29090         [BZ #14053]
29091         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29092         to asm.
29093         (lrint): Likewise.
29094         (llrintf): Likewise.
29095         (llrint): Likewise.
29096         (rint): Likewise.
29097         (rintf): Likewise.
29098         (nearbyint): Likewise.
29099         (nearbyintf): Likewise.
29101 2012-05-09  Andreas Jaeger  <aj@suse.de>
29102             Pedro Alves  <palves@redhat.com>
29104         * nscd/nscd.c (run_mode): Use enum.
29105         (main): Cleanup coding style issue.
29107 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
29108             Andreas Jaeger  <aj@suse.de>
29110         * nscd/nscd.c (go_background): Replaced with...
29111         (run_mode): ... this.
29112         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29113         (options): Add -F --foreground.
29114         (main): Implement it.
29115         (parse_opt): Parse it.
29117 2012-05-09  Andreas Jaeger  <aj@suse.de>
29119         [BZ #14083]
29120         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29121         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29122         -Wconversion warning.
29123         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29124         Likewise.
29126 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
29128         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
29129         == 0.
29130         (LC_ALL): Use macro-int-constant.
29131         (LC_COLLATE): Likewise.
29132         (LC_CTYPE): Likewise.
29133         (LC_MESSAGES): Likewise.
29134         (LC_MONETARY): Likewise.
29135         (LC_NUMERIC): Likewise.
29136         (LC_TIME): Likewise.
29137         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29138         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29139         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29140         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29141         Specify type.
29142         [C99-based standards] (float_t): Expect type.
29143         [C99-based standards] (double_t): Expect type.
29144         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
29145         type.
29146         [C99-based standards] (HUGE_VALL): Likewise.
29147         [C99-based standards] (INFINITY): Likewise.
29148         [C99-based standards] (NAN): Likewise.
29149         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29150         [C99-based standards] (FP_NAN): Likewise.
29151         [C99-based standards] (FP_NORMAL): Likewise.
29152         [C99-based standards] (FP_SUBNORMAL): Likewise.
29153         [C99-based standards] (FP_ZERO): Likewise.
29154         [C99-based standards] (FP_FAST_FMA): Use
29155         optional-macro-int-constant.  Specify type.  Require == 1.
29156         [C99-based standards] (FP_FAST_FMAF): Likewise.
29157         [C99-based standards] (FP_FAST_FMAL): Likewise.
29158         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29159         [C99-based standards] (FP_ILOGBNAN): Likewise.
29160         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29161         Specify type.
29162         [C99-based standards] (MATH_ERREXCEPT): Likewise.
29163         [C99-based standards] (math_errhandling): Specify type.
29164         [ISO99 || ISO11] (signgam): Do not allow.
29165         [non-C99-based standards] (copysignf): Do not allow.
29166         [non-C99-based standards] (exp2f): Likewise.
29167         [non-C99-based standards] (log2f): Likewise.
29168         [non-C99-based standards] (modff): Allow.
29169         [non-C99-based standards] (erff): Do not allow.
29170         [non-C99-based standards] (erfcf): Likewise.
29171         [non-C99-based standards] (gammaf): Likewise.
29172         [non-C99-based standards] (hypotf): Likewise.
29173         [non-C99-based standards] (j0f): Likewise.
29174         [non-C99-based standards] (j1f): Likewise.
29175         [non-C99-based standards] (jnf): Likewise.
29176         [non-C99-based standards] (lgammaf): Likewise.
29177         [non-C99-based standards] (tgammaf): Likewise.
29178         [non-C99-based standards] (y0f): Likewise.
29179         [non-C99-based standards] (y1f): Likewise.
29180         [non-C99-based standards] (ynf): Likewise.
29181         [non-C99-based standards] (isnanf): Likewise.
29182         [non-C99-based standards] (acoshf): Likewise.
29183         [non-C99-based standards] (asinhf): Likewise.
29184         [non-C99-based standards] (atanhf): Likewise.
29185         [non-C99-based standards] (cbrtf): Likewise.
29186         [non-C99-based standards] (expm1f): Likewise.
29187         [non-C99-based standards] (ilogbf): Likewise.
29188         [non-C99-based standards] (log1pf): Likewise.
29189         [non-C99-based standards] (logbf): Likewise.
29190         [non-C99-based standards] (nextafterf): Likewise.
29191         [non-C99-based standards] (remainderf): Likewise.
29192         [non-C99-based standards] (rintf): Likewise.
29193         [non-C99-based standards] (scalbf): Likewise.
29194         [non-C99-based standards] (copysignl): Likewise.
29195         [non-C99-based standards] (exp2l): Likewise.
29196         [non-C99-based standards] (log2l): Likewise.
29197         [non-C99-based standards] (modfl): Allow.
29198         [non-C99-based standards] (erfl): Do not allow.
29199         [non-C99-based standards] (erfcl): Likewise.
29200         [non-C99-based standards] (gammal): Likewise.
29201         [non-C99-based standards] (hypotl): Likewise.
29202         [non-C99-based standards] (j0l): Likewise.
29203         [non-C99-based standards] (j1l): Likewise.
29204         [non-C99-based standards] (jnl): Likewise.
29205         [non-C99-based standards] (lgammal): Likewise.
29206         [non-C99-based standards] (tgammal): Likewise.
29207         [non-C99-based standards] (y0l): Likewise.
29208         [non-C99-based standards] (y1l): Likewise.
29209         [non-C99-based standards] (ynl): Likewise.
29210         [non-C99-based standards] (isnanl): Likewise.
29211         [non-C99-based standards] (acoshl): Likewise.
29212         [non-C99-based standards] (asinhl): Likewise.
29213         [non-C99-based standards] (atanhl): Likewise.
29214         [non-C99-based standards] (cbrtl): Likewise.
29215         [non-C99-based standards] (expm1l): Likewise.
29216         [non-C99-based standards] (ilogbl): Likewise.
29217         [non-C99-based standards] (log1pl): Likewise.
29218         [non-C99-based standards] (logbl): Likewise.
29219         [non-C99-based standards] (nextafterl): Likewise.
29220         [non-C99-based standards] (remainderl): Likewise.
29221         [non-C99-based standards] (rintl): Likewise.
29222         [non-C99-based standards] (scalbl): Likewise.
29223         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29224         [non-C99-based standards] (FP_*): Do not allow.
29225         [C99-based standards] (FP_*): Change to
29226         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29227         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29228         allow.
29229         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29230         (SIG_ERR): Likewise.
29231         [X/Open-based standards] (SIG_HOLD): Likewise.
29232         (SIG_IGN): Likewise.
29233         (SIGABRT): Use macro-int-constant.  Specify type.  Require
29234         positive value.
29235         (SIGFPE): Likewise.
29236         (SIGILL): Likewise.
29237         (SIGINT): Likewise.
29238         (SIGSEGV): Likewise.
29239         (SIGTER): Likewise.
29240         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29241         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29242         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29243         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29244         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29245         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29246         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29247         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29248         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29249         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29250         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29251         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29252         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29253         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29254         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29255         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29256         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29257         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29258         [X/Open-based standards] (SIGTRAP): Likewise.
29259         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29260         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29261         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29262         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29263         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29264         allow.
29266 2012-05-08  Ian Wienand  <ianw@vmware.com>
29268         [BZ #14080]
29269         * time/tzset.c (__tzset_parse_tz): Update default rules for
29270         daylight time changes in the Energy Policy Act of 2005.
29272 2012-05-09  Andreas Jaeger  <aj@suse.de>
29274         [BZ #13983]
29275         * elf/ldconfig.c (parse_conf): Change string to make clear that
29276         ldconfig only issued a warning if ld.so.conf does not exist.
29278 2012-05-08  David S. Miller  <davem@davemloft.net>
29280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29281         movxtod instead of popping the value on the stack.
29283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29285 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
29287         * config.h.in: Add HAVE_ARM_PCS_VFP.
29289 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
29291         [BZ #13979]
29292         * include/features.h: Warn if user requests __FORTIFY_SOURCE
29293         checking but the checks are disabled for any reason.
29295 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
29297         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29298         and ELF64_R_TYPE with ELFW(R_TYPE).
29300 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
29302         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29303         (ulimit): Likewise.
29305         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29306         (settimeofday): Likewise.
29308 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
29310         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
29311         a struct th_u2 inside the union, and move tu_block/tu_code into
29312         a new th_u3 union of tu_block/tu_code inside of that.  Move
29313         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
29314         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
29315         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29316         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29317         (th_stuff): Change to th_u1.tu_stuff.
29318         (th_data): Define.
29319         (th_msg): Change to th_u1.th_u2.tu_data.
29321 2012-05-07  David S. Miller  <davem@davemloft.net>
29323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29325         [BZ #14074]
29326         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29327         (SETUP_PIC_REG): Use it.
29328         (SETUP_PIC_REG_LEAF): Use it.
29330 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
29332         [BZ #13885]
29333         [BZ #13923]
29334         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29335         USE_AS_EXPM1L.
29336         (EXPL_FINITE): Likewise.
29337         (FLDLOG): Likewise.
29338         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29339         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29340         e_expl.S.
29341         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29342         USE_AS_EXPM1L.
29343         (EXPL_FINITE): Likewise.
29344         (FLDLOG): Likewise.
29345         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29346         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29347         e_expl.S.
29348         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
29349         test of -max_value argument for long double.
29350         * sysdeps/i386/fpu/libm-test-ulps: Update.
29351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29353 2012-05-06  David S. Miller  <davem@davemloft.net>
29355         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29356         quad soft-float symbols whose references which are compiler
29357         generated.
29358         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29360 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
29362         [BZ #13884]
29363         [BZ #13914]
29364         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29365         USE_AS_EXP10L.
29366         (EXPL_FINITE): Likewise.
29367         (FLDLOG): Likewise.
29368         (c0): Likewise.
29369         (c1): Likewise.
29370         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29371         Adjust comments for base varying.
29372         (__expl_finite): Change alias to EXPL_FINITE.
29373         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29374         e_expl.S.
29375         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29376         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29377         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29378         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29379         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29380         USE_AS_EXP10L.
29381         (EXPL_FINITE): Likewise.
29382         (FLDLOG): Likewise.
29383         (c0): Likewise.
29384         (c1): Likewise.
29385         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29386         Adjust comments for base varying.
29387         (__expl_finite): Change alias to EXPL_FINITE.
29388         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
29389         tests for bugs.
29390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29392         [BZ #14064]
29393         * math/libm-test.inc (check_float_internal): Correct ulp
29394         calculation for subnormal expected results.
29396 2012-05-06  Andreas Jaeger  <aj@suse.de>
29398         * Makeconfig (+math-flags): New, set to -frounding-math.
29399         (+cflags): Add +math-flags so that all of glibc gets compiled with
29400         it.
29402         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29404 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
29406         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29407         Disable one test.
29409         [BZ #13787]
29410         [BZ #13922]
29411         [BZ #14036]
29412         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29413         (__ieee754_expl): Allow for and saturate large arguments.
29414         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29415         (u_threshold): Likewise.
29416         (__exp): Call __ieee754_exp before checking for overflow and
29417         underflow.
29418         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29419         (u_threshold): Likewise.
29420         (__expf): Call __ieee754_expf before checking for overflow and
29421         underflow.
29422         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29423         (u_threshold): Likewise.
29424         (__expl): Call __ieee754_expl before checking for overflow and
29425         underflow.
29426         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29427         (__ieee754_expl): Allow for and saturate large arguments.
29428         * math/libm-test.inc (exp_test): Add another test.  Do not allow
29429         missing overflow exception on overflow.
29430         (expm1_test): Do not allow missing overflow exception on overflow.
29432         * sysdeps/i386/fpu/e_expl.c: Move to ...
29433         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
29434         rather than using inline asm.
29435         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29436         * sysdeps/x86_64/fpu/e_expl.S: Copy from
29437         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29439         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29440         (nice): Likewise.
29441         (poll): Likewise.
29442         (signal): Likewise.
29443         (time): Likewise.
29444         (times): Likewise.
29446 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29448         * sysdeps/unix/syscalls.list (adjtime): Add entry from
29449         sysdeps/unix/common/syscalls.list.
29450         (fchmod): Likewise.
29451         (fchown): Likewise.
29452         (ftruncate): Likewise.
29453         (getrusage): Likewise.
29454         (gettimeofday): Likewise.
29455         (setpgid): Likewise.
29456         (setregid): Likewise.
29457         (setreuid): Likewise.
29458         (sigaction): Likewise.
29459         (truncate): Likewise.
29460         (vhangup): Likewise.
29461         * sysdeps/unix/common/syscalls.list: Remove file.
29462         * sysdeps/unix/bsd/Implies: Don't include unix/common.
29463         * sysdeps/unix/sysv/linux/Implies: Likewise.
29465 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
29467         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29469         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29470         Moved to ...
29471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29472         Here.
29473         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29474         to ...
29475         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29476         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29477         to ...
29478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29479         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29480         to ...
29481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29482         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29483         to ...
29484         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29485         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29486         to ...
29487         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29488         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29489         to ...
29490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29491         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29492         to ...
29493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29494         Here.
29495         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29496         to ...
29497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29498         Here.
29499         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29500         to ...
29501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29502         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29503         Moved to ...
29504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29505         Here.
29506         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29507         to ...
29508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29510 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29512         * sysdeps/unix/common/bits/dirent.h: Remove file.
29513         * sysdeps/unix/common/bits/fcntl.h: Likewise.
29515         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29516         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29517         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29518         * sysdeps/unix/bsd/isatty.c: Likewise.
29519         * sysdeps/unix/bsd/tcdrain.c: Likewise.
29520         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29521         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29523 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29525         [BZ #13563]
29526         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29527         long double comparison inaccuracies.
29528         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29531 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
29533         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29534         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29536 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29538         [BZ #14049]
29539         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29540         nonzero digits before rounding a hex value.
29541         * stdlib/tst-strtod.c (tests): Add another test.
29543 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29545         * sysdeps/s390/fpu/libm-test-ulps: Update.
29547 2012-05-03  Andreas Jaeger  <aj@suse.de>
29549         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29550         does not get optimized out.
29551         (malloc_opt_barrier): New.
29553 2012-05-03  Andreas Jaeger  <aj@suse.de>
29554             Roland McGrath  <roland@hack.frob.com>
29556         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29557         intermediate file deletion.
29558         (generated): Add .symlist files.
29560 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
29562         [BZ #13775]
29563         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29564         Redirect under this condition.
29565         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29566         [__USE_GNU] (__dprintf_chk): Not under this condition.
29567         [__USE_GNU] (__vdprintf_chk): Likewise.
29568         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29569         under this condition.
29570         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29571         [__USE_XOPEN2K8] (dprintf): Define under this condition.
29572         [__USE_XOPEN2K8] (vdprintf): Likewise.
29573         [__USE_GNU] (__dprintf_chk): Not under this condition.
29574         [__USE_GNU] (__vdprintf_chk): Likewise.
29575         [__USE_GNU] (dprintf): Likewise.
29576         [__USE_GNU] (vdprintf): Likewise.
29578 2012-05-03  Roland McGrath  <roland@hack.frob.com>
29580         * elf/Makefile (common-generated): Set this instead of generated for
29581         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
29582         $(all-built-dso)-derived lists.
29584 2012-05-03  Andreas Jaeger  <aj@suse.de>
29586         * sysdeps/i386/fpu/libm-test-ulps: Update.
29588         * FAQ: Removed.
29589         * FAQ.in: Likewise.
29590         * scripts/gen-FAQ.pl: Likewise.
29591         * manual/install.texi (Installation): Point to online location of
29592         FAQ.
29593         * Makefile (files-for-dist): Remove FAQ.
29594         (FAQ): Remove.
29596 2012-05-02  Allan McRae  <allan@archlinux.org>
29598         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29599         (LDFLAGS-reldepmod5.so): Likewise.
29600         (LDFLAGS-reldep6mod1.so): Likewise.
29601         (LDFLAGS-reldep6mod4.so): Likewise.
29602         (LDFLAGS-reldep8mod3.so): Likewise.
29603         (LDFLAGS-unload4mod1.so): Likewise.
29604         (LDFLAGS-unload4mod2.so): Likewise.
29605         (LDFLAGS-tst-initorder): Likewise.
29606         (LDFLAGS-tst-initordera2.so): Likewise.
29607         (LDFLAGS-tst-initordera3.so): Likewise.
29608         (LDFLAGS-tst-initordera4.so): Likewise.
29609         (LDFLAGS-tst-initorderb2.so): Likewise.
29610         (LDFLAGS-noload): Likewise.
29611         (LDFLAGS-next): Likewise.
29612         (LDFLAGS-order2mod1.so): Likewise.
29613         (LDFLAGS-order2mod2.so): Likewise.
29614         (LDFLAGS-tst-initorder2): Likewise.
29615         (LDFLAGS-tst-initorder2a.so): Likewise.
29616         (LDFLAGS-tst-initorder2b.so): Likewise.
29617         (LDFLAGS-tst-initorder2c.so): Likewise.
29618         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29620 2012-05-02  David S. Miller  <davem@davemloft.net>
29622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29624 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29626         [BZ #14055]
29627         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29629 2012-05-02  Andreas Jaeger  <aj@suse.de>
29631         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29632         since we manipulate rounding mode.
29633         (CPPFLAGS-test-idouble.c): Likewise.
29634         (CPPFLAGS-test-ifloat.c): Likewise.
29635         (CFLAGS-test-ldouble.c): Likewise.
29636         (CFLAGS-test-double.c): Likewise.
29637         (CFLAGS-test-float.c): Likewise.
29638         (CFLAGS-test-misc.c): Likewise.
29639         (CFLAGS-test-test-fenv.c): Likewise.
29641 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29643         [BZ #2550]
29644         [BZ #2570]
29645         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29646         comparisons to determine direction to adjust input.
29648 2012-05-01  Roland McGrath  <roland@hack.frob.com>
29650         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29651         output to the target.
29653         * scripts/localplt.awk: New file.
29654         * elf/Makefile ($(objpfx)check-localplt): Target removed.
29655         (check-localplt-CFLAGS): Variable removed.
29656         ($(all-built-dso:=.jmprel)): New static pattern rule.
29657         (generated): Add those targets.
29658         (localplt-built-dso): New variable.
29659         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29661         * elf/check-localplt.c: File removed.
29663         * scripts/check-execstack.awk: New file.
29664         * elf/Makefile ($(objpfx)check-execstack): Target removed.
29665         (check-execstack-CFLAGS): Variable removed.
29666         ($(objpfx)check-execstack.h): Target removed.
29667         ($(objpfx)execstack-default): New target.
29668         (generated): Add that instead of check-execstack.h.
29669         ($(all-built-dso:=.phdr)): New static pattern rule.
29670         (generated): Add those targets.
29671         * elf/check-execstack.c: File removed.
29673         * scripts/check-textrel.awk: New file.
29674         * elf/Makefile ($(objpfx)check-textrel): Target removed.
29675         (check-textrel-CFLAGS): Variable removed.
29676         (all-built-dso): Use := to define.o
29677         ($(all-built-dso:=.dyn)): New static pattern rule.
29678         (generated): Add those targets.
29679         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29680         * config.make.in (READELF): New substituted variable.
29681         * elf/check-textrel.c: File removed.
29683 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29685         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29686         allow.
29687         * conform/data/ctype.h-data [C99-based standards] (isblank):
29688         Expect function.
29689         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29690         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29691         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29692         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29693         Specify type.  Require positive value.
29694         (EILSEQ): Likewise.
29695         (ERANGE): Likewise.
29696         [ISO || POSIX] (EILSEQ): Do not expect.
29697         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29698         Specify type.  Require positive value.
29699         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29700         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29701         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29702         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29703         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29704         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29705         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29706         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29707         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29708         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29709         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29710         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29711         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29712         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29713         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29714         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29715         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29716         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29717         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29718         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29719         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29720         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29721         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29722         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29723         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29724         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29725         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29726         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29727         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29728         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29729         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29730         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29731         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29732         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29733         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29734         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29735         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29736         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29737         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29738         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29739         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29740         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29741         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29742         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29743         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29744         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29745         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29746         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29747         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29748         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29749         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29750         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29751         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29752         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29753         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29754         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29755         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29756         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29757         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29758         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29759         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29760         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29761         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29762         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29763         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29764         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29765         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29766         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29767         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29768         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29769         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29770         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29771         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29772         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29773         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29774         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29775         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29776         Require >= 2.
29777         (FLT_ROUNDS): Expect as macro, not constant.
29778         (FLT_MANT_DIG): Use macro-int-constant.
29779         (DBL_MANT_DIG): Likewise.
29780         (LDBL_MANT_DIG): Likewise.
29781         (FLT_DIG): Likewise.
29782         (DBL_DIG): Likewise.
29783         (LDBL_DIG): Likewise.
29784         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
29785         (DBL_MIN_EXP): Likewise.
29786         (LDBL_MIN_EXP): Likewise.
29787         (FLT_MAX_EXP): Use macro-int-constant.
29788         (DBL_MAX_EXP): Likewise.
29789         (LDBL_MAX_EXP): Likewise.
29790         (FLT_MAX_10_EXP): Likewise.
29791         (DBL_MAX_10_EXP): Likewise.
29792         (LDBL_MAX_10_EXP): Likewise.
29793         (FLT_MAX): Use macro-constant.
29794         (DBL_MAX): Likewise.
29795         (LDBL_MAX): Likewise.
29796         (FLT_EPSILON): Use macro-constant.  Give upper bound.
29797         (DBL_EPSILON): Likewise.
29798         (LDBL_EPSILON): Likewise.
29799         (FLT_MIN): Likewise.
29800         (DBL_MIN): Likewise.
29801         (LDBL_MIN): Likewise.
29802         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29803         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29804         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29805         [ISO11] (FLT_HAS_SUBNORM): Likewise.
29806         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29807         [ISO11] (DBL_DECIMAL_DIG): Likewise.
29808         [ISO11] (FLT_DECIMAL_DIG): Likewise.
29809         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29810         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29811         [ISO11] (FLT_TRUE_MIN): Likewise.
29812         [ISO11] (LDBL_TRUE_MIN): Likewise.
29813         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29814         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29815         (SCHAR_MIN): Use macro-int-constant.  Specify type.
29816         (SCHAR_MAX): Likewise.
29817         (UCHAR_MAX): Likewise.
29818         (CHAR_MIN): Likewise.
29819         (CHAR_MAX): Likewise.
29820         (MB_LEN_MAX): Use macro-int-constant.
29821         (SHRT_MIN): Use macro-int-constant.  Specify type.
29822         (SHRT_MAX): Likewise.
29823         (USHRT_MAX): Likewise.
29824         (INT_MAX): Likewise.
29825         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
29826         bound negative.
29827         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29828         bound with "U".
29829         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29830         bound with "L".
29831         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
29832         bound negative.  Suffix upper bound with "L".
29833         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29834         bound with "UL".
29835         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29836         Specify type.
29837         [C99-based standards] (LLONG_MAX): Likewise.
29838         [C99-based standards] (ULLONG_MAX): Likewise.
29839         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
29840         == 0.
29841         [ISO11] (max_align_t): Require type.
29842         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29844         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29845         from $CFLAGS, without defining away __attribute__ calls.
29846         (checknamespace): Use $CFLAGS_namespace.
29848         * conform/conformtest.pl (@keywords): Only include C99 keywords
29849         for standards based on C99 or C11.
29851         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29852         Disable tests.
29853         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29854         UNIX98]: Likewise.
29856         * conform/conformtest.pl: Handle "macro-int-constant" and test for
29857         usability of symbols in #if.
29859         * conform/conformtest.pl: If macro or constant types start
29860         "promoted:", expect the symbol to be of the following type
29861         promoted by the integer promotions.
29863         * conform/conformtest.pl: Parse all "constant" and "macro" lines
29864         in one place.  Also handle "macro-constant".
29866         * conform/conformtest.pl: Only accept expected macro values with
29867         "==".  Parse all "macro" lines in one place.
29868         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29870         * conform/conformtest.pl: Handle braced types on "constant" lines
29871         instead of handling "typed-constant".
29872         * conform/data/signal.h-data: Use "constant" instead of
29873         "typed-constant".
29875         * conform/conformtest.pl: Handle "optional-" at start of lines in
29876         one place rather than duplicating several cases.  Handle each
29877         format of "macro" line with initial "optional-".
29879         * conform/conformtest.pl: Only accept expected constant or
29880         optional-constant values with "==".  Parse all "constant" lines in
29881         one place.  Parse all "optional-constant" lines in one place.
29882         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29883         * conform/data/fmtmsg.h-data: Likewise.
29884         * conform/data/netinet/in.h-data: Likewise.
29885         * conform/data/tar.h-data: Likewise.
29886         * conform/data/limits.h-data: Use "==" form on "constant" and
29887         "optional-constant" lines.
29889         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29890         Use -std=c99 for XOPEN2K.
29891         (@knownproblems): Remove.
29892         (newtoken): Don't check %isknown.
29894         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29895         Do not expect macro.
29896         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29897         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29898         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29899         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29900         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29901         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29902         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29903         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29904         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29905         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29906         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29907         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29908         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29909         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29910         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29911         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29912         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29913         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29914         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29915         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29916         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29917         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29918         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29919         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29920         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29921         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29922         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29923         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29924         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29925         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29926         [XPG3] (acosh): Likewise.
29927         [XPG3] (asinh): Likewise.
29928         [XPG3] (atanh): Likewise.
29929         [XPG3] (cbrt): Likewise.
29930         [XPG3] (expm1): Likewise.
29931         [XPG3] (ilogb): Likewise.
29932         [XPG3] (log1p): Likewise.
29933         [XPG3] (logb): Likewise.
29934         [XPG3] (nextafter): Likewise.
29935         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29936         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29937         [XPG3] (remainder): Likewise.
29938         [XPG3] (rint): Likewise.
29939         [XPG3 || XPG4 || UNIX98] (round): Likewise.
29940         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29941         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29942         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29943         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29944         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29945         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29946         [UNIX98 || XOPEN2K] (scalb): Expect.
29947         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29948         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29949         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29950         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29951         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29952         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29953         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29954         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29955         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29956         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29957         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29958         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29959         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29960         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29961         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29962         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29963         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29964         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29965         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29966         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29967         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29968         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29969         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29970         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29971         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29972         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29973         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29974         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29975         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29976         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29977         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29978         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29979         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29980         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29981         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29982         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29983         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29984         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29985         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29986         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29987         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29988         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29989         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29990         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29991         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29992         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29993         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29994         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29995         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29996         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29997         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29998         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29999         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30000         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30001         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30002         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30003         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30004         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30005         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30006         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30007         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30008         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30009         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30010         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30011         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30012         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30013         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30014         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30015         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30016         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30017         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30018         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30019         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30020         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30021         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30022         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30023         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30024         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30025         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30026         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30027         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30028         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30029         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30030         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30031         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30032         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30033         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30034         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30035         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30036         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30037         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30038         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30039         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30040         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30041         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30042         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30043         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30044         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30045         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30046         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30047         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30048         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30049         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30050         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30051         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30052         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30053         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30054         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30055         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30056         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30057         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30058         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30059         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30060         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30061         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30062         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30063         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30064         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30065         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30066         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30067         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30068         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30069         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30070         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30071         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30072         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30073         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30074         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30075         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30076         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30077         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30078         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30079         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30080         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30081         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30082         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30083         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30085         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30086         _XOPEN_SOURCE_EXTENDED for XPG4.
30088         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30090         * Makeconfig (localtime): Remove variable.
30091         (inst_localtime-file): Likewise.
30093 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30096         Update.
30097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30098         Update.
30099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30100         Update.
30101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30102         Update.
30103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30104         Update.
30105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30106         Update.
30107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30108         Update.
30109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30110         Update.
30111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30112         Update.
30114 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30116         [BZ #2550]
30117         [BZ #2570]
30118         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30119         comparisons to determine direction to adjust input.
30120         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30121         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30122         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30123         Likewise.
30124         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30125         Likewise.
30126         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30127         Likewise.
30128         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30129         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30130         Likewise.
30131         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30132         Likewise.
30133         * math/libm-test.inc (nexttoward_test): Add more tests.
30135 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30137         [BZ #14040]
30138         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30139         in version GLIBC_2.1, not GLIBC_2.0.
30140         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30141         Likewise.
30143 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
30145         [BZ #13942]
30146         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30147         (1 - x) * (1 + x).
30148         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30149         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30150         * math/libm-test.inc (acos_test): Add more tests.
30151         (asin_test): Likewise.
30152         * sysdeps/i386/fpu/libm-test-ulps: Update.
30153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30155         [BZ #14034]
30156         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30157         of square root.
30158         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30159         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30160         * math/libm-test.inc (acos_test_tonearest): New function.
30161         (acos_test_towardzero): Likewise.
30162         (acos_test_downward): Likewise.
30163         (acos_test_upward): Likewise.
30164         (asin_test_tonearest): Likewise.
30165         (asin_test_towardzero): Likewise.
30166         (asin_test_downward): Likewise.
30167         (asin_test_upward): Likewise.
30168         (main): Call the new functions.
30169         * sysdeps/i386/fpu/libm-test-ulps: Update.
30170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30172         [BZ #13884]
30173         [BZ #13924]
30174         * math/e_exp10.c: Include <float.h>.
30175         (__ieee754_exp10): Handle underflow here rather than multiplying
30176         large negative argument by M_LN10.
30177         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30178         of __ieee754_expf.
30179         * math/e_exp10l.c: Include <float.h>.
30180         (__ieee754_exp10l): Handle underflow here rather than multiplying
30181         large negative argument by M_LN10l.
30182         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
30183         spurious overflow exception on underflow.
30185 2012-04-29  Marek Polacek  <polacek@redhat.com>
30187         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30188         (__fortify_function): New macro.
30189         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30190         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30191         __extern_always_inline.
30192         * libio/bits/stdio2.h: Likewise.
30193         * libio/bits/stdio.h: Likewise.
30194         * string/string.h: Likewise.
30195         * string/bits/string3.h: Likewise.
30196         * include/stdio.h: Likewise.
30197         * stdlib/bits/stdlib.h: Likewise.
30198         * stdlib/stdlib.h: Likewise.
30199         * rt/bits/mqueue2.h: Likewise.
30200         * rt/mqueue.h: Likewise.
30201         * posix/bits/unistd.h: Likewise.
30202         * posix/unistd.h: Likewise.
30203         * io/bits/poll2.h: Likewise.
30204         * io/bits/fcntl2.h: Likewise.
30205         * io/fcntl.h: Likewise.
30206         * io/sys/poll.h: Likewise.
30207         * misc/bits/syslog.h: Likewise.
30208         * misc/bits/syslog-ldbl.h: Likewise.
30209         * misc/sys/syslog.h: Likewise.
30210         * socket/bits/socket2.h: Likewise.
30211         * socket/sys/socket.h: Likewise.
30212         * debug/tst-chk1.c: Likewise.
30213         * wcsmbs/bits/wchar2.h: Likewise.
30214         * wcsmbs/bits/wchar-ldbl.h: Likewise.
30215         * wcsmbs/wchar.h: Likewise.
30217 2012-04-29  Andreas Jaeger  <aj@suse.de>
30219         * Makerules (tests): Remove enable-check-abi protection.
30220         (check-abi-warn): Remove.
30221         (check-abi-%): Remove check-abi-warn usage.
30223         * configure.in: Remove check-abi configure option.
30224         * configure: Regenerated.
30225         * config.make.in (enable-check-abi): Remove.
30227 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
30229         [BZ #14033]
30230         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30231         double functions to double *_finite functions.
30233         [BZ #13941]
30234         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30235         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30236         LDBL_MIN_EXP.
30237         * stdio-common/Makefile (tests): Add tst-sprintf3.
30238         * stdio-common/tst-sprintf3.c: New file.
30240         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30241         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30243 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30245         * conform/conformtest.pl: Remove duplicate typed-constant
30246         handling.
30248 2012-04-28  David S. Miller  <davem@davemloft.net>
30250         * Makerules (%.abilist): Add vpath on sysdep_dirs.
30251         (check-abi-%): Remove AWK script prerequisite and explicit
30252         abilist directory.
30253         (check-abi): Rewrite to just diff the symlist with the abilist.
30254         (config-tls, config-abi-config): Delete, no longer used.
30255         (update-abi-%): Remove AWK script and explicit abilist directory.
30256         (update-abi): Rewrite to simply compare and conditionally copy the
30257         symlist and the sysdep abilist file.  Remove update-abi-config
30258         checks.
30259         * abilist/ld.abilist: Remove.
30260         * abilist/libBrokenLocale.abilist: Remove.
30261         * abilist/libanl.abilist: Remove.
30262         * abilist/libcrypt.abilist: Remove.
30263         * abilist/libdl.abilist: Remove.
30264         * abilist/librt.abilist: Remove.
30265         * abilist/libthread_db.abilist: Remove.
30266         * abilist/libutil.abilist: Remove.
30267         * scripts/extract-abilist.awk: Remove.
30268         * scripts/merge-abilist.awk: Remove.
30269         * sysdeps/generic/libcidn.abilist: New file.
30270         * sysdeps/generic/libnss_compat.abilist: New file.
30271         * sysdeps/generic/libnss_db.abilist: New file.
30272         * sysdeps/generic/libnss_dns.abilist: New file.
30273         * sysdeps/generic/libnss_files.abilist: New file.
30274         * sysdeps/generic/libnss_hesiod.abilist: New file.
30275         * sysdeps/generic/libnss_nis.abilist: New file.
30276         * sysdeps/generic/libnss_nisplus.abilist: New file.
30277         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30278         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30279         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30280         file.
30281         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30282         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30283         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30284         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30285         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30286         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30287         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30288         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30289         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30290         file.
30291         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30292         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30293         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30294         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30295         file.
30296         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30297         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30298         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30299         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30300         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30301         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30302         file.
30303         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30304         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30305         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30306         file.
30307         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30309         New file.
30310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30311         New file.
30312         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30313         New file.
30314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30315         New file.
30316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30317         New file.
30318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30319         New file.
30320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30321         New file.
30322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30323         New file.
30324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30325         New file.
30326         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30327         New file.
30328         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30329         New file.
30330         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30331         New file.
30332         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30333         New file.
30334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30335         file.
30336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30337         New file.
30338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30339         New file.
30340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30341         file.
30342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30343         New file.
30344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30345         New file.
30346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30347         file.
30348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30349         New file.
30350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30351         New file.
30352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30353         New file.
30354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30355         New file.
30356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30357         New file.
30358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30359         New file.
30360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30362         file.
30363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30364         New file.
30365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30366         file.
30367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30368         file.
30369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30370         file.
30371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30372         file.
30373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30374         file.
30375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30376         New file.
30377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30378         file.
30379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30380         file.
30381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30382         New file.
30383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30384         file.
30385         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30387         file.
30388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30389         New file.
30390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30391         file.
30392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30393         file.
30394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30395         file.
30396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30397         file.
30398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30399         file.
30400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30401         New file.
30402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30403         file.
30404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30405         file.
30406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30407         New file.
30408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30409         file.
30410         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30411         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30412         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30413         file.
30414         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30415         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30416         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30417         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30418         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30419         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30420         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30421         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30422         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30423         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30424         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30426         file.
30427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30428         New file.
30429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30430         file.
30431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30432         file.
30433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30434         file.
30435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30436         file.
30437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30438         file.
30439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30440         New file.
30441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30442         New file.
30443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30444         file.
30445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30446         New file.
30447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30448         file.
30449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30451         file.
30452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30453         New file.
30454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30455         file.
30456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30457         file.
30458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30459         file.
30460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30461         file.
30462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30463         file.
30464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30465         New file.
30466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30467         New file.
30468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30469         file.
30470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30471         New file.
30472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30473         file.
30475 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30477         * conform/conformtest.pl: Fix typo in handling typed-constant from
30478         allow-header.
30480 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30482         * README: Cut down references to pre-2.6 Linux kernels and
30483         Linuxthreads.  Update lists of configurations in libc and ports
30484         and sort alphabetically.  Say "or newer" with Linux kernel version
30485         requirements.
30487         * config.h.in [IS_IN_build]: Allow compiling without optimization.
30489 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30491         [BZ #887]
30492         * math/libm-test.inc (logb_test_downward): New test to expose
30493         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30494         rounding mode.
30496 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30498         [BZ #14027]
30499         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30500         to be done.
30501         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30502         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30504 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
30506         * sysdeps/unix/i386/brk.S: Remove file.
30507         * sysdeps/unix/i386/dl-brk.S: Likewise.
30508         * sysdeps/unix/i386/pipe.S: Likewise.
30509         * sysdeps/unix/i386/sigreturn.S: Likewise.
30510         * sysdeps/unix/i386/syscall.S: Likewise.
30511         * sysdeps/unix/i386/vfork.S: Likewise.
30512         * sysdeps/unix/i386/wait.S: Likewise.
30514         * sysdeps/unix/common/tcsendbrk.c: Move to ...
30515         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30517         * configure.in (arm*-none*): Do not allow without
30518         --enable-hacker-mode.
30519         (netbsd*): Remove case setting base_os.
30520         (386bsd*): Likewise.
30521         (freebsd*): Likewise.
30522         (bsdi*): Likewise.
30523         (osf*): Likewise.
30524         (sunos*): Likewise.
30525         (ultrix*): Likewise.
30526         (newsos*): Likewise.
30527         (dynix*): Likewise.
30528         (*bsd*): Likewise.
30529         (sysv*): Likewise.
30530         (isc*): Likewise.
30531         (esix*): Likewise.
30532         (sco*): Likewise.
30533         (minix*): Likewise.
30534         (irix4*): Likewise.
30535         (irix6*): Likewise.
30536         (solaris[2-9]*): Likewise.
30537         (none): Likewise.
30538         * configure: Regenerated.
30540 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30542         [BZ #11521]
30543         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30544         overflow or cancellation in calculating denominator.
30545         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30546         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30547         down expression to avoid unexpected rounding in newer GCCs.
30548         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30550 2012-04-26  David S. Miller  <davem@davemloft.net>
30552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30553         long-double compat symbols.
30554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30568 2012-04-25  David S. Miller  <davem@davemloft.net>
30570         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30571         HWCAP_* values only after the memory barriers have been defined.
30572         (atomic_full_barrier): Define.
30573         (atomic_read_barrier): Define.
30574         (atomic_write_barrier): Define.
30576 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30578         * shlib-versions: Add libgcc_s version information.
30579         * sysdeps/generic/libgcc_s.h: Remove.
30580         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30581         libgcc_s.h.
30582         * sysdeps/gnu/unwind-resume.c: Likewise.
30583         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30585 2012-04-25  David S. Miller  <davem@davemloft.net>
30587         * sysdeps/unix/sparc/brk.S: Delete.
30588         * sysdeps/unix/sparc/dl-brk.S: Delete.
30589         * sysdeps/unix/sparc/pipe.S: Delete.
30590         * sysdeps/unix/sparc/sysdep.S: Delete.
30591         * sysdeps/unix/sparc/sysdep.h: Delete.
30592         * sysdeps/unix/sparc/vfork.S: Delete.
30593         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30594         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30595         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30596         ret_ERRVAL, r0, r1, MOVE): Define.
30597         (JUMPTARGET): Remove.
30598         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30599         sysdeps/unix/sparc/sysdep.h
30600         (ENTRY, END): Remove.
30601         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30603 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
30605         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30606         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30607         -DIS_IN_build.
30609         * timezone/README: Update upstream location and email address for
30610         tzcode and tzdata.
30611         * timezone/zdump.c: Update from tzcode 2012b.
30612         * timezone/zic.c: Likewise.
30614         * configure.in (libc_cv_as_needed): Remove test.
30615         * configure: Regenerated.
30616         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30617         conditional definition.
30618         [$(have-as-needed) != yes] (no-as-needed): Likewise.
30619         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30620         * config.make.in (have-as-needed): Remove variable.
30622 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30623             Paul Pluzhnikov  <ppluzhnikov@google.com>
30625         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30626         strings correctly.
30628 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
30630         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30631         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30632         * sysdeps/sh/strlen.S: Likewise.
30634 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30636         * sysdeps/unix/fork.S: Remove file.
30637         * sysdeps/unix/i386/fork.S: Likewise.
30638         * sysdeps/unix/sparc/fork.S: Likewise.
30640         * sysdeps/unix/system.c: Remove file.
30641         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30643         * sysdeps/unix/getegid.S: Remove file.
30644         * sysdeps/unix/geteuid.S: Likewise.
30646 2012-04-24  Roland McGrath  <roland@hack.frob.com>
30648         * scripts/check-localplt.awk: New file.
30649         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30650         of diff.
30651         * scripts/data/localplt-generic.data: Add a comment.
30653         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30654         NODE when __dir_mkfile failed.
30655         * sysdeps/mach/hurd/symlinkat.c: Likewise.
30656         Reported by Ludovic Courtès <ludo@gnu.org>.
30658 2012-04-24  Andreas Jaeger  <aj@suse.de>
30660         * Makerules (common-clean): Also remove gen-as-const-headers
30661         files.
30663 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30665         * Makerules (native-compile): Do not change working directory for
30666         build.  Use $(OUTPUT_OPTION) in command.
30667         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30669 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30671         [BZ #13886]
30672         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30673         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30674         * math/libm-test.inc (floor_test): Add more tests.
30675         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30677 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30679         * sysdeps/unix/getdents.c: Remove file.
30680         * sysdeps/unix/sysv/getdents.c: Likewise.
30681         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30683         * sysdeps/unix/syscalls.list (madvise): Add syscall from
30684         sysdeps/unix/mman/syscalls.list.
30685         (mmap): Likewise.
30686         (mprotect): Likewise.
30687         (msync): Likewise.
30688         (munmap): Likewise.
30689         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30690         * sysdeps/unix/mman/syscalls.list: Remove.
30691         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30693         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30694         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30695         * configure: Regenerated.
30696         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30697         $(libgcc_s_suffix).
30698         * config.make.in (libgcc_s_suffix): Remove variable.
30700 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
30702         * sysdeps/unix/sysv/gethostname.c: Move to ...
30703         * sysdeps/posix/gethostname.c: ... here.
30705         * sysdeps/unix/execve.S: Remove file.
30707         * sysdeps/unix/_exit.S: Remove file.
30709 2012-04-23  Andreas Jaeger  <aj@suse.de>
30711         [BZ #13739]
30712         * manual/Makefile: Remove make dist support, there's no
30713         need for a stand-alone documentation tar ball.
30714         (TEXI2DVI): Define always, it's not in Makeconfig.
30715         (dist): Removed.
30716         (tar-it): Removed.
30717         (edition): Removed.
30718         (glibc-doc-$(edition).tar): Removed
30719         (%.Z): Removed.
30720         (%.gz): Removed.
30721         (%.uu): Removed.
30722         (ETAGS): Remove, it's in Makeconfig.
30723         (move-if-change): Remove, it's in Makeconfig.
30725 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
30727         [BZ #13970]
30728         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30729         (strtod, strtof, strtold, strtol, strtoul, strtoq)
30730         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30731         (strtod_l, strtof_l, strtold_l): Remove __wur.
30732         It is not necessarily an error to ignore strtol's return value.
30733         One can reliably look at the stored endptr to decide whether
30734         the number had valid syntax.
30736 2012-04-21  Andreas Jaeger  <aj@suse.de>
30738         [BZ #13739]
30739         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30741 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
30743         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30744         * sysdeps/unix/sysv/Versions: Remove file.
30746 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
30748         [BZ #13927]
30749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30751 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
30753         [BZ #7064]
30754         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30755         version from __vm86.
30757 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
30759         * sysdeps/unix/common/lxstat.c: Remove file.
30760         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30762         * sysdeps/unix/sysv/Makefile: Remove file.
30764         * sysdeps/unix/sysv/direct.h: Remove file.
30766         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30767         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30768         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30769         * sysdeps/unix/sysv/bits/signum.h: Likewise.
30770         * sysdeps/unix/sysv/bits/stat.h: Likewise.
30771         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30772         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30774         * sysdeps/unix/sysv/setrlimit.c: Remove file.
30776         * sysdeps/unix/xmknod.c: Remove file.
30777         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30779         * sysdeps/unix/sysv/settimeofday.c: Remove file.
30781         * sysdeps/unix/sysv/i386/time.S: Remove file.
30783         * sysdeps/unix/fxstat.c: Remove file.
30784         * sysdeps/unix/xstat.c: Likewise.
30785         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30787         * sysdeps/unix/sysv/sigaction.c: Remove file.
30789         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30790         (sysdep_headers): Remove variable.
30791         [termio.h not in sysdep_headers] (generated): Likewise.
30792         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30793         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30794         * sysdeps/unix/sysv/tcdrain.c: Likewise.
30795         * sysdeps/unix/sysv/tcflow.c: Likewise.
30796         * sysdeps/unix/sysv/tcflush.c: Likewise.
30797         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30798         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30799         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30800         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30801         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30803         * sysdeps/unix/siglist.c: Remove file.
30805         * sysdeps/unix/getppid.S: Remove file.
30807         * sysdeps/unix/mkdir.c: Remove file.
30808         * sysdeps/unix/rmdir.c: Likewise.
30810 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
30812         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30813         ERR_MAX value.
30814         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30815         errlist-compat value.
30817 2012-04-18  David S. Miller  <davem@davemloft.net>
30819         * sysdeps/generic/memcopy.h (reg_char): Delete.
30820         * debug/strcat_chk.c: Use char, not reg_char.
30821         * debug/strcpy_chk.c: Likewise.
30822         * debug/strncat_chk.c: Likewise.
30823         * debug/strncpy_chk.c: Likewise.
30824         * string/memchr.c: Likewise.
30825         * string/memrchr.c: Likewise.
30826         * string/rawmemchr.c: Likewise.
30827         * string/strcat.c: Likewise.
30828         * string/strchr.c: Likewise.
30829         * string/strchrnul.c: Likewise.
30830         * string/strcmp.c: Likewise.
30831         * string/strcpy.c: Likewise.
30832         * string/strncat.c: Likewise.
30833         * string/strncmp.c: Likewise.
30834         * string/strncpy.c: Likewise.
30836 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30838         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30839         __builtin_memcopy is called when src and dest ranges are known to not
30840         overlap.
30842 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30844         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30845         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30846         fwd_align_merge macro call.
30847         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30848         bwd_align_merge macro call.
30849         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30851 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30853         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30854         bwd_align_merge macros.
30855         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30856         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30857         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30859 2012-04-18  David S. Miller  <davem@davemloft.net>
30861         * sysdeps/sparc/sparc64/memcopy.h: Delete.
30863 2012-04-18  Andreas Jaeger  <aj@suse.de>
30865         [BZ# 6794]
30866         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30867         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30868         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30870         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30871         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30872         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30874         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30875         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30876         Adjust for changed ldbl-128 files.
30878         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30879         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30880         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30882 2012-04-17  David S. Miller  <davem@davemloft.net>
30884         * sysdeps/sparc/sparc32/memcopy.h: Delete.
30886 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
30888         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30889         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30890         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30891         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30892         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30893         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30895 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30897         [BZ #6794]
30898         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30899         * math/libm-test.inc: Add ilogb errno and exception tests.
30900         * math/w_ilogb.c: New file: ilogb wrapper.
30901         * math/w_ilogbf.c: New file: ilogbf wrapper.
30902         * math/w_ilogbl.c: New file: ilogbl wrapper.
30903         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30904         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30905         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30906         exception being thrown with 0.0 as argument.
30907         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30908         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30909         exception being thrown with 0.0 as argument.
30910         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30911         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30912         exception being thrown with 0.0 as argument.
30913         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30914         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30915         exception being thrown with 0.0 as argument.
30916         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30917         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30918         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30919         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30920         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30921         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30922         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30923         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30924         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30926 2012-04-17  Petr Baudis  <pasky@ucw.cz>
30928         * include/sys/uio.h: Change __vector to __iovec to avoid clash
30929         with altivec.
30931 2012-04-16  Marek Polacek  <polacek@redhat.com>
30933         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30935 2012-04-16  Marek Polacek  <polacek@redhat.com>
30937         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30938         operands of fdivp instruction.
30940 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30942         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30943         * elf/tst-auditmod3b.c: Likewise.
30944         * elf/tst-auditmod4b.c: Likewise.
30945         * elf/tst-auditmod5b.c: Likewise.
30946         * elf/tst-auditmod6b.c: Likewise.
30947         * elf/tst-auditmod6c.c: Likewise.
30948         * elf/tst-auditmod7b.c: Likewise.
30949         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30950         * sysdeps/x86_64/preconfigure.in: Likewise.
30951         * sysdeps/x86_64/preconfigure: Regenerated.
30953 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30955         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30956         __ILP32__.
30958 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
30960         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30961         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30963 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
30965         [BZ #13973]
30966         * locale/iso-639.def: Fix gl language name. Spotted by
30967         Yaron Shahrabani.
30969 2012-04-12  Roland McGrath  <roland@hack.frob.com>
30971         [BZ #2074]
30972         * libio/libio.h (__io_write_fn): Update comment.
30974 2012-04-12  Petr Baudis  <pasky@ucw.cz>
30976         [BZ #2074]
30977         * stdio.texi (Hook Functions): The user provided writer function
30978         is not allowed to return -1.
30980 2012-04-11  David S. Miller  <davem@davemloft.net>
30982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30984 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
30986         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30987         Add a leading slash to rtkaio.
30989 2012-04-11  Jim Meyering  <meyering@redhat.com>
30991         [BZ #11959]
30992         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30993         It is not necessarily an error to ignore fwrite's return
30994         value.  One can reliably use ferror to test for errors after
30995         the fact.
30997 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30999         * bits/types.h (__snseconds_t): New type.
31000         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31002         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31003         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31004         (__SNSECONDS_T_TYPE): Likewise.
31005         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31006         (__SNSECONDS_T_TYPE): Likewise.
31007         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31008         (__SNSECONDS_T_TYPE): Likewise.
31010 2012-04-10  Andreas Jaeger  <aj@suse.de>
31012         [BZ #2636]
31013         * manual/time.texi (Processor Time): Return type of times is
31014         elapsed real time since an arbitrary point in the past.
31015         (CPU Time): Move CLK_TCK from here...
31016         (Processor Time): ...to here.  Correct description.
31017         * manual/conf.texi (Constants for Sysconf): Correct description of
31018         _SC_CLK_TCK.
31020 2012-04-10  David S. Miller  <davem@davemloft.net>
31022         [BZ #13967]
31023         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31024         where the is a gap between DT_REL(A) and DT_JMPREL.
31026 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
31028         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31029         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31030         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31032 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31034         * elf/dl-support.c (_dl_inhibit_cache): New variable.
31035         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31036         (dl_main): Handle --inhibit-cache.
31037         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31038         _dl_inhibit_cache.
31039         * elf/dl-load.c (_dl_map_object): Use it.
31040         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31042 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31044         [BZ #13872]
31045         * sysdeps/i386/fpu/e_powl.S (p78): New object.
31046         (__ieee754_powl): Saturate large exponents rather than testing for
31047         overflow of y*log2(x).
31048         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31049         * math/libm-test.inc (pow_test): Do not permit spurious overflow
31050         exceptions.
31052         [BZ #11521]
31053         * math/s_ctan.c: Include <float.h>.
31054         (__ctan): Avoid internal overflow or cancellation in calculating
31055         denominator.
31056         * math/s_ctanf.c: Likewise.
31057         * math/s_ctanl.c: Likewise.
31058         * math/s_ctanh.c: Likewise.
31059         * math/s_ctanhf.c: Likewise.
31060         * math/s_ctanhl.c: Likewise.
31061         * math/libm-test.inc (ctan_test): Add more tests.
31062         (ctanh_test): Likewise.
31063         * sysdeps/i386/fpu/libm-test-ulps: Update.
31064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31066 2012-04-09  Andreas Jaeger  <aj@suse.de>
31068         [BZ #6894]
31069         * manual/filesys.texi (Directory Entries): Mention that d_namlen
31070         is an optional BSD extension.
31072         [BZ #10254]
31073         * manual/stdio.texi (Opening Streams): Document additional fopen
31074         parameters.
31076 2012-04-09  Roland McGrath  <roland@hack.frob.com>
31078         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31079         %eax without telling the compiler.
31081 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
31083         [BZ # 13963]
31084         * manual/install.texi: Use sourceware.org.
31086 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31088         [BZ #13873]
31089         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31090         (__ieee754_pow): Generate overflow and underflow using huge*huge
31091         and tiny*tiny rather than just returning constant infinity or zero
31092         for large exponents.
31093         * math/libm-test.inc (pow_test): Require overflow exceptions for
31094         applicable cases of large exponents.
31096         [BZ #706]
31097         * sysdeps/i386/fpu/e_pow.S (p10): New object.
31098         (__ieee754_pow): Use iterative multiplication algorithm only for
31099         integer exponents with absolute value below 1024.  Check for odd
31100         integer exponents when using algorithm for real exponents.
31101         * math/libm-test.inc (pow_test): Add more tests.
31102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31104 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
31106         [BZ #13705]
31107         * math/libm-test.inc (exp_test): Do not allow overflow exception
31108         on underflow test.
31110 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
31112         [BZ #13705]
31113         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31114         instead of __kernel_standard_f.
31116 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
31118         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31119         * sysdeps/x86_64/memset_chk.S: Likewise.
31121 2012-04-08  Andreas Jaeger  <aj@suse.de>
31123         [BZ #10153]
31124         * manual/startup.texi (Environment Access): Describe return value
31125         for putenv and setenv.
31127         [BZ #6895]
31128         * manual/filesys.texi (Directory Entries): Add description for
31129         DT_LNK.
31131         [BZ #6890]
31132         * manual/filesys.texi (Directory Entries): Clarify that it's file
31133         system not operating system in the description of DT_UNKNOWN.
31135         [BZ #6578]
31136         * manual/syslog.texi (closelog): Fix reference, it's openlog.
31138 2012-04-08  Stephen Compall  <s11@member.fsf.org>
31140         [BZ #6649]
31141         * manual/llio.texi (Opening and Closing Files): Add cross
31142         reference to explain mode argument.
31144 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
31146         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31147         * sysdeps/x86_64/memset_chk.S: Likewise.
31149 2012-04-07  David S. Miller  <davem@davemloft.net>
31151         * elf/elf.h (R_SPARC_WDISP10): Define.
31152         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31153         R_SPARC_SIZE32.
31154         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31155         R_SPARC_SIZE64 and R_SPARC_H34.
31157 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
31159         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31160         conditions and remove no longer applicable assertion.
31162 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31164         * bits/byteswap.h: Include <features.h>.
31165         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31166         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31168 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31170         * bits/byteswap.h (__bswap_16): Removed.
31171         Include <bits/byteswap-16.h> to get __bswap_16.
31172         * sysdeps/i386/bits/byteswap.h: Likewise.
31173         * sysdeps/s390/bits/byteswap.h: Likewise.
31174         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31175         * bits/byteswap-16.h: New file.
31176         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31177         * sysdeps/s390/bits/byteswap-16.h: Likewise.
31178         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31179         * string/Makefile (headers): Add bits/byteswap-16.h.
31181 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31183         [BZ #13895]
31184         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31185         extra indirection.
31186         * nss/Makefile (tests-static, tests): Add tst-nss-static.
31187         * nss/tst-nss-static.c: New.
31189 2012-04-06  Robert Millan  <rmh@gnu.org>
31191         [BZ #6486]
31192         * manual/llio.texi (File Position Primitive): lseek
31193         refers to WHENCE when it really means OFFSET.
31195 2012-04-06  Andreas Jaeger  <aj@suse.de>
31197         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31198         strncmp declarations.
31200         * abilist/libc.abilist: Add __poll and __ppoll.
31202 2012-04-05  David S. Miller  <davem@davemloft.net>
31204         * scripts/check-local-headers.sh: Accept a host triplet in the
31205         path matched by the exclude regexp.
31207         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31208         definition.
31209         * sysdeps/powerpc/powerpc32/dl-machine.h
31210         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31211         * sysdeps/s390/s390-32/dl-machine.h
31212         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31213         * sysdeps/sparc/sparc32/dl-machine.h
31214         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31215         * sysdeps/sparc/sparc64/dl-machine.h
31216         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31218         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31219         lazy binding.
31220         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31221         undefined symbol errors.
31223         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31224         DT_NEEDED entries.
31226 2012-04-05  Michael Matz  <matz@suse.de>
31228         [BZ #13592]
31229         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31231 2012-04-05  Andreas Jaeger  <aj@suse.de>
31233         [BZ #13908]
31234         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31235         comment.
31237 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31239         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31240         which ROUND is no valid rounding mode.
31242 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31244         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31245         read again.
31246         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31248 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31250         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31251         an exception using FPU order intentionally.
31253 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31255         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31256         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31257         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31258         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31260 2012-04-05  Simon Josefsson  <simon@josefsson.org>
31262         [BZ #12340]
31263         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31264         EINVAL when BUFLEN is too smal.
31266 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31268         [BZ #13553]
31269         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31270         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31272 2012-04-03  Andreas Jaeger  <aj@suse.de>
31274         [BZ #13938]
31275         * manual/setjmp.texi (System V contexts): Fix sentence.
31277         [BZ #13926]
31278         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31279         New macro for this case.
31280         [!__GNUC__] (__bswap_64): New inline function for this case.
31281         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31282         * bits/byteswap.h: Likewise.
31283         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31284         ull, guard with __GLIBC_HAVE_LONG_LONG.
31286         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31287         __GLIBC_HAVE_LONG_LONG.
31289         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31290         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31292 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31294         [BZ #13691]
31295         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31296         inptr and inend, rather than using last_ch.
31298 2012-04-02  David S. Miller  <davem@davemloft.net>
31300         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31301         * stdio-common/printf-parse.h (read_int): Change return type to
31302         'int', return -1 on INT_MAX overflow.
31303         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31304         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
31305         overflows INT_MAX.  Check for overflow of in-format-string precision
31306         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
31307         SIZE_MAX not INT_MAX for integer overflow test.
31308         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31309         skip the construct in the format string but do not record anything.
31310         * stdio-common/bug22.c: Adjust to test both width/prevision
31311         INT_MAX overflow as well as total length INT_MAX overflow.  Check
31312         explicitly for proper errno values.
31314 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31316         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31317         CHAR_MAX.
31318         * string/test-strcmp.c [! WIDE]: Likewise.
31319         * time/tst-mktime2.c: Likewise for INT_MAX.
31320         * string/test-string.h: #include <sys/param.h> for MIN.
31322         * csu/init-first.c (__libc_init_first): Call __ctype_init.
31323         * sysdeps/i386/init-first.c (init): Likewise.
31324         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31325         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31326         * sysdeps/sh/init-first.c (init): Likewise.
31328 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
31330         * po/ru.po: Update from translation team.
31331         * po/vi.po: Likewise.
31333 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31335         * resolv/nss_dns/dns-host.c: Merge copyright years.
31337 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31339         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31340         Optimize memcpy with prefetch if
31341         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
31342         src, dst pointers have unequal 16 byte alignments.
31344 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31346         [BZ #13928]
31347         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31348         from a CNAME entry and return the minimum ttl for the query.
31349         (gaih_getanswer_slice): Likewise.
31351 2012-03-30  Jeff Law  <law@redhat.com>
31353         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31354         due to long keys.
31355         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31356         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31358         * resolv/nss_dns/dns-host.c: Update copyright year.
31360 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
31362         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31363         requests to save a system call.  Fix check that all bytes are sent.
31365         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31366         comments for sendmmsg.
31368 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31370         [BZ #13691]
31371         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31372         with only 1 character between 0x0041 and 0x01b0.
31373         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31374         * wcsmbs/tst-mbsnrtowcs.c: New file.
31376 2012-03-29  David S. Miller  <davem@davemloft.net>
31378         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31379         small copies by hand.
31381 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31383         [BZ #13761]
31384         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31385         _nss_compat_initgroups_dyn): Fall back to malloc/free
31386         for large group memberships.
31388 2012-03-28  David S. Miller  <davem@davemloft.net>
31390         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31391         that branches into memcpy.
31392         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31393         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31394         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31395         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31396         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31397         bits.
31398         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31399         implementation too.
31400         * sysdeps/sparc/mempcpy.S: New file.
31402         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31403         the IFUNC routine in the libc case.
31404         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31406         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31407         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31408         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31409         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31410         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31411         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31412         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31413         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31415         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31416         loop to 256 bytes instead of 64 bytes and fix test signedness.
31418         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31419         * sysdeps/sparc/sparc32/Makefile: rather than here...
31420         * sysdeps/sparc/sparc64/Makefile: and here.
31422 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
31424         * malloc/mallocbug.c: Avoid warnings about unused variables.
31426 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31428         [BZ #13760]
31429         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31430         in the right place. Discard and retry query if response is
31431         larger than input buffer size.
31433 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
31435         [BZ #369]
31436         [BZ #2678]
31437         [BZ #3866]
31438         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31439         x for large integer exponent.
31440         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31441         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
31442         sign of result as needed afterwards.
31443         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31444         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31445         result for underflowing pow the same as for overflow.
31446         (__kernel_standard_l): Handle powl overflow and underflow here
31447         rather than calling __kernel_standard.
31448         * math/libm-test.inc (pow_test): Add more tests.
31450         [BZ #3868]
31451         [BZ #13879]
31452         [BZ #13910]
31453         [BZ #13911]
31454         [BZ #13912]
31455         [BZ #13913]
31456         [BZ #13915]
31457         [BZ #13916]
31458         [BZ #13917]
31459         [BZ #13918]
31460         [BZ #13919]
31461         [BZ #13920]
31462         [BZ #13921]
31463         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31464         * sysdeps/ieee754/k_standard.c: Include <float.h>.
31465         (__kernel_standard_l): New function.
31466         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31467         __kernel_standard.
31468         * math/w_acosl.c (__acosl): Likewise.
31469         * math/w_asinl.c (__asinl): Likewise.
31470         * math/w_atan2l.c (__atan2l): Likewise.
31471         * math/w_atanhl.c (__atanhl): Likewise.
31472         * math/w_coshl.c (__coshl): Likewise.
31473         * math/w_exp10l.c (__exp10l): Likewise.
31474         * math/w_exp2l.c (__exp2l): Likewise.
31475         * math/w_fmodl.c (__fmodl): Likewise.
31476         * math/w_hypotl.c (__hypotl): Likewise.
31477         * math/w_j0l.c (__j0l, __y0l): Likewise.
31478         * math/w_j1l.c (__j1l, __y1l): Likewise.
31479         * math/w_jnl.c (__jnl, __ynl): Likewise.
31480         * math/w_lgammal.c (__lgammal): Likewise.
31481         * math/w_log10l.c (__log10l): Likewise.
31482         * math/w_log2l.c (__log2l): Likewise.
31483         * math/w_logl.c (__logl): Likewise.
31484         * math/w_powl.c (__powl): Likewise.
31485         * math/w_remainderl.c (__remainderl): Likewise.
31486         * math/w_scalbl.c (sysv_scalbl): Likewise.
31487         * math/w_sinhl.c (__sinhl): Likewise.
31488         * math/w_sqrtl.c (__sqrtl): Likewise.
31489         * math/w_tgammal.c (__tgammal): Likewise.
31490         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31491         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31492         * math/libm-test.inc (acos_test): Add more tests.
31493         (acosh_test): Likewise.
31494         (asin_test): Likewise.
31495         (atanh_test): Likewise.
31496         (exp_test): Likewise.
31497         (exp10_test): Likewise.
31498         (exp2_test): Likewise.
31499         (expm1_test): Likewise.
31500         (lgamma_test): Likewise.
31501         (log_test): Likewise.
31502         (log10_test): Likewise.
31503         (log1p_test): Likewise.
31504         (log2_test): Likewise.
31505         (pow_test): Do not allow some spurious overflow exceptions.
31506         (sqrt_test): Add more tests.
31507         (tgamma_test): Likewise.
31508         (y0_test): Likewise.
31509         (y1_test): Likewise.
31510         (yn_test): Likewise.
31512 2012-03-27  Anton Blanchard  <anton@samba.org>
31514         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31515         MAP_HUGETLB.
31516         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31517         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31518         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31520 2012-03-27  David S. Miller  <davem@davemloft.net>
31522         * conform/Makefile: Run run-conformtest.sh using $(BASH).
31524         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31525         have-as-vis3 check.
31527 2012-03-27  Andreas Jaeger  <aj@suse.de>
31529         * sysdeps/x86_64/elf/configure.in: Moved to ...
31530         * sysdeps/x86_64/configure.in: ... here.
31531         * sysdeps/x86_64/elf/start.S: Moved to ...
31532         * sysdeps/x86_64/start.S: ... here.
31533         * sysdeps/x86_64/elf/configure: Delete.
31535         * sysdeps/x86_64/configure.in: Merge contents from
31536         sysdeps/i386/configure.in (without i686 check).
31538         * sysdeps/i386/elf/Versions: Merge into ...
31539         * sysdeps/i386/Versions: ... this.
31540         * sysdeps/i386/elf/Versions: Delete file.
31541         * sysdeps/i386/elf/start.S: Moved to ...
31542         * sysdeps/i386/start.S: ...here.
31543         * sysdeps/i386/elf/configure.in: Merge into...
31544         * sysdeps/i386/configure.in: ...here.
31545         * sysdeps/i386/elf/configure.in: Delete file.
31546         * sysdeps/i386/elf/configure: Delete file.
31548         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31549         * debug/backtracesyms.c: ... here.
31550         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31551         * debug/backtracesymsfd.c: ... here.
31552         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31553         * sysdeps/generic/ifunc-sel.h: ... here.
31555         * sysdeps/unix/i386/start.c: Delete file.
31556         * sysdeps/unix/sparc/start.c: Delete file.
31557         * sysdeps/unix/start.c: Delete file.
31559         * sysdeps/sh/elf/configure.in: Moved to ...
31560         * sysdeps/sh/configure.in: ... here.
31561         * sysdeps/sh/elf/start.S: Moved to ...
31562         * sysdeps/sh/start.S: ... here.
31563         * sysdeps/sh/elf/configure: Delete file.
31565         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31566         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31567         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31568         * sysdeps/powerpc/powerpc64/entry.h: ... here.
31569         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31570         * sysdeps/powerpc/powerpc64/start.S: here.
31571         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31572         * sysdeps/powerpc/powerpc64/Makefile: ... this.
31573         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31574         * sysdeps/powerpc/powerpc64/configure.in: ... this.
31575         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31577         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31578         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31579         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31580         * sysdeps/powerpc/powerpc32/start.S: ... here.
31581         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31582         * sysdeps/powerpc/powerpc32/configure.in: ... this.
31583         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31585         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31586         * sysdeps/powerpc/ifunc-sel.h: ... here.
31587         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31588         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31590         * sysdeps/sparc/elf/configure.in: Moved to ...
31591         * sysdeps/sparc/configure.in: ... here.
31592         * sysdeps/sparc/elf/configure: Delete file.
31593         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31594         * sysdeps/sparc/sparc32/start.S: ... here.
31595         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31596         * sysdeps/sparc/sparc64/start.S: ... here.
31597         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31598         * sysdeps/sparc/sparc32/Makefile: ... this.
31599         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31600         * sysdeps/sparc/sparc64/Makefile: ... this.
31602         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31603         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31604         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31605         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31606         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31607         * sysdeps/s390/s390-32/setjmp.S: ... here.
31608         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31609         * sysdeps/s390/s390-32/configure.in: ... here.
31610         * sysdeps/s390/s390-32/elf/configure: Delete file.
31611         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31612         * sysdeps/s390/s390-32/start.S: ... here.
31614         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31615         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31616         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31617         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31618         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31619         * sysdeps/s390/s390-64/setjmp.S: ... here.
31620         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31621         * sysdeps/s390/s390-64/configure.in: ... here
31622         * sysdeps/s390/s390-64/elf/configure: Delete file.
31623         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31624         * sysdeps/s390/s390-64/start.S: ... here.
31625         * sysdeps/s390/s390-64/elf/configure: Delete.
31627         * configure.in: Remove support for elf directories in sysdeps.
31629         * configure: Regenerated.
31630         * sysdeps/i386/configure: Regenerated.
31631         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31632         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31633         * sysdeps/s390/s390-32/configure: Regenerated.
31634         * sysdeps/s390/s390-64/configure: Regenerated.
31635         * sysdeps/sh/configure: Regenerated.
31636         * sysdeps/sparc/configure: Regenerated.
31637         * sysdeps/x86_64/configure: Regenerated.
31639 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
31641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31643         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31644         denormal result into account.
31646 2012-03-25  Roland McGrath  <roland@hack.frob.com>
31648         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31649         Reported by Allan McRae <allan@archlinux.org>.
31651 2012-03-23  Jeff Law  <law@redhat.com>
31653         * nss/getnssent.c (__nss_getent): Fix typo.
31655 2012-03-23  David S. Miller  <davem@davemloft.net>
31657         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31659 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
31661         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31662         to pad to uint64_t for each field.
31663         (dl_tls_index): Replace unsigned long with uint64_t.
31665 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
31666         Paul Pluzhnikov  <ppluzhnikov@google.com>
31668         [BZ #6528]
31669         * grp/Makefile (otherlibs): Don't set it.
31670         * inet/Makefile (otherlibs): Likewise.
31671         * login/Makefile (otherlibs): Likewise.
31672         * nscd/Makefile (otherlibs): Likewise.
31673         * posix/Makefile (otherlibs): Likewise.
31674         * pwd/Makefile (otherlibs): Likewise.
31675         * rt/Makefile (otherlibs): Likewise.
31676         * sunrpc/Makefile (otherlibs): Likewise.
31677         * nss/Makefile (otherlibs): Likewise.
31678         Add libnss_files to routines and static-only-routines.
31679         ($(objpfx)getent): Remove rule.
31680         * resolv/Makefile: Add libnss_dns and libresolv to routines and
31681         static-only-routines.
31683 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31685         [BZ #13892]
31686         * math/s_cexp.c: Include <float.h>.
31687         (__cexp): Handle exp result overflowing not necessarily
31688         overflowing both real and imaginary parts of result.
31689         * math/s_cexpf.c: Likewise.
31690         * math/s_cexpl.c: Likewise.
31691         * math/libm-test.inc (cexp_test): Add more tests.
31692         * sysdeps/i386/fpu/libm-test-ulps: Update.
31693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31695 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31697         * include/link.h (ELFW): New macro.
31698         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31699         Replace ELF64_R_TYPE with ELFW(R_TYPE).
31701 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31703         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31704         with uint64_t.
31706 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31708         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31709         declaration.
31710         (struct La_x32_retval): Likewise.
31712 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31714         * sysdeps/x86_64/preconfigure.in: New file.
31715         * sysdeps/x86_64/preconfigure: New generated file.
31717 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31719         [BZ #13824]
31720         * math/e_exp2l.c: Include <float.h>.
31721         (__ieee754_exp2l): Handle overflow and underflow cases
31722         separately.  Only pass fractional part of argument to
31723         __ieee754_expl.
31724         * math/libm-test.inc (exp2_test): Add more tests.
31726         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31727         negating x to take absolute value.
31728         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31729         Likewise.
31730         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31731         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31732         Likewise.
31733         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31734         computing low part if x was negated.
31735         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31737 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31739         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31740         la_x32_gnu_pltexit.
31741         (pltexit): Cast int_retval to ptrdiff_t.
31742         * elf/tst-auditmod3b.c: Likewise.
31743         * elf/tst-auditmod4b.c: Likewise.
31744         * elf/tst-auditmod5b.c: Likewise.
31745         * elf/tst-auditmod6b.c: Likewise.
31746         * elf/tst-auditmod6c.c: Likewise.
31747         * elf/tst-auditmod7b.c: Likewise.
31749         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31750         and x32_gnu_pltexit.
31752         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31753         __ELF_NATIVE_CLASS.
31754         (La_x32_regs): New macro.
31755         (La_x32_retval): Likewise.
31756         (la_x32_gnu_pltenter): New function prototype.
31757         (la_x32_gnu_pltexit): Likewise.
31759 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
31761         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31762         exponent.
31764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31766         * configure.in (libc_cv_cc_nofma): Check for option to disable
31767         generation of FMA instructions.
31768         * configure: Regenerate.
31769         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31770         * sysdeps/ieee754/dbl-64/Makefile: New file.
31771         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31772         Remove brandred-fma4.
31773         (CFLAGS-brandred-fma4.c): Remove.
31774         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31775         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31776         define.
31777         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31778         define.
31780 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31782         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31783         LLONG_MAX != LONG_MAX.
31784         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31785         (_fitoa_word): Likewise.
31786         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31787         LLONG_MAX != LONG_MAX.
31788         * stdio-common/_itowa.h: Include <_itoa.h>.
31789         (_itowa_word): Use _ITOA_WORD_TYPE on value.
31790         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
31791         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
31792         only if not defined.
31793         (_ITOA_WORD_TYPE): Likewise.
31794         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31795         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31797 2012-03-21  David S. Miller  <davem@davemloft.net>
31799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31801 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31803         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31804         of x86_64 when setting libc_cv_slibdir, libdir and
31805         libc_cv_localedir.
31806         * sysdeps/unix/sysv/linux/configure: Regenerated.
31808 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31810         * manual/lang.texi (Old Varargs): Remove section.
31811         (How Variadic): Update menu.
31812         (va_start): Do not mention varargs.h.
31814 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31815             Joseph Myers  <joseph@codesourcery.com>
31817         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31818         link test.
31819         * configure: Regenerated.
31821 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31823         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31824         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31825         conformtest.pl
31827 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31829         * NOTES: Remove.
31830         * Makefile (files-for-dist): Remove NOTES.
31831         (NOTES): Remove rule.
31832         * README: Don't refer to NOTES.
31833         * manual/creature.texi: Don't include macros.texi.
31834         * manual/intro.texi (creature.texi): Remove comment referring to
31835         NOTES.
31837         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31838         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31839         * configure: Regenerated.
31840         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31841         LIBC_TRY_CC_OPTION.
31842         (libc_cv_as_i686): Likewise.
31843         (libc_cv_cc_avx): Likewise.
31844         (libc_cv_cc_sse2avx): Likewise.
31845         (libc_cv_cc_fma4): Likewise.
31846         (libc_cv_cc_novzeroupper): Likewise.
31847         * sysdeps/i386/configure: Regenerated.
31849         [BZ #13883]
31850         * sysdeps/i386/fpu/s_cexp.S: Remove.
31851         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31852         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31853         * math/libm-test.inc (cexp_test): Add more tests.
31854         * sysdeps/i386/fpu/libm-test-ulps: Update.
31855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31857 2012-03-21  Allan McRae  <allan@archlinux.org>
31859         * timezone/Makefile: Do not install iso3166.tab and zone.tab
31861 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31863         [BZ #13871]
31864         * math/w_exp2.c: Do not include <float.h>.
31865         (o_threshold, u_threshold): Remove.
31866         (__exp2): Calculate result before checking finiteness and calling
31867         __kernel_standard.
31868         * math/w_exp2f.c: Likewise.
31869         * math/w_exp2l.c: Likewise.
31870         * math/libm-test.inc (exp2_test): Require overflow exception for
31871         1e6 input.
31873         [BZ #3866]
31874         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31875         range of signed 64-bit integers before using fistpll.  Remove
31876         checks for whether integers fit in mantissa bits.
31877         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31878         the range of signed 32-bit integers before using fistpl.  Remove
31879         checks for whether integers fit in mantissa bits.
31880         * sysdeps/i386/fpu/e_powl.S (p64): New object.
31881         (__ieee754_powl): Test for y outside the range of signed 64-bit
31882         integers before using fistpll.  Reduce 64-bit values to 63-bit
31883         ones as needed.
31884         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31885         divide-by-zero is raised for zero to large negative powers.
31886         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31887         (__ieee754_powl): Test for y outside the range of signed 64-bit
31888         integers before using fistpll.  Reduce 64-bit values to 63-bit
31889         ones as needed.
31890         * math/libm-test.inc (pow_test): Add more tests.
31892 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31894         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31895         <stdio-common/_itoa.h>.
31896         * debug/segfault.c: Likewise.
31897         * elf/dl-cache.c: Likewise.
31898         * elf/dl-minimal.c: Likewise.
31899         * elf/dl-misc.c: Likewise.
31900         * elf/dl-sysdep.c: Likewise.
31901         * elf/dl-version.c: Likewise.
31902         * elf/rtld.c: Likewise.
31903         * hurd/hurdsock.c: Likewise.
31904         * hurd/lookup-retry.c: Likewise.
31905         * malloc/malloc.c: Likewise.
31906         * malloc/mtrace.c: Likewise.
31907         * nscd/nscd_getgr_r.c: Likewise.
31908         * nscd/nscd_getpw_r.c: Likewise.
31909         * nscd/nscd_getserv_r.c: Likewise.
31910         * posix/getopt_init.c: Likewise.
31911         * posix/wordexp.c: Likewise.
31912         * stdio-common/_itoa.c: Likewise.
31913         * stdio-common/printf_fphex.c: Likewise.
31914         * stdio-common/vfprintf.c: Likewise.
31915         * string/_strerror.c: Likewise.
31916         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31917         * sysdeps/i386/i686/hp-timing.h: Likewise.
31918         * sysdeps/mach/_strerror.c: Likewise.
31919         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31920         * sysdeps/mach/hurd/sethostid.c: Likewise.
31921         * sysdeps/mach/hurd/xmknodat.c: Likewise.
31922         * sysdeps/mach/xpg-strerror.c: Likewise.
31923         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31924         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31925         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31926         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31927         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31928         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31929         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31930         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31931         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31932         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31933         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31934         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31935         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31936         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31937         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31938         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31939         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31940         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31941         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31942         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31943         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31945         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31947         * stdio-common/_itoa.h: Moved to ...
31948         * sysdeps/generic/_itoa.h: Here.
31950         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31952         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31953         instead of "_itoa.h" and "_itowa.h".
31954         * stdio-common/vfprintf.: Likewise.
31956 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31958         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31959         <bits/wordsize.h>.
31960         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31961         (__signbit): Likwise.
31962         (llrintf): Likwise.
31963         (llrint): Likwise.
31965 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31967         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31968         __WORDSIZE != 64.
31970 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
31972         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31973         OVERFLOW_EXCEPTION_OK.
31974         * math/libm-test.inc ("Philosophy"): Update comment about
31975         exception testing.
31976         (OVERFLOW_EXCEPTION): Define.
31977         (OVERFLOW_EXCEPTION_OK): Likewise.
31978         (INVALID_EXCEPTION_OK): Renumber.
31979         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31980         (IGNORE_ZERO_INF_SIGN): Likewise.
31981         (test_exceptions): Handle FE_OVERFLOW.
31982         (exp10_test): Expect overflow exceptions.
31983         (exp2_test): Likewise.
31984         (expm1_test): Likewise.
31985         (nextafter_test): Likewise.
31986         (pow_test): Likewise.
31987         (scalbn_test): Likewise.
31988         (scalbln_test): Likewise.
31990 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31992         * sysdeps/x86_64/bits/atomic.h
31993         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31994         64bit integer.
31995         (atomic_exchange_acq): Likewise.
31996         (__arch_exchange_and_add_body): Likewise.
31997         (__arch_add_body): Likewise.
31998         (atomic_add_negative): Likewise.
31999         (atomic_add_zero): Likewise.
32001 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32003         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32004         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32006 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32008         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32009         Check __x86_64__ instead of __WORDSIZE.
32011 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32013         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32015 2012-03-19  David S. Miller  <davem@davemloft.net>
32017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32019         * sysdeps/sparc/fpu/fenv_private.h: New file.
32020         * sysdeps/sparc/fpu/math_private.h: Use it.
32021         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32022         Remove.
32023         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32024         (libc_feholdexcept_setroundl): Remove.
32025         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32026         Remove.
32027         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32028         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32030 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32032         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32033         int64_t instead of long int.
32034         (INSERT_WORDS64): Likwise.
32036 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32038         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32039         _Unwind_GetCFA return to _Unwind_Ptr first.
32041 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
32043         [BZ #13629]
32044         * math/s_clog.c: Include <float.h>.
32045         (__clog): Scale large or subnormal inputs.
32046         * math/s_clogf.c: Likewise.
32047         * math/s_clogl.c: Likewise.
32048         * math/s_clog10.c: Include <float.h>.
32049         (M_LOG10_2): Define.
32050         (__clog10): Scale large or subnormal inputs.
32051         * math/s_clog10f.c: Likewise.
32052         * math/s_clog10l.c: Likewise.
32053         * math/libm-test.inc (clog_test): Add more tests.
32054         (clog10_test): Likewise.
32055         * sysdeps/i386/fpu/libm-test-ulps: Update.
32056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32058         [BZ #11451]
32059         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32060         x and y.
32061         * math/libm-test.inc (atan2_test): Add another test.
32063         * Makerules (common-objdir-compile): Remove.
32064         * sysdeps/unix/Makefile (config-generated): Do not add
32065         $(unix-generated) to variable.
32066         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32067         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32068         Remove rule.
32069         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32070         Likewise.
32071         [generic bits/local_lim.h] (before-compile): Do not append to
32072         variable.
32073         [generic bits/local_lim.h] (common-generated): Likewise.
32074         [generic sys/param.h] (before-compile): Do not append to variable.
32075         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32076         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32077         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32078         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32079         include.
32080         [generic sys/param.h] (sys/param.h-includes): Remove variable.
32081         [generic sys/param.h] (sys/param.h-includes): Remove rule.
32082         [generic sys/param.h] ($(addprefix
32083         $(common-objpfx),$(sys/param.h-includes))): Likewise.
32084         [generic sys/param.h] (common-generated): Do not append to
32085         variable.
32086         [generic sys/param.h] (sysdep_headers): Likewise.
32087         [generic bits/errno.h] (before-compile): Do not append to
32088         variable.
32089         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32090         rule.
32091         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32092         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32093         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32094         [generic bits/errno.h] (common-generated): Do not append to
32095         variable.
32096         [generic bits/ioctls.h] (before-compile): Do not append to
32097         variable.
32098         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32099         rule.
32100         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32101         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32102         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32103         rule.
32104         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32105         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32106         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32107         [generic bits/ioctls.h] (common-generated): Do not append to
32108         variable.
32109         [generic sys/syscall.h] (syscall.h): Remove variable.
32110         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32111         rule.
32112         [generic sys/syscall.h] (before-compile): Do not append to
32113         variable.
32114         [generic sys/syscall.h] (common-generated): Likewise.
32115         * sysdeps/unix/errnos-tmpl.c: Remove file.
32116         * sysdeps/unix/errnos.awk: Likewise.
32117         * sysdeps/unix/ioctls-tmpl.c: Likewise.
32118         * sysdeps/unix/ioctls.awk: Likewise.
32119         * sysdeps/unix/mk-local_lim.c: Likewise.
32120         * sysdeps/unix/snarf-ioctls: Likewise.
32122 2012-03-19  Richard Henderson  <rth@twiddle.net>
32124         * sysdeps/i386/fpu/fenv_private.h: New file.
32125         * sysdeps/i386/fpu/math_private.h: Use it.
32126         (math_opt_barrier, math_force_eval): Remove.
32127         (libc_feholdexcept_setround_53bit): Remove.
32128         (libc_feupdateenv_53bit): Remove.
32129         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32130         (math_opt_barrier, math_force_eval): Remove.
32131         (libc_feholdexcept): Remove.
32132         (libc_feholdexcept_setround): Remove.
32133         (libc_fetestexcept, libc_fesetenv): Remove.
32134         (libc_feupdateenv_test): Remove.
32135         (libc_feupdateenv, libc_feholdsetround): Remove.
32136         (libc_feresetround): Remove.
32138         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32139         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32141         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32142         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32143         (libc_feupdateenv_testl): New.
32144         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32145         (libc_feupdateenv_testf): New.
32146         (libc_feupdateenv): Use libc_feupdateenv_test.
32147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32148         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32150         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32151         (libc_feholdsetroundf, libc_feholdsetroundl): New.
32152         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32153         (libc_feresetround_noex): New.
32154         (libc_feresetround_noexf): New.
32155         (libc_feresetround_noexl): New.
32156         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32157         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32158         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32159         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32160         SET_RESTORE_ROUND.
32161         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32162         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32163         (__cos): Likewise.
32164         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32165         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32166         SET_RESTORE_ROUND_NOEX.
32167         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32168         SET_RESTORE_ROUND_NOEXF.
32169         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32170         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32171         (libc_feholdsetroundf): New.
32172         (libc_feresetround, libc_feresetroundf): New.
32174         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32175         (libc_feholdexcept_setround_53bit): Convert from macro to function.
32176         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
32178         * sysdeps/generic/math_private.h: Include <fenv.h>.
32179         (default_libc_feholdexcept): New.
32180         (default_libc_feholdexcept_setround): New.
32181         (default_libc_fesetenv, default_libc_feupdateenv): New.
32182         (libc_feholdexcept): Only define if undefined.
32183         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32184         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32185         (libc_feholdexcept_setroundl): Likewise.
32186         (libc_feholdexcept_setround_53bit): Likewise.
32187         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32188         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32189         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32190         (libc_feupdateenv_53bit): Likewise.
32191         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32192         (libc_feholdexcept): Convert from macro to inline function.
32193         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32194         (libc_fesetenv, libc_feupdateenv): Likewise.
32196         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32197         not previously defined.
32198         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32199         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32200         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32201         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32202         * sysdeps/ieee754/flt-32/math_private.h: New file.
32203         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32204         math_private.h below SET_FLOAT_WORD.
32205         (__isnan, __isinf_ns, __finite): Remove.
32206         (__isnanf, __isinf_nsf, __finitef): Remove.
32208 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
32210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32212 2012-03-17  David S. Miller  <davem@davemloft.net>
32214         [BZ #6471]
32215         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32216         for 2.16.
32218 2012-03-16  David S. Miller  <davem@davemloft.net>
32220         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32221         warnings.
32223         [BZ #6471]
32224         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32225         properly.
32226         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32227         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32228         sysdep_routines when subdir is sysvipc.
32229         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32230         __getshmlba helper.
32232         * sysdeps/sparc/fpu/libm-test/ulps: Update.
32234 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32236         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32237         [__LP64__].
32239 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32241         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32242         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32243         (__lround): Renamed to ...
32244         (__llround): This.  Replace long int with long long int.
32245         Define lround functions as aliases of llround functions.
32246         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32248 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32250         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32251         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
32252         adresses to uintptr_t.  Replace "long int" and "unsigned long
32253         int" with "greg_t" on va_arg.
32255 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32257         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32258         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32260         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32261         Move e_machine check before EI_CLASS check.  Handle x32
32262         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32263         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32264         SKIP_EM_IA_64 and include
32265         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32267         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32268         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32269         (add_system_dir): New macro.
32271         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32272         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32274 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32276         [BZ #2551]
32277         [BZ #2552]
32278         [BZ #2553]
32279         [BZ #2554]
32280         [BZ #2562]
32281         [BZ #2563]
32282         [BZ #2565]
32283         [BZ #2566]
32284         [BZ #2576]
32285         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32286         (y0): Likewise.
32287         * math/w_j0f.c (j0f): Likewise.
32288         (y0f): Likewise.
32289         * math/w_j0l.c (__j0l): Likewise.
32290         (__y0l): Likewise.
32291         * math/w_j1.c (j1): Likewise.
32292         (y1): Likewise.
32293         * math/w_j1f.c (j1f): Likewise.
32294         (y1f): Likewise.
32295         * math/w_j1l.c (__j1l): Likewise.
32296         (__y1l): Likewise.
32297         * math/w_jn.c (jn): Likewise.
32298         (yn): Likewise.
32299         * math/w_jnf.c (jnf): Likewise.
32300         (ynf): Likewise.
32301         * math/w_jnl.c (__jnl): Likewise.
32302         (__ynl): Likewise.
32303         * math/libm-test.inc (j0_test): Add more tests.
32304         (j1_test): Likewise.
32305         (jn_test): Likewise.  Add trailing semicolon to existing test.
32306         (y0_test): Likewise.
32307         (y1_test): Likewise.
32308         * sysdeps/i386/fpu/libm-test-ulps: Update.
32309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32311         [BZ #13851]
32312         [BZ #13854]
32313         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32314         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32315         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32316         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32317         (__tanl): Set errno for infinite argument.
32318         * sysdeps/i386/fpu/mptan.c: Remove.
32319         * sysdeps/i386/fpu/s_tan.S: Likewise.
32320         * sysdeps/i386/fpu/s_tanl.S: Likewise.
32321         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32322         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32323         * math/libm-test.inc (tan_test): Add more tests and enable more
32324         tests for double and long double.
32325         * sysdeps/i386/fpu/libm-test-ulps: Update.
32326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32328 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
32330         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32331         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32333 2012-03-16  Roland McGrath  <roland@hack.frob.com>
32335         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32336         * configure.in: Use it for both main tree and add-ons.
32337         * configure: Regenerated.
32339 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32341         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32343 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32345         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32346         in comment.
32348         [BZ #13851]
32349         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32350         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32351         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32352         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32353         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32354         infinite argument.
32355         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32356         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32357         != 0 for prec == 2.
32358         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32359         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32360         * sysdeps/i386/fpu/s_cosl.S: Likewise.
32361         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32362         * sysdeps/i386/fpu/s_sinl.S: Likewise.
32363         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32364         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32365         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32366         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32367         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32368         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32369         * math/libm-test.inc (cos_test): Add more tests and enable more
32370         tests for long double.
32371         (sin_test): Likewise.
32372         (sincos_test): Likewise.
32373         * sysdeps/i386/fpu/libm-test-ulps: Update.
32374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32376 2012-03-16  David S. Miller  <davem@davemloft.net>
32378         * sysdeps/sparc/fpu/math_private.h: New file.
32380 2012-03-15  David S. Miller  <davem@davemloft.net>
32382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32383         file.
32384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32386         file.
32387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32389         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32390         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32391         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32392         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32393         sysdep routines.
32394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32396         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32397         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32399         * sysdeps/sparc/sparc-ifunc.h: New file.
32400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32401         sparc-ifunc.h
32402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32404         Likewise.
32405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32406         Likewise.
32407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32411         Likewise.
32412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32417         Likewise.
32418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32419         Likewise.
32420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32424         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32425         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32426         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32427         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32428         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32429         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32434         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32435         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32436         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32437         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32438         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32439         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32440         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32441         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32442         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32443         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32445 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32447         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32448         scaling.
32449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32451 2012-03-15  Andreas Jaeger  <aj@suse.de>
32453         [BZ #13852]
32454         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32455         ieee754/flt-32 implementation for sin, cos and sincos.
32456         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32457         * sysdeps/i386/fpu/s_cosf.S: Likewise.
32458         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32459         * sysdeps/i386/fpu/s_sinf.S: Likewise.
32460         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32461         ieee754/flt-32 implementation for tan.
32463         * math/libm-test.inc (cos_test): Enable some large input tests for
32464         float as well
32465         (sin_test): Likewise.
32466         (sincos_test): Likewise.
32467         (tan_test): Add tests for large input.
32469         * sysdeps/i386/fpu/libm-test-ulps: Update.
32471 2012-03-15  Andreas Jaeger  <aj@suse.de>
32473         [BZ #13658]
32474         * math/libm-test.inc (cos_test): Add more test cases.
32475         (sin_test): Likewise.
32476         (sincos_test): Likewise.
32478 2012-03-15  Andreas Jaeger  <aj@suse.de>
32480         [BZ #13837]
32481         * math/libm-test.inc (cos_test): Add a test case for large input
32482         value.
32483         (sin_test): Likewise.
32484         (sincos_test): Likewise.
32486 2012-03-15  Andreas Jaeger  <aj@suse.de>,
32487         Joseph Myers  <joseph@codesourcery.com>
32489         [BZ #13658]
32490         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32491         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32492         * sysdeps/i386/fpu/branred.c: Likewise.
32493         * sysdeps/i386/fpu/dosincos.c: Likewise.
32494         * sysdeps/i386/fpu/mpa.c: Likewise.
32495         * sysdeps/i386/fpu/s_cos.S: Likewise.
32496         * sysdeps/i386/fpu/s_sin.S: Likewise.
32497         * sysdeps/i386/fpu/s_sincos.S: Likewise.
32498         * sysdeps/i386/fpu/sincos32.c: Likewise.
32500         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32501         Define.
32502         (libc_feupdateenv_53bit): Define.
32503         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32504         Define.
32505         (libc_feupdateenv_53bit): Define.
32507         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32508         53 bit (without extend i386 double precision).
32510         * math/libm-test.inc (sincos_test): Add tests for large input.
32511         (sin): Likewise.
32512         (cos): Likewise.
32514         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32516 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32520 2012-03-15  David S. Miller  <davem@davemloft.net>
32522         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32523         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32524         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32525         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32538         file.
32539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32541         file.
32542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32544         file.
32545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32547         file.
32548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32549         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32550         fmin/fmax sysdep routines.
32551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32553 2012-03-14  David S. Miller  <davem@davemloft.net>
32555         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32556         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32557         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32558         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32559         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32560         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32561         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32562         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32563         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32564         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32565         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32566         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32567         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32568         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32569         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32570         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32571         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32572         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32573         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32574         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32575         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32576         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32577         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32578         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32579         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32580         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32581         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32582         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32583         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32584         routines.
32585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32586         file.
32587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32589         file.
32590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32592         file.
32593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32595         file.
32596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32598         file.
32599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32601         file.
32602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32603         file.
32604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32605         file.
32606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32607         file.
32608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32609         New file.
32610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32611         file.
32612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32613         file.
32614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32616         file.
32617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32619         file.
32620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32622         file.
32623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32625         VIS3 routines.
32627         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32628         New file.
32630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32632         * sysdeps/sparc/configure.in: New file.
32633         * sysdeps/sparc/configure: Generate.
32634         * configure.in (libc_cv_sparc_as_vis3): Substitute.
32635         * configure: Regenerate.
32636         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32637         * config.make.in (have-as-vis3): New.
32638         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32639         available use -Av9d instead of -Av9a.
32640         * sysdeps/sparc/sparc64/Makefile: Likewise.
32641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32643         New file.
32644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32645         file.
32646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32647         New file.
32648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32649         file.
32650         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32651         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32652         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32653         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32654         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32656         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32657         fzeros/fnegs to load 0x80000000 into a float register instead of
32658         using the stack.
32659         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32661 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32663         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32664         bits/syscall.h.
32665         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32666         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32667         ($(inst_includedir)/bits/syscall.h): Remove rule.
32668         ($(objpfx)bits/syscall.d): Include instead of
32669         $(objpfx)syscall-list.d.
32670         (generated): Change syscall-list.h and syscall-list.d to
32671         bits/syscall.h and bits/syscall.d.
32673 2012-03-14  Roland McGrath  <roland@hack.frob.com>
32675         [BZ #13846]
32676         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32678 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32680         [BZ #13841]
32681         * math/s_csqrt.c: Include <float.h>.
32682         (__csqrt): Scale large or subnormal inputs.
32683         * math/s_csqrtf.c: Likewise.
32684         * math/s_csqrtl.c: Likewise.
32685         * math/libm-test.inc (csqrt_test): Add more tests.
32686         * sysdeps/i386/fpu/libm-test-ulps: Update.
32687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32689         [BZ #13840]
32690         * math/libm-test.inc (hypot_test): Add more tests.
32692 2012-03-13  David S. Miller  <davem@davemloft.net>
32694         [BZ #13840]
32695         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32696         double-precision for the calculation instead of scaling.
32698 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
32700         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32701         manipulate bits before adding and subtracting TWO52[sx].
32702         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32703         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32704         Likewise.
32705         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32707 2012-03-13  David S. Miller  <davem@davemloft.net>
32709         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32710         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32711         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32712         rtld-global-offsets.h
32713         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32715         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32716         large parameters.
32718         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32720         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32721         'err' in the ifdef scope in which it is actually used.
32723         * nss/nss_db/db-init.c: Include string.h
32725 2012-03-12  David S. Miller  <davem@davemloft.net>
32727         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32728         masking out of the most significant byte of random value used.
32729         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32730         Fix coding style in previous change.
32732         * sysdeps/unix/sysv/linux/kernel-features.h
32733         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32734         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32735         expression.
32736         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32737         later.
32739 2012-03-11  David S. Miller  <davem@davemloft.net>
32741         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32742         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32743         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32744         for 'resultvar' otherwise things get truncated on 64-bit.
32746         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32747         Fix masking out of the most significant byte of random value used.
32749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32751 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
32753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32755 2012-03-09  David S. Miller  <davem@davemloft.net>
32757         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32758         variables with appropriate CPP guards.
32759         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32760         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
32761         on resulting framesize and the management of the outregs buffer for pltexit.
32762         Preserve floating point return values across _dl_call_pltexit call.
32763         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32764         framesize and the management of the outregs buffer for pltexit.
32765         Preserve floating point return values across _dl_call_pltexit
32766         call.
32767         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32768         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32769         (print_exit): Fix format string for return register value.
32771 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
32773         * sunrpc/Makefile (others): Add rpcgen.
32774         ($(objpfx)rpcgen): Remove special build rule and dependency on
32775         libc.
32776         * sunrpc/rpcgen.c: New file.
32778 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
32780         [BZ #13673]
32781         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32782         * stdio-common/bug-vfprintf-nargs.c: Likewise.
32783         * sysdeps/i386/crti.S: Likewise.
32784         * sysdeps/i386/crtn.S: Likewise.
32785         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32786         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32787         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32788         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32789         * sysdeps/sh/crti.S: Likewise.
32790         * sysdeps/sh/crtn.S: Likewise.
32791         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32793         [BZ #13673]
32794         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32795         with URL.
32796         * locale/programs/locfile-kw.gperf: Likewise.
32797         * locale/programs/charmap-kw.h: Regenerated.
32798         * locale/programs/locfile-kw.h: Likewise.
32800         [BZ #13673]
32801         * intl/plural.y: Replace FSF snail mail address with URL.
32802         * intl/plural.c: Regenerated.
32804 2012-03-09  Richard Henderson  <rth@twiddle.net>
32806         * include/math_private.h: Remove file.
32807         * math/math_private.h: Move file ...
32808         * sysdeps/generic/math_private.h: ... here.
32810         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32811         * sysdeps/powerpc/fpu/math_private.h: Likewise.
32812         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32814         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32815         and <math_private.h>.
32816         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32817         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32818         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32819         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32820         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32821         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32822         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32823         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32824         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32825         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32826         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32827         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32828         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32829         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32830         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32831         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32832         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32833         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32834         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32835         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32836         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32837         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32838         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32839         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32840         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32841         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32842         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32843         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32844         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32845         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32846         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32847         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32848         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32849         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32850         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32851         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32852         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32853         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32854         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32855         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32856         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32857         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32858         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32859         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32860         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32861         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32862         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32863         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32864         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32865         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32866         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32867         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32868         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32869         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32870         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32871         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32872         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32873         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32874         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32875         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32876         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32877         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32878         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32879         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32880         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32881         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32882         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32883         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32884         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32885         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32886         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32887         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32888         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32889         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32890         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32891         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32892         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32893         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32894         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32895         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32896         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32897         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32898         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32899         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32900         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32901         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32902         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32903         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32904         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32905         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32906         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32907         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32908         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32909         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32910         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32911         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32912         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32913         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32914         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32915         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32916         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32917         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32918         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32919         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32920         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32921         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32922         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32923         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32924         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32925         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32926         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32927         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32928         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32929         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32930         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32931         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32932         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32933         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32934         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32935         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32936         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32937         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32938         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32939         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32940         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32941         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32942         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32943         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32944         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32945         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32946         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32947         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32948         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32949         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32950         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32951         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32952         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32953         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32954         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32955         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32956         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32957         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32958         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32959         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32960         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32961         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32962         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32963         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32964         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32965         * sysdeps/ieee754/k_standard.c: Likewise.
32966         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32967         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32968         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32969         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32970         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32971         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32972         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32973         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32974         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32975         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32976         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32977         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32978         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32979         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32980         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32981         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32982         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32983         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32984         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32985         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32986         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32987         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32988         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32989         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32990         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32991         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32992         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32993         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32994         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32995         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32996         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32997         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32998         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32999         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33000         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33001         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33002         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33003         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33004         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33005         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33006         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33007         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33008         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33009         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33010         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33011         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33012         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33013         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33014         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33015         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33016         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33017         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33018         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33019         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33020         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33021         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33022         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33023         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33024         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33025         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33026         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33027         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33028         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33029         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33030         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33031         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33032         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33033         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33034         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33035         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33036         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33037         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33038         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33039         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33040         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33041         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33042         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33043         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33044         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33045         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33046         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33047         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33048         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33049         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33050         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33051         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33052         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33053         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33054         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33055         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33056         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33057         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33058         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33059         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33060         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33061         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33062         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33063         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33064         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33065         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33066         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33067         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33068         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33069         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33070         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33071         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33072         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33073         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33074         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33075         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33076         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33077         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33078         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33079         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33080         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33081         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33082         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33083         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33084         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33085         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33086         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33087         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33088         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33089         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33090         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33091         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33092         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33093         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33094         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33095         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33096         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33097         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33098         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33099         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33100         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33101         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33102         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33103         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33104         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33105         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33106         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33107         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33108         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33109         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33110         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33111         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33112         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33113         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33114         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33115         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33116         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33117         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33118         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33119         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33120         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33121         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33122         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33123         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33124         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33125         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33126         * sysdeps/ieee754/s_lib_version.c: Likewise.
33127         * sysdeps/ieee754/s_matherr.c: Likewise.
33128         * sysdeps/ieee754/s_signgam.c: Likewise.
33129         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33130         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33131         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33132         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33133         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33134         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33135         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33136         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33137         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33138         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33139         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33140         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33141         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33142         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33143         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33144         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33145         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33146         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33147         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33148         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33149         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33151 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33153         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33154         * sunrpc/rpc_main.c: Likewise.
33155         * sunrpc/rpc_svcout.c: Likewise.
33157 2012-03-09  David S. Miller  <davem@davemloft.net>
33159         * include/math_private.h: New file.
33161 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33163         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33164         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33165         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33166         from <bits/socket_type.h>.
33167         (enum __socket_type): Don't define here.
33168         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33169         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33170         bits/socket_type.h.
33172         [BZ #13566]
33173         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33174         checking __USE_GNU.
33176         * Makerules ($(inst_includedir)/%.h): New rule.
33177         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33178         (install-others): Remove variable setting.
33179         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33181 2012-03-08  Richard Henderson  <rth@twiddle.net>
33183         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33184         from macro to inline function; merge with the
33185         !__LIBC_INTERNAL_MATH_INLINES version.
33186         (__ieee754_sqrtf): Likewise.
33188         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33189         to inline function.
33190         (__rintf, __floor, __floorf): Likewise.
33192         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33193         macro to inline function.
33194         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33196         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33197         not <math/math_private.h>.
33199 2012-03-08  David S. Miller  <davem@davemloft.net>
33201         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33202         copyright year.
33203         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33205 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
33207         * resolv/gai_misc.c (handle_requests): Fix struct timespec
33208         normalization.
33209         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33210         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33212 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
33214         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
33215         be defined individually, they must be defined as a block.  Define
33216         S for printing a string instead of hidint the different by using a
33217         macro for adding the 'l'.
33218         * stdio-common/tst-fphex-wide.c: Adjust.
33220 2012-03-07  Marek Polacek  <polacek@redhat.com>
33222         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33224 2012-03-08  Marek Polacek  <polacek@redhat.com>
33226         [BZ #13806]
33227         * stdio-common/Makefile (tests): Add tst-fphex-wide.
33228         * stdio-common/tst-fphex.c: Define a few macros to make the
33229         test reusable.  Use them.
33230         * stdio-common/tst-fphex-wide.c: New file.
33232 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
33234         [BZ #6911]
33235         * manual/macros.texi (gnusystems): New macro.
33236         (nongnusystems): Likewise.
33237         (gnulinuxhurdsystems): Likewise.
33238         (gnuhurdsystems): Likewise..
33239         (gnulinuxsystems): Likewise.
33240         * manual/charset.texi: Use new macros or @theglibc{} to refer to
33241         variants of the GNU system, not "GNU system".
33242         * manual/conf.texi: Likewise.
33243         * manual/errno.texi: Likewise.  Update example of errno macro
33244         expansion.
33245         * manual/filesys.texi: Likewise.
33246         (getumask): Document as specific to GNU/Hurd.
33247         * manual/install.texi: Likewise.  Reword some references to
33248         GNU/Linux.
33249         * manual/intro.texi: Likewise.
33250         * manual/io.texi: Likewise.
33251         (File Name Portability): Detail which constraints are inapplicable
33252         to all GNU systems and which are only inapplicable to GNU/Hurd.
33253         * manual/job.texi: Likewise.
33254         * manual/llio.texi: Likewise.
33255         (O_NOCTTY): Document as present on GNU/Linux.
33256         * manual/maint.texi: Likewise.
33257         * manual/memory.texi: Likewise.
33258         * manual/pattern.texi: Likewise.
33259         * manual/pipe.texi: Likewise.
33260         * manual/process.texi: Likewise.
33261         * manual/resource.texi: Likewise.
33262         (RUSAGE_CHILDREN): Remove statement about specifying a particular
33263         child on GNU/Hurd.
33264         * manual/setjmp.texi: Likewise.
33265         * manual/signal.texi: Likewise.
33266         * manual/startup.texi: Likewise.
33267         * manual/stdio.texi: Likewise.
33268         * manual/terminal.texi: Likewise.
33269         (ONLCR): Document as POSIX.
33270         (OXTABS): Document availability on GNU/Linux as XTABS.
33271         (ONOEOT): Document availability separately from other bits.
33272         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33273         * manual/time.texi: Likewise.
33274         * manual/users.texi: Likewise.
33275         * INSTALL: Regenerated.
33276         * sysdeps/gnu/errlist.c: Regenerated.
33278         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33279         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33280         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
33281         puts.
33282         * configure: Regenerated.
33284 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
33286         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33287         default includes instead of AC_HEADER_CHECK.
33288         * sysdeps/i386/configure: Regenerated.
33290         [BZ #10716]
33291         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33292         * math/s_cacoshf.c (__cacoshf): Likewise.
33293         * math/s_cacoshl.c (__cacoshl): Likewise.
33294         * math/s_casinh.c (__casinh): Set signs of result from argument.
33295         * math/s_casinhf.c (__casinhf): Likewise.
33296         * math/s_casinhl.c (__casinhl): Likewise.
33297         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33298         (casinh_test): Add more tests.
33299         * sysdeps/i386/fpu/libm-test-ulps: Update.
33300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33302 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
33304         * po/zh_TW.po: Update from translation team.
33306         * login/Makefile (distribute): Remove variable.
33307         * catgets/Makefile: Likewise.
33308         * mach/Makefile: Likewise.
33309         * malloc/Makefile: Likewise.
33310         * misc/Makefile: Likewise.
33311         * iconv/Makefile: Likewise.
33312         * nscd/Makefile: Likewise.
33313         * hurd/Makefile: Likewise.
33314         * manual/Makefile: Likewise.
33315         * locale/Makefile: Likewise.
33316         * intl/Makefile: Likewise.
33317         * conform/Makefile: Likewise.
33318         * nss/Makefile: Likewise.
33319         * time/Makefile: Likewise.
33320         * soft-fp/Makefile: Likewise.
33321         * dirent/Makefile: Likewise.
33322         * gmon/Makefile: Likewise.
33323         * po/Makefile: Likewise.
33324         * rt/Makefile: Likewise.
33325         * socket/Makefile: Likewise.
33326         * math/Makefile: Likewise.
33327         * signal/Makefile: Likewise.
33328         * debug/Makefile: Likewise.
33329         * elf/Makefile: Likewise.
33330         * timezone/Makefile: Likewise.
33331         * stdlib/Makefile: Likewise.
33332         * iconvdata/Makefile: Likewise.
33333         * sunrpc/Makefile: Likewise.
33334         * io/Makefile: Likewise.
33335         * argp/Makefile: Likewise.
33336         * inet/Makefile: Likewise.
33337         * hesiod/Makefile: Likewise.
33338         * grp/Makefile: Likewise.
33339         * csu/Makefile: Likewise.
33340         * wctype/Makefile: Likewise.
33341         * crypt/Makefile: Likewise.
33342         * libio/Makefile: Likewise.
33343         * string/Makefile: Likewise.
33344         * nis/Makefile: Likewise.
33345         * resolv/Makefile: Likewise.
33346         * stdio-common/Makefile: Likewise.
33347         * wcsmbs/Makefile: Likewise.
33348         * dlfcn/Makefile: Likewise.
33349         * posix/Makefile: Likewise.
33351         [BZ #6959]
33352         * timezone/Makefile: Don't install timezone files, just the programs
33353         and scripts.
33355 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
33357         * nss/databases.def: Add missing gshadow entry.
33359         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
33361 2012-03-06  Marek Polacek  <polacek@redhat.com>
33363         [BZ #13726]
33364         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33365         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33366         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33367         * stdio-common/tst-long-dbl-fphex.c: New file.
33369 2012-03-06  David S. Miller  <davem@davemloft.net>
33371         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33372         (set_obp_int): New function.
33373         (get_obp_int): New function.
33374         (__get_clockfreq_via_dev_openprom): Likewise.
33375         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33376         Avoid unused variable warnings on 'val' and use builtin_expect.
33377         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33378         __builtin_expect.
33379         (INLINE_CLONE_SYSCALL): Likewise.
33381 2012-03-05  David S. Miller  <davem@davemloft.net>
33383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33385 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
33387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33389         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33390         only for |x| >= 40.
33391         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33393 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33395         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33396         Replace gettimeofday with __vdso_gettimeofday.
33398         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33399         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33400         __vdso_clock_gettime and __vdso_getcpu.
33402         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33403         time with __vdso_time.
33405 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33407         * manual/lang.texi (size_t): Note types to which size_t may be
33408         equivalent with the GNU C Library, but do not describe when
33409         differences between them are significant.
33411 2012-03-05  Andreas Jaeger  <aj@suse.de>
33413         * sysdeps/i386/fpu/libm-test-ulps: Update.
33415 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33417         [BZ #3976]
33418         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33419         (__ieee754_pow): Save and restore rounding mode and use
33420         round-to-nearest for main computations.
33421         * math/libm-test.inc (pow_test_tonearest): New function.
33422         (pow_test_towardzero): Likewise.
33423         (pow_test_downward): Likewise.
33424         (pow_test_upward): Likewise.
33425         (main): Call the new functions.
33426         * sysdeps/i386/fpu/libm-test-ulps: Update.
33427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33429         [BZ #3976]
33430         * math/libm-test.inc (cosh_test_tonearest): New function.
33431         (cosh_test_towardzero): Likewise.
33432         (cosh_test_downward): Likewise.
33433         (cosh_test_upward): Likewise.
33434         (sinh_test_tonearest): Likewise.
33435         (sinh_test_towardzero): Likewise.
33436         (sinh_test_downward): Likewise.
33437         (sinh_test_upward): Likewise.
33438         (main): Call the new functions.
33439         * sysdeps/i386/fpu/libm-test-ulps: Update.
33440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33442 2012-03-05  Tom de Vries  <tom@codesourcery.com>
33444         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33445         default stack guard is set in last bytes.
33446         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33448 2012-03-05  Kees Cook  <keescook@chromium.org>
33450         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33452         [BZ #13656]
33453         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33454         possibly allocate from heap instead of stack.
33455         * stdio-common/bug-vfprintf-nargs.c: New file.
33456         * stdio-common/Makefile (tests): Add nargs overflow test.
33458 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
33460         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33462 2012-03-03  Marek Polacek  <polacek@redhat.com>
33464         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33465         * math/math_private.h: Likewise.
33466         * stdlib/tst-strtod.c: Likewise.
33467         * sysdeps/i386/i486/bits/atomic.h: Likewise.
33468         * sysdeps/x86_64/bits/atomic.h: Likewise.
33470 2012-03-02  David S. Miller  <davem@davemloft.net>
33472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33476         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33477         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33478         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33479         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33481 2012-03-02  Roland McGrath  <roland@hack.frob.com>
33483         [BZ #13792]
33484         * manual/examples/README: New file, says the example source files
33485         can be used under GPL>=2.
33486         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33487         line containing just "*/".
33488         * manual/examples/add.c: Add copyright header (GPL>=2).
33489         * manual/examples/argp-ex1.c: Likewise.
33490         * manual/examples/argp-ex2.c: Likewise.
33491         * manual/examples/argp-ex3.c: Likewise.
33492         * manual/examples/argp-ex4.c: Likewise.
33493         * manual/examples/atexit.c: Likewise.
33494         * manual/examples/db.c: Likewise.
33495         * manual/examples/dir.c: Likewise.
33496         * manual/examples/dir2.c: Likewise.
33497         * manual/examples/execinfo.c: Likewise.
33498         * manual/examples/filecli.c: Likewise.
33499         * manual/examples/filesrv.c: Likewise.
33500         * manual/examples/fmtmsgexpl.c: Likewise.
33501         * manual/examples/genpass.c: Likewise.
33502         * manual/examples/inetcli.c: Likewise.
33503         * manual/examples/inetsrv.c: Likewise.
33504         * manual/examples/isockad.c: Likewise.
33505         * manual/examples/longopt.c: Likewise.
33506         * manual/examples/memopen.c: Likewise.
33507         * manual/examples/memstrm.c: Likewise.
33508         * manual/examples/mkfsock.c: Likewise.
33509         * manual/examples/mkisock.c: Likewise.
33510         * manual/examples/mygetpass.c: Likewise.
33511         * manual/examples/pipe.c: Likewise.
33512         * manual/examples/popen.c: Likewise.
33513         * manual/examples/rprintf.c: Likewise.
33514         * manual/examples/search.c: Likewise.
33515         * manual/examples/select.c: Likewise.
33516         * manual/examples/setjmp.c: Likewise.
33517         * manual/examples/sigh1.c: Likewise.
33518         * manual/examples/sigusr.c: Likewise.
33519         * manual/examples/stpcpy.c: Likewise.
33520         * manual/examples/strdupa.c: Likewise.
33521         * manual/examples/strftim.c: Likewise.
33522         * manual/examples/strncat.c: Likewise.
33523         * manual/examples/subopt.c: Likewise.
33524         * manual/examples/swapcontext.c: Likewise.
33525         * manual/examples/termios.c: Likewise.
33526         * manual/examples/testopt.c: Likewise.
33527         * manual/examples/testpass.c: Likewise.
33528         * manual/examples/timeval_subtract.c: Likewise.
33530         [BZ #13792]
33531         * manual/time.texi (Elapsed Time): Move timeval_subtract example
33532         function to ...
33533         * manual/timeval_subtract.c.texi: ... here, new file.
33535 2012-03-02  David S. Miller  <davem@davemloft.net>
33537         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33539 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
33541         [BZ #3976]
33542         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33543         (__sin): Save and restore rounding mode and use round-to-nearest
33544         for all computations.
33545         (__cos): Save and restore rounding mode and use round-to-nearest
33546         for all computations.
33547         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33548         <fenv.h>.
33549         (tan): Save and restore rounding mode and use round-to-nearest for
33550         all computations.
33551         * math/libm-test.inc (cos_test_tonearest): New function.
33552         (cos_test_towardzero): Likewise.
33553         (cos_test_downward): Likewise.
33554         (cos_test_upward): Likewise.
33555         (sin_test_tonearest): Likewise.
33556         (sin_test_towardzero): Likewise.
33557         (sin_test_downward): Likewise.
33558         (sin_test_upward): Likewise.
33559         (tan_test_tonearest): Likewise.
33560         (tan_test_towardzero): Likewise.
33561         (tan_test_downward): Likewise.
33562         (tan_test_upward): Likewise.
33563         (main): Call the new functions.
33564         * sysdeps/i386/fpu/libm-test-ulps: Update.
33565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33567         [BZ #10135]
33568         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33569         small n, then large n, before computing and testing k+n.
33570         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33571         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33572         Likewise.
33573         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33574         Likewise.
33575         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33576         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33577         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33578         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33579         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33580         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33581         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33582         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33583         * math/libm-test.inc (scalbn_test): Add more tests.
33584         (scalbln_test): Likewise.
33586         * manual/filesys.texi (mode_t): Describe constraints on size and
33587         signedness, not exact equivalence to a particular type.
33588         (ino_t): Likewise.
33589         (ino64_t): Likewise.
33590         (dev_t): Likewise.
33591         (nlink_t): Likewise.
33592         (blkcnt_t): Likewise.
33593         (blkcnt64_t): Likewise.
33594         * manual/llio.texi (off_t): Likewise.
33596         [BZ #3976]
33597         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33598         (__ieee754_exp): Save and restore rounding mode and use
33599         round-to-nearest for all computations.
33600         * math/libm-test.inc (exp_test_tonearest): New function.
33601         (exp_test_towardzero): Likewise.
33602         (exp_test_downward): Likewise.
33603         (exp_test_upward): Likewise.
33604         (main): Call the new functions.
33605         * sysdeps/i386/fpu/libm-test-ulps: Update.
33606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33608 2012-03-01  Chris Demetriou  <cgd@google.com>
33610         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33611         have predictable order.
33613 2012-03-01  David S. Miller  <davem@davemloft.net>
33615         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33617         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33618         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33619         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33620         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33622         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33623         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33624         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33626         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33627         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33628         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33629         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33630         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33634         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33635         * sysdeps/sparc/fpu/libm-test-ulps: to here.
33636         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33638         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33639         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33640         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33641         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33642         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33643         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33644         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33645         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33646         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33647         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33648         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33649         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33650         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33651         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33652         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33653         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33654         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33655         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33656         * sysdeps/sparc/elf/configure: Regenerated.
33658 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
33660         * configure.in (AS, LD): Require binutils 2.20 or later.
33661         * configure: Regenerated.
33662         * manual/install.texi (Tools for Compilation): Give binutils 2.20
33663         as required minimum version.
33664         * INSTALL: Regenerated.
33666         [BZ #2541]
33667         [BZ #4108]
33668         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33669         before squaring exponent.
33670         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33671         bottom long double and 27 bits of top long double before squaring
33672         exponent.
33673         * math/libm-test.inc (erfc_test): Add more tests.
33674         * sysdeps/i386/fpu/libm-test-ulps: Update.
33675         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33678 2012-03-01  Kai Tietz  <ktietz@redhat.com>
33680         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33681         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33682         containing bit-fields.
33683         * soft-fp/extended.h (_FP_UNION_E): Likewise.
33684         * soft-fp/single.h (_FP_UNION_S): Likewise.
33685         * soft-fp/double.h (_FP_UNION_D): Likewise.
33687 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33689         [BZ #13786]
33690         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33691         not include ../strcmp.S.
33692         [USE_AS_STRNCASECMP_L]: Likewise.
33693         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33694         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33695         * sysdeps/i386/i686/multiarch/strncase_l-c.c
33696         (__strncasecmp_l_ia32): Define as alias to
33697         __strncasecmp_l_nonascii.
33699         [BZ #5794]
33700         * math/libm-test.inc (expm1_test): Add test for bug 5794.
33701         * sysdeps/i386/fpu/libm-test-ulps: Update.
33702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33704         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33707 2012-02-29  Jeff Law  <law@redhat.com>
33709         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33710         out of bounds read.
33712 2012-02-29  Marek Polacek  <polacek@redhat.com>
33714         [BZ #13706]
33715         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33716         * elf/Makefile: Add rules to run tst-unused-dep.out.
33718 2012-02-28  David S. Miller  <davem@davemloft.net>
33720         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33721         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33722         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33723         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33724         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33725         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33727 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33729         * math/libm-test.inc (llround_test): Move one test from
33730         lround_test.  Use TEST_f_L in moved test.
33731         (lround_test): Move misplaced test to llround_test.  Add testcase
33732         from bug 2561.
33734 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
33736         * sysdeps/x86_64/fpu/e_expf.S: New file.
33737         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33739 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
33741         [BZ #13637]
33742         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33743         of remain_len that may cause incomplete multi-byte character and
33744         false match.
33745         * posix/bug-regex33.c: New file.
33746         * posix/Makefile (tests): Add bug-regex33.
33748 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
33750         * manual/macros.texi: New file.
33751         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33752         * manual/libc.texinfo: Include macros.texi.
33753         * manual/creatute.texi: Likewise.
33754         * manual/install.texi: Likewise.
33755         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33756         @glibcadj{} in references to the GNU C Library.
33757         * manual/charset.texi: Likewise.
33758         * manual/conf.texi: Likewise.
33759         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
33760         when not using those macros.
33761         * manual/creature.texi: Likewise.
33762         * manual/crypt.texi: Likewise.
33763         * manual/errno.texi: Likewise.
33764         * manual/filesys.texi: Likewise.
33765         * manual/header.texi: Likewise.
33766         * manual/install.texi: Likewise.
33767         * manual/intro.texi: Likewise.
33768         * manual/io.texi: Likewise.
33769         * manual/job.texi: Likewise.
33770         * manual/lang.texi: Likewise.
33771         * manual/libc.texiinfo: Likewise.
33772         * manual/llio.texi: Likewise.
33773         * manual/locale.texi: Likewise.
33774         * manual/maint.texi: Likewise.
33775         * manual/math.texi: Likewise.
33776         * manual/memory.texi: Likewise.
33777         * manual/message.texi: Likewise.
33778         * manual/nss.texi: Likewise.
33779         * manual/pattern.texi: Likewise.
33780         * manual/process.texi: Likewise.
33781         * manual/resource.texi: Likewise.
33782         * manual/search.texi: Likewise.
33783         * manual/setjmp.texi: Likewise.
33784         * manual/signal.texi: Likewise.
33785         * manual/socket.texi: Likewise.
33786         * manual/startup.texi: Likewise.
33787         * manual/stdio.texi: Likewise.
33788         * manual/string.texi: Likewise.
33789         * manual/sysinfo.texi: Likewise.
33790         * manual/syslog.texi: Likewise.
33791         * manual/terminal.texi: Likewise.
33792         * manual/time.texi: Likewise.
33793         * manual/users.texi: Likewise.
33794         * INSTALL: Regenerated.
33795         * NOTES: Regenerated.
33796         * sysdeps/gnu/errlist.c: Regenerated.
33798 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
33800         * include/dirent.h: Include <dirstream.h> before
33801         <dirent/dirent.h>.
33803 2012-02-28  David S. Miller  <davem@davemloft.net>
33805         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33806         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33807         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33808         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33810 2012-02-27  David S. Miller  <davem@davemloft.net>
33812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33814         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33815         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33818         frame pointer instead of stack pointer relative arg slot.
33819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33820         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33821         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33823 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
33825         [BZ #3992]
33826         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33828 2012-02-27  David S. Miller  <davem@davemloft.net>
33830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33834         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33835         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33836         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33837         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33839 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33841         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33842         later.  Allow versions 5-9.
33843         * configure: Regenerated.
33844         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33845         required minimum version and 4.6 as recommended version.  Do not
33846         mention bugs in GCC 2.7 and 2.8.
33847         * INSTALL: Regenerated.
33849 2012-02-27  David S. Miller  <davem@davemloft.net>
33851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33855         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33856         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33857         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33858         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33860         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33861         manipulate bits before adding and subtracting TWO112[sx].
33862         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33864 2012-02-27  Roland McGrath  <roland@hack.frob.com>
33866         [BZ #13775]
33867         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33868         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33869         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33870         being in POSIX, because they are in 1003.1-2008.
33872         * rt/tst-aio.c: Include <fcntl.h>.
33873         * rt/tst-aio7.c: Likewise.
33874         * rt/tst-aio64.c: Likewise.
33876         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33878 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33880         * manual/install.texi (--with-headers): Describe headers as
33881         interface headers, not private headers.
33882         (Specific advice for GNU/Linux systems): Describe use of headers
33883         from "make headers_install", not private headers from older
33884         kernels.
33885         * INSTALL: Regenerated.
33886         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33887         Change to 2.6.19.
33888         * sysdeps/unix/sysv/linux/configure: Regenerated.
33890         * manual/llio.texi (fclean): Remove documentation.
33892         * manual/Makefile (libc-texi-generated): New variable.  Include
33893         version.texi.
33894         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33895         $(libc-texi-generated), not duplicated list of files.
33896         (version.texi, stamp-version): New rules.
33897         (realclean): Remove $(libc-texi-generated), not individual files
33898         from that list.  Do not remove dir-add.texinfo.
33899         * manual/libc.texinfo: Comment out uses of edition numbers and
33900         references to printed manual.  Remove last-updated dates.
33901         (EDITION): Comment out.
33902         (ISBN): Likewise.
33903         (VERSION, UPDATED): Remove.
33904         (version.texi): Include.
33906 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
33908         * sysdeps/posix/spawni.c: Include <signal.h>.
33909         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33910         * sysdeps/pthread/aio_fsync.c: Likewise.
33912 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
33914         * conform/Makefile (tests): Run only when not cross-compiling and
33915         when fast-check is not defined.
33917         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33918         * conform/data/limits.h-data: Fixes for POSIX2008.
33919         * conform/run-conformtest.sh: Run all tests.
33920         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33921         headers.
33922         * include/bits/dlfcn.h: Likewise.
33923         * include/langinfo.h: Likewise.
33924         * include/monetary.h: Likewise.
33925         * include/sys/poll.h: Likewise.
33927         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33928         for __USE_GNU.
33929         * posix/spawn.h: Define __need_sigset_t.
33930         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33931         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33932         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
33933         to get sigevent_t only.
33934         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33935         only for __USE_GNU.
33936         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33937         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33938         process_vm_writev only for __USE_GNU.
33939         * termios/termios.h: Declare tcgetsid also for POSIX2008.
33941         * conform/Makefile: For now ignore errors from run-conformtest.
33942         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
33943         POSIX to avoid namespace pollution.  Don't prepend headers.
33944         * conform/data/aio.h-data: Fixes for POSIX testing.
33945         * conform/data/fcntl.h-data: Likewise.
33946         * conform/data/glob.h-data: Likewise.
33947         * conform/data/grp.h-data: Likewise.
33948         * conform/data/pthread.h-data: Likewise.
33949         * conform/data/pwd.h-data: Likewise.
33950         * conform/data/signal.h-data: Likewise.
33951         * conform/data/spawn.h-data: Likewise.
33952         * conform/data/stdio.h-data: Likewise.
33953         * conform/data/stdlib.h-data: Likewise.
33954         * conform/data/stropts.h-data: Likewise.
33955         * conform/data/sys/mman.h-data: Likewise.
33956         * conform/data/sys/stat.h-data: Likewise.
33957         * conform/data/sys/types.h-data: Likewise.
33958         * conform/data/sys/wait.h-data: Likewise.
33959         * conform/data/time.h-data: Likewise.
33960         * conform/data/unistd.h-data: Likewise.
33961         * conform/data/utime.h-data: Likewise.
33963         * io/sys/stat.h: fchmod was always in POSIX.
33964         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33965         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33966         * rt/aio.h: Define __need_timespec before including <time.h>.
33967         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33968         struct.  Add forward declaration of pthread_attr_t and use it in
33969         sigevent.
33970         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33971         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33972         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33973         always remove CLK_TCK definition.
33975 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
33977         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33979 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
33981         * conform/run-conformtest.sh: New file.
33982         * conform/Makefile: Run run-conformtest for tests.
33983         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
33984         support.
33986         * conform/data/uchar.h-data: New file.
33987         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33988         * conform/data/arpa/inet.h-data: Likewise.
33989         * conform/data/assert.h-data: Likewise.
33990         * conform/data/complex.h-data: Likewise.
33991         * conform/data/cpio.h-data: Likewise.
33992         * conform/data/ctype.h-data: Likewise.
33993         * conform/data/dirent.h-data: Likewise.
33994         * conform/data/dlfcn.h-data: Likewise.
33995         * conform/data/errno.h-data: Likewise.
33996         * conform/data/fcntl.h-data: Likewise.
33997         * conform/data/float.h-data: Likewise.
33998         * conform/data/fmtmsg.h-data: Likewise.
33999         * conform/data/fnmatch.h-data: Likewise.
34000         * conform/data/ftw.h-data: Likewise.
34001         * conform/data/glob.h-data: Likewise.
34002         * conform/data/grp.h-data: Likewise.
34003         * conform/data/iconv.h-data: Likewise.
34004         * conform/data/inttypes.h-data: Likewise.
34005         * conform/data/langinfo.h-data: Likewise.
34006         * conform/data/libgen.h-data: Likewise.
34007         * conform/data/limits.h-data: Likewise.
34008         * conform/data/locale.h-data: Likewise.
34009         * conform/data/math.h-data: Likewise.
34010         * conform/data/monetary.h-data: Likewise.
34011         * conform/data/mqueue.h-data: Likewise.
34012         * conform/data/ndbm.h-data: Likewise.
34013         * conform/data/net/if.h-data: Likewise.
34014         * conform/data/netdb.h-data: Likewise.
34015         * conform/data/netinet/in.h-data: Likewise.
34016         * conform/data/nl_types.h-data: Likewise.
34017         * conform/data/poll.h-data: Likewise.
34018         * conform/data/pthread.h-data: Likewise.
34019         * conform/data/pwd.h-data: Likewise.
34020         * conform/data/regex.h-data: Likewise.
34021         * conform/data/sched.h-data: Likewise.
34022         * conform/data/search.h-data: Likewise.
34023         * conform/data/semaphore.h-data: Likewise.
34024         * conform/data/setjmp.h-data: Likewise.
34025         * conform/data/signal.h-data: Likewise.
34026         * conform/data/spawn.h-data: Likewise.
34027         * conform/data/stdarg.h-data: Likewise.
34028         * conform/data/stdio.h-data: Likewise.
34029         * conform/data/stdlib.h-data: Likewise.
34030         * conform/data/string.h-data: Likewise.
34031         * conform/data/strings.h-data: Likewise.
34032         * conform/data/stropts.h-data: Likewise.
34033         * conform/data/sys/ipc.h-data: Likewise.
34034         * conform/data/sys/mman.h-data: Likewise.
34035         * conform/data/sys/msg.h-data: Likewise.
34036         * conform/data/sys/resource.h-data: Likewise.
34037         * conform/data/sys/select.h-data: Likewise.
34038         * conform/data/sys/sem.h-data: Likewise.
34039         * conform/data/sys/shm.h-data: Likewise.
34040         * conform/data/sys/socket.h-data: Likewise.
34041         * conform/data/sys/stat.h-data: Likewise.
34042         * conform/data/sys/statvfs.h-data: Likewise.
34043         * conform/data/sys/time.h-data: Likewise.
34044         * conform/data/sys/timeb.h-data: Likewise.
34045         * conform/data/sys/times.h-data: Likewise.
34046         * conform/data/sys/types.h-data: Likewise.
34047         * conform/data/sys/uio.h-data: Likewise.
34048         * conform/data/sys/un.h-data: Likewise.
34049         * conform/data/sys/utsname.h-data: Likewise.
34050         * conform/data/sys/wait.h-data: Likewise.
34051         * conform/data/syslog.h-data: Likewise.
34052         * conform/data/tar.h-data: Likewise.
34053         * conform/data/termios.h-data: Likewise.
34054         * conform/data/utime.h-data: Likewise.
34055         * conform/data/utmpx.h-data: Likewise.
34056         * conform/data/varargs.h-data: Likewise.
34057         * conform/data/wchar.h-data: Likewise.
34058         * conform/data/wctype.h-data: Likewise.
34059         * conform/data/wordexp.h-data: Likewise.
34061         * include/stropts.h: New file.
34062         * include/uchar.h: New file.
34063         * include/aio.h: Changes to allow conformtest.pl to use the headers.
34064         * include/assert.h: Likewise.
34065         * include/ctype.h: Likewise.
34066         * include/dirent.h: Likewise.
34067         * include/dlfcn.h: Likewise.
34068         * include/fcntl.h: Likewise.
34069         * include/fnmatch.h: Likewise.
34070         * include/glob.h: Likewise.
34071         * include/grp.h: Likewise.
34072         * include/libio.h: Likewise.
34073         * include/locale.h: Likewise.
34074         * include/math.h: Likewise.
34075         * include/net/if.h: Likewise.
34076         * include/netdb.h: Likewise.
34077         * include/netinet/in.h: Likewise.
34078         * include/pthread.h: Likewise.
34079         * include/pwd.h: Likewise.
34080         * include/regex.h: Likewise.
34081         * include/sched.h: Likewise.
34082         * include/search.h: Likewise.
34083         * include/setjmp.h: Likewise.
34084         * include/signal.h: Likewise.
34085         * include/stdio.h: Likewise.
34086         * include/stdlib.h: Likewise.
34087         * include/string.h: Likewise.
34088         * include/sys/cdefs.h: Likewise.
34089         * include/sys/mman.h: Likewise.
34090         * include/sys/msg.h: Likewise.
34091         * include/sys/resource.h: Likewise.
34092         * include/sys/select.h: Likewise.
34093         * include/sys/socket.h: Likewise.
34094         * include/sys/stat.h: Likewise.
34095         * include/sys/statvfs.h: Likewise.
34096         * include/sys/time.h: Likewise.
34097         * include/sys/times.h: Likewise.
34098         * include/sys/uio.h: Likewise.
34099         * include/sys/utsname.h: Likewise.
34100         * include/sys/wait.h: Likewise.
34101         * include/termios.h: Likewise.
34102         * include/time.h: Likewise.
34103         * include/ulimit.h: Likewise.
34104         * include/unistd.h: Likewise.
34105         * include/utime.h: Likewise.
34106         * include/wchar.h: Likewise.
34107         * include/wctype.h: Likewise.
34108         * include/wordexp.h: Likewise.
34110         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34112         * time/time.h: TIME_UTC must be a macro.
34113         Make timespec_get available for ISO C11 only as well.
34115 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
34117         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34118         Reported by Peng Haitao <penght@cn.fujitsu.com>.
34120 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34122         * configure.in: Use -o not -a in test for unsupported multi-arch.
34124 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34126         * manual/texinfo.tex: Update to version 2012-01-19.16.
34128 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34130         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34132 2012-02-24  Roland McGrath  <roland@hack.frob.com>
34134         [BZ #13738]
34135         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34136         * manual/fdl-1.3.texi: New file.
34137         * manual/fdl-1.1.texi: File removed.
34139         [BZ #13738]
34140         * manual/libc.texinfo (FDL_VERSION): New @set.
34141         Use it for mention of FDL in cover text.
34142         (Documentation License): Use it in @include file name.
34144 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34145             Roland McGrath  <roland@hack.frob.com>
34147         [BZ #5461]
34148         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34149         not LONG_LONG_MAX and LONG_LONG_MIN.
34150         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34151         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
34152         name.
34153         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34155 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34157         [BZ #2547]
34158         [BZ #11365]
34159         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34160         manipulate bits before adding and subtracting TWO23[sx].
34161         * math/libm-test.inc (nearbyint_test): Add more tests.
34163 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34165         [BZ #2548]
34166         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34167         bits before adding and subtracting TWO23[sx].
34168         * math/libm-test.inc (rint_test): Add more tests.
34169         (rint_test_tonearest): Likewise.
34170         (rint_test_towardzero): Likewise.
34171         (rint_test_downward): Likewise.
34172         (rint_test_upward: Likewise.
34174 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34176         [BZ #10110]
34177         * include/stdc-predef.h: New file.  Extracted from features.h.
34178         * include/features.h: Include stdc-predef.h.
34179         * Makefile (headers): Add stdc-predef.h.
34180         * CONFORMANCE (Compiler limitations): Update.
34182 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34184         * manual/libc.texinfo (VERSION, UPDATED): Revert.
34186 2012-02-21  David S. Miller  <davem@davemloft.net>
34188         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34189         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34191 2012-02-20  David S. Miller  <davem@davemloft.net>
34193         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34194         using a normal save/restore sequence, rather than allocating a
34195         dummy stack frame just to store a frame pointer and restore.
34196         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34198 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34200         * manual/install.texi: Fix stray word in line-wrapped comment.
34202 2012-02-20  David S. Miller  <davem@davemloft.net>
34204         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34205         both binutils and gcc support GOTDATA.
34207         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34208         "rd %pc" in the PIC register setup sequences.
34210         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34211         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34212         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34213         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34214         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34215         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34216         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34217         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34218         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34219         (SYSCALL_ERROR_HANDLER): Likewise.
34220         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34221         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34222         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34223         (SYSCALL_ERROR_HANDLER): Likewise.
34225         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34226         (HAVE_GCC_GOTDATA): New.
34227         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34228         relocation support in both binutils and gcc.
34229         * sysdeps/sparc/elf/configure: Regenerate.
34231         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34232         * sysdeps/sparc/sparc32/elf/configure: Delete.
34233         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34234         * sysdeps/sparc/sparc64/elf/configure: Delete.
34235         * sysdeps/sparc/elf/configure.in: New file.
34236         * sysdeps/sparc/elf/configure: Generate.
34238         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34239         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34240         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34241         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34242         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34244 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34246         * manual/install.texi: Do not mention specific glibc version
34247         numbers.
34248         * manual/libc.texinfo (VERSION, UPDATED): Update.
34249         (@copying): Use @copyright{} and range of years.
34251 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34253         [BZ #13695]
34254         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34255         [crti.S not in sysdirs] (generated): Do not append.
34256         [crti.S not in sysdirs] (omit-deps): Likewise.
34257         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34258         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34259         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34260         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34261         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34262         Likewise.
34263         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34264         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34265         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34266         * csu/defs.awk: Remove file.
34267         * sysdeps/generic/initfini.c: Likewise.
34268         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34269         variable.
34270         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34271         Likewise.
34273 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34275         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34276         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34277         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34278         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34279         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34280         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34281         <bits/epoll.h>.
34282         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34283         (__EPOLL_PACKED): Define to empty if not defined by
34284         <bits/epoll.h>.
34285         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34287         bits/epoll.h.
34289 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34291         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34292         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34293         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34294         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34295         <bits/timerfd.h>.
34296         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34298         bits/timerfd.h.
34300 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34302         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34303         in C locale.
34304         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34305         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34306         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34309 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
34311         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34312         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34314 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
34316         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34317         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34318         defined.
34319         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34320         Likewise.
34321         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34322         entry for 2.16.
34324 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
34326         * math/w_acos.c: Use non-signaling floating-point comparisons.
34327         * math/w_acosf.c: Likewise.
34328         * math/w_acosh.c: Likewise.
34329         * math/w_acoshf.c: Likewise.
34330         * math/w_acoshl.c: Likewise.
34331         * math/w_acosl.c: Likewise.
34332         * math/w_asin.c: Likewise.
34333         * math/w_asinf.c: Likewise.
34334         * math/w_asinl.c: Likewise.
34335         * math/w_atanh.c: Likewise.
34336         * math/w_atanhf.c: Likewise.
34337         * math/w_atanhl.c: Likewise.
34338         * math/w_exp2.c: Likewise.
34339         * math/w_exp2f.c: Likewise.
34340         * math/w_exp2l.c: Likewise.
34341         * math/w_j0.c: Likewise.
34342         * math/w_j0f.c: Likewise.
34343         * math/w_j0l.c: Likewise.
34344         * math/w_j1.c: Likewise.
34345         * math/w_j1f.c: Likewise.
34346         * math/w_j1l.c: Likewise.
34347         * math/w_jn.c: Likewise.
34348         * math/w_jnf.c: Likewise.
34349         * math/w_log.c: Likewise.
34350         * math/w_log10.c: Likewise.
34351         * math/w_log10f.c: Likewise.
34352         * math/w_log10l.c: Likewise.
34353         * math/w_log2.c: Likewise.
34354         * math/w_log2f.c: Likewise.
34355         * math/w_log2l.c: Likewise.
34356         * math/w_logf.c: Likewise.
34357         * math/w_logl.c: Likewise.
34358         * math/w_sqrt.c: Likewise.
34359         * math/w_sqrtf.c: Likewise.
34360         * math/w_sqrtl.c: Likewise.
34361         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34362         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34363         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34364         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34365         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34367 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34369         [BZ #9739]
34370         * manual/string.texi (strnlen): Use correct parameter name in
34371         equivalent expression.
34373 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34375         [BZ #11174]
34376         * manual/users.texi (seteuid): Consistently use neweuid for
34377         argument name.
34379 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34381         [BZ #13704]
34382         * manual/nss.texi (Services in the NSS configuration): Correct
34383         list of services in example configuration file.
34385 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
34387         [BZ #11322]
34388         * manual/arith.texi: Remove statements about negative zero
34389         behaving identically to zero.
34391 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34393         [BZ #5993]
34394         * manual/install.texi: Do not document upgrading from libc5.
34396 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34398         [BZ #4596]
34399         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34401 2012-02-18  David S. Miller  <davem@davemloft.net>
34403         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34404         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34405         %o7 across the call.
34406         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34407         instead.
34408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34409         SETUP_PIC_REG_LEAF.
34410         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34411         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34412         * sysdeps/sparc/crtn.S: Likewise.
34414 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
34416         * aout/Makefile: Remove.
34418 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
34420         [BZ #13058]
34421         * manual/examples/argp-ex1.c (main): Format definition in GNU
34422         style.
34423         * manual/examples/argp-ex2.c (main): Likewise.
34424         * manual/examples/argp-ex3.c (main): Likewise.
34425         * manual/examples/argp-ex4.c (main): Likewise.
34426         * manual/examples/longopt.c (main): Use new-style prototype
34427         definition.
34428         * manual/examples/strncat.c (main): Specify return type and use
34429         (void) for arguments.
34430         * manual/examples/subopt.c (main): Use char **argv argument.
34432 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34434         [BZ #5077]
34435         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34436         rounding modes.
34438 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
34440         [BZ #6907]
34441         * manual/string.texi (strchr): Change when strchrnul is
34442         recommended.
34444 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
34446         [BZ #174]
34447         * manual/locale.texi (setlocale): Document LOCPATH.
34449 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34451         [BZ #10210]
34452         * manual/process.texi (execle): Move @dots{} before last argument.
34454 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
34456         [BZ #12047]
34457         * manual/charset.texi (Generic Charset Conversion): Fix typo
34458         (LC_TYPE -> LC_CTYPE).
34460 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
34462         [BZ #5805]
34463         * manual/arith.texi (scalbn): Use @var{} on parameter names.
34464         (scalbnf): Likewise.
34465         (scalbnl): Likewise.
34466         (scalbln): Likewise.
34467         (scalblnf): Likewise.
34468         (scalblnl): Likewise.
34469         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34470         (vwarnx): Likewise.
34471         (verr): Likewise.
34472         (verrx): Likewise.
34473         * manual/filesys.texi (telldir): Use braces around return type.
34474         * manual/llio.texi (mmap): Add space after comma.
34475         (mmap64): Likewise.
34476         * manual/math.texi (jn): Use @var{} on parameter names.
34477         (jnf): Likewise.
34478         (jnl): Likewise.
34479         (yn): Likewise.
34480         (ynf): Likewise.
34481         (ynl): Likewise.
34482         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34483         line.
34484         * manual/resource.texi (ulimit): Use @dots{} instead of literal
34485         "...".
34486         (sched_get_priority_min): Remove semicolon on @deftypefun line.
34487         (sched_get_priority_max): Likewise.
34488         * manual/signal.texi (sigvec): Add space after comma.
34489         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34490         names.
34491         (if_indextoname): Likewise.
34492         (if_freenameindex): Likewise.
34493         (sendto): Use ',' instead of '.' in prototype.
34494         * manual/startup.texi (syscall): Use @dots{} instead of literal
34495         "...".
34496         * manual/stdio.texi (__fpending): Separate initial words of
34497         paragraph from @deftypefun line.
34498         * manual/syslog.texi (syslog): Use @dots{} instead of literal
34499         "...".
34500         (vsyslog): Use @var{} on parameter names.
34501         * manual/terminal.texi (stty): Use @var{} on parameter names.
34502         * manual/users.texi (getutmp): Use @var{} on parameter names.
34503         (getutmpx): Likewise.
34505 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34507         [BZ #6884]
34508         * manual/stdio.texi (fopen): Fix typos in description of
34509         ",ccs=STRING".
34511 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
34513         [BZ #4026]
34514         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34515         get clock_id definition.
34517 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
34519         [BZ #4822]
34520         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34521         (madvise): Cast every argument to void on its own.
34523 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34525         [BZ #9902]
34526         * manual/startup.texi (Exit Status): Fix typo.
34528 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34530         [BZ #10140]
34531         * manual/examples/argp-ex1.c: Include <stdlib.h>.
34532         * manual/examples/argp-ex2.c: Likewise.
34533         * manual/examples/argp-ex3.c: Likewise.
34535 2012-02-16  Richard Henderson  <rth@redhat.com>
34537         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34538         * sysdeps/s390/s390-32/initfini.c: Remove.
34539         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34540         * sysdeps/s390/s390-64/initfini.c: Remove.
34542 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34544         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34545         compiler output for sysdeps/generic/initfini.c.
34546         * sysdeps/sh/elf/initfini.c: Remove file.
34548 2012-02-16  David S. Miller  <davem@davemloft.net>
34550         [BZ #11494]
34551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34553         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34554         * sysdeps/sparc/crti.S: New file.
34555         * sysdeps/sparc/crtn.S: New file.
34556         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34557         * sysdeps/sparc/sparc64/Makefile: Likewise.
34559 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
34561         [BZ #3335]
34562         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34564 2012-02-15  Roland McGrath  <roland@hack.frob.com>
34566         [BZ #4822]
34567         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34569         * mach/devstream.c (cookie_io_functions_t): Macro removed.
34570         (write, read, close): Likewise.
34571         Patch by Aurelien Jarno <aurelien@aurel32.net>.
34573 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
34575         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34576         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34577         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34578         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34579         <bits/signalfd.h>.
34580         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34581         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34582         bits/signalfd.h.
34584 2012-02-14  Marek Polacek  <polacek@redhat.com>
34586         * sysdeps/x86_64/crti.S: New file.
34587         * sysdeps/x86_64/crtn.S: New file.
34588         * sysdeps/x86_64/elf/initfini.c: Remove file.
34590 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34592         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34593         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34594         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34595         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34596         <bits/inotify.h>.
34597         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34599         bits/inotify.h.
34601 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34603         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34604         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34605         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34606         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34607         <bits/eventfd.h>.
34608         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34610         bits/eventfd.h.
34612 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
34614         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34615         __feraiseexcept instead of feraiseexcept.
34617         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34618         nanosleep invocations.
34619         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34620         strings, and add error checking for a nanosleep invocations.
34622 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
34624         Replace FSF snail mail address with URLs, as per GNU coding standards.
34625         Most of the snail mail addresses were wrong anyway, and omitting
34626         them makes the source code easier to maintain.  Almost all of the
34627         changes are to license notices and to locale LC_IDENTIFICATION
34628         addresses, except for this one:
34629         * manual/libc.texinfo: In "Published by", give the FSF's URL,
34630         not its snail mail address.
34632 2012-02-09  Richard Henderson  <rth@twiddle.net>
34634         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34635         of kernel-features.h.
34637         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34639 2012-02-08  Marek Polacek  <polacek@redhat.com>
34641         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34642         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34643         * sysdeps/gnu/_G_config.h: Likewise.
34644         * sysdeps/generic/_G_config.h: Likewise.
34646 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
34648         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34649         tests.
34650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34652         * sysdeps/powerpc/powerpc32/crti.S: New file.
34653         * sysdeps/powerpc/powerpc32/crtn.S: New file.
34654         * sysdeps/powerpc/powerpc64/crti.S: New file.
34655         * sysdeps/powerpc/powerpc64/crtn.S: New file.
34657         * Makeconfig (have-initfini): Don't set.
34658         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34659         * configure.in (nopic_initfini): Don't substitute.
34660         * config.h.in (HAVE_INITFINI): Don't #undef.
34661         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34662         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34664 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
34666         Support crti.S and crtn.S provided directly by architectures.
34667         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34668         [crti.S in sysdirs] (omit-deps): Likewise.
34669         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34670         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34671         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34672         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34673         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34674         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34675         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34676         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34677         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34678         compiler output for sysdeps/generic/initfini.c.
34679         * sysdeps/i386/elf/Makefile: Remove file.
34680         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34682 2012-02-07  Marek Polacek  <polacek@redhat.com>
34684         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34685         * sysdeps/gnu/_G_config.h: Likewise.
34686         * sysdeps/mach/hurd/_G_config.h: Likewise.
34688 2012-02-07  Marek Polacek  <polacek@redhat.com>
34690         * math/Makefile (tests): Add tst-CMPLX2.
34691         * math/tst-CMPLX2.c: New file.
34693 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
34695         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34697         * math/libm-test.inc (jn_test): Add missing L suffix.
34699 2012-02-06  Marek Polacek  <polacek@redhat.com>
34701         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34702         * sysdeps/i386/fpu/e_powf.S: Likewise.
34703         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34704         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34705         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34706         * sysdeps/i386/fpu/e_pow.S: Likewise.
34707         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34708         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34709         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34710         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34711         * sysdeps/i386/fpu/e_log2.S: Likewise.
34712         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34713         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34714         * sysdeps/i386/fpu/e_powl.S: Likewise.
34715         * sysdeps/i386/fpu/s_log1p.S: Likewise.
34716         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34717         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34718         * sysdeps/i386/fpu/e_logl.S: Likewise.
34719         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34720         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34721         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34722         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34723         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34724         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34725         * sysdeps/i386/fpu/e_log.S: Likewise.
34726         * sysdeps/i386/fpu/s_cexp.S: Likewise.
34727         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34728         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34729         * sysdeps/i386/fpu/e_logf.S: Likewise.
34730         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34731         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34732         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34733         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34734         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34735         * sysdeps/i386/fpu/e_log10.S: Likewise.
34736         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34737         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34738         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34739         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34740         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34741         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34742         * sysdeps/i386/asm-syntax.h: Likewise.
34743         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34744         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34745         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34746         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34747         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34748         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34749         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34750         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34751         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34752         * sysdeps/powerpc/sysdep.h: Likewise.
34753         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34754         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34756 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34758         [BZ #411]
34759         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34761 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34763         * sysdeps/i386/sysdep.h: Include <features.h>.
34764         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34765         version.
34767 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
34769         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34770         Define.
34771         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34772         LOAD_PIC_REG_STR.
34774 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34776         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34777         (SETUP_PIC_REG): Use GET_PC_THUNK.
34778         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34779         macro.
34781 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34783         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34784         for non-PIC compilation.
34785         (SETUP_PIC_REG): Add .p2align directive.
34786         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34787         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34788         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34789         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34790         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34791         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34792         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34793         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34794         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34795         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34796         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34797         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34798         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34799         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34800         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34801         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34802         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34803         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34804         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34805         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34806         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34807         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34808         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34809         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34810         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34811         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34812         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34813         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34814         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34815         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34816         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34817         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34818         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34819         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34820         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34821         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34822         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34823         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34824         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34825         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34826         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34828 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34830         * math/tst-CMPLX.c: Include <stdio.h>.
34832 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
34834         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34835         float.
34836         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34837         * sysdeps/sparc/bits/mathdef.h: Likewise.
34839 2012-01-31  Marek Polacek  <polacek@redhat.com>
34841         * libio/libio.h: Don't define _PARAMS.
34842         * locale/programs/config.h: Don't define PARAMS.
34843         * stdlib/strtol_l.c: Likewise.
34844         (__strtol_l): Remove PARAMS from the prototype.
34846 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
34848         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
34849         names.  Just use the correct names.  Remove unnecessary wrapper
34850         functions.
34851         * malloc/arena.c: Likewise.
34852         * malloc/hooks.c: Likewise.
34854         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34855         ARENA_TEST says not to.  Simplify test for creation of a new arena.
34856         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34858 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
34860         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34861         into tail calls.
34862         (update_get_addr): New function.
34863         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34864         GET_ADDR_MODULE parameter.
34866 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34868         * crypt/cert.c: Remove __STDC__ conditionals.
34869         * crypt/crypt-entry.c: Likewise.
34870         * crypt/crypt_util.c: Likewise.
34871         * libio/filedoalloc.c: Likewise.
34872         * libio/fileops.c: Likewise.
34873         * libio/genops.c: Likewise.
34874         * libio/iofclose.c: Likewise.
34875         * libio/iofdopen.c: Likewise.
34876         * libio/iofopen.c: Likewise.
34877         * libio/iofopen64.c: Likewise.
34878         * libio/iogetdelim.c: Likewise.
34879         * libio/iopopen.c: Likewise.
34880         * libio/obprintf.c: Likewise.
34881         * libio/oldfileops.c: Likewise.
34882         * libio/oldiofclose.c: Likewise.
34883         * libio/oldiofdopen.c: Likewise.
34884         * libio/oldiofopen.c: Likewise.
34885         * libio/oldiopopen.c: Likewise.
34886         * libio/wfiledoalloc.c: Likewise.
34887         * libio/wgenops.c: Likewise.
34888         * locale/programs/xmalloc.c: Likewise.
34889         * misc/syslog.c: Likewise.
34890         * stdio-common/xbug.c: Likewise.
34891         * string/memchr.c: Likewise.
34892         * string/memcmp.c: Likewise.
34893         * string/memrchr.c: Likewise.
34894         * string/rawmemchr.c: Likewise.
34895         * sysdeps/posix/getcwd.c: Likewise.
34896         * time/strftime_l.c: Likewise.
34898 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34900         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34901         * config.make.in (config-cflags-sse2avx): Define.
34902         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34903         Fix typo.
34905 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
34907         * scripts/config.guess: Update from upstream config git repository.
34908         * scripts/config.sub: Likewise.
34910 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
34912         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34913         (EM_NUM): Update.
34914         (R_TILEPRO_*, R_TILEGX_*): New macros.
34916         * scripts/firstversions.awk: Fix bug in version range handling.
34918         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34920         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34922         * include/sys/epoll.h: New file.
34923         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34924         libc_hidden_def.
34926 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
34928         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34929         Avoid unnecessary __WORDSIZE == 64 test.
34930         (fmaxf): Use VEX format if possible.
34931         (fmax): Likewise.
34932         (fminf): Likewise.
34933         (fmin): Likewise.
34935         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34936         * math/math_private.h: Remove libc_fegetround* and
34937         libc_fesetround*.
34938         * sysdeps/i386/configure.in: Check for -msse2avx.
34939         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34940         also if SSE2AVX is defined.
34941         Remove libc_fegetround* and libc_fesetround*.
34942         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34943         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
34944         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34945         of HAS_YMM_USABLE.
34946         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34947         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34948         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34949         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34950         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34952         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34954 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34956         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34957         size is not set.
34958         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34960 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
34962         [BZ #13618]
34963         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34964         relocation.
34965         * Makeconfig (libm): Define.
34966         * elf/Makefile: Add rules to build and run tst-relsort1.
34967         * elf/tst-relsort1.c: New file.
34968         * elf/tst-relsort1mod1.c: New file.
34969         * elf/tst-relsort1mod2.c: New file.
34971 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
34973         * math/s_ldexp.c: Remove __STDC__ conditionals.
34974         * math/s_ldexpf.c: Likewise.
34975         * math/s_ldexpl.c: Likewise.
34976         * math/s_nextafter.c: Likewise.
34977         * math/s_nexttowardf.c: Likewise.
34978         * math/s_significand.c: Likewise.
34979         * math/s_significandf.c: Likewise.
34980         * math/s_significandl.c: Likewise.
34981         * math/w_jnl.c: Likewise.
34982         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34983         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34984         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34985         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34986         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34987         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34988         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34989         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34990         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34991         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34992         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34993         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34994         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34995         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34996         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34997         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34998         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34999         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35000         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35001         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35002         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35003         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35004         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35005         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35006         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35007         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35008         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35009         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35010         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35011         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35012         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35013         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35014         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35015         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35016         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35017         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35018         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35019         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35020         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35021         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35022         * sysdeps/ieee754/k_standard.c: Likewise.
35023         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35024         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35025         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35026         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35027         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35028         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35029         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35030         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35031         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35032         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35033         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35034         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35035         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35036         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35037         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35038         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35039         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35040         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35041         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35042         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35043         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35044         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35045         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35046         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35047         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35048         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35049         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35051         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35052         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35053         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35054         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35055         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35056         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35057         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35058         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35059         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35060         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35061         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35062         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35063         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35064         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35065         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35066         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35067         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35068         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35069         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35070         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35071         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35072         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35073         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35074         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35075         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35076         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35077         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35078         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35079         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35080         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35081         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35082         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35083         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35084         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35085         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35086         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35087         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35088         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35089         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35090         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35091         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35092         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35093         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35094         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35095         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35096         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35097         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35098         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35099         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35100         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35101         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35102         * sysdeps/ieee754/s_matherr.c: Likewise.
35103         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35104         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35105         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35106         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35108 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35110         * crypt/md5.h: Remove __STDC__ conditionals.
35111         * libio/libioP.h: Likewise.
35112         * locale/programs/config.h: Likewise.
35113         * sysdeps/generic/sysdep.h: Likewise.
35114         * sysdeps/i386/asm-syntax.h: Likewise.
35115         * sysdeps/s390/asm-syntax.h: Likewise.
35116         * sysdeps/unix/sysdep.h: Likewise.
35117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35120 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35122         * libio/libio.h: Remove __STDC__ conditionals.
35123         * malloc/obstack.h: Likewise.
35124         * math/complex.h: Likewise.
35125         * math/math.h: Likewise.
35126         * sysdeps/generic/_G_config.h: Likewise.
35127         * sysdeps/gnu/_G_config.h: Likewise.
35128         * sysdeps/mach/hurd/_G_config.h: Likewise.
35129         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35130         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35131         * sysdeps/sparc/bits/mathdef.h: Likewise.
35133 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
35135         [BZ #13583]
35136         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35137         Clean up HAS_* macros.
35138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35139         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35140         possible.
35141         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35142         HAS_AVX.
35143         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35144         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35145         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35146         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35147         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35149 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
35151         * elf/tst-unique3.cc (gets): Remove declaration.
35152         * elf/tst-unique3lib.cc (gets): Likewise.
35153         * elf/tst-unique3lib2.cc (gets): Likewise.
35154         * elf/tst-unique4.cc (gets): Likewise.
35156 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
35158         * include/stdio.h: Add C++ protection.  Add gets declarations and
35159         definitions.
35160         * debug/tst-chk1.c: Don't declare gets here.
35161         * stdio-common/tst-gets.c: Likewise.
35163 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35165         * posix/glob: Remove directory.
35167 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35169         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35171 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
35173         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35174         of the non-standard EPFNOSUPPORT.
35176 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35178         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35179         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35180         ANYWHERE set to 1 only on KERN_NO_SPACE error.
35182 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
35184         * wcsmbs/uchar.h: Test __STDC_VERSION__.
35186 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
35188         * nscd/aicache.c (addhstaiX): Do not cache negative results of
35189         transient errors.
35190         * nscd/grpcache.c (cache_addgr): Likewise.
35191         * nscd/hstcache.c (cache_addhst): Likewise.
35192         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35193         * nscd/pwdcache.c (cache_addpw): Likewise.
35194         * nscd/servicescache.c (cache_addserv): Likewise.
35196 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
35198         * malloc/malloc.c: Various cleanups.
35199         * malloc/hooks.c: Likewise.
35201         * stdlib/Makefile (tests): Add bug-fmtmsg1.
35202         * stdlib/bug-fmtmsg1.c: New file.
35204         * stdlib/fmtmsg.c (init): Add missing unlock.
35205         Patch by Peng Haitao <penght@cn.fujitsu.com>.
35207 2012-01-12  Marek Polacek  <polacek@redhat.com>
35209         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35210         and _GNU_SOURCE.
35212 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35214         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35215         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35216         macro to ensure uniqueness of label name.
35217         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35218         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35220 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
35222         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35224         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35225         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35226         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35227         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35229 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
35231         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35233         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35234         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35235         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35237         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35239         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35240         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35241         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35242         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35244         * math/bits/math-finite.h: Add ldexp support.
35246 2012-01-10  Marek Polacek  <polacek@redhat.com>
35248         * locale/programs/localedef.h (show_archive_content): Add noreturn
35249         attribute.
35251 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
35253         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35255 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35257         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35259         * io/Makefile (headers): Add bits/poll2.h.
35261 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
35263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35264         typo #include statement.
35266 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35268         * include/sys/cdefs.h: Define __attribute_alloc_size.
35269         * catgets/gencat.c: Add alloc_size attribute and apply consistently
35270         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35271         * elf/pldd.c: Likewise.
35272         * iconv/iconv_charmap.c: Likewise.
35273         * iconv/iconvconfig.c: Likewise.
35274         * iconv/strtab.c: Likewise.
35275         * locale/programs/locale.c: Likewise.
35276         * locale/programs/localedef.h: Likewise.
35277         * locale/programs/simple-hash.c: Likewise.
35278         * nscd/nscd.h: Likewise.
35279         * nss/makedb.c: Likewise.
35280         * sysdeps/generic/ldconfig.h: Likewise.
35281         * locale/programs/localedef.c: Remove xmalloc prototype.
35282         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35284 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35286         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35287         appropriate.
35289 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35291         * math/Makefile (tests): Add tst-CMPLX.
35292         * math/tst-CMPLX.c: New file.
35294         * math/complex.h (CMPLXL): Fix typo.
35296         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35297         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35298         GLIBC_2.16.
35299         * debug/tst-chk1.c: Add poll and ppoll tests.
35300         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35301         * include/sys/poll.h: Add hidden proto for ppoll.
35302         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35303         * sysdeps/mach/hurd/ppoll.c: Likewise.
35304         * io/ppoll.c: Likewise.
35305         * debug/poll_chk.c: New file.
35306         * debug/ppoll_chk.c: New file.
35307         * include/bits/poll2.h: New file.
35308         * io/bits/poll2.h: New file.
35310         [BZ #1350]
35311         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35313         * configure.in: static is always set to yes.  Remove.
35314         * config.make.in: Don't set build-static.
35315         * Makeconfig: Remove use of build-static.
35316         * dlfcn/Makefile: Likewise.
35317         * elf/Makefile: Likewise.
35318         * math/Makefile: Likewise.
35319         * misc/Makefile: Likewise.
35320         * nptl/Makefile: Likewise.
35321         * sysdeps/mach/hurd/Makefile: Likewise.
35323         * configure.in: PWD_P is not used anymore.
35324         * config.make.in: Remove PWD_P entry.
35326         * configure.in: Remove last remnants of RANLIB.
35327         No need to check for signed size_t anymore.
35328         Don't set libc_commonpagesize and libc_relro_required here for Alpha
35329         and IA-64.
35330         Remove __builtin_expect test because we require at least gcc 3.4.
35331         * aclocal.m4: Likewise.
35333         * wcsmbs/mbrtoc16.c: Implement using towc function.
35334         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35335         * wcsmbs/wcsmbsload.c: Likewise.
35336         * iconv/gconv_simple.c: Likewise.
35337         * iconv/gconv_int.h: Likewise.
35338         * iconv/gconv_builtin.h: Likewise.
35339         * iconv/iconv_prog.c: Remove CHAR16 handling.
35341         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35343         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35345         * configure.in: Remove --with-elf and --enable-bounded options.
35346         Dont set base_machine for ia64.  More non-ELF conditions removed.
35347         Remove testing and setting of leading underscore information.
35348         * config.make.in (build-bounded): Set to no.
35349         * config.h.in: Remove NO_UNDERSCORES entry.
35350         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
35351         them.
35352         * csu/start.c: Remove !NO_UNDERSCORE code.
35353         * locale/localeinfo.h: Likewise.
35354         * sysdeps/generic/machine-gmon.h: Likewise.
35355         * sysdeps/generic/sysdep.h: Likewise.
35356         * sysdeps/i386/sysdep.h: Likewise.
35357         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35358         * sysdeps/mach/sysdep.h: Likewise.
35359         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35360         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35361         * sysdeps/sh/sysdep.h: Likewise.
35362         * sysdeps/sparc/sparc32/alloca.S: Likewise.
35363         * sysdeps/unix/i386/sysdep.S: Likewise.
35364         * sysdeps/unix/sparc/start.c: Likewise.
35365         * sysdeps/unix/sparc/sysdep.S: Likewise.
35366         * sysdeps/unix/sparc/sysdep.h: Likewise.
35367         * sysdeps/unix/start.c: Likewise.
35368         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35369         * sysdeps/x86_64/sysdep.h: Likewise.
35371 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
35373         [BZ #13553]
35374         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35375         for non-gcc.
35376         * argp/argp-fmtstream.h: Use const instead __const.
35377         * argp/argp.h: Likewise.
35378         * assert/assert.h: Likewise.
35379         * bits/fenv.h: Likewise.
35380         * bits/sched.h: Likewise.
35381         * bits/sigset.h: Likewise.
35382         * bits/sigthread.h: Likewise.
35383         * catgets/nl_types.h: Likewise.
35384         * conform/data/pthread.h-data: Likewise.
35385         * crypt/crypt-private.h: Likewise.
35386         * crypt/crypt.h: Likewise.
35387         * crypt/crypt_util.c: Likewise.
35388         * ctype/ctype.h: Likewise.
35389         * debug/execinfo.h: Likewise.
35390         * debug/mbsnrtowcs_chk.c: Likewise.
35391         * debug/mbsrtowcs_chk.c: Likewise.
35392         * debug/wcsnrtombs_chk.c: Likewise.
35393         * debug/wcsrtombs_chk.c: Likewise.
35394         * debug/wcstombs_chk.c: Likewise.
35395         * dirent/dirent.h: Likewise.
35396         * dlfcn/dlfcn.h: Likewise.
35397         * elf/neededtest4.c: Likewise.
35398         * grp/grp.h: Likewise.
35399         * gshadow/gshadow.h: Likewise.
35400         * iconv/gconv.h: Likewise.
35401         * iconv/gconv_int.h: Likewise.
35402         * iconv/gconv_simple.c: Likewise.
35403         * iconv/iconv.h: Likewise.
35404         * iconv/loop.c: Likewise.
35405         * iconv/skeleton.c: Likewise.
35406         * include/aio.h: Likewise.
35407         * include/aliases.h: Likewise.
35408         * include/argz.h: Likewise.
35409         * include/arpa/inet.h: Likewise.
35410         * include/assert.h: Likewise.
35411         * include/dirent.h: Likewise.
35412         * include/dlfcn.h: Likewise.
35413         * include/execinfo.h: Likewise.
35414         * include/fcntl.h: Likewise.
35415         * include/fenv.h: Likewise.
35416         * include/glob.h: Likewise.
35417         * include/grp.h: Likewise.
35418         * include/libintl.h: Likewise.
35419         * include/mntent.h: Likewise.
35420         * include/netdb.h: Likewise.
35421         * include/pwd.h: Likewise.
35422         * include/rpc/netdb.h: Likewise.
35423         * include/sched.h: Likewise.
35424         * include/search.h: Likewise.
35425         * include/shadow.h: Likewise.
35426         * include/signal.h: Likewise.
35427         * include/stdio.h: Likewise.
35428         * include/stdlib.h: Likewise.
35429         * include/string.h: Likewise.
35430         * include/sys/socket.h: Likewise.
35431         * include/sys/stat.h: Likewise.
35432         * include/sys/statfs.h: Likewise.
35433         * include/sys/statvfs.h: Likewise.
35434         * include/sys/syslog.h: Likewise.
35435         * include/sys/time.h: Likewise.
35436         * include/sys/uio.h: Likewise.
35437         * include/time.h: Likewise.
35438         * include/unistd.h: Likewise.
35439         * include/utmp.h: Likewise.
35440         * include/wchar.h: Likewise.
35441         * include/wctype.h: Likewise.
35442         * inet/aliases.h: Likewise.
35443         * inet/arpa/inet.h: Likewise.
35444         * inet/netinet/ether.h: Likewise.
35445         * inet/netinet/in.h: Likewise.
35446         * intl/libintl.h: Likewise.
35447         * io/bits/fcntl2.h: Likewise.
35448         * io/fcntl.h: Likewise.
35449         * io/ftw.h: Likewise.
35450         * io/sys/poll.h: Likewise.
35451         * io/sys/stat.h: Likewise.
35452         * io/sys/statfs.h: Likewise.
35453         * io/sys/statvfs.h: Likewise.
35454         * io/utime.h: Likewise.
35455         * libio/bits/stdio.h: Likewise.
35456         * libio/bits/stdio2.h: Likewise.
35457         * libio/libio.h: Likewise.
35458         * libio/libioP.h: Likewise.
35459         * libio/stdio.h: Likewise.
35460         * locale/lc-ctype.c: Likewise.
35461         * locale/locale.h: Likewise.
35462         * login/utmp.h: Likewise.
35463         * malloc/arena.c: Likewise.
35464         * malloc/malloc.c: Likewise.
35465         * malloc/malloc.h: Likewise.
35466         * malloc/mcheck.c: Likewise.
35467         * malloc/mtrace.c: Likewise.
35468         * math/bits/mathcalls.h: Likewise.
35469         * math/fenv.h: Likewise.
35470         * math/math_private.h: Likewise.
35471         * misc/bits/error.h: Likewise.
35472         * misc/bits/syslog.h: Likewise.
35473         * misc/err.h: Likewise.
35474         * misc/error.h: Likewise.
35475         * misc/fstab.h: Likewise.
35476         * misc/mntent.h: Likewise.
35477         * misc/regexp.h: Likewise.
35478         * misc/search.h: Likewise.
35479         * misc/sgtty.h: Likewise.
35480         * misc/sys/mman.h: Likewise.
35481         * misc/sys/syslog.h: Likewise.
35482         * misc/sys/uio.h: Likewise.
35483         * misc/sys/xattr.h: Likewise.
35484         * misc/ttyent.h: Likewise.
35485         * nis/rpcsvc/ypclnt.h: Likewise.
35486         * nss/nss.h: Likewise.
35487         * posix/bits/unistd.h: Likewise.
35488         * posix/fnmatch.h: Likewise.
35489         * posix/glob.h: Likewise.
35490         * posix/sched.h: Likewise.
35491         * posix/spawn.h: Likewise.
35492         * posix/sys/wait.h: Likewise.
35493         * posix/unistd.h: Likewise.
35494         * posix/wordexp.h: Likewise.
35495         * pwd/pwd.h: Likewise.
35496         * resolv/netdb.h: Likewise.
35497         * resource/sys/resource.h: Likewise.
35498         * rt/aio.h: Likewise.
35499         * rt/bits/mqueue2.h: Likewise.
35500         * rt/mqueue.h: Likewise.
35501         * shadow/shadow.h: Likewise.
35502         * signal/signal.h: Likewise.
35503         * socket/send.c: Likewise.
35504         * socket/sendto.c: Likewise.
35505         * socket/sys/socket.h: Likewise.
35506         * stdio-common/printf.h: Likewise.
35507         * stdlib/bits/stdlib.h: Likewise.
35508         * stdlib/fmtmsg.h: Likewise.
35509         * stdlib/monetary.h: Likewise.
35510         * stdlib/stdlib.h: Likewise.
35511         * stdlib/ucontext.h: Likewise.
35512         * streams/stropts.h: Likewise.
35513         * string/argz.h: Likewise.
35514         * string/bits/string2.h: Likewise.
35515         * string/string.h: Likewise.
35516         * string/strings.h: Likewise.
35517         * sunrpc/rpc/auth.h: Likewise.
35518         * sunrpc/rpc/auth_des.h: Likewise.
35519         * sunrpc/rpc/clnt.h: Likewise.
35520         * sunrpc/rpc/netdb.h: Likewise.
35521         * sunrpc/rpc/pmap_clnt.h: Likewise.
35522         * sunrpc/rpc/xdr.h: Likewise.
35523         * sysdeps/generic/inttypes.h: Likewise.
35524         * sysdeps/generic/net/if.h: Likewise.
35525         * sysdeps/generic/sys/swap.h: Likewise.
35526         * sysdeps/gnu/net/if.h: Likewise.
35527         * sysdeps/gnu/utmpx.h: Likewise.
35528         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35529         * sysdeps/i386/i486/bits/string.h: Likewise.
35530         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35531         * sysdeps/s390/bits/string.h: Likewise.
35532         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35533         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35534         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35535         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35536         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35537         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35538         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35539         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35540         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35541         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35542         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35543         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35544         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35545         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35546         * sysdeps/unix/sysv/linux/readv.c: Likewise.
35547         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35548         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35549         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35550         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35551         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35552         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35553         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35554         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35555         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35556         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35557         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35558         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35559         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35560         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35561         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35562         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35563         * sysvipc/sys/ipc.h: Likewise.
35564         * sysvipc/sys/msg.h: Likewise.
35565         * sysvipc/sys/sem.h: Likewise.
35566         * sysvipc/sys/shm.h: Likewise.
35567         * termios/termios.h: Likewise.
35568         * time/sys/time.h: Likewise.
35569         * time/time.h: Likewise.
35570         * wcsmbs/bits/wchar2.h: Likewise.
35571         * wcsmbs/uchar.h: Likewise.
35572         * wcsmbs/wchar.h: Likewise.
35573         * wctype/wctype.h: Likewise.
35575         [BZ #13551]
35576         * Makeconfig: Remove all but ELF support including AIX support.
35577         * Makerules: Likewise.
35578         * config.h.in: Likewise.
35579         * config.make.in: Likewise.
35580         * configure: Likewise.
35581         * configure.in: Likewise.
35582         * csu/Makefile: Likewise.
35583         * csu/version.c: Likewise.
35584         * debug/Makefile: Likewise.
35585         * dlfcn/Makefile: Likewise.
35586         * elf/Makefile: Likewise.
35587         * extra-lib.mk: Likewise.
35588         * iconv/Makefile: Likewise.
35589         * include/libc-symbols.h: Likewise.
35590         * include/shlib-compat.h: Likewise.
35591         * resolv/Makefile: Likewise.
35592         * resolv/res_libc.c: Likewise.
35593         * rt/Makefile: Likewise.
35594         * sysdeps/i386/asm-syntax.h: Likewise.
35595         * sysdeps/i386/sysdep.h: Likewise.
35596         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35597         * sysdeps/mach/sysdep.h: Likewise.
35598         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35599         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35600         * sysdeps/s390/asm-syntax.h: Likewise.
35601         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35602         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35603         * sysdeps/sh/sysdep.h: Likewise.
35604         * sysdeps/unix/sparc/sysdep.h: Likewise.
35605         * sysdeps/wordsize-32/divdi3.c: Likewise.
35606         * sysdeps/x86_64/sysdep.h: Likewise.
35608         * argp/Versions: Remove _argp_unlock_xxx.
35610         [BZ #13559]
35611         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
35612         * abilist/libBrokenLocale.abilist: Likewise.
35613         * abilist/libanl.abilist: Likewise.
35614         * abilist/libc.abilist: Likewise.
35615         * abilist/libcrypt.abilist: Likewise.
35616         * abilist/libdl.abilist: Likewise.
35617         * abilist/libm.abilist: Likewise.
35618         * abilist/libnsl.abilist: Likewise.
35619         * abilist/libpthread.abilist: Likewise.
35620         * abilist/libresolv.abilist: Likewise.
35621         * abilist/librt.abilist: Likewise.
35622         * abilist/libthread_db.abilist: Likewise.
35623         * abilist/libutil.abilist: Likewise.
35624         * abilist/libnss_db.abilist: New file.
35626         * scripts/abilist.awk: Add support for indirect functions.
35628         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35630         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35632         * shlib-versions: Remove entries for ports architectures.
35634         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
35635         files in ports.
35636         * elf/stackguard-macros.h: Remove support for IA-64.
35637         * elf/tst-auditmod1.c: Likewise.
35638         * sysdeps/generic/ldsodefs.h: Likewise.
35640         * sysdeps/unix/sysv/linux/configure.in: Ports should define
35641         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35642         configure files.
35644         [BZ #13552]
35645         * configure.in: Remove --enable-omitfp support.
35646         * FAQ.in: Adjust.
35647         * config.make.in: Likewise.
35648         * Makeconfig: Likewise.
35649         * manual/install.texi: Likewise.
35651         In case anyone cares, the IA-64 architecture could move to ports.
35652         * sysdeps/ia64/*: Removed.
35653         * sysdeps/unix/sysv/linux/ia64/*: Removed.
35654         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35656         [BZ #13555]
35657         * configure.in: Remove entries for unsupported architectures.
35659         [BZ #13533]
35660         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35661         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
35662         routines.
35663         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35664         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35665         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
35666         fall back to using wcrtomb.
35667         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35668         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
35669         renaming.
35670         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35671         * wcsmbs/tst-c16c32-1.c: New file.
35673         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35674         local variable.
35676         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35678         * elf/tst-unique3.cc: Add explicit declaration of gets.
35679         * elf/tst-unique3lib.cc: Likewise.
35680         * elf/tst-unique3lib2.cc: Likewise.
35681         * elf/tst-unique4.cc: Likewise.
35683         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35685 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
35687         [BZ #13566]
35688         * assert/assert.h (static_assert): Don't define for C++.
35689         * libio/stdio.h (gets): Do declare for C++ <= C++11.
35690         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35692 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
35694         * iconv/loop.c (single loop): Fix assertion in storing of
35695         remaining bytes.
35697         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35699 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
35701         * posix/getconf.c: Update copyright year.
35702         * nss/getent.c: Likewise.
35703         * nss/makedb.c: Likewise.
35704         * iconv/iconvconfig.c: Likewise.
35705         * iconv/iconv_prog.c: Likewise.
35706         * elf/ldconfig.c: Likewise.
35707         * elf/pldd.c: Likewise.
35708         * elf/sotruss.ksh: Likewise.
35709         * catgets/gencat.c: Likewise.
35710         * csu/version.c: Likewise.
35711         * elf/ldd.bash.in: Likewise.
35712         * elf/sprof.c (print_version): Likewise.
35713         * locale/programs/locale.c: Likewise.
35714         * locale/programs/localedef.c: Likewise.
35715         * login/programs/pt_chown.c: Likewise.
35716         * nscd/nscd.c (print_version): Likewise.
35717         * debug/xtrace.sh: Likewise.
35718         * malloc/memusage.sh: Likewise.
35719         * malloc/mtrace.pl: Likewise.
35720         * debug/catchsegv.sh: Likewise.
35722 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
35724         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35725         pure attribute.
35727 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
35729         [BZ #13533]
35730         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35731         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35732         transformations.
35733         * iconv/gconv_int.h: Likewise.
35734         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35735         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35736         from libc for GLIBC_2.16.
35737         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35738         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35739         * wcsmbs/uchar.h: Really define mbstate_t.
35740         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35741         * wcsmbs/c16rtomb.c: New file.
35742         * wcsmbs/mbrtoc16.c: New file.
35743         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35744         for C/POSIX locale.
35745         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35746         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35748         * wcsmbs/wchar.h: Add missing __restrict.
35750 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35752         [BZ #13532]
35753         * time/Makefile (routines): Add timespec_get.
35754         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35755         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
35756         timespec for ISO C11.
35757         * time/timespec_get.c: New file.
35758         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35759         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35761         [BZ #13531]
35762         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35763         * stdlib/stdlib.h: Declare aligned_alloc.
35764         * Versions.def: Add GLIBC_2.16 for libc.
35765         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35767         [BZ 13527]
35768         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35769         ISO C11.
35771         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35772         code.
35774         [BZ #13528]
35775         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35777         [BZ #13529]
35778         * assert/assert.h (static_assert): Define.
35780         * version.h: Update for 2.16 development version.
35782         [BZ #13526]
35783         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35784         _ISOC11_SOURCE.
35786         * version.h (RELEASE): Bump for 2.15 release.
35787         * include/features.h (__GLIBC_MINOR__): Bump to 15.
35789         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35790         Patch by Marek Polacek <mpolacek@redhat.com>.
35792         * bits/byteswap.h: Protect long long constants with __extension__.
35793         * sysdeps/i386/bits/byteswap.h: Likewise.
35794         * sysdeps/ia64/bits/byteswap.h: Likewise.
35795         * sysdeps/s390/bits/byteswap.h: Likewise.
35796         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35798 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35800         [BZ #13540]
35801         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35802         destination buffer.
35803         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35805 2011-12-23  Marek Polacek  <polacek@redhat.com>
35807         * elf/dl-addr.c (determine_info): Add inline keyword.
35808         * elf/tst-auditmod4b.c (check_avx): Likewise.
35809         * elf/tst-auditmod6b.c (check_avx): Likewise.
35810         * elf/tst-auditmod6c.c (check_avx): Likewise.
35811         * elf/tst-auditmod7b.c (check_avx): Likewise.
35813 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35815         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35816         !__SSE_MATH__.
35818 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35820         [BZ #13540]
35821         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35822         processing for last bytes.
35824 2011-08-06  Bruno Haible  <bruno@clisp.org>
35826         [BZ #13061]
35827         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35828         U+0385, not to U+1FEE.
35830         [BZ #13062]
35831         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35832         entry for U+00A5 U+0301.
35834 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35836         [BZ #13166]
35837         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35838         buffer for the output is too small.
35840         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35841         optimization.
35843         [BZ #13185]
35844         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35845         SSE flags if possible.
35847 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35849         [BZ #13540]
35850         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35851         processing for last bytes.
35853 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
35855         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35856         (syscall-list-default-options, syscall-list-default-condition)
35857         (syscall-list-includes): Define.
35858         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35859         list of ABIs and options and #if conditions for each ABI.  Do not
35860         handle common syscalls between ABIs specially.
35861         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35862         Remove.
35863         (syscall-list-variants, syscall-list-32bit-options)
35864         (syscall-list-32bit-condition, syscall-list-64bit-options)
35865         (syscall-list-64bit-condition): Define.
35866         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35867         (syscall-list-variants, syscall-list-32bit-options)
35868         (syscall-list-32bit-condition, syscall-list-64bit-options)
35869         (syscall-list-64bit-condition): Define.
35870         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35871         Remove.
35872         (syscall-list-variants, syscall-list-32bit-options)
35873         (syscall-list-32bit-condition, syscall-list-64bit-options)
35874         (syscall-list-64bit-condition): Define.
35875         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35876         Remove.
35877         (syscall-list-variants, syscall-list-32bit-options)
35878         (syscall-list-32bit-condition, syscall-list-64bit-options)
35879         (syscall-list-64bit-condition): Define.
35881 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35883         * locale/iso-639.def: Add brx entry.
35885         [BZ #13328]
35886         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35887         Proposed by Mariusz_Cukr <marcukr@op.pl>.
35889         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35890         __feraiseexcept_renamed.
35892 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35894         [BZ #13538]
35895         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35896         EPOLLET with unsigned values.
35897         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35898         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35900         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35901         to large cancellation.
35902         * math/s_cacoshf.c: Likewise.
35903         * math/s_cacoshl.c: Likewise.
35905 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
35907         [BZ #13305]
35908         [BZ #12786]
35909         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35910         * math/s_cacoshf.c: Likewise.
35911         * math/s_cacoshl.c: Likewise.
35913 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35915         [BZ #13439]
35916         * iconv/gconv.h: Define __GCONV_SWAP.
35917         * iconvdata/unicode.c: The swap bit must be stored in __flags.
35918         * iconvdata/utf-16.c: Likewise.
35919         * iconvdata/utf-32.c: Likewise.
35921 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35923         [BZ #13524]
35924         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35925         numerator after shifting it by one limb.
35927 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
35929         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35930         under [__USE_EXTERN_INLINES].
35932 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35934         [BZ #13446]
35935         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35937 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35939         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35940         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35941         optimized code.
35942         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35943         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35944         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35945         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35946         for strncasecmp/strncasecmp_l compilation.
35947         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35948         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35950 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
35952         [BZ #13484]
35953         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35954         of __asm__.
35956 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35958         [BZ #13506]
35959         * time/tzfile.c (__tzfile_read): Check values from file header.
35961 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35963         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35964         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35965         * powerpc/powerpc32/dl-start.S: Likewise.
35966         * powerpc/powerpc32/elf/start.S: Likewise.
35967         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35968         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35969         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35970         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35971         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35972         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35973         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35974         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35975         * powerpc/powerpc32/fpu/s_round.S: Likewise.
35976         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35977         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35978         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35979         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35980         * powerpc/powerpc32/memset.S: Likewise.
35981         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35982         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35983         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35984         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35985         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35986         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35987         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35988         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35989         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35990         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35991         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35992         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35993         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35995 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35997         * math/libm-test.inc: Added more nearbyint tests.
35998         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35999         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36000         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36001         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36003 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
36005         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36006         FD_CLOEXEC.
36008 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36010         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36011         Add wcscpy-ssse3 wcscpy-c.
36012         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36013         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36014         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36015         * sysdeps/x86_64/wcschr.S: New file.
36016         * sysdeps/x86_64/wcsrchr.S: New file.
36017         * string/test-strcmp.c: Remove checking of wcscmp function for
36018         wrong alignments.
36019         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36020         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36021         wcsrchr-sse2 wcsrchr-c.
36022         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36023         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36024         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36025         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36026         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36027         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36028         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36029         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36030         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36031         * wcsmbc/wcschr.c (WCSCHR): New macro.
36033 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36035         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36036         * wcsmbs/test-wcsrchr.c: New file.
36037         * string/test-strrchr.c: Add wcsrchr support.
36038         (WIDE): New macro.
36039         * wcsmbs/test-wcscpy.c: New file.
36040         * string/test-strcpy.c: Add wcscpy support.
36041         (WIDE): New macro.
36043 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
36045         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36046         the inner loop.
36048 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
36050         [BZ #13472]
36051         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36053 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
36055         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36056         Minor optimizations.
36058         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36059         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36060         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36062 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
36064         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36065         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36066         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36067         for gcc to avoid warnings.
36068         * inet/Makefile (tests): Add tst-checks.
36069         * inet/tst-checks.c: New file.
36071         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36072         warning.
36074         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36075         __wmemcmp_sse2.
36077         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36078         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36080         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36082 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
36084         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36085         problem.
36087         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36089 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
36091         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36092         conditional on GCC version.
36093         (__arch_compare_and_exchange_val_8_acq)
36094         (__arch_compare_and_exchange_val_16_acq)
36095         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36096         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36097         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36099 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
36101         * sysdeps/sh/backtrace.c: New file.
36103 2011-12-02  Andreas Schwab  <schwab@redhat.com>
36105         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
36106         parenthesis.
36108 2011-12-01  Andreas Schwab  <schwab@redhat.com>
36110         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36111         falling back to utime.
36113 2011-11-30  Andreas Schwab  <schwab@redhat.com>
36115         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36116         expectations for float.
36118 2011-11-29  Andreas Schwab  <schwab@redhat.com>
36120         * locale/weight.h (findidx): Add parameter len.
36121         * locale/weightwc.h (findidx): Likewise.
36122         * posix/fnmatch_loop.c (FCT): Adjust caller.
36123         * posix/regcomp.c (build_equiv_class): Likewise.
36124         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36125         * posix/regexec.c (check_node_accept_bytes): Likewise.
36126         * string/strcoll_l.c (STRCOLL): Likewise.
36127         * string/strxfrm_l.c (STRXFRM): Likewise.
36129 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
36131         * Makefile.in: Remove CVSOPT handling.
36132         * configure.in: Remove use of AC_REVISION.
36133         * iconvdata/Makefile (distribute): No need to filter out CVS.
36134         * scripts/list-sources.sh: Remove CVS, subversion and monotone
36135         handling.
36137 2011-11-16  Andreas Schwab  <schwab@redhat.com>
36139         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36140         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36141         [USE_AS_STRNCASECMP_L]: Likewise.
36142         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36143         NO_TLS_DIRECT_SEG_REFS.
36144         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36145         Fix argument offsets for non-PIC.
36146         [USE_AS_STRNCASECMP_L]: Likewise.
36147         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36148         NO_TLS_DIRECT_SEG_REFS.
36150 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36152         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36153         O_CLOEXEC.
36154         * locale/loadlocale.c (_nl_load_locale): Likewise.
36156 2011-11-15  Andreas Schwab  <schwab@redhat.com>
36158         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36159         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36160         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36161         (SYSCALL_GETTIME): Set errno on error.
36163         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36164         count references to noai6ai_cached.
36166 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36168         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36170         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36171         FD_CLOEXEC for /proc/self/maps.
36173         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36174         FD_CLOEXEC for /proc/meminfo.
36176         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36177         gai.conf.
36179         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
36180         FD_CLOEXEC for given file.
36182         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36184         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36185         FD_CLOEXEC for /etc/hosts.
36186         (_gethtent): Likewise.
36188         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36190         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36191         cancellation and set FD_CLOEXEC for /etc/netgroup.
36193         * nss/nss_files/files-key.c (search): Don't allow cancellation when
36194         reading /etc/publickey.
36196         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36197         allow cancellation when reading /etc/group.
36199         * nss/nss_files/files-alias.c (internal_setent): Don't allow
36200         cancellation.
36201         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
36203         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36204         when using data file.
36206         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36208         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36209         (write_nis_obj): Use "c" and "e" in fopen.
36211         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36213         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36215         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36217         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36219         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36220         locale.alias.
36222         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36224         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36226         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36228         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36229         file parsing and set FD_CLOEXEC.
36231 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36233         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36235 2011-11-14  Andreas Schwab  <schwab@redhat.com>
36237         * malloc/arena.c (arena_get2): Don't call reused_arena when
36238         _int_new_arena failed.
36240 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36242         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36243         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36244         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36245         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36246         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36248         to compile strcasecmp and strncasecmp.
36249         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36250         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36252         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36254 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
36256         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36257         locale-defines.sym to gen-as-const-headers.
36258         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36259         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36260         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36261         to compile strcasecmp and strncasecmp.
36262         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36263         strcasecmp_l and strncasecmp_l.
36264         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36265         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36266         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36267         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36268         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36269         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36270         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36271         * sysdeps/i386/i686/multiarch/strncase.S: New file.
36272         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36273         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36274         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36276 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
36278         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36279         result of SYSDEP_GETTIME_CPU to retval.
36280         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36281         parameter list to macro.  Remove trailing semicolon.  Adjust users.
36283         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36284         variable.
36286         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36287         mantissa words.
36288         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36290         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36291         from unused variable.
36293         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36294         DWARF definitions.
36295         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36296         for assembling.
36298         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36299         over namespaces.
36301         * sunrpc/rpc_prot.c (rejected): Fix case value.
36303         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36304         unsigned long long int to avoid warnings in shift.
36306         * posix/regex_internal.c (re_string_reconstruct): Actually use result
36307         of use of trans.
36308         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36309         variable tmp.
36311         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36312         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36313         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36315         * nis/nis_table.c (nis_list): Use variable of correct type for
36316         result of __follow_path call.
36318 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36320         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36321         of math functions ceil, trunc, floor, round, and sqrt, when
36322         avaliable on the platform.
36323         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36324         name clash.
36325         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36326         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36327         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36329 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
36331         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36332         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36334 2011-11-11  Roland McGrath  <roland@hack.frob.com>
36336         * include/unistd.h: Fix __readlink return type.
36337         Reported by Chris Metcalf <cmetcalf@tilera.com>.
36339 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
36341         * stdlib/ucontext.h: Undo last change for makecontext.
36343 2011-11-11  Andreas Schwab  <schwab@redhat.com>
36345         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36347         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36348         * setjmp/setjmp.h: Mark functions as non-leaf.
36349         * setjmp/bits/setjmp2.h: Likewise.
36350         * stdlib/ucontext.h: Likewise.
36352 2011-11-10  Andreas Schwab  <schwab@redhat.com>
36354         * malloc/arena.c (_int_new_arena): Don't increment narenas.
36355         (reused_arena): Don't check arena limit.
36356         (arena_get2): Atomically check arena limit.
36358 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
36360         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36361         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36363         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36364         instructions.
36366 2011-11-07  Andreas Schwab  <schwab@redhat.com>
36368         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36369         handler when locking.
36371         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36372         Fix size of allocated buffer.
36374 2011-11-04  Andreas Schwab  <schwab@redhat.com>
36376         [BZ #10103]
36377         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36378         declarations for long double functions.
36379         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36381         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36383 2011-11-03  Andreas Schwab  <schwab@redhat.com>
36385         * nscd/nscd.c (main): Don't start AVC thread until credentials are
36386         installed.
36388         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36389         is disabled.
36391 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36393         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36395 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36397         * include/alloca.h (stackinfo_alloca_round): Define.
36398         (extend_alloca): Use it.
36399         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36400         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36401         here.
36403         * scripts/check-local-headers.sh: Ignore libaudit.h.
36405         * nscd/Makefile (extra-objs): Make recursively expanded.
36407 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
36409         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36410         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36412         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36413         * posix/tst-rfc3484-2.c: Likewise.
36414         * posix/tst-rfc3484-3.c: Likewise.
36416         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36417         process_vm_writev.
36418         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36419         process_vm_writev.
36420         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36421         process_vm_writev from libc using GLIBC_2.15 version.
36423         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36425 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
36427         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36428         stack usage.
36430 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
36432         [BZ #13367]
36433         * nss/getent.c (initgroups_keys): Show error message in case no group
36434         names are given.
36436         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36437         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36438         __bump_nl_timestamp.
36439         * nscd/connections (nscd_init): When host database is served open
36440         netlink socket and request notification about configuration changes.
36441         (main_loop_poll): Track netlink file descriptor and bump timestamp
36442         in case data becomes available.
36443         (main_loop_epoll): Likewise.
36444         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36445         (database_pers_head): Add extra_data fileds.
36446         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36447         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36448         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36449         Adjust caller.
36450         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36451         in6ai data, call __free_in6ai.
36452         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36453         Add -DHAVE_NETLINK.
36454         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
36455         interface information.  Reuse previous data if netlink timestamp
36456         is not changed.
36457         (__bump_nl_timestamp): New function.
36458         (__free_in6ai): New function.
36460 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
36462         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36463         close_not_cancel_no_status here.
36464         (__check_pf): Reorganize code a bit to not call close twice if OOM.
36466 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36468         [BZ #13276]
36469         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36470         return value.
36472         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36473         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36474         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36476 2011-07-03  Andreas Jaeger  <aj@suse.de>
36478         [BZ #10709]
36479         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36480         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36481         * math/libm-test.inc (sin_test): Add test case.
36483 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36485         [BZ #13337]
36486         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36487         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36489         * elf/chroot_canon.c (chroot_canon): Cleanups.
36491         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36493         [BZ #13335]
36494         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36495         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36497         * string/test-strchr.c: Make usable for strchrnul testing.
36498         * string/test-strchrnul.c: New file.
36499         * string/Makefile (strop-tests): Add strchrnul.
36501         * po/it.po: Update from translation team.
36502         * po/es.po: Likewise.
36504 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
36506         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36507         the three constants needed as parameters.  Drop the others.
36508         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36509         __m128i_strloadu_tolower.
36510         Create and initialize variable zero and use it in all the places
36511         where _mm_setzero_si128 was used.
36513         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36514         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36515         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36516         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36517         anymore.
36518         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36519         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36520         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36521         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36522         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36523         __mpranred, __mptan.
36524         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36525         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36526         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36527         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36528         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36529         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36530         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36531         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36532         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36534 2011-10-28  Andreas Schwab  <schwab@redhat.com>
36536         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36537         redefine if SHARED.
36538         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36540         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36541         wide char related routines to wcsmbs subdir.
36543 2011-10-27  Andreas Schwab  <schwab@redhat.com>
36545         [BZ #13344]
36546         * misc/sys/cdefs.h (__THROWNL): Define.
36547         * posix/unistd.h: Use __THREADNL instead of __THREAD
36548         for memory synchronization functions.
36550 2011-10-26  Roland McGrath  <roland@hack.frob.com>
36552         [BZ #13349]
36553         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36554         doesn't exist.
36555         * manual/stdio.texi (Obstack Streams): Node removed.
36557 2011-10-26  Andreas Schwab  <schwab@redhat.com>
36559         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36560         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36561         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36563         * math/math_private.h (math_force_eval): Allow non-addressable
36564         arguments.
36565         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36567 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36569         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36570         file is not needed.
36572         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36573         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36574         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36575         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36576         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36577         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36578         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36579         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36580         Add AVX variants.
36581         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36582         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36583         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36584         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36585         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36586         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36587         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36588         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36589         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36590         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36591         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36592         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36593         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36594         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36595         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36596         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36597         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36598         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36599         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36601         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36602         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
36604         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36605         place.  Use VEX encoding when compiling for AVX.
36607 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36609         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36610         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36612         * string/test-strchr.c (do_test): Don't generate NUL bytes.
36614 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36616         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36617         useless if() expression.
36618         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36619         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36620         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36621         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36622         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36623         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36624         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36625         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36626         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36627         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36628         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36629         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36630         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36631         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36632         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36633         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36634         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36635         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36636         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36638         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36640 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36642         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36643         condition.
36644         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36646 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36648         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36649         .text section.  Avoid duplicate constants.
36650         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36651         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36652         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36653         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36654         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36655         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36656         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36657         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36658         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36659         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36660         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36661         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36662         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36663         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36664         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36665         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36666         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36667         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36668         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36669         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36670         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36671         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36672         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36673         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36674         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36675         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36676         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36677         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36678         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36679         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36680         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36681         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36682         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36683         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36684         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36685         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36686         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36687         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36688         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36689         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36690         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36691         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36692         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36693         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36694         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36696 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
36698         * sysdeps/x86_64/dla.h: Move to ...
36699         * sysdeps/x86_64/fpu/dla.h: ...here.
36700         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36701         situations.  Use __builtin_fma only for gcc 4.6 and up.
36703         * config.make.in: Add have-mfma4 entry.
36704         * configure.in: Substitute libc_cv_cc_fma4.
36705         * math/Makefile (dbl-only-routines): Add sincostab.
36706         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36707         Use __sincostab not sincos.
36708         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36709         name is a macro.
36710         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36711         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36712         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
36714         using __copysign.
36715         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
36716         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
36717         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36718         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36719         and __inv.
36720         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36721         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36722         __copysign.
36723         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
36724         define aliases when function name is a macro.
36725         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36726         sysdeps/ieee754/dbl-64/sincos.tbl.
36727         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36728         fma4-enabled routines.
36729         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36730         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36731         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36732         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36733         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36734         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36735         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36736         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36737         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36738         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36739         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36740         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36741         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36742         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36743         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36744         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36745         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36746         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36747         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36748         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36749         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36750         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36751         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36752         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36753         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36754         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36755         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36756         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36757         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36758         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36760         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36761         rename.
36762         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36763         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36764         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36765         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36766         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36767         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36768         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36769         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36771 2011-10-24  Andreas Schwab  <schwab@redhat.com>
36773         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36775 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36777         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36779         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36780         prediction.
36781         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36783         * string/strnlen.c: Don't define STRNLEN, reverse logic.
36784         Remove unused variable magic_bits.
36785         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36787         * string/strnlen.c: Define and use STRNLEN macro.
36788         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36789         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36790         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36791         * wcsmbs/wcslen.c: Define and use WCSLEN.
36792         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36793         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36794         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36795         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36796         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36797         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36798         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36800 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36803         strnlen-sse2-no-bsf.
36804         Rename strlen-no-bsf to strlen-sse2-no-bsf.
36805         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36806         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36807         Add strnlen support.
36808         (USE_AS_STRNLEN): New macro.
36809         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36810         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36811         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36812         * sysdeps/x86_64/wcslen.S: New file.
36814 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
36816         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36817         XMM-moves are used for copying on small sizes.
36819 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36821         * wcsmbs/Makefile (strop-tests): Add wcschr.
36822         * wcsmbs/test-wcschr.c: New file.
36823         * string/test-strchr.c: Update.
36824         Add wcschr support.
36825         (WIDE): New macro.
36827 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36829         * wcsmbs/Makefile (strop-tests): Add wcslen.
36830         * wcsmbs/test-wcslen.c: New file.
36831         * string/test-strlen.c: Update.
36832         Add wcslen support.
36833         (WIDE): New macro.
36835 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36837         * po/it.po: Update from translation team.
36839 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36841         * sysdeps/x86_64/wcscmp.S: Update.
36842         Fix wrong comparison semantics.
36843         wcscmp shall use signed comparison not unsigned.
36844         Don't use substraction to avoid overflow bug.
36845         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36846         * wcsmbc/wcscmp.c: Likewise.
36847         * string/test-strcmp.c: Likewise.
36848         Add new tests to check cases with negative values.
36850 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36852         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36853         * sysdeps/x86_64/dla.h: ...here.  New file.
36854         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36855         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36856         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36857         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36858         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36859         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36860         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36861         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36862         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36864 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
36866         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36867         __ynl_finite aliases.
36869 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36873         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36874         define DLA_FMA.
36875         [DLA_FMA] (EMULV): Use DLA_FMA.
36876         [DLA_FMA] (MUL12): Use EMULV.
36877         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36878         that are not needed.
36879         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36880         * sysdeps/ieee754/dbl-64/e_atan2.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/halfulp.c: Likewise.
36884         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36885         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36887 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
36889         * math/s_nan.c: Undef __nan.
36890         * math/s_nanf.c: Undef __nanf.
36891         * math/s_nanl.c: Undef __nanl.
36892         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36893         "math_private.h".
36895 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36897         * math/s_catan.c: Add branch predictions.
36898         * math/s_catanf.c: Likewise.
36899         * math/s_catanh.c: Likewise.
36900         * math/s_catanhf.c: Likewise.
36901         * math/s_catanhl.c: Likewise.
36902         * math/s_catanl.c: Likewise.
36903         * math/s_cexp.c: Likewise.
36904         * math/s_cexpf.c: Likewise.
36905         * math/s_cexpl.c: Likewise.
36906         * math/s_clog.c: Likewise.
36907         * math/s_clog10.c: Likewise.
36908         * math/s_clog10f.c: Likewise.
36909         * math/s_clog10l.c: Likewise.
36910         * math/s_clogf.c: Likewise.
36911         * math/s_clogl.c: Likewise.
36912         * math/s_csqrt.c: Likewise.
36913         * math/s_csqrtf.c: Likewise.
36914         * math/s_csqrtl.c: Likewise.
36915         * math/s_ctanf.c: Likewise.
36916         * math/s_ctanh.c: Likewise.
36917         * math/s_ctanhf.c: Likewise.
36918         * math/s_ctanhl.c: Likewise.
36919         * math/s_ctanl.c: Likewise.
36921         * math/math_private.h: Define __nan, __nanf, __nanl.
36922         * math/s_cacosh.c: Include <math_private.h>.
36923         * math/s_cacoshl.c: Likewise.
36924         * math/s_casinh.c: Likewise.
36925         * math/s_casinhf.c: Likewise.
36926         * math/s_casinhl.c: Likewise.
36927         * math/s_ccos.c: Rely entire on ccosh.
36928         * math/s_ccosf.c: Rely entire on ccoshf.
36929         * math/s_ccosl.c: Rely entirely on ccoshl.
36930         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
36931         Remove tests for FE_INVALID.
36932         * math/s_ccoshf.c: Likewise.
36933         * math/s_ccoshl.c: Likewise.
36934         * math/s_csin.c: Likewise.
36935         * math/s_csinf.c: Likewise.
36936         * math/s_csinh.c Likewise.
36937         * math/s_csinhf.c: Likewise.
36938         * math/s_csinhl.c: Likewise.
36939         * math/s_csinl.c: Likewise.
36940         * math/s_ctan.c: Likewise.
36941         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36942         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36943         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36945 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
36947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36948         compilation problems.
36950         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36951         __builtin_expect.
36953 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
36955         * sysdeps/i386/configure.in: Test for -mfma4 option.
36956         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36957         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36958         COMMON_CPUID_INDEX_80000001.
36959         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36960         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36961         use it if FMA3 is not supported.
36962         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36964         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36965         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36967 2011-10-20  Andreas Schwab  <schwab@redhat.com>
36969         [BZ #12892]
36970         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36971         it would create a cycle with a link time dependency.
36973 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
36975         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36976         instruction.
36977         * string/Makefile (strop-tests): Add rawmemchr.
36978         * string/test-rawmemchr.c: New file.
36980         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36981         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
36982         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
36983         when compiling str{,n}casecmp and when AVX is available.  Hook up
36984         new optimized code in initializers.
36986 2011-10-19  Andreas Schwab  <schwab@redhat.com>
36988         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36989         __feraiseexcept instead of feraiseexcept.
36991 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
36993         * math/math_private.h: Define defaults for libc_fetestexcept and
36994         libc_feupdateenv.
36995         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36996         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36997         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36998         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36999         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37000         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37001         libc_fetestexcept and libc_feupdateenv.
37003         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37004         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37005         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37006         * sysdeps/x86_64/fpu/math_private.h: Define special version of
37007         libc_feholdexcept_setround.
37009         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37010         Add s_nearbyint-c and s_nearbyintf-c.
37011         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37012         nearbyintf inlines.
37013         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37014         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37015         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37016         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37018         * math/math_private.h: Define defaults for libc_fegetround,
37019         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37020         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37021         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37022         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37023         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37024         standard functions.
37025         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37026         Remove comments and hacks for old compiler versions.
37027         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37028         libc_fegetround, libc_fesetround, libc_feholdexcept, and
37029         libc_feholdexceptl.
37031 2011-10-18  Andreas Schwab  <schwab@redhat.com>
37033         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37034         (__feraiseexcept_renamed): Add __NTH.
37035         (feraiseexcept): Add __NTH.  Rename local variables to fix
37036         namespace violations.
37038 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
37040         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37042         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37044         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37045         recently added interfaces.
37046         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37048         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37049         about macro parameter expansion.
37051         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37052         __NO_MATH_INLINES is defined.  Cleanups.
37054         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37055         and __floorf is target has SSE4.1.
37056         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37057         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37058         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37059         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37061         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37062         name.
37063         (floorf): Likewise.
37065         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37067 2011-10-17  Andreas Schwab  <schwab@redhat.com>
37069         * misc/sys/cdefs.h: Fix last change.
37071         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37072         database lookup.
37074 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
37076         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37078         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37079         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37080         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37081         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37082         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37083         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37084         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37085         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37086         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37087         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37088         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37089         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37090         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37091         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37092         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37093         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37094         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37095         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37096         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37097         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37098         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37099         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37101         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37102         ceil, ceilf, floor, floorf.
37104         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37105         Perform IRELATIVE relocations last.
37107         * elf/do-rel.h: Add another parameter nrelative, replacing the
37108         local variable with the same name.  Change name of the function
37109         to end in Rel or Rela (uppercase).
37110         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37111         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
37112         elf_dynamic_do_##reloc function.
37114 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37116         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37117         is sufficient, at least on modern CPUs.
37119         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37121         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37122         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37124         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37125         __expl_finite.
37126         * math/bits/math-finite.h: Add entries for exp.
37127         * math/e_expl.c: Add __*_finite alias.
37128         * sysdeps/i386/fpu/e_exp.S: Likewise.
37129         * sysdeps/i386/fpu/e_expf.S: Likewise.
37130         * sysdeps/i386/fpu/e_expl.c: Likewise.
37131         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37132         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37133         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37134         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37135         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37136         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37137         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37139         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37140         is sufficient, at least on modern CPUs.
37142         * ctype/ctype-info.c (__ctype_init): Define.
37143         * include/ctype.h (__ctype_init): Declare.
37144         (__ctype_b_loc): The variable is always initialized.
37145         (__ctype_toupper_loc): Likewise.
37146         (__ctype_tolower_loc): Likewise.
37147         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37148         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37150 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
37152         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37154         * configure.in: Also look in $cxxmachine/include for C++ system
37155         headers.
37157 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37159         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37160         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37161         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37162         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
37163         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37164         (USE_AS_WMEMCMP): New macro.
37165         Fixing indents.
37166         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37167         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37168         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37169         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37170         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37171         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37172         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37173         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37174         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37175         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37176         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37177         (USE_AS_WMEMCMP): New macro.
37178         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37179         * sysdeps/string/test-memcmp.c: Update.
37180         Fix simple_wmemcmp.
37181         Add new tests.
37182         * wcsmbs/wmemcmp.c: Update.
37183         (WMEMCMP): New macro.
37184         Fix overflow bug.
37186 2011-10-12  Andreas Jaeger  <aj@suse.de>
37188         [BZ #13268]
37189         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37191 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37193         * libio/iofwide.c (do_length): Avoid warning.
37195         * ctype/ctype.h (__isctype_f): Add missing __THROW.
37197 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
37199         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37201         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37202         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37203         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37204         * sysdeps/i386/i686/fpu/e_log.S: New file.
37205         * sysdeps/i386/i686/fpu/e_logf.S: New file.
37206         * sysdeps/i386/i686/fpu/e_logl.S: New file.
37208         * ctype/ctype.h: Add support for inlined isXXX functions when
37209         compiling C++ code.
37211 2011-10-14  Andreas Schwab  <schwab@redhat.com>
37213         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37215         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37217 2011-10-13  Roland McGrath  <roland@hack.frob.com>
37219         [BZ #13291]
37220         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37222 2011-10-13  Andreas Schwab  <schwab@redhat.com>
37224         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37225         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37226         feraiseexcept.
37228         * sysdeps/x86_64/memrchr.S: Check for zero size.
37230         * string/stratcliff.c: Add memrchr tests.
37232 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37234         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37235         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37236         rawmemchr-sse2 rawmemchr-sse2-bsf.
37237         * sysdeps/i386/i686/multiarch/memchr.S: New file.
37238         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37239         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37240         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37241         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37242         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37243         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37244         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37245         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37246         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37247         * string/memrchr.c (MEMRCHR): New macro.
37249 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
37251         Add integration with gcc's -ffinite-math-only and optimize wrapper
37252         functions in libm.
37253         * Versions.def: Define GLIBC_2.15 version for libm.
37254         * math/Makefile (headers): Add bits/math-finite.h.
37255         * math/bits/math-finite.h: New file.
37256         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37257         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37258         * math/e_acoshl.c: Add __*_finite alias.
37259         * math/e_acosl.c: Likewise.
37260         * math/e_asinl.c: Likewise.
37261         * math/e_atan2l.c: Likewise.
37262         * math/e_atanhl.c: Likewise.
37263         * math/e_coshl.c: Likewise.
37264         * math/e_exp10.c: Likewise.
37265         * math/e_exp10f.c: Likewise.
37266         * math/e_exp10l.c: Likewise.
37267         * math/e_exp2l.c: Likewise.
37268         * math/e_fmodl.c: Likewise.
37269         * math/e_gammal_r.c: Likewise.
37270         * math/e_hypotl.c: Likewise.
37271         * math/e_j0l.c: Likewise.
37272         * math/e_j1l.c: Likewise.
37273         * math/e_jnl.c: Likewise.
37274         * math/e_lgammal_r.c: Likewise.
37275         * math/e_log10l.c: Likewise.
37276         * math/e_log2l.c: Likewise.
37277         * math/e_logl.c: Likewise.
37278         * math/e_powl.c: Likewise.
37279         * math/e_sinhl.c: Likewise.
37280         * math/e_sqrtl.c: Likewise.
37281         * math/e_scalb.c: Completely rewritten and optimized.
37282         * math/e_scalbf.c: Likewise.
37283         * math/e_scalbl.c: Likewise.
37284         * math/w_acos.c: Likewise.
37285         * math/w_acosf.c: Likewise.
37286         * math/w_acosl.c: Likewise.
37287         * math/w_acosh.c: Likewise.
37288         * math/w_acoshf.c: Likewise.
37289         * math/w_acoshl.c: Likewise.
37290         * math/w_asin.c: Likewise.
37291         * math/w_asinf.c: Likewise.
37292         * math/w_asinl.c: Likewise.
37293         * math/w_atan2.c: Likewise.
37294         * math/w_atan2f.c: Likewise.
37295         * math/w_atan2l.c: Likewise.
37296         * math/w_atanh.c: Likewise.
37297         * math/w_atanhf.c: Likewise.
37298         * math/w_atanhl.c: Likewise.
37299         * math/w_exp10.c: Likewise.
37300         * math/w_exp10f.c: Likewise.
37301         * math/w_exp10l.c: Likewise.
37302         * math/w_fmod.c: Likewise.
37303         * math/w_fmodf.c: Likewise.
37304         * math/w_fmodl.c: Likewise.
37305         * math/w_j0.c: Likewise.
37306         * math/w_j0f.c: Likewise.
37307         * math/w_j0l.c: Likewise.
37308         * math/w_j1.c: Likewise.
37309         * math/w_j1f.c: Likewise.
37310         * math/w_j1l.c: Likewise.
37311         * math/w_jn.c: Likewise.
37312         * math/w_jnf.c: Likewise.
37313         * math/w_log.c: Likewise.
37314         * math/w_logf.c: Likewise.
37315         * math/w_logl.c: Likewise.
37316         * math/w_log10.c: Likewise.
37317         * math/w_log10f.c: Likewise.
37318         * math/w_log10l.c: Likewise.
37319         * math/w_log2.c: Likewise.
37320         * math/w_log2f.c: Likewise.
37321         * math/w_log2l.c: Likewise.
37322         * math/w_pow.c: Likewise.
37323         * math/w_powf.c: Likewise.
37324         * math/w_powl.c: Likewise.
37325         * math/w_remainder.c: Likewise.
37326         * math/w_remainderf.c: Likewise.
37327         * math/w_remainderl.c: Likewise.
37328         * math/w_scalb.c: Likewise.
37329         * math/w_scalbf.c: Likewise.
37330         * math/w_scalbl.c: Likewise.
37331         * math/w_sqrt.c: Likewise.
37332         * math/w_sqrtf.c: Likewise.
37333         * math/w_sqrtl.c: Likewise.
37334         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37335         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
37336         used.
37337         * math/math_private.h: Declare __kernel_standard_f.
37338         * math/w_cosh.c: Remove cruft and optimize a bit.
37339         * math/w_coshf.c: Likewise.
37340         * math/w_coshl.c: Likewise.
37341         * math/w_exp2.c: Likewise.
37342         * math/w_exp2f.c: Likewise.
37343         * math/w_exp2l.c: Likewise.
37344         * math/w_hypot.c: Likewise.
37345         * math/w_hypotf.c: Likewise.
37346         * math/w_hypotl.c: Likewise.
37347         * math/w_lgamma.c: Likewise.
37348         * math/w_lgamma_r.c: Likewise.
37349         * math/w_lgammaf.c: Likewise.
37350         * math/w_lgammaf_r.c: Likewise.
37351         * math/w_lgammal.c: Likewise.
37352         * math/w_lgammal_r.c: Likewise.
37353         * math/w_sinh.c: Likewise.
37354         * math/w_sinhf.c: Likewise.
37355         * math/w_sinhl.c: Likewise.
37356         * math/w_tgamma.c: Likewise.
37357         * math/w_tgammaf.c: Likewise.
37358         * math/w_tgammal.c: Likewise.
37359         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37360         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37361         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37362         Minor optimizations.  Pretty printing.  Remove cruft.
37363         * sysdeps/i386/fpu/e_acosf.S: Likewise.
37364         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37365         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37366         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37367         * sysdeps/i386/fpu/e_acosl.c: Likewise.
37368         * sysdeps/i386/fpu/e_asin.S: Likewise.
37369         * sysdeps/i386/fpu/e_asinf.S: Likewise.
37370         * sysdeps/i386/fpu/e_atan2.S: Likewise.
37371         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37372         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37373         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37374         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37375         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37376         * sysdeps/i386/fpu/e_exp10.S: Likewise.
37377         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37378         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37379         * sysdeps/i386/fpu/e_exp2.S: Likewise.
37380         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37381         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37382         * sysdeps/i386/fpu/e_fmod.S: Likewise.
37383         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37384         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37385         * sysdeps/i386/fpu/e_hypot.S: Likewise.
37386         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37387         * sysdeps/i386/fpu/e_log.S: Likewise.
37388         * sysdeps/i386/fpu/e_log10.S: Likewise.
37389         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37390         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37391         * sysdeps/i386/fpu/e_log2.S: Likewise.
37392         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37393         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37394         * sysdeps/i386/fpu/e_logf.S: Likewise.
37395         * sysdeps/i386/fpu/e_logl.S: Likewise.
37396         * sysdeps/i386/fpu/e_pow.S: Likewise.
37397         * sysdeps/i386/fpu/e_powf.S: Likewise.
37398         * sysdeps/i386/fpu/e_powl.S: Likewise.
37399         * sysdeps/i386/fpu/e_remainder.S: Likewise.
37400         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37401         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37402         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37403         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37404         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37405         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37406         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37407         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37408         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37409         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37410         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37411         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37412         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37413         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37414         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37415         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37416         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37417         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37418         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37419         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37420         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37421         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37422         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37424         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37425         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37426         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37427         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37428         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37429         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37430         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37431         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37432         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37433         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37434         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37435         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37436         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37437         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37438         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37439         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37440         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37441         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37442         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37443         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37444         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37445         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37446         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37447         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37448         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37449         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37450         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37451         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37452         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37453         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37454         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37455         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37456         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37457         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37458         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37459         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37460         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37461         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37462         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37463         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37464         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37465         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37466         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37467         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37468         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37469         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37470         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37471         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37472         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37473         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37474         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37475         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37476         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37477         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37478         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37479         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37480         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37481         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37482         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37483         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37484         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37485         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37486         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37487         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37488         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37489         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37490         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37491         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37492         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37493         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37494         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37495         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37496         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37497         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37498         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37499         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37500         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37501         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37502         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37503         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37504         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37505         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37506         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37507         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37508         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37509         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37510         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37511         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37512         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37513         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37514         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37515         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37516         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37517         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37518         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
37519         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37520         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37521         (__isnanf): Likewise.
37522         (__isinf_ns): Likewise.
37523         (__isinf_nsf): Likewise.
37524         (__finite): Likewise.
37525         (__finitef): Likewise.
37526         (__ieee754_sqrt): Define as macro.
37527         (__ieee754_sqrtf): Define as macro.
37528         (__ieee754_sqrtl): Define as macro.
37529         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37530         inlined copy.
37531         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37532         __FINITE_MATH_ONLY__ consistent.
37533         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37535 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
37537         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37538         of rawmemchr.
37540         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37542 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
37544         * po/ja.po: Update from translation team.
37546 2011-10-08  Roland McGrath  <roland@hack.frob.com>
37548         * locale/programs/locarchive.c (prepare_address_space): New function.
37549         (create_archive, enlarge_archive, open_archive): Use it.
37551         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37552         inside [SHARED], where it is used.
37554         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37556         * nss/getent.c (netgroup_keys): Remove unused variable.
37557         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37559 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
37561         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37562         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37563         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37564         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37565         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37566         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37567         * math/Makefile (libm-calls): Add s_isinf_ns.
37568         * math/divtc3.c: Use __isinf_nsl instead of isinf.
37569         * math/multc3.c: Likewise.
37570         * math/s_casin.c: Likewise.
37571         * math/s_casinf.c: Likewise.
37572         * math/s_casinl.c: Likewise.
37573         * math/s_ccos.c: Likewise.
37574         * math/s_ccosf.c: Likewise.
37575         * math/s_ccosl.c: Likewise.
37576         * math/s_ctan.c: Likewise.
37577         * math/s_ctanf.c: Likewise.
37578         * math/s_ctanh.c: Likewise.
37579         * math/s_ctanhf.c: Likewise.
37580         * math/s_ctanhl.c: Likewise.
37581         * math/s_ctanl.c: Likewise.
37582         * math/w_fmod.c: Likewise.
37583         * math/w_fmodf.c: Likewise.
37584         * math/w_fmodl.c: Likewise.
37585         * math/w_remainder.c: Likewise.
37586         * math/w_remainderf.c: Likewise.
37587         * math/w_remainderl.c: Likewise.
37588         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37589         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37590         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37591         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37592         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37593         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37594         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37595         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37597         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37598         of the number.
37599         * stdio-common/printf_fphex.c: Likewise.
37600         * stdio-common/printf_size.c: Likewise.
37602         * math/e_exp10.c: Include math_private.h using <...> not "...".
37603         * math/e_exp10f.c: Likewise.
37604         * math/e_exp10l.c: Likewise.
37605         * math/e_exp2l.c: Likewise.
37606         * math/e_j0l.c: Likewise.
37607         * math/e_j1l.c: Likewise.
37608         * math/e_jnl.c: Likewise.
37609         * math/e_lgammal_r.c: Likewise.
37610         * math/e_rem_pio2l.c: Likewise.
37611         * math/e_scalb.c: Likewise.
37612         * math/e_scalbf.c: Likewise.
37613         * math/e_scalbl.c: Likewise.
37614         * math/k_cosl.c: Likewise.
37615         * math/k_sinl.c: Likewise.
37616         * math/k_tanl.c: Likewise.
37617         * math/s_cacoshf.c: Likewise.
37618         * math/s_catan.c: Likewise.
37619         * math/s_catanf.c: Likewise.
37620         * math/s_catanh.c: Likewise.
37621         * math/s_catanhf.c: Likewise.
37622         * math/s_catanhl.c: Likewise.
37623         * math/s_catanl.c: Likewise.
37624         * math/s_ccosh.c: Likewise.
37625         * math/s_ccoshf.c: Likewise.
37626         * math/s_ccoshl.c: Likewise.
37627         * math/s_cexp.c: Likewise.
37628         * math/s_cexpf.c: Likewise.
37629         * math/s_cexpl.c: Likewise.
37630         * math/s_clog.c: Likewise.
37631         * math/s_clog10.c: Likewise.
37632         * math/s_clog10f.c: Likewise.
37633         * math/s_clog10l.c: Likewise.
37634         * math/s_clogf.c: Likewise.
37635         * math/s_clogl.c: Likewise.
37636         * math/s_csin.c: Likewise.
37637         * math/s_csinf.c: Likewise.
37638         * math/s_csinh.c: Likewise.
37639         * math/s_csinhf.c: Likewise.
37640         * math/s_csinhl.c: Likewise.
37641         * math/s_csinl.c: Likewise.
37642         * math/s_csqrt.c: Likewise.
37643         * math/s_csqrtf.c: Likewise.
37644         * math/s_csqrtl.c: Likewise.
37645         * math/s_ctan.c: Likewise.
37646         * math/s_ctanf.c: Likewise.
37647         * math/s_ctanh.c: Likewise.
37648         * math/s_ctanhf.c: Likewise.
37649         * math/s_ctanhl.c: Likewise.
37650         * math/s_ctanl.c: Likewise.
37651         * math/s_ldexp.c: Likewise.
37652         * math/s_ldexpf.c: Likewise.
37653         * math/s_ldexpl.c: Likewise.
37654         * math/s_significand.c: Likewise.
37655         * math/s_significandf.c: Likewise.
37656         * math/s_significandl.c: Likewise.
37657         * math/w_acos.c: Likewise.
37658         * math/w_acosf.c: Likewise.
37659         * math/w_acosh.c: Likewise.
37660         * math/w_acoshf.c: Likewise.
37661         * math/w_acoshl.c: Likewise.
37662         * math/w_acosl.c: Likewise.
37663         * math/w_asin.c: Likewise.
37664         * math/w_asinf.c: Likewise.
37665         * math/w_asinl.c: Likewise.
37666         * math/w_atan2.c: Likewise.
37667         * math/w_atan2f.c: Likewise.
37668         * math/w_atan2l.c: Likewise.
37669         * math/w_atanh.c: Likewise.
37670         * math/w_atanhf.c: Likewise.
37671         * math/w_atanhl.c: Likewise.
37672         * math/w_cosh.c: Likewise.
37673         * math/w_coshf.c: Likewise.
37674         * math/w_coshl.c: Likewise.
37675         * math/w_dremf.c: Likewise.
37676         * math/w_exp10.c: Likewise.
37677         * math/w_exp10f.c: Likewise.
37678         * math/w_exp10l.c: Likewise.
37679         * math/w_exp2.c: Likewise.
37680         * math/w_exp2f.c: Likewise.
37681         * math/w_fmod.c: Likewise.
37682         * math/w_fmodf.c: Likewise.
37683         * math/w_fmodl.c: Likewise.
37684         * math/w_hypot.c: Likewise.
37685         * math/w_hypotf.c: Likewise.
37686         * math/w_hypotl.c: Likewise.
37687         * math/w_j0.c: Likewise.
37688         * math/w_j0f.c: Likewise.
37689         * math/w_j0l.c: Likewise.
37690         * math/w_j1.c: Likewise.
37691         * math/w_j1f.c: Likewise.
37692         * math/w_j1l.c: Likewise.
37693         * math/w_jn.c: Likewise.
37694         * math/w_jnf.c: Likewise.
37695         * math/w_jnl.c: Likewise.
37696         * math/w_lgamma.c: Likewise.
37697         * math/w_lgamma_r.c: Likewise.
37698         * math/w_lgammaf.c: Likewise.
37699         * math/w_lgammaf_r.c: Likewise.
37700         * math/w_lgammal.c: Likewise.
37701         * math/w_lgammal_r.c: Likewise.
37702         * math/w_log.c: Likewise.
37703         * math/w_log10.c: Likewise.
37704         * math/w_log10f.c: Likewise.
37705         * math/w_log10l.c: Likewise.
37706         * math/w_log2.c: Likewise.
37707         * math/w_log2f.c: Likewise.
37708         * math/w_log2l.c: Likewise.
37709         * math/w_logf.c: Likewise.
37710         * math/w_logl.c: Likewise.
37711         * math/w_pow.c: Likewise.
37712         * math/w_powf.c: Likewise.
37713         * math/w_powl.c: Likewise.
37714         * math/w_remainder.c: Likewise.
37715         * math/w_remainderf.c: Likewise.
37716         * math/w_remainderl.c: Likewise.
37717         * math/w_scalb.c: Likewise.
37718         * math/w_scalbf.c: Likewise.
37719         * math/w_scalbl.c: Likewise.
37720         * math/w_sinh.c: Likewise.
37721         * math/w_sinhf.c: Likewise.
37722         * math/w_sinhl.c: Likewise.
37723         * math/w_sqrt.c: Likewise.
37724         * math/w_sqrtf.c: Likewise.
37725         * math/w_sqrtl.c: Likewise.
37726         * math/w_tgamma.c: Likewise.
37727         * math/w_tgammaf.c: Likewise.
37728         * math/w_tgammal.c: Likewise.
37730         * po/ja.po: Update from translation team.
37732 2011-09-29  Andreas Jaeger  <aj@suse.de>
37734         [BZ #13179]
37735         * sunrpc/netname.c (netname2host): Fix logic.
37737         [BZ #6779]
37738         [BZ #6783]
37739         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37740         correctly.
37741         * math/w_remainder.c (__remainder): Likewise.
37742         * math/w_remainderf.c (__remainderf): Likewise.
37743         * math/libm-test.inc (remainder_test): Add test cases.
37745 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37747         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
37748         sdiv_qrnnd.
37750 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37752         * string/test-memcmp.c: Avoid unncessary #defines.
37753         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37755 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37757         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37758         Use new sse2 version for core i3 - i7 as it's faster
37759         than sse42 version.
37760         (bit_Prefer_PMINUB_for_stringop): New.
37761         * sysdeps/x86_64/rawmemchr.S: Update.
37762         Replace with faster SSE2 version.
37763         * sysdeps/x86_64/memrchr.S: New file.
37764         * sysdeps/x86_64/memchr.S: Update.
37765         Replace with faster SSE2 version.
37767 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
37769         * elf/dl-load.c (lose): Add cast to avoid warning.
37771 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37773         * po/ca.po: Update from translation team.
37775         * inet/getnetgrent_r.c: Hook up nscd.
37776         * nscd/Makefile (routines): Add nscd_netgroup.
37777         (nscd-modules): Add netgroupcache.
37778         (CFLAGS-netgroupcache.c): Define.
37779         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37780         (cache_search): Add const to second parameter.
37781         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37782         INNETGR.
37783         (dbs): Add netgrdb entry.
37784         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37785         (verify_persistent_db): Handle netgrdb.
37786         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37787         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37788         GETFDNETGR.
37789         (netgroup_response_header): Define.
37790         (innetgroup_response_header): Define.
37791         (datahead): Add netgroup_response_header and innetgroup_response_header
37792         elements.
37793         * nscd/nscd.conf: Add entries for netgroup cache.
37794         * nscd/nscd.h (dbtype): Add netgrdb.
37795         (_PATH_NSCD_NETGROUP_DB): Define.
37796         (netgroup_iov_disabled): Declare.
37797         (xmalloc, xcalloc, xrealloc): Move declarations here.
37798         (cache_search): Adjust prototype.
37799         Add netgroup-related prototypes.
37800         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37801         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37802         (__nscd_innetgr): Declare.
37803         * nscd/selinux.c (perms): Use access_vector_t as element type and
37804         add netgroup-related initializers.
37805         * nscd/netgroupcache.c: New file.
37806         * nscd/nscd_netgroup.c: New file.
37807         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37808         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37809         For four parameters use innetgr.
37810         * nss/nss_files/files-init.c: Add definition and callback for netgr.
37811         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37812         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37813         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37815         * nscd/connections.c (register_traced_file): Don't register file
37816         for disabled databases.
37818 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
37820         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37822         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37823         from tree and freeing node.
37825 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
37827         * nss/nsswitch.c (__nss_database_lookup): Handle
37828         nss_parse_service_list out of memory case.
37830 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
37832         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37833         out of memory case.
37835 2011-10-04  Andreas Schwab  <schwab@redhat.com>
37837         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37838         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37839         pass it down.
37840         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37841         elf_machine_rela, elf_machine_lazy_rel.
37842         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37843         (ELF_DYNAMIC_DO_REL): Likewise.
37844         (ELF_DYNAMIC_DO_RELA): Likewise.
37845         (ELF_DYNAMIC_RELOCATE): Likewise.
37846         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37847         to ELF_DYNAMIC_DO_REL.
37848         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37849         (dl_main): In trace mode always set __RTLD_NOIFUNC.
37850         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37851         elf_machine_rela.
37852         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37853         skip_ifunc, don't call ifunc function if non-zero.
37854         (elf_machine_rela): Likewise.
37855         (elf_machine_lazy_rel): Likewise.
37856         (elf_machine_lazy_rela): Likewise.
37857         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37858         (elf_machine_lazy_rel): Likewise.
37859         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37860         Likewise.
37861         (elf_machine_lazy_rel): Likewise.
37862         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37863         Likewise.
37864         (elf_machine_lazy_rel): Likewise.
37865         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37866         (elf_machine_lazy_rel): Likewise.
37867         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37868         (elf_machine_lazy_rel): Likewise.
37869         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37870         (elf_machine_lazy_rel): Likewise.
37871         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37872         (elf_machine_lazy_rel): Likewise.
37873         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37874         (elf_machine_lazy_rel): Likewise.
37875         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37876         (elf_machine_lazy_rel): Likewise.
37878 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
37880         * nss/nss_files/files-init.c (_nss_files_init): Use static
37881         initialization for all the *_traced_file variables.
37883 2011-09-28  Andreas Schwab  <schwab@redhat.com>
37885         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37887 2011-09-27  Roland McGrath  <roland@hack.frob.com>
37889         [BZ #13226]
37890         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37892 2011-09-27  Andreas Schwab  <schwab@redhat.com>
37894         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37895         Reread the line before reparsing it.
37897 2011-09-26  Andreas Schwab  <schwab@redhat.com>
37899         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37901 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
37902             Maxim Kuvyrkov  <maxim@codesourcery.com>
37903             Joseph Myers  <joseph@codesourcery.com>
37905         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37906         if needed for __stack_chk_guard.
37908 2011-09-19  Roland McGrath  <roland@hack.frob.com>
37910         * sysdeps/posix/spawni.c (script_execute): Always define it.
37911         It will be optimized away if unused.
37912         (maybe_script_execute): New function.
37913         (__spawni): Call it.
37915         * Makerules: Don't include tls.make.
37916         (config-tls): Always set to thread.
37917         * tls.make.c: File removed.
37919 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
37921         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37922         * config.make.in (CPPFLAGS-config): New substituted variable.
37924 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37926         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37928         [BZ #13192]
37929         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37930         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37932 2011-09-15  Roland McGrath  <roland@hack.frob.com>
37934         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37935         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37936         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37937         (CALL_FAIL): Likewise.
37938         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37939         (CALL_FAIL): Macro removed.
37940         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37942 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37944         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37945         for __FINITE_MATH_ONLY__ == 1.
37947 2011-09-15  Andreas Schwab  <schwab@redhat.com>
37949         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37950         __ieee754_sqrt instead of sqrt.
37951         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37952         __ieee754_sqrtf instead of sqrtf.
37953         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37954         __floorf instead of floorf.
37955         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37956         __floorf, __truncf instead of floorf, truncf.
37958 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
37960         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37962         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37963         __extern_always_inline.
37964         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37965         32-bit.
37967 2011-09-14  Andreas Schwab  <schwab@redhat.com>
37969         * elf/rtld.c (dl_main): Also relocate in dependency order when
37970         doing symbol dependency testing.
37972 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
37974         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37975         Always define `refsym'.
37977 2011-09-13  Andreas Schwab  <schwab@redhat.com>
37979         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37980         (__FD_ELT): Renamed from __FDELT.
37981         * misc/bits/select2.h (__FD_ELT): Likewise.
37982         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37983         __FD_MASK instead of __FDELT, __FDMASK.
37984         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37985         Likewise.
37986         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37987         Likewise.
37989         * elf/Makefile (gen-ldd): Fix pattern.
37991         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37992         (init_tls): Likewise.
37994 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
37996         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37998 2011-09-12  Andreas Schwab  <schwab@redhat.com>
38000         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38001         `struct cmsghdr *' instead of `void *'.
38002         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38003         Likewise.
38005 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
38007         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38008         if non-absolute.
38009         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38010         ldd_rewrite_script.
38012 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
38014         * configure.in: Remove --with-tls option.
38015         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38016         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38017         out in case it is missing.
38018         * sysdeps/ia64/elf/configure.in: Likewise.
38019         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38020         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38021         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38022         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38023         * sysdeps/sh/elf/configure.in: Likewise.
38024         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38025         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38026         * sysdeps/x86_64/elf/configure.in: Likewise.
38027         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38028         * sysdeps/mach/hurd/tls.h: Likewise.
38030         [BZ #13067]
38031         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38033         [BZ #13090]
38034         * configure.in: Fix use of AC_INIT.
38036         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38038 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
38040         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38041         __set_errno.
38042         * malloc/hooks.c: Likewise.
38044         [BZ #11929]
38045         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
38046         variables statically.
38047         (narenas): Initialize.
38048         (list_lock): Initialize.
38049         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
38050         initializtion of main_arena and list_lock.  Small cleanups.
38051         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38052         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
38053         Add initializers to main_arena and mp_.
38054         (malloc_state): Remove pagesize member.  Change all users to use
38055         GLRO(dl_pagesize).
38057         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38058         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
38059         is always initialized.
38061         * malloc/malloc.c: Removed unused configurations and dead code.
38062         * malloc/arena.c: Likewise.
38063         * malloc/hooks.c: Likewise.
38064         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38066         * include/tls.h: Removed.  USE___THREAD must always be defined.
38067         * bits/libc-tsd.h: Don't handle !USE___THREAD.
38068         * elf/dl-libc.c: Likewise.
38069         * elf/dl-tsd.c: Likewise.
38070         * include/errno.h: Likewise.
38071         * include/netdb.h: Likewise.
38072         * include/resolv.h: Likewise.
38073         * inet/herrno-loc.c: Likewise.
38074         * inet/herrno.c: Likewise.
38075         * malloc/arena.c: Likewise.
38076         * malloc/hooks.c: Likewise.
38077         * malloc/malloc.c: Likewise.
38078         * resolv/res-state.c: Likewise.
38079         * resolv/res_libc.c: Likewise.
38080         * sysdeps/i386/dl-machine.h: Likewise.
38081         * sysdeps/ia64/dl-machine.h: Likewise.
38082         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38083         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38084         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38085         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38086         * sysdeps/sh/dl-machine.h: Likewise.
38087         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38088         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38089         * sysdeps/unix/i386/sysdep.S: Likewise.
38090         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38091         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38092         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38095         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38096         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38097         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38098         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38099         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38100         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38101         * sysdeps/x86_64/dl-machine.h: Likewise.
38102         * tls.make.c: Likewise.
38104         * configure.in: Remove --with-__thread option.  Make tests for
38105         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38106         tls_model attribute fail if no support is available.  Remove
38107         USE_IN_LIBIO.
38108         * Makeconfig: Adjust for dropped configure option.  All features are
38109         now mandatory.
38110         * Makerules: Likewise.
38111         * Versions.def: Likewise.
38112         * argp/argp-fmtstream.c: Likewise.
38113         * argp/argp-fmtstream.h: Likewise.
38114         * argp/argp-help.c: Likewise.
38115         * assert/assert.c: Likewise.
38116         * config.h.in: Likewise.
38117         * config.make.in: Likewise.
38118         * configure: Likewise.
38119         * configure.in: Likewise.
38120         * csu/Versions: Likewise.
38121         * csu/init.c: Likewise.
38122         * elf/tst-audit2.c: Likewise.
38123         * elf/tst-tls10.c: Likewise.
38124         * elf/tst-tls10.h: Likewise.
38125         * elf/tst-tls11.c: Likewise.
38126         * elf/tst-tls12.c: Likewise.
38127         * elf/tst-tls14.c: Likewise.
38128         * elf/tst-tlsmod11.c: Likewise.
38129         * elf/tst-tlsmod12.c: Likewise.
38130         * elf/tst-tlsmod13.c: Likewise.
38131         * elf/tst-tlsmod13a.c: Likewise.
38132         * elf/tst-tlsmod14a.c: Likewise.
38133         * elf/tst-tlsmod15b.c: Likewise.
38134         * elf/tst-tlsmod16a.c: Likewise.
38135         * elf/tst-tlsmod16b.c: Likewise.
38136         * elf/tst-tlsmod7.c: Likewise.
38137         * elf/tst-tlsmod8.c: Likewise.
38138         * elf/tst-tlsmod9.c: Likewise.
38139         * gmon/gmon.c: Likewise.
38140         * grp/fgetgrent_r.c: Likewise.
38141         * grp/putgrent.c: Likewise.
38142         * hurd/fopenport.c: Likewise.
38143         * include/libc-symbols.h: Likewise.
38144         * include/tls.h: Likewise.
38145         * intl/gettextP.h: Likewise.
38146         * intl/loadinfo.h: Likewise.
38147         * locale/global-locale.c: Likewise.
38148         * locale/localeinfo.h: Likewise.
38149         * mach/devstream.c: Likewise.
38150         * malloc/arena.c: Likewise.
38151         * malloc/set-freeres.c: Likewise.
38152         * misc/err.c: Likewise.
38153         * misc/getttyent.c: Likewise.
38154         * misc/mntent_r.c: Likewise.
38155         * posix/getopt.c: Likewise.
38156         * posix/wordexp.c: Likewise.
38157         * pwd/fgetpwent_r.c: Likewise.
38158         * resolv/Versions: Likewise.
38159         * resolv/res_hconf.c: Likewise.
38160         * shadow/fgetspent_r.c: Likewise.
38161         * shadow/putspent.c: Likewise.
38162         * stdio-common/printf_fphex.c: Likewise.
38163         * stdio-common/tmpfile.c: Likewise.
38164         * stdlib/abort.c: Likewise.
38165         * stdlib/fmtmsg.c: Likewise.
38166         * sunrpc/auth_unix.c: Likewise.
38167         * sunrpc/clnt_perr.c: Likewise.
38168         * sunrpc/clnt_tcp.c: Likewise.
38169         * sunrpc/clnt_udp.c: Likewise.
38170         * sunrpc/clnt_unix.c: Likewise.
38171         * sunrpc/openchild.c: Likewise.
38172         * sunrpc/svc_simple.c: Likewise.
38173         * sunrpc/svc_tcp.c: Likewise.
38174         * sunrpc/svc_udp.c: Likewise.
38175         * sunrpc/svc_unix.c: Likewise.
38176         * sunrpc/xdr.c: Likewise.
38177         * sunrpc/xdr_array.c: Likewise.
38178         * sunrpc/xdr_rec.c: Likewise.
38179         * sunrpc/xdr_ref.c: Likewise.
38180         * sunrpc/xdr_stdio.c: Likewise.
38182 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38184         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38186 2011-07-03  Andreas Jaeger  <aj@suse.de>
38188         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38189         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38190         regenerate with gen-libm-tests.pl.
38192 2010-05-12  Petr Baudis  <pasky@suse.cz>
38194         [BZ #11589]
38195         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38196         around j0() zero points by switching to j1().
38197         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38198         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38199         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38200         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38202 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38204         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38205         instead of 0.
38206         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38207         instead of 0.
38208         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38209         Patch in part by Pavel Roskin <proski@gnu.org>.
38211         [BZ #13138]
38212         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38213         realloc.
38214         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
38215         Free memory block if necessary.
38217         [BZ #12847]
38218         * libio/genops.c (INTDEF): For string streams the _lock pointer can
38219         be NULL.  Don't lock in this case.
38221 2011-09-09  Roland McGrath  <roland@hack.frob.com>
38223         * elf/elf.h (ELFOSABI_GNU): New macro.
38224         (ELFOSABI_LINUX): Define to that.
38226 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
38228         * string/strncat.c (strncat): Undef the symbol in case it has been
38229         defined in bits/string.h.
38231 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38233         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38235         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38236         link map.
38238 2011-08-17  Andreas Jaeger  <aj@suse.de>
38240         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38242 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38243             Ian Lance Taylor  <iant@google.com>
38245         * math/libm-test.inc (lround_test): New testcase.
38246         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38248 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
38250         * Makefile: Remove support for automatic cvs check-ins.
38251         * Makerules: Likewise.
38252         * config.make.in: Likewise.
38253         * configure.in: Likewise.
38254         * intl/Makefile: Likewise.
38255         * locale/Makefile: Likewise.
38256         * po/Makefile: Likewise.
38257         * posix/Makefile: Likewise.
38258         * sysdeps/gnu/Makefile: Likewise.
38259         * sysdeps/mach/hurd/Makefile: Likewise.
38260         * sysdeps/sparc/sparc32/Makefile: Likewise.
38262         [BZ #13118]
38263         * posix/Makefile (bug-regex32-ENV): Define.
38264         Patch by John Stanley <jpsinthemix@verizon.net>.
38266         * misc/Makefile (headers): Add bits/select2.h.
38267         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38268         * misc/bits/select2.h: New file.
38269         * include/bits/select2.h: New file.
38270         * debug/Makefile (routines): Add fdelt_chk.
38271         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38272         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38273         FD_ISSET.
38274         * debug/fdelt_chk.c: New file.
38276         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
38277         * wcsmbs/test-wmemcmp.c: Likewise.
38278         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38279         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38281 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38283         * string/Makefile (strop-tests): Add memcmp.
38284         * string/test-wmemcmp.c: New file.
38285         * string/test-memcmp.c: Add wmemcmp support.
38287 2011-09-08  Roland McGrath  <roland@hack.frob.com>
38289         [BZ #13153]
38290         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38291         2011-07-19 change.
38293         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38294         garbage value in a __mach_port_mod_refs call in the cases of the
38295         task-self and thread-self ports.
38297 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38299         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38301 2011-09-08  Andreas Schwab  <schwab@redhat.com>
38303         * elf/dl-load.c (lose): Check for non-null L.
38305 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38307         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38309         * elf/dl-libc.c (dlerror_run): Pass back error code from
38310         dl_catch_error.
38312         [BZ #13123]
38313         * elf/dl-load.c (lose): Free l_origin if it is valid.
38315         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38316         names.
38317         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38318         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38319         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38320         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38321         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38322         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38324 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38326         * sysdeps/powerpc/fpu/e_hypot.c: New file.
38327         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38328         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38329         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38330         * sysdeps/powerpc/fpu/k_cosf.c: New file.
38331         * sysdeps/powerpc/fpu/k_sinf.c: New file.
38332         * sysdeps/powerpc/fpu/s_cosf.c: New file.
38333         * sysdeps/powerpc/fpu/s_sinf.c: New file.
38334         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38335         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38337 2011-08-15  Alan Modra  <amodra@gmail.com>
38339         [BZ #13092]
38340         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38341         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38342         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
38343         ppc_mcount to static-only-routines.
38344         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38345         __mcount_internal.
38346         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38347         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
38349 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
38351         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38352         for finite and infinity parameters.
38354 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38356         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38357         and add nop instructions for throughput optimization.
38358         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38360 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
38362         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38363         aligned copy for power7 with vector-scalar instructions.
38364         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38366 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
38368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38369         AVX check.
38371 2011-09-07  Andreas Schwab  <schwab@redhat.com>
38373         [BZ #13144]
38374         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38375         last change.
38377 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38379         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38380         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38381         syscall wrapper around clock_gettime in __vdso_clock_gettime.
38382         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38383         clock_gettime.
38385 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38387         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38388         Forgot to demangle the pointer.
38390         * sysdeps/i386/sysdep.h: Define atom_text_section.
38391         * sysdeps/x86_64/sysdep.h: Likewise.
38392         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38393         section with atom_text_section.
38394         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38395         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38396         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38397         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38398         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38400         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38401         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38402         already be defined.  Change to take two parameters and don't assign
38403         result to variable.  Adjust all users.
38404         Define INTERNAL_GETTIME if not already defined.
38405         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38406         call.
38407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38408         HAVE_CLOCK_GETTIME_VSYSCALL.
38409         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38411         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38412         gettimeofday vsyscall, just use time.
38414 2011-09-06  Andreas Schwab  <schwab@redhat.com>
38416         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38417         <errno.h>.
38419 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38421         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38422         syscall on x86-64.
38423         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38424         syscall.
38425         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38426         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38427         syscall if possible.
38429 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38431         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38432         e_ident.  Don't pass to find_mapsXX.
38433         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38435 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38438         strchr-sse2-no-bsf strrchr-sse2-no-bsf
38439         * sysdeps/x86_64/multiarch/strchr.S: Update.
38440         Check bit_slow_BSF bit.
38441         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38442         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38443         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38445 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38447         [BZ #13134]
38448         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38449         before glibc 2.15.
38450         (tryshell): Define.
38451         (__spawni): Change last parameter to be flag.  Test
38452         SPAWN_XFLAGS_USE_PATH flag to use path or not.
38453         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38454         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38455         * posix/spawni.c: Likewise.
38456         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38457         * posix/spawnp.c: Likewise.  Change normal version to use
38458         SPAWN_XFLAGS_USE_PATH.
38459         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38460         SPAWN_XFLAGS_TRY_SHELL.
38462         [BZ #13150]
38463         * posix/glob.h: Remove gcc 1.x support.
38465         [BZ #13068]
38466         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38468 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38470         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38471         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38472         strrchr-sse2-bsf
38473         * sysdeps/i386/i686/multiarch/strchr.S: New file.
38474         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38475         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38476         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38477         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38478         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38480 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38482         * sysdeps/x86_64/wcscmp.S: New file.
38484         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38485         wcscmp-c wcscmp-sse2
38486         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38487         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38488         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38489         * wcsmbs/wcscmp.c: Allow renaming.
38491 2011-09-05  David S. Miller  <davem@davemloft.net>
38493         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38494         stack slot, rather than the struct return pointer slot.
38495         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38496         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38498         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38500 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38502         * po/ja.po: Update from translation team.
38504         [BZ #13144]
38505         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38506         kernel in 64-bit binaries.
38508 2011-09-01  David S. Miller  <davem@davemloft.net>
38510         * elf/elf.h (HWCAP_SPARC_*): Move to..
38511         * sysdeps/sparc/sysdep.h: this new file and add new values.
38512         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38513         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38514         _DL_HWCAP_COUNT to 24.
38515         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38516         entries.
38517         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38518         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38519         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38520         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38521         instead of magic constants.
38522         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38524 2011-08-31  David S. Miller  <davem@davemloft.net>
38526         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38527         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38528         Reimplement to do errno handling inline.
38529         (SYSCALL_ERROR_HANDLER): New macro.
38530         (__SYSCALL_STRING): Do not do errno handling in asm.
38531         (__CLONE_SYSCALL_STRING): Delete.
38532         (__INTERNAL_SYSCALL_STRING): Delete.
38533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38534         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38535         (PSEUDO): Reimplement to do errno handling inline.
38536         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38537         (SYSCALL_ERROR_HANDLER): New macro.
38538         (__SYSCALL_STRING): Do not do errno handling in asm.
38539         (__CLONE_SYSCALL_STRING): Delete.
38540         (__INTERNAL_SYSCALL_STRING): Delete.
38541         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38542         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38543         i386.
38544         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38545         (inline_syscall*): Add 'err' argument.
38546         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38547         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38548         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38549         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38551         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38552         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38554 2011-08-30  Andreas Schwab  <schwab@redhat.com>
38556         * elf/rtld.c (dl_main): Relocate objects in dependency order.
38558 2011-08-29  Jiri Olsa <jolsa@redhat.com>
38560         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38561         directive.
38563 2011-08-24  David S. Miller  <davem@davemloft.net>
38565         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38567 2011-08-24  Andreas Schwab  <schwab@redhat.com>
38569         * elf/Makefile: Add rules to build and run unload8 test.
38570         * elf/unload8.c: New file.
38571         * elf/unload8mod1.c: New file.
38572         * elf/unload8mod1x.c: New file.
38573         * elf/unload8mod2.c: New file.
38574         * elf/unload8mod3.c: New file.
38576         * elf/dl-close.c (_dl_close_worker): Reset private search list if
38577         it wasn't used.
38579 2011-08-23  David S. Miller  <davem@davemloft.net>
38581         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38582         subtract stack bias.
38583         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38584         %sp not %fp in calculations.
38585         (_JMPBUF_UNWINDS_ADJ): Likewise.
38587         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38588         (aio_suspend): Call it to force an exception region around the
38589         AIO_MISC_WAIT() invocation.
38591 2011-08-23  Andreas Schwab  <schwab@redhat.com>
38593         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38594         backslash.
38596 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
38598         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38599         protection macro.
38600         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38601         and <dl-machine.h>.
38602         (Elf64_FuncDesc): Remove.
38604 2011-08-22  David S. Miller  <davem@davemloft.net>
38606         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38607         sigaltstack check, add missing cfi directives.
38608         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38609         missing cfi directives, and sigaltstack handling.
38611 2011-08-16  Andreas Schwab  <schwab@redhat.com>
38613         [BZ #11724]
38614         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38615         object is seen twice.
38616         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38618         * elf/Makefile (distribute): Add tst-initorder2.c.
38619         (tests): Add tst-initorder2.
38620         (modules-names): Add tst-initorder2a tst-initorder2b
38621         tst-initorder2c tst-initorder2d.  Add rules to build them.
38622         ($(objpfx)tst-initorder2.out): New rule.
38623         * elf/tst-initorder2.c: New file.
38624         * elf/tst-initorder2.exp: New file.
38626 2011-08-22  Andreas Schwab  <schwab@redhat.com>
38628         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38630         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38631         dependencies back to end of function.
38633         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38634         $(elfobjdir)/ld.so.
38636 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
38638         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38639         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38640         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38641         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38642         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38643         of __vdso_gettimeofday.
38644         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38645         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
38646         attribute_hidden.
38647         (_libc_vdso_platform_setup): Remove initialization of
38648         __vdso_gettimeofday and __vdso_time.
38650 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38652         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38653         and fgetc_unlocked.
38654         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38655         getc_unlocked.
38657         * elf/dl-open.c (add_to_global): Report additions to the global scope
38658         for LD_DEBUG=scopes.
38659         (dl_open_worker): Also print scope of newly loaded dependencies.
38660         (_dl_show_scope): Indicate if there is no scope.
38662         [BZ #13114]
38663         * stdio-common/Makefile (tests): Add bug24.
38664         * stdio-common/bug24.c: New file.
38666 2011-08-19  Andreas Jaeger  <aj@suse.de>
38668         [BZ #13114]
38669         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38670         non-existant file when using close-on-exec mode.
38672 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38674         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38675         the very first instruction.
38677         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38678         the CFI state in the end.
38679         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38680         inclusion of dl-trampoline.h.
38681         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38683 2011-08-19  Andreas Schwab  <schwab@redhat.com>
38685         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38686         expectations for long double.
38688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38689         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38691 2011-08-14  David S. Miller  <davem@davemloft.net>
38693         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38694         artificual limit depends upon the system page size.
38696 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38698         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38699         * resolv/Makefile: Define CFLAGS-libresolv.
38701 2011-08-17  Andreas Schwab  <schwab@redhat.com>
38703         * nss/makedb.c (compute_tables): Make variables used in nested
38704         function static.
38706 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38708         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38709         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38710         if buffer was too small.
38712         * elf/pldd.c (main): Attach to all threads in the process.
38713         Rewrite /proc handling to use *at functions.
38715 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
38717         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38718         specifies first scope to show.
38719         (dl_open_worker): Update callers.  Move printing scope of new
38720         object to before the relocation.
38721         * elf/rtld.c (dl_main): Update _dl_show_scope call.
38722         * sysdeps/generic/ldsodefs.h: Update declaration.
38724         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38725         string for the scope number.
38727 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
38729         * nscd/servicescache.c (cache_addserv): Make sure written is always
38730         initialized.
38732 2011-08-14  Roland McGrath  <roland@hack.frob.com>
38734         * sysdeps/i386/i486/bits/atomic.h
38735         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38736         statement expression, so as to suppress "set but not used" warning.
38737         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38739         * string/strncat.c (STRNCAT): Use prototype definition.
38741         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38742         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38743         -Iprograms here.
38744         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38745         (localedef-modules): Add localedef.
38746         (locale-modules): Add locale.
38748         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38749         * elf/rtld.c (dl_main): Invert order of assignment in last change,
38750         to avoid a warning.
38752 2011-08-14  David S. Miller  <davem@davemloft.net>
38754         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38755         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38757 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
38759         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38760         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38761         * elf/rtld.c (dl_main): Set l_name of vDSO.
38762         Call _dl_show_scope when DL_DEBUG_SCOPES.
38763         (process_dl_debug): Recognize scopes flag and also set it for all.
38764         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38765         Declare _dl_show_scope.
38767         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38768         (do_dlopen): Pass caller_dlopen to dl_open.
38769         (__libc_dlopen_mode): Initialize caller_dlopen.
38771         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38772         of libc.  Make tolower call locale-independent.  Optimize a bit by
38773         using isdigit instead of isalnum.
38774         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38776 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
38778         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38779         was a dependency or dynamically loaded.
38781 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
38783         * intl/l10nflist.c: Allow architecture-specific pop function.
38784         * sysdeps/x86_64/l10nflist.c: New file.
38786         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38787         classification.
38789 2011-08-10  Andreas Schwab  <schwab@redhat.com>
38791         * include/dirent.h: Add libc_hidden_proto for scandirat and
38792         scandirat64.  Don't declare __scandirat64.
38793         * dirent/scandirat.c: Add libc_hidden_def.
38794         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38795         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38797 2011-08-10  David S. Miller  <davem@davemloft.net>
38799         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38800         enum.
38801         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38802         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38803         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38805 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
38807         * Versions.def [libc]: Add GLIBC_2.15.
38808         * dirent/Makefile (routines): Add scandirat and scandirat64.
38809         * dirent/Versions [libc]: Export scandirat and scandirat64 for
38810         GLIBC_2.15.
38811         * dirent/dirent.h: Declare scandirat and scandirat64.
38812         * dirent/scandirat.c: New file.
38813         * dirent/scandirat64.c: New file.
38814         * sysdeps/wordsize-64/scandirat.c: New file.
38815         * sysdeps/wordsize-64/scandirat64.c: New file.
38816         * dirent/opendir.c: Define opendirat.
38817         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
38818         using scandirat.
38819         * dirent/scandir64.c: Adjust for scandir.c change.
38820         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
38821         __scandirat64, and __scandir_cancel_handler.
38822         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
38823         additional parameter and use openat instead of open (outside of ld.so).
38824         Add new __opendir as wrapper around __opendirat.
38825         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38826         here without requiring old scandirat implementation.
38828 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
38830         * dirent/scandir.c (cancel_handler): Renamed to
38831         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
38832         defined.  Adjust users.
38833         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38834         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38836 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
38838         * string/test-string.h (IMPL): Use __STRING to expand name and then
38839         stringify it.
38841         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
38842         of cleanups.
38844 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38846         * string/Makefile: Update.
38847         (strop-tests): Append strncat.
38848         * string/test-wcscmp.c: New file.
38849         New comprehensive test for wcscmp.
38850         * string/test-strcmp.c: Update.
38851         (WIDE): New define.
38853 2011-07-22  Andreas Schwab  <schwab@redhat.com>
38855         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38856         line.
38858 2011-07-26  Andreas Schwab  <schwab@redhat.com>
38860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38861         encoding to ACE if AI_IDN.
38863 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
38865         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38866         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38868 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38870         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38871         Fix overflow bug in strncat.
38872         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38874         * string/test-strncat.c: Update.
38875         Add new tests for checking overflow bugs.
38877 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38879         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38880         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38881         * sysdeps/i386/i686/multiarch/strcat.S: New file.
38882         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38883         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38884         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38885         * sysdeps/i386/i686/multiarch/strncat.S: New file.
38886         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38887         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38889         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38890         (USE_AS_STRCAT): Define.
38891         Add strcat and strncat support.
38892         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38894 2011-07-25  Andreas Schwab  <schwab@redhat.com>
38896         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38897         __n bigger than INT_MAX+1.
38898         (__strncmp_g): Likewise.
38900 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
38902         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38903         * libio/stido.h: Likewise.
38905         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38906         (AF_NFC): Define.
38907         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38908         (AF_NFC): Define.
38910         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38911         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38912         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38913         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38914         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38916         [BZ #13021]
38917         * scripts/test-installation.pl: Don't expect libnss_test1 to be
38918         installed.
38920         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38921         typo.
38922         (_dl_x86_64_save_sse): Likewise.
38924 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
38926         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38927         OSXSAVE.
38928         (_dl_x86_64_save_sse): Likewise.
38930         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38932         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38934 2011-07-21  Andreas Schwab  <schwab@redhat.com>
38936         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38937         change.
38938         (_dl_x86_64_save_sse): Use correct AVX check.
38940 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38942         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38943         bug in strncpy/strncat.
38944         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38946 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
38948         * string/tester.c (test_strcat): Add tests for different alignments
38949         of source and destination.
38950         (test_strncat): Likewise.
38952 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38954         [BZ #12852]
38955         * posix/glob.c (glob): Check passed in values before using them in
38956         expressions to avoid some overflows.
38957         (glob_in_dir): Likewise.
38959         [BZ #13007]
38960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38961         check for AVX enablement so that we don't crash with old kernels and
38962         new hardware.
38963         * elf/tst-audit4.c: Add same checks here.
38964         * elf/tst-audit6.c: Likewise.
38966         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38968 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
38970         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38972 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38974         * po/cs.po: Update from translation team.
38975         * po/bg.po: Likewise.
38977 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
38979         * misc/sys/cdefs.h: Add support for const attribute.
38980         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38981         to gnu_dev_{major,minor,makedev} functions.
38983 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
38985         * intl/dcigettext.c (get_output_charset): Add missing bracket.
38987 2011-07-20  Andreas Schwab  <schwab@redhat.com>
38989         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38990         strlen results.
38992 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38994         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38995         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38996         register in order to avoid conflicts with the soft frame pointer
38997         being held in r11 when necessary.
38998         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38999         (INTERNAL_VSYSCALL_NCS): Likewise.
39001 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
39003         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39004         * elf/dl-fini.c (_dl_fini): Adjust caller.
39005         * elf/dl-close.c (_dl_close_worker): Likewise.
39006         * sysdeps/generic/ldsodefs.h: Adjust declaration.
39008 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39010         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39011         "aux_cache->nlibs < 0".
39013         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39014         in the reload-count case.
39016 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39019         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39020         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39021         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39022         * sysdeps/x86_64/multiarch/strcat.S: New file.
39023         * sysdeps/x86_64/multiarch/strncat.S: New file.
39024         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39025         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39026         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39027         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39028         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39029         (USE_AS_STRCAT): Define.
39030         Add strcat and strncat support.
39031         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39032         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39033         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39034         * string/strncat.c: Update.
39035         (USE_AS_STRNCAT): Define.
39036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39037         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39038         and i7.
39039         * sysdeps/x86_64/multiarch/init-arch.h
39040         (bit_Prefer_PMINUB_for_stringop): New.
39041         (index_Prefer_PMINUB_for_stringop): Likewise.
39042         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39043         bit_Prefer_PMINUB_for_stringop.
39045 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39047         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39048         buffer64.
39049         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39050         of casting of buffer.
39051         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39052         buffer32 and buffer64.
39053         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39054         writes instead of casting of buffer.
39055         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39056         buffer32.
39057         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39058         casting of buffer.
39060 2011-07-19  Andreas Schwab  <schwab@redhat.com>
39062         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39064 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39066         * nscd/nscd.c (termination_handler): Don't do anything for a database
39067         if it has not yet been initialized.
39069 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39071         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39073 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39075         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39077 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39079         * po/nl.po: Update from translation team.
39080         * po/sv.po: Likewise.
39082 2011-07-16  Roland McGrath  <roland@hack.frob.com>
39084         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39085         now disallowed by GCC.
39087         * configure.in (use-default-link): Default to yes if a test -shared
39088         link meets our qualifications.
39089         * configure: Regenerated.
39091         * config.make.in (output-format): New variable.
39092         * configure.in: Check for ld --print-output-format support.
39093         * configure: Regenerated.
39094         * Makerules ($(common-objpfx)format.lds)
39095         [$(output-format) != unknown]: Just use $(output-format),
39096         instead of the linker-script munging.
39098 2011-07-14  Roland McGrath  <roland@hack.frob.com>
39100         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39101         of $(common-objpfx)shlib.lds.
39102         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39104         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39105         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39107         * configure.in (-z relro check): Adjust test code to add a large
39108         writable data section after it.
39109         * configure: Regenerated.
39111 2011-07-11  Roland McGrath  <roland@hack.frob.com>
39113         * configure.in (-z relro check): Fix test code to make the variable
39114         truly const.
39115         * configure: Regenerated.
39117 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
39119         * nscd/nscd.h (struct traced_file): Define.
39120         (struct database_dyn): Remove inotify_descr, reset_res, and filename
39121         elements.  Add traced_files.
39122         (inotify_fd): Declare.
39123         (register_traced_file): Declare.
39124         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39125         (inotify_fd): Export.
39126         (resolv_conf_descr): Remove.
39127         (nscd_init): Move inotify descriptor creation to main.
39128         Don't register files for notification here.
39129         (register_traced_file): New function.
39130         (invalidate_cache): Don't use reset_res to determine whether to call
39131         res_init, go through the list of registered files.
39132         (main_loop_poll): The inotify descriptors are now stored in the
39133         structures for the traced files.
39134         (main_loop_epoll): Likewise
39135         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
39136         to __nss_disable_nscd.
39137         * nscd/cache.c (prune_cache): There is no single inotify descriptor
39138         for a database anymore.  Check the records for all the registered
39139         files instead.
39140         * nss/Makefile (libnss_files-routines): Add files-init.
39141         (libnss_db-routines): Add db-init.
39142         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39143         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39144         * nss/nss_db/db-init.c: New file.
39145         * nss/nss_files/files-init.c: New file.
39146         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
39147         __nss_lookup_function.
39148         (__nss_lookup_function): Call nss_load_library.
39149         (nss_load_all_libraries): New function.
39150         (__nss_disable_nscd): Take parameter with callback function for files
39151         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
39152         used for the cached services.
39153         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39154         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39155         options for features to all the files in nscd.
39157         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39159 2011-07-10  Roland McGrath  <roland@hack.frob.com>
39161         * csu/elf-init.c (__libc_csu_init): Comment typo.
39163 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
39165         * po/pl.po: Update from translation team.
39166         * po/ja.po: Likewise.
39167         * po/ru.po: Likewise.
39168         * po/ko.po: Likewise.
39169         * po/fr.po: Likewise.
39171 2011-07-09  Roland McGrath  <roland@hack.frob.com>
39173         * configure.in (.ctors/.dtors header and trailer check):
39174         Use an empirical test on a built program.
39175         * configure: Regenerated.
39177         * configure.in (-z relro check): Use an empirical test on a built DSO.
39178         Detect, but do not require, on ia64.
39179         * configure: Regenerated.
39181         * configure.in (READELF): Find it with AC_CHECK_TOOL.
39182         Update tests that use readelf to use $READELF instead.
39183         * configure: Regenerated.
39185 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
39187         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39188         if the result is not used.
39190 2011-07-05  Andreas Jaeger  <aj@suse.de>
39192         [BZ#9696]
39193         * stdlib/tst-strtod.c: Add testcase.
39195 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
39197         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39198         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39199         The latter has a higher limit.  Take additional parameter to pass to
39200         the new function.
39201         (__pathconf): Pass file to __statfs_link_max.
39202         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39203         __statfs_link_max.
39204         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39205         __statfs_link_max.
39207         [BZ #12868]
39208         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39209         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39210         Handle Lustre.
39211         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39212         (__statfs_filesize_max): Likewise.
39213         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39215 2011-07-05  Andreas Jaeger  <aj@suse.de>
39217         * resolv/res_comp.c (dn_skipname): Remove unused variable.
39219 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
39221         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39222         `status' variable.
39223         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39224         Likewise.
39226 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
39228         * Makefile (strop-tests): Add strncat.
39229         * string/test-strncat.c: New file.
39231 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
39233         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39235 2011-06-21  Andreas Jaeger  <aj@suse.de>
39237         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39238         Copy rule from iconvdata/Makefile.
39240 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39242         [BZ #12922]
39243         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39244         but no long options are defined, just return 'W'.
39246 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
39248         [BZ #9696]
39249         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39251 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39253         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39254         netgroups to read.
39255         (innetgr): Likewise.
39257 2011-07-05  Roland McGrath  <roland@hack.frob.com>
39259         * config.make.in (install_root): Default to $(DESTDIR).
39261 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
39263         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39265 2011-07-02  Roland McGrath  <roland@hack.frob.com>
39267         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39269         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39270         containing directory rather than embedding absolute directory names.
39272         * scripts/check-local-headers.sh: Rewritten using awk.
39273         Match by word, not by line.  Print error messages for matches.
39274         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39276         * Makerules [shlib-lds-flags empty]:
39277         ($(common-objpfx)libc_pic.opts): New target.
39278         ($(common-objpfx)libc_pic.os.clean): New target.
39279         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39281         * config.make.in (OBJCOPY): New variable.
39282         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39283         * configure: Regenerated.
39285         * config.make.in (use-default-link): New variable.
39286         * configure.in (use_default_link): Grok --with-default-link to set it.
39287         * configure: Regenerated.
39288         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39289         (shlib-lds, shlib-lds-flags): Define to empty.
39291         * Makerules (shlib-lds): New variable.
39292         (shlib-lds-flags): New variable.
39293         (build-shlib, build-moduile, build-module-asneeded): Use it.
39294         ($(common-objpfx)libc.so): Use $(shlib-lds).
39295         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39296         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39298         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39299         DT_FLAGS/DT_FLAGS_1 with zero flags.
39301         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39302         linker script munging.
39304 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
39306         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39307         as 128-bit value.
39308         * crypt/sha512.c (sha512_process_block): Perform total addition using
39309         128-bit if possible.
39310         (__sha512_finish_ctx): Likewise.
39311         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39312         as 64-bit value.
39313         * crypt/sha256.c (SWAP64): Define.
39314         (sha256_process_block): Perform total addition using 64-bit if
39315         possible.
39316         (__sha256_finish_ctx): Likewise.
39318 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
39320         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
39321         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39322         * nscd/hstcache.c (cache_addhst): Likewise.
39323         * nscd/grpcache.c (cache_addgr): Likewise.
39324         * nscd/aicache.c (addhstaiX): Likewise
39325         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39327 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
39329         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39330         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39331         * nscd/hstcache.c (cache_addhst): Likewise.
39332         * nscd/grpcache.c (cache_addgr): Likewise.
39333         * nscd/aicache.c (addhstaiX): Likewise
39335 2011-07-01  Andreas Schwab  <schwab@redhat.com>
39337         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39338         domain only when needed.
39340 2011-06-30  Andreas Schwab  <schwab@redhat.com>
39342         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39343         is always restored.
39345 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
39347         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39348         are re-adding the entry.
39349         * nscd/servicescache.c (cache_addserv): Likewise.
39351 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
39353         * sysdeps/generic/dl-irel.h: fix protection against multiple
39354         inclusions.
39355         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39357 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
39359         [BZ #12935]
39360         * malloc/memusage.sh: Fix quoting in message.
39361         * debug/xtrace.sh: Likewise.
39363         * configure.in: Remove support for --experimental-malloc option, make
39364         it the default.
39365         * config.make.in: Likewise.
39366         * malloc/Makefile: Likewise.
39368 2011-06-27  Andreas Schwab  <schwab@redhat.com>
39370         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39371         two-byte characters.
39373 2011-06-27  Roland McGrath  <roland@hack.frob.com>
39375         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39376         AC_CACHE_CHECK invocation.
39377         * configure: Regenerated.
39379         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39381 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
39383         [BZ #12350]
39384         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
39385         bit from old_res_options.
39387         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39389         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39390         value type for setfct.
39392 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
39394         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39395         __gettimeofday instead of gettimeofday.
39397 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
39399         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39401 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
39403         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39405         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39406         info.
39408 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39411         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39412         strcpy-sse2-unaligned strncpy-sse2-unaligned
39413         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39414         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39415         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39416         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39417         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39418         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39419         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39420         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39421         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39422         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39423         (STRCPY): Support SSE2 and SSSE3 versions.
39425 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
39427         [BZ #12874]
39428         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39429         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39430         kernels which artificially limit size of requests.
39432 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39434         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39435         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39436         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39437         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39438         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39439         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39440         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39441         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39442         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39443         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39444         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39445         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39446         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39447         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39448         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39450         Enable unaligned load optimization for Intel Core i3, i5 and i7
39451         processors.
39452         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39453         Define.
39454         (index_Fast_Unaligned_Load): Define.
39455         (HAS_FAST_UNALIGNED_LOAD): Define.
39457 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
39459         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39461 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39463         [BZ #12907]
39464         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39465         until it is clear that the information is realy needed.
39466         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39468 2011-06-22  Andreas Schwab  <schwab@redhat.com>
39470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39472 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39474         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39475         /sys/devices/system/cpu/online if it is usable.
39477         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39478         reading the information from the /proc filesystem to once a second.
39480 2011-06-21  Andreas Jaeger  <aj@suse.de>
39482         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39483         NULL after inclusion of kernel headers.
39485 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
39487         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39488         calls to internal_setent.
39490         [BZ #12885]
39491         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39492         addresses using gethostbyname4_r ignore IPv4 addresses.
39494         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39495         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
39497         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39499 2011-06-20  David S. Miller  <davem@davemloft.net>
39501         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39502         inclusions.
39503         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39505         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39506         (elf_irel): Use it.
39507         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39508         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39509         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39510         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39511         * sysdeps/x86_64/dl-irel.h: Likewise.
39513         * elf/dl-runtime.c: Use elf_ifunc_invoke.
39514         * elf/dl-sym.c: Likewise.
39516 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39518         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
39519         need to dereference resplen2.
39521 2011-06-14  Andreas Schwab  <schwab@redhat.com>
39523         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39525 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39527         * Makeconfig: Define vardbdir and inst_vardbdir.
39528         * nss/Makefile: Add rules to install db-Makefile.
39530         * nss/nss_db/db-XXX.c: Cleanup.
39532         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39533         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39534         GLIBC_PRIVATE.
39535         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39536         * nss/makedb.c: Implement -g option to specify that value strings
39537         are generated and should not be added to table iterated over for
39538         get*ent calls.
39539         * nss/nss_db/db-initgroups.c: New file.
39541         * nss/getent.c: Add support for initgroups lookups through getgrouplist
39542         interface.
39544         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39545         (internal_getgrouplist): Adjust to name change.
39546         Update use_initgroups_entry if this is not the first call.
39547         * nss/databases.def: Add initgroups entry.
39549         * nss/makedb.c (compute_tables): Check result of multiple hash table
39550         sizes to minimize maximum chain length.
39552 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
39554         * Versions.def: Add entry for libnss_db.
39555         * shlib-versions: Likewise.
39556         * nss/Makefile: Add rules to build libnss_db.
39557         * nss/Versions: Add libnss_db information.  Organize libnss_files
39558         entries better.
39559         * nss/db-Makefile: Add gshadow support.  Change rules for the new
39560         makedb progra.  Some minor improvements to generate smaller files.
39561         * nss/nss_db/nss_db.h: Move NSS database header data structures to
39562         here from...
39563         * nss/makedb.c: ...here.
39564         Improve database format to be smaller and require less memory at
39565         runtime.
39566         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
39567         db anymore.
39568         * nss/nss_db/db-netgrp.c: Likewise.
39569         * nss/nss_db/db-open.c: Likewise.
39570         * nss/nss_files/flies-XXX.x: Adjust comments.
39571         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39572         * nss/nss_files/files-grp.c: Likewise.
39573         * nss/nss_files/files-hosts.c: Likewise.
39574         * nss/nss_files/files-network.c: Likewise.
39575         * nss/nss_files/files-proto.c: Likewise.
39576         * nss/nss_files/files-pwd.c: Likewise.
39577         * nss/nss_files/files-rpc.c: Likewise.
39578         * nss/nss_files/files-service.c: Likewise.
39579         * nss/nss_files/files-sgrp.c: Likewise.
39580         * nss/nss_files/files-spwd.c: Likewise.
39581         * nss/nss_db/db-alias.c: Removed.
39582         * nss/nss_db/dummy-db.h: Removed.
39584 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
39586         * nss/makedb.c: Rewritten to not use database library.
39587         * nss/Makefile: Update to build new makedb program.
39589 2011-06-14  Andreas Jaeger  <aj@suse.de>
39591         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39592         memset declaration.
39594 2011-06-10  Andreas Schwab  <schwab@redhat.com>
39596         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39597         tmpbuf.
39599 2011-06-10  Roland McGrath  <roland@hack.frob.com>
39601         * Makerules (shlib.lds): Fail if the linker script comes out empty.
39602         * elf/Makefile ($(objpfx)ld.so): Likewise.
39604         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39605         Don't list ld.so twice in dependencies.
39607         * posix/bug-regex31.c: Include <stdlib.h>.
39609         * nscd/hstcache.c (cache_addhst): Remove unused variable.
39611         * nis/nss_compat/compat-spwd.c
39612         (getspent_next_nss_netgr): Remove unused variable.
39613         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39615         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39616         nonmembers" output to use the right array.
39618         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39620         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39622         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39623         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39624         * catgets/gencat.c (read_input_file): Likewise.
39625         * locale/programs/locarchive.c (enlarge_archive): Likewise.
39627         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39628         variable definition inside #if's controlling its use.
39630         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39632         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39634         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39636         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39637         unreachable code.
39639         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39641         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39642         * configure: Regenerated.
39644         * Makerules: Revert last change.
39645         * elf/Makefile: Likewise.
39647 2011-06-09  Roland McGrath  <roland@hack.frob.com>
39649         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39650         * elf/Makefile ($(objpfx)librtld.os): Likewise.
39651         (reloc-link): Likewise.
39653 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
39655         * elf/Makefile: Add rules to build pldd.
39656         * elf/pldd.c: New file.
39657         * elf/pldd-xx.c: New file.
39659 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
39661         * version.h: Update for 2.15 development version.
39663 2011-06-07  David S. Miller  <davem@davemloft.net>
39665         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39666         ifuncs.
39667         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39668         elf_machine_lazy_rel): Likewise.
39669         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39670         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39671         elf_machine_lazy_rel): Likewise.
39672         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39673         dl_hwcap via passed in argument.
39674         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39675         Likewise.
39677 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39679         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
39681 2011-06-06  Roland McGrath  <roland@hack.frob.com>
39683         [BZ #12849]
39684         * manual/fdl-1.1.texi: New file, verbatim from:
39685         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39686         * manual/lgpl-2.1.texi: New file, verbatim from:
39687         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39688         * manual/Makefile (licenses): New variable, list those new file names.
39689         (texis): Use it.
39690         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39692         * manual/fdl.texi: File removed.
39693         * manual/lesser.texi: File removed.
39694         * manual/libc.texinfo (Copying, Documentation License):
39695         Use new @include file names, put @appendix directive before @include.
39697 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
39699         [BZ #12841]
39700         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39701         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39702         (mq_open): Add __NTH.
39704 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
39706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39707         Assume Intel Core i3/i5/i7 processor if AVX is available.
39709 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39711         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39712         typo.
39714 2011-05-31  Andreas Schwab  <schwab@redhat.com>
39716         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39717         memory.  Use alloca_account.  Fix memory leak when retrying.
39719 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39721         * version.h (RELEASE): Bump for 2.14 release.
39722         * include/features.h (__GLIBC_MINOR__): Bump to 14.
39724         * config.make.in (RANLIB): Remove entry.
39726 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
39728         * po/Makefile (po-sed-cmd): Add ksh to extensions.
39729         (libc.pot): Work around missing support for .ksh extension in xgettext.
39731         [BZ #12684]
39732         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39733         if both request failed.
39734         (send_dg): In case of server errors clear resplen or *resplen2.
39736         [BZ #12454]
39737         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39738         when there are multiple maps.
39739         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39740         (_dl_fini): Remove test here.
39742         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39744 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
39746         [BZ #12350]
39747         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39748         bit from old_res_options.
39749         (gaih_inet): Likewise.
39751         [BZ #11099]
39752         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39753         as signed.
39755         * resolv/res_init.c (res_setoptions): Make the code more compact.
39757         [BZ #11558]
39758         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39759         set RES_USEVC.
39761         [BZ #11634]
39762         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39764         * malloc/malloc.h: Mark malloc hook variables as deprecated.
39766         [BZ #11781]
39767         * malloc/malloc.h: Declare malloc hook variables as volatile.
39769         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39770         in last patch.
39772         [BZ #11799]
39773         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39774         raise in the comment.
39775         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39776         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39777         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39779 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
39781         [BZ #12811]
39782         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39783         grow the buffers more if it already has to be sufficient.
39784         (build_wcs_upper_buffer): Likewise.
39785         * posix/regexec.c (check_matching): Likewise.
39786         (clean_state_log_if_needed): Likewise.
39787         (extend_buffers): Don't enlarge buffers beyond size of the input
39788         buffer.
39789         Patches mostly by Emil Wojak <emil@wojak.eu>.
39790         * posix/bug-regex32.c: New file.
39791         * posix/Makefile (tests): Add bug-regex32.
39793         * locale/findlocale.c (_nl_find_locale): Return right away if
39794         _nl_explode_name failed.
39795         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39797         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39799         * debug/xtrace.sh: Unify messages.
39800         * malloc/memusage.sh: Likewise.
39802         [BZ #12813]
39803         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39804         time symbol from vDSO.  Substitute with vsyscall if not available.
39805         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39806         __vdso_time.
39808         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39809         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39810         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39811         Add sendmmsg and internal_sendmmsg.
39812         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39813         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39814         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39816         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39817         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39818         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39820 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
39822         [BZ #12813]
39823         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39824         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
39825         available.
39826         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39827         __vdso_getcpu.
39829         [BZ #12814]
39830         * iconvdata/Makefile (tests): Add bug-iconv9.
39831         * iconvdata/bug-iconv9.c: New file.
39833 2011-05-27  Andreas Schwab  <schwab@redhat.com>
39835         [BZ #12814]
39836         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39838 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
39840         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39841         (struct user_regs_struct): Change intcs field back to cs.
39843 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
39845         * po/ja.po: Update from translation team.
39847 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
39849         [BZ #12795]
39850         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39851         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39853 2011-05-20  Andreas Schwab  <schwab@redhat.com>
39855         * stdlib/longlong.h: Update from GCC.
39857 2011-05-23  Andreas Schwab  <schwab@redhat.com>
39859         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39860         parameter name.
39861         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39862         Add parameter name.
39863         (__sysconf): Pass it down.
39865 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
39867         [BZ #12671]
39868         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39869         some situations.
39870         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39871         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39872         add in in __libc_use_alloca calls.  Adjust callers.
39873         (glob): Use malloc in some situations.
39875         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39876         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39877         pltexit.
39879 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
39881         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39882         and CLOCK_BOOTTIME_ALARM.
39884         [BZ #12782]
39885         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39886         is returned.
39888         * string/_strerror.c (__strerror_r): Print negative errors as signed
39889         numbers.
39891         [BZ #12777]
39892         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39893         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39894         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39896         * configure.in: Fix typo in redirection and correct removal of test
39897         files in two cases.
39899         [BZ #12788]
39900         * locale/setlocale.c (new_composite_name): Fix test to check for
39901         identical name of all categories.
39903         [BZ #12792]
39904         * libio/filedoalloc.c (local_isatty): New function.
39905         (_IO_file_doallocate): Use local_isatty.
39906         * stdio-common/perror.c (perror): In case a new stream is used
39907         forward the stream error.
39908         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39909         error flag.
39911 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
39913         [BZ #11869]
39914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39915         alloca.
39916         * include/alloca.h (extend_alloca_account): Define.
39918         [BZ #11857]
39919         * posix/regex.h: Fix comments with documentation of user-accessible
39920         fields after compilation and describe correct free'ing of pattern
39921         after re_compile_pattern.
39922         Patch by Reuben Thomas <rrt@sc3d.org>.
39924 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
39926         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39927         and -mno-altivec to prevent the compiler from using Altivec and/or
39928         VSX instructions when the corresponding registers are not available.
39930 2011-05-19  Andreas Schwab  <schwab@redhat.com>
39932         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39934 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
39936         * libio/freopen.c (freopen): Use __dup2, not dup2.
39937         * libio/freopen64.c (freopen64): Likewise.
39939 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39941         [BZ #12775]
39942         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39943         * math/Makefile (tests): Add test-powl.
39944         (CFLAGS-test-powl.c): Define.
39945         * math/test-powl.c: New file.
39947 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39949         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39951 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
39953         [BZ #11837]
39954         * iconvdata/gb18030.c: Update to GB18020-2005.
39956 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
39958         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39959         RE_SYNTAX_POSIX_AWK): Update to match recent development.
39960         Patch by Aharon Robbins <arnold@skeeve.com>.
39962         [BZ #11892]
39963         * stdlib/putenv.c (putenv): Don't always create copy of the variable
39964         on the stack.
39966         [BZ #11895]
39967         * misc/pselect.c (__pselect): Handle timeout value errors hidden
39968         through underflows.
39970         [BZ #12766]
39971         * misc/error.c (error_at_line): Ensure file_name and old_file_name
39972         point to strings before performing equality test for error_one_per_line
39973         mode.
39975         [BZ #11697]
39976         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39978         [BZ #11820]
39979         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39980         (struct user_fpregs_struct): Avoid __uint*_t types.
39982         [BZ #6420]
39983         * malloc/mtrace.c (tr_where): Add additional parameter to point to
39984         symbol info.  Use it instead of calling _dl_addr locally.
39985         (lock_and_info): New function.
39986         (tr_freehook): Call lock_and_info and pass symbol info as additional
39987         parameter to tr_where.
39988         (tr_mallochook): Likewise.
39989         (tr_reallochook): Likewise.
39990         (tr_memalignhook): Likewise.
39992         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
39993         used and couldn't be at all thread-safe.
39995 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
39997         * libio/freopen.c (freopen): Don't close old file descriptor
39998         before the new one is opened.  Instead dup the new file descriptor
39999         to the old one after the new stream is created.
40000         * libio/freopen64.c (freopen64): Likewise.
40001         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40002         * libio/fileops.c (_IO_new_file_close_it): Handle new
40003         _IO_FLAGS2_NOCLOSE flag.
40004         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40005         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40006         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40007         _IO_FLAGS2_NOCLOSE flag.
40008         * include/unistd.h: Add hidden_proto for dup3.
40009         Define __have_dup3.
40010         * io/dup3.c: Define hidden symbol.
40011         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40013         [BZ #7101]
40014         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40015         when an incomplete long option is used.
40016         * posix/tst-getopt_long1.c: New file.
40017         * posix/Makefile (tests): Add tst-getopt_long1.
40019         [BZ #10138]
40020         * scripts/config.guess: Update from autoconf-2.68.
40021         * scripts/config.sub: Likewise.
40023         [BZ #10157]
40024         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40025         tests into ...
40026         (has_cpuclock): ...this.  New function.
40027         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40028         macro here based on has_cpuclock code.
40030         [BZ #10149]
40031         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40032         First byte (not low byte) is now always NUL.
40033         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40035         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40036         Use non-cancelable interfaces.
40038         [BZ #9809]
40039         * locale/iso-639.def: Add entry for Sorani.
40041         [BZ #11901]
40042         * include/stdlib.h: Move include protection to the right place.
40043         Define abort_msg_s.  Declare __abort_msg with it.
40044         * stdlib/abort.c (__abort_msg): Adjust type.
40045         * assert/assert.c (__assert_fail_base): New function.  Majority
40046         of code from __assert_fail.  Allocate memory for __abort_msg with
40047         mmap.
40048         (__assert_fail): Now call __assert_fail_base.
40049         * assert/assert-perr.c: Remove bulk of implementation.  Use
40050         __assert_fail_base.
40051         * include/assert.hL Declare __assert_fail_base.
40052         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40053         mmap.
40054         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40056 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
40058         [BZ #11952]
40059         [BZ #12453]
40060         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40061         until all modules are registered in the DTV.
40062         * elf/Makefile: Add rules to build and run tst-tls19.
40063         * elf/tst-tls19.c: New file.
40064         * elf/tst-tls19mod1.c: New file.
40065         * elf/tst-tls19mod2.c: New file.
40066         * elf/tst-tls19mod3.c: New file.
40067         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40069         [BZ #12083]
40070         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40071         correctly.
40073         [BZ #12601]
40074         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40075         two-byte sequence errors.
40076         * iconvdata/Makefile (tests): Add bug-iconv8.
40077         * iconvdata/bug-iconv8.c: New file.
40079         [BZ #12626]
40080         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40081         buf2 definition.
40083         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40085         [BZ #12432]
40086         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40087         (dummy_getcfa): New function.
40088         (init): Get _Unwind_GetCFA address, use dummy if not found.
40089         (backtrace_helper): In recursion check, also check whether CFA changes.
40090         (__backtrace): Completely initialize arg.
40092         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40093         storing incomplete byte sequence in state object.  Avoid testing for
40094         guaranteed too small input if we know there is enough data available.
40096 2011-05-11  Andreas Schwab  <schwab@redhat.com>
40098         * Makeconfig (+link-pie): Indent.
40099         * Rules (binaries-pie): Define if $(have-fpie) and
40100         $(build-shared).
40101         (binaries-shared): Also filter out $(binaries-pie).
40102         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40103         * nscd/Makefile (others-pie): Add nscd.
40104         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40105         ($(objpfx)nscd): Remove command override.
40106         * login/Makefile (others-pie): Add pt_chown.
40107         ($(objpfx)pt_chown): Remove command override.
40108         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40109         remove command overrides.
40111 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
40113         * libio/tst_putwc.c: Fix error messages.
40115         [BZ #12724]
40116         * libio/fileops.c (_IO_new_file_close_it): Always flush when
40117         currently writing and seek to current position when not.
40118         * libio/Makefile (tests): Add bug-fclose1.
40119         * libio/bug-fclose1.c: New file.
40121 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
40123         [BZ #12511]
40124         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40125         don't set DF_1_NODELETE here.
40126         (do_lookup_x): When entering new entry test for copy relocation
40127         and if necessary set DF_1_NODELETE flag.
40128         * elf/tst-unique4.cc: New file.
40129         * elf/tst-unique4.h: New file.
40130         * elf/tst-unique4lib.cc: New file.
40131         * elf/Makefile: Add rules to build and run tst-unique4.
40132         Patch by Piotr Bury <pbury@goahead.com>.
40134 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
40136         [BZ #12052]
40137         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40139         [BZ #12625]
40140         * misc/mntent_r.c (addmntent): Flush the stream after the output
40142         [BZ #12393]
40143         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40144         (is_trusted_path_normalize): Skip initial colon.  Append slash
40145         to empty buffer.  Duplicate is_trusted_path code but allow
40146         constructed patch to be prefix.
40147         (is_dst): Allow $ORIGIN followed by /.
40148         (_dl_dst_substitute): Correct clearing of check_for_trusted.
40149         Correct testing of result of is_trusted_path_normalize
40150         (decompose_rpath): Fix warning.
40152 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
40154         [BZ #11257]
40155         * grp/initgroups.c (internal_getgrouplist): When we found the service
40156         list through the initgroups entry in nsswitch.conf do not always
40157         continue on a successful lookup.  Don't always use the
40158         __nss_group_database value if it is set.
40159         * nss/nsswitch.conf (initgroups): Change action for successful db
40160         lookup to continue for compatibility.
40162 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
40164         [BZ #11532]
40165         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40166         and CP774 modules.
40167         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40168         and CP774 modules.
40169         * iconvdata/tst-tables.sh: Likewise.
40170         * iconvdata/cp770.c: New file.
40171         * iconvdata/cp771.c: New file.
40172         * iconvdata/cp772.c: New file.
40173         * iconvdata/cp773.c: New file.
40174         * iconvdata/cp774.c: New file.
40175         * iconvdata/testdata/CP770: New file.
40176         * iconvdata/testdata/CP770..UTF8: New file.
40177         * iconvdata/testdata/CP771: New file.
40178         * iconvdata/testdata/CP771..UTF8: New file.
40179         * iconvdata/testdata/CP772: New file.
40180         * iconvdata/testdata/CP772..UTF8: New file.
40181         * iconvdata/testdata/CP773: New file.
40182         * iconvdata/testdata/CP773..UTF8: New file.
40183         * iconvdata/testdata/CP774: New file.
40184         * iconvdata/testdata/CP774..UTF8: New file.
40186         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40187         END CHARMAP line.
40188         * iconvdata/gen-8bit-gap.sh: Likewise.
40189         * iconvdata/gen-8bit.sh: Likewise.
40191         * locale/iso-639.def: Add ary entry.
40193         [BZ #11258]
40194         * locale/C-translit.h.in: Add U20A1 transliteration.
40196         [BZ #12178]
40197         * locale/iso-639.def: Add wae entry.
40198         Patch by Kevin Bortis <bortis@translate-wae.ch>.
40200         [BZ #12545]
40201         * locale/programs/localedef.c (construct_output_path): Use ssize_t
40202         for n.
40204         [BZ #12711]
40205         * locale/C-translit.h.in: Add entry for U20B9.
40206         Patch by pravin.d.s@gmail.com.
40208 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
40210         [BZ #12713]
40211         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40212         ENAMETOOLONG use generic getcwd.
40213         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
40214         in rtld.  Use *stat64.
40215         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40216         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40217         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40218         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40219         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40220         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40221         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40222         __fstatat64 macros.
40223         * include/dirent.h: Add libc_hidden_proto for rewinddir.
40224         * dirent/rewinddir.c: Add libc_hidden_def.
40225         * sysdeps/mach/hurd/rewinddir.c: Likewise.
40226         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
40228         * include/dirent.h (__alloc_dir): Add flags parameter.
40229         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40230         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40231         __alloc_dir.
40232         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
40233         from fdopendir if O_CLOEXEC is already set.
40235 2011-03-15  Alan Modra  <amodra@gmail.com>
40237         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40238         l_tls_firstbyte_offset non-zero.  Save padding offset in
40239         l_tls_firstbyte_offset for later use.
40240         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40241         freeing static tls block.
40243 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
40245         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40246         where #ifdef was intended.  The intent is to prevent ARG_MAX from
40247         being defined by the kernel headers.
40249 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
40251         [BZ #12734]
40252         * resolv/resolv.h: Define RES_NOTLDQUERY.
40253         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40254         no-tld-query and set RES_NOTLDQUERY.
40255         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40256         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40257         modern BIND to search name as TLD unless forbidden.
40259 2011-05-07  Petr Baudis  <pasky@suse.cz>
40260             Ulrich Drepper  <drepper@gmail.com>
40262         [BZ #12393]
40263         * elf/dl-load.c (fillin_rpath): Move trusted path check...
40264         (is_trusted_path): ...to here.
40265         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40266         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40267         using is_trusted_path_normalize() in setuid scripts.
40269 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40271         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40272         __BEGIN/__END_DECLS.
40274 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
40276         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40277         NSS_STATUS_NOTFOUND if no record was found.
40279 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40281         * sunrpc/Makefile (headers): Add rpc/netdb.h.
40282         (headers-not-in-tirpc): Remove rpc/netdb.h
40283         * resolv/netdb.h: Revert last change.
40285 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40287         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40288         circular dependency between libgcc.a and libc.a.
40290 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40292         * resolv/netdb.h: Don't include <rpc/netdb.h>.
40293         * nis/Makefile: Don't install rpcsvc/*.
40294         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40295         instead of <rpc/types.h>.
40296         (MAXHOSTNAMELEN): Define.
40298 2011-05-03  Andreas Schwab  <schwab@redhat.com>
40300         * elf/ldconfig.c (add_dir): Don't crash on empty path.
40302 2011-04-28  Maciej Babinski  <mbabinski@google.com>
40304         [BZ #12714]
40305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40306         gethostbyname4_r when IPv6 results are possible.
40308 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
40310         [BZ #12723]
40311         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40312         _PC_PIPE_BUF handling.
40314 2011-04-30  Bruno Haible  <bruno@clisp.org>
40316         [BZ #12717]
40317         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40318         * resolv/netdb.h (getnameinfo): Change type of flags parameter
40319         to 'int'.
40320         * inet/getnameinfo.c (getnameinfo): Likewise.
40322 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
40324         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40325         to groups setting in database lookup.
40326         * nss/nsswitch.conf: Add initgroups entry.
40328 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
40330         [BZ #12685]
40331         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40332         mode string.
40333         Patch by Eric Blake <eblake@redhat.com>.
40335 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
40337         * sunrpc/Makefile (need-export-routines): Add svc_run.
40338         (routines): Remove svc_run.
40339         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40340         * sunrpc/clnt_perr.c (clnt_perrno): Export.
40341         * sunrpc/svc_run.c (svc_run): Likewise.
40342         * sunrpc/svc_udp.c (svcudp_create): Likewise.
40344 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
40346         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40347         problem in reallocation in last patch.
40349 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
40351         * sunrpc/Makefile: Move inclusion of Rules.
40353 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40355         * nss/nss_files/files-initgroups.c: New file.
40356         * nss/Makefile (libnss_files-routines): Add files-initgroups.
40357         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40358         _nss_files_initgroups_dyn.
40360 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
40362         * elf/elf.h (R_ARM_IRELATIVE): Define.
40364 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40366         * po/ru.po: Update from translation team.
40368 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40370         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40371         dependencies.
40373 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
40375         [BZ #12653]
40376         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40377         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40378         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40379         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40380         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40382 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
40384         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40385         differing bytes.
40386         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40387         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40388         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40390 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40392         [BZ #12420]
40393         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40394         storing it.
40395         * stdlib/bug-getcontext.c: New file.
40396         * stdlib/Makefile: Add rules to build and run bug-getcontext.
40398 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40400         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40401         instructions into .machine "z9-109".
40402         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40403         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40405 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40407         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40408         between environment variables and auxiliary vector.
40410 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
40412         * Makefile: Add rules to build linkobj/libc.so.
40413         * include/libc-symbols.h: Define libc_hidden_nolink.
40414         * include/rpc/auth.h: Mark functions which are to be hidden.
40415         * include/rpc/auth_des.h: Likewise.
40416         * include/rpc/auth_unix.h: Likewise.
40417         * include/rpc/clnt.h: Likewise.
40418         * include/rpc/des_crypt.h: Likewise.
40419         * include/rpc/key_prot.h: Likewise.
40420         * include/rpc/pmap_clnt.h: Likewise.
40421         * include/rpc/pmap_prot.h: Likewise.
40422         * include/rpc/pmap_rmt.h: Likewise.
40423         * include/rpc/rpc_msg.h: Likewise.
40424         * include/rpc/svc.h: Likewise.
40425         * include/rpc/svc_auth.h: Likewise.
40426         * include/rpc/xdr.h: Likewise.
40427         * nis/Makefile: Link all DSOs against linkobj/libc.so.
40428         * nss/Makefile: Likewise.
40429         * sunrpc/Makefile: Don't install headers.  Build library with normal
40430         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
40431         * sunrpc/auth_des.c: Hide exported symbols by default, export some
40432         for the compat linking library.  Remove use of INTDEF/INTUSE.
40433         * sunrpc/auth_none.c: Likewise.
40434         * sunrpc/auth_unix.c: Likewise.
40435         * sunrpc/authdes_prot.c: Likewise.
40436         * sunrpc/authuxprot.c: Likewise.
40437         * sunrpc/clnt_gen.c: Likewise.
40438         * sunrpc/clnt_perr.c: Likewise.
40439         * sunrpc/clnt_raw.c: Likewise.
40440         * sunrpc/clnt_simp.c: Likewise.
40441         * sunrpc/clnt_tcp.c: Likewise.
40442         * sunrpc/clnt_udp.c: Likewise.
40443         * sunrpc/clnt_unix.c: Likewise.
40444         * sunrpc/des_crypt.c: Likewise.
40445         * sunrpc/des_soft.c: Likewise.
40446         * sunrpc/get_myaddr.c: Likewise.
40447         * sunrpc/key_call.c: Likewise.
40448         * sunrpc/key_prot.c: Likewise.
40449         * sunrpc/netname.c: Likewise.
40450         * sunrpc/pm_getmaps.c: Likewise.
40451         * sunrpc/pm_getport.c: Likewise.
40452         * sunrpc/pmap_clnt.c: Likewise.
40453         * sunrpc/pmap_prot.c: Likewise.
40454         * sunrpc/pmap_prot2.c: Likewise.
40455         * sunrpc/pmap_rmt.c: Likewise.
40456         * sunrpc/publickey.c: Likewise.
40457         * sunrpc/rpc_cmsg.c: Likewise.
40458         * sunrpc/rpc_common.c: Likewise.
40459         * sunrpc/rpc_dtable.c: Likewise.
40460         * sunrpc/rpc_prot.c: Likewise.
40461         * sunrpc/rpc_thread.c: Likewise.
40462         * sunrpc/rtime.c: Likewise.
40463         * sunrpc/svc.c: Likewise.
40464         * sunrpc/svc_auth.c: Likewise.
40465         * sunrpc/svc_authux.c: Likewise.
40466         * sunrpc/svc_raw.c: Likewise.
40467         * sunrpc/svc_run.c: Likewise.
40468         * sunrpc/svc_simple.c: Likewise.
40469         * sunrpc/svc_tcp.c: Likewise.
40470         * sunrpc/svc_udp.c: Likewise.
40471         * sunrpc/svc_unix.c: Likewise.
40472         * sunrpc/svcauth_des.c: Likewise.
40473         * sunrpc/xcrypt.c: Likewise.
40474         * sunrpc/xdr.c: Likewise.
40475         * sunrpc/xdr_array.c: Likewise.
40476         * sunrpc/xdr_float.c: Likewise.
40477         * sunrpc/xdr_intXX_t.c: Likewise.
40478         * sunrpc/xdr_mem.c: Likewise.
40479         * sunrpc/xdr_rec.c: Likewise.
40480         * sunrpc/xdr_ref.c: Likewise.
40481         * sunrpc/xdr_sizeof.c: Likewise.
40482         * sunrpc/xdr_stdio.c: Likewise.
40484 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
40486         [BZ #12650]
40487         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40488         * sysdeps/ia64/dl-tls.h: Likewise.
40489         * sysdeps/powerpc/dl-tls.h: Likewise.
40490         * sysdeps/s390/dl-tls.h: Likewise.
40491         * sysdeps/sh/dl-tls.h: Likewise.
40492         * sysdeps/sparc/dl-tls.h: Likewise.
40493         * sysdeps/x86_64/dl-tls.h: Likewise.
40494         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40496 2011-03-14  Andreas Schwab  <schwab@redhat.com>
40498         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40499         rpath element also skip the following colon.
40500         (expand_dynamic_string_token): Add is_path parameter and pass
40501         down to DL_DST_REQUIRED and _dl_dst_substitute.
40502         (decompose_rpath): Call expand_dynamic_string_token with
40503         non-zero is_path.  Ignore empty rpaths.
40504         (_dl_map_object_from_fd): Call expand_dynamic_string_token
40505         with zero is_path.
40507 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
40509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40510         Make cancelable.
40512 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
40514         [BZ #12655]
40515         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40516         Patch by Filipe David Manana <fdmanana@apache.org>.
40518 2011-04-07  Andreas Schwab  <schwab@redhat.com>
40520         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40521         Maintain aligned stack.
40522         (CHECK_RSP): Remove unused macro.
40524 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
40526         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40527         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40529 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
40531         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40533         * include/features.h: Mention __USE_XOPEN2K8 in comment.
40535 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
40537         [BZ #12518]
40538         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40539         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40540         * sysdeps/x86_64/memmove.c: New file.
40541         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40542         (memcpy): Renamed to ...
40543         (__new_memcpy): This.
40544         (memcpy): Provide GLIBC_2_14 memcpy.
40545         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40546         (memcpy): Provide GLIBC_2_2_5 memcpy.
40548 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40550         [BZ #12631]
40551         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40553 2011-03-30  Andreas Schwab  <schwab@redhat.com>
40555         * misc/syncfs.c: New file.
40556         * misc/Makefile (routines): Add syncfs.
40557         * posix/unistd.h: Declare syncfs.
40558         * sysdeps/unix/syscalls.list: Add syncfs.
40560 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40562         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40563         open_by_handle_at.
40564         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40565         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40566         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40567         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40569         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40570         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40572 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40574         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40575         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40576         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40577         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40578         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40579         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40580         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40582         * io/Makefile: Compile fallocate.c, fallocate64.c, and
40583         sync_file_range.c with -fexceptions.
40584         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40585         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40586         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40587         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40588         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40589         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40590         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40591         sync_file_range as cancellation point
40592         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
40593         now a wrapper around __call_sync_file_range with cancellation handling.
40594         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40595         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
40596         function name to __call_sync_file_range.
40597         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40598         Add call_sync_file_range.
40600 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40602         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40603         bits/timex.h.
40605 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40607         * iconv/iconv.h: Fix typo in comment.
40608         * io/fcntl.h: Likewise.
40609         * libio/stdio.h: Likewise.
40610         * posix/spawn.h: Likewise.
40611         * posix/unistd.h: Likewise.
40612         * stdlib/stdlib.h: Likewise.
40613         * time/time.h: Likewise.
40614         * wcsmbs/wchar.h: Likewise.
40616         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40617         open_by_handle): Add.
40618         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40619         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
40620         Augment a few comments.
40621         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40622         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40623         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40624         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40625         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40626         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40627         open_by_handle.
40629         * io/fcntl.h (AT_EMPTY_PATH): Define.
40631 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
40633         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40634         * sysdeps/unix/sysv/linux/bits/time.h: New file.
40635         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40636         to...
40637         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
40638         * Versions.def: Add GLIBC_2.14.
40639         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40640         Export.
40642 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
40644         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40645         round counter.
40646         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40648 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40650         [BZ #12597]
40651         * string/test-strncmp.c (do_page_test): New function.
40652         (check2): Likewise.
40653         (test_main): Call check2.
40654         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40656 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
40658         [BZ #12587]
40659         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40660         Handle cache information in CPU leaf 4.
40661         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40663 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
40665         [BZ #12583]
40666         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40667         character representation.
40668         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40670 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
40672         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40673         END(__isnan) to END(__isnanf) to match function entry point/label
40674         EALIGN(__isnanf,...).
40676 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
40678         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40680 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
40682         [BZ #12510]
40683         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40684         copy from the symbol referenced in the relocation to initialize the
40685         used variable.
40686         Patch by Piotr Bury <pbury@goahead.com>.
40687         * elf/Makefile: Add rules to build and tst-unique3.
40688         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40689         * elf/tst-unique3.cc: New file.
40690         * elf/tst-unique3.h: New file.
40691         * elf/tst-unique3lib.cc: New file.
40692         * elf/tst-unique3lib2.cc: New file.
40694         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40696 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
40698         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40699         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
40700         to _start.
40702 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
40704         * elf/dl-load.c (_dl_map_object): If we are looking for the first
40705         to-be-loaded object along a path to loader is ld.so.
40707 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40708             Ulrich Drepper  <drepper@gmail.com>
40710         * sysdeps/x86_64/memset.S: After aligning destination, code
40711         branches to different locations depending on the value of
40712         misalignment, when multiarch is enabled. Fix this.
40714 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40716         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40717         Set _x86_64_preferred_memory_instruction for AMD processsors.
40718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40719         Set bit_Prefer_SSE_for_memop for AMD processors.
40721 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
40723         * libio/fmemopen.c (fmemopen): Optimize a bit.
40725 2011-03-03  Andreas Schwab  <schwab@redhat.com>
40727         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40729 2011-03-03  Roland McGrath  <roland@redhat.com>
40731         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40733 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
40735         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40736         __bzero_ultra1 instead of __memset_ultra1.
40738 2011-02-23  Andreas Schwab  <schwab@redhat.com>
40739             Ulrich Drepper  <drepper@gmail.com>
40741         [BZ #12509]
40742         * include/link.h (struct link_map): Add l_orig_initfini.
40743         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40744         returning unsuccessfully.
40745         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40746         close of a file loaded at startup, restore the original l_initfini
40747         list.
40748         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40749         list, store the pointer.
40750         * elf/Makefile ($(objpfx)noload-mem): New rule.
40751         (noload-ENV): Define.
40752         (tests): Add $(objpfx)noload-mem.
40753         * elf/noload.c: Include <memcheck.h>.
40754         (main): Call mtrace.  Close all opened handles.
40756 2011-02-17  Andreas Schwab  <schwab@redhat.com>
40758         [BZ #12454]
40759         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40760         dependencies are missing.
40762 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40764         Fix __if_freereq crash: Unlike the generic version which uses free,
40765         Hurd needs munmap.
40766         * sysdeps/mach/hurd/ifreq.h: New file.
40768 2011-01-27  Petr Baudis  <pasky@suse.cz>
40769             Ulrich Drepper  <drepper@gmail.com>
40771         [BZ 12445]#
40772         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40773         to extend_alloca().
40774         * stdio-common/bug23.c: New file.
40775         * stdio-common/Makefile (tests): Add bug23.
40777 2010-09-28  Andreas Schwab  <schwab@redhat.com>
40778             Ulrich Drepper  <drepper@gmail.com>
40780         [BZ #12489]
40781         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40782         before performing relro protection.  At old place add assertion
40783         to make sure nothing changed.
40785 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
40786             Glauber de Oliveira Costa  <glommer@gmail.com>
40788         * elf/elf.h: Add new ARM TLS relocs.
40790 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
40792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40793         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40794         cast from r3.
40795         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
40796         'tests' variable.
40797         * sysdeps/wordsize-64/tst-writev.c: New file.
40799 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
40801         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40802         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40803         insns in _dl_start to prevent a TOC reference before relocs are
40804         resolved.
40806 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
40808         [BZ #12469]
40809         * Makeconfig: Remove RANLIB definition.
40810         * Makerules: Don't use RANLIB.
40811         * aclocal.m4: Remove ranlib test.
40812         * configure.in: No need to check for ranlib.
40813         * elf/rtld-Rules: Don't use RANLIB.
40815 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40817         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40818         protection macro.
40819         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40820         inclusion protection macro.
40822         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40823         SIGRTMIN and SIGRTMAX and print information in that case only when
40824         SIGRTMIN is defined.
40826 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
40828         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40829         arginfo fn returning -1.
40831         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40832         and thousands string is zero terminated.
40834 2011-02-03  Andreas Schwab  <schwab@redhat.com>
40836         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40837         sysdeps/unix/sysv/linux/bits/socket.h.
40839 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40841         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40842         (__CPU_COUNT): Remove old macros.
40843         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40844         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40845         (__CPU_ALLOC, __CPU_FREE): Add macros.
40846         (__sched_cpualloc, __sched_cpufree): Add declarations.
40848 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
40850         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40851         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40852         * nscd/aicache.c (addhstaiX): Return timeout of added value.
40853         (readdhstai): Return value of addhstaiX call.
40854         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40855         (addgrbyX): Return value returned by cache_addgr.
40856         (readdgrbyname): Return value returned by addgrbyX.
40857         (readdgrbygid): Likewise.
40858         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40859         (addpwbyX): Return value returned by cache_addpw.
40860         (readdpwbyname): Return value returned by addhstbyX.
40861         (readdpwbyuid): Likewise.
40862         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40863         (addservbyX): Return value returned by cache_addserv.
40864         (readdservbyname): Return value returned by addservbyX:
40865         (readdservbyport): Likewise.
40866         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40867         (addhstbyX): Return value returned by cache_addhst.
40868         (readdhstbyname): Return value returned by addhstbyX.
40869         (readdhstbyaddr): Likewise.
40870         (readdhstbynamev6): Likewise.
40871         (readdhstbyaddrv6): Likewise.
40872         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40873         (readdinitgroups): Return value returned by addinitgroupsX.
40874         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40875         (prune_cache): Keep track of timeout value of re-added entries.
40876         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40877         * nscd/nscd.h: Adjust prototypes of readd* functions.
40879 2011-02-04  Roland McGrath  <roland@redhat.com>
40881         * nis/nis_server.c (nis_servstate): Use the right name for 0.
40882         (nis_stats): Likewise.
40883         * nis/nis_modify.c (nis_modify): Likewise.
40884         * nis/nis_remove.c (nis_remove): Likewise.
40885         * nis/nis_add.c (nis_add): Likewise.
40887         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40889         * posix/fnmatch_loop.c: Add some consts.
40891         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40893 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
40895         [BZ #12460]
40896         * config.make.in (config-cflags-novzeroupper): Define.
40897         * configure.in: Substitute libc_cv_cc_novzeroupper.
40898         * elf/Makefile (AVX-CFLAGS): Define.
40899         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40900         (CFLAGS-tst-auditmod4a.c): Likewise.
40901         (CFLAGS-tst-auditmod4b.c): Likewise.
40902         (CFLAGS-tst-auditmod6b.c): Likewise.
40903         (CFLAGS-tst-auditmod6c.c): Likewise.
40904         (CFLAGS-tst-auditmod7b.c): Likewise.
40905         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40907 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
40909         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40910         function to the callback.
40911         Patch partly by Jiri Olsa <jolsa@redhat.com>.
40913 2011-02-02  Andreas Schwab  <schwab@redhat.com>
40915         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40916         of errno.
40918 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
40920         [BZ #11724]
40921         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40922         of constructors.
40923         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40924         of destructors.
40925         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40927         [BZ #11724]
40928         * elf/Makefile: Add rules to build and run new test.
40929         * elf/tst-initorder.c: New file.
40930         * elf/tst-initorder.exp: New file.
40931         * elf/tst-initordera1.c: New file.
40932         * elf/tst-initordera2.c: New file.
40933         * elf/tst-initordera3.c: New file.
40934         * elf/tst-initordera4.c: New file.
40935         * elf/tst-initorderb1.c: New file.
40936         * elf/tst-initorderb2.c: New file.
40937         * elf/tst-order-a1.c: New file.
40938         * elf/tst-order-a2.c: New file.
40939         * elf/tst-order-a3.c: New file.
40940         * elf/tst-order-a4.c: New file.
40941         * elf/tst-order-b1.c: New file.
40942         * elf/tst-order-b2.c: New file.
40943         * elf/tst-order-main.c: New file.
40944         New test case by George Gensure <werkt0@gmail.com>.
40946 2010-10-01  Andreas Schwab  <schwab@redhat.com>
40948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40949         decoding ACE if AI_CANONIDN.
40951 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
40953         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40955 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
40957         * version.h (RELEASE): Bump for 2.13 release.
40958         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40960         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40962         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40963         MADV_NOHUGEPAGE.
40964         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40965         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40966         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40967         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40968         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40969         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40971         * posix/getconf.c: Update copyright year.
40972         * catgets/gencat.c: Likewise.
40973         * csu/version.c: Likewise.
40974         * debug/catchsegv.sh: Likewise.
40975         * debug/xtrace.sh: Likewise.
40976         * elf/ldconfig.c: Likewise.
40977         * elf/ldd.bash.in: Likewise.
40978         * elf/sprof.c (print_version): Likewise.
40979         * iconv/iconv_prog.c: Likewise.
40980         * iconv/iconvconfig.c: Likewise.
40981         * locale/programs/locale.c: Likewise.
40982         * locale/programs/localedef.c: Likewise.
40983         * malloc/memusage.sh: Likewise.
40984         * malloc/mtrace.pl: Likewise.
40985         * nscd/nscd.c (print_version): Likewise.
40986         * nss/getent.c: Likewise.
40988         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40989         PF_CAIF, and PF_ALG.
40990         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40992 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
40994         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40995         (modules-names): Use them.
40996         (ifunc-test-modules, ifunc-pie-tests): Define.
40997         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40998         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40999         (test-extras): Likewise.
41000         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41001         $(compile-command.c).
41002         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41003         (all-built-dso): Define.
41004         (check-textrel.out, check-execstack.out): Depend on it.
41006         * configure.in: Don't override --enable-multi-arch.
41008 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
41010         [BZ #6812]
41011         * nscd/hstcache.c (tryagain): Define.
41012         (cache_addhst): Return tryagain not notfound for temporary errors.
41013         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41014         failed.
41016 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
41018         [BZ #10563]
41019         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41020         to make the syscall.
41021         * sysdeps/unix/sysv/linux/setgroups.c: New file.
41023         [BZ #12378]
41024         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41025         and fall back to matching as normal character if the string ends before
41026         the matching ']' is found.  This is what POSIX requires.
41027         * posix/testfnm.c: Adjust test result.
41028         * posix/globtest.sh: Adjust test result.  Add new test.
41029         * posix/tst-fnmatch.input: Likewise.
41030         * posix/tst-fnmatch2.c: Add new test.
41032 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
41034         * elf/Makefile (check-execstack): Revert last change.  Depend on
41035         check-execstack.h.
41036         (check-execstack.h): New target.
41037         (generated): Add check-execstack.h.
41038         * elf/check-execstack.c: Include "check-execstack.h".
41039         (main): Revert last change.
41040         (handle_file): Return zero if GNU_STACK is absent and
41041         DEFAULT_STACK_PERMS doesn't include PF_X.
41043 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
41045         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41046         in child fails because the descriptor is already closed.
41047         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41048         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41049         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41051         [BZ #12397]
41052         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41053         syscall.
41055         [BZ #10484]
41056         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41057         temporary buffer used to handle multi lookups locally.
41058         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41060 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41062         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41063         loader is ld.so.
41065 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
41067         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41068         alignment for SSE2.
41070 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41072         [BZ #12394]
41073         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41074         characters.  When rounding increased number of integer digits recompute
41075         number of groups.
41076         * stdio-common/tst-grouping.c: New file.
41077         * stdio-common/Makefile: Add rules to build and run tst-grouping.
41079 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
41081         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41082         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
41084         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41085         void.
41086         * bits/select.h: Likewise.
41088 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
41090         * po/ja.po: Update from translation team.
41092 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
41094         [BZ #11155]
41095         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41096         implementation just like for lxstat, fxstatat, et al.
41098 2010-12-27  Jim Meyering  <meyering@redhat.com>
41100         [BZ #12348]
41101         * posix/regexec.c (build_trtable): Return failure indication upon
41102         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
41104 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
41106         [BZ #12201]
41107         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41108         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41109         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41110         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41112         [BZ #12207]
41113         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41115         [BZ #12204]
41116         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41117         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41119 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
41121         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41122         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41123         script has SORT_BY_INIT_PRIORITY.
41124         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41125         NO_CTORS_DTORS_SECTIONS is defined.
41126         * elf/soinit.c: Likewise.
41127         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41128         NO_CTORS_DTORS_SECTIONS is defined.
41129         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41130         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41131         * sysdeps/sh/init-first.c: Likewise.
41132         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41134 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
41136         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41137         always use the slow path.
41139 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
41141         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41142         similar rule which adds the sysdep directories to the header search in
41143         order to pick up the correct platform stackinfo.h.
41144         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41145         perform test if it is, otherwise return successfully without testing.
41146         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41147         DEFAULT_STACK_PERMS define in stackinfo.h.
41148         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41149         defined in stackinfo.h.
41150         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41151         DEFAULT_STACK_PERMS defined in stackinfo.h.
41152         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41153         * sysdeps/ia64/stackinfo.h: Likewise.
41154         * sysdeps/s390/stackinfo.h: Likewise.
41155         * sysdeps/sh/stackinfo.h: Likewise.
41156         * sysdeps/sparc/stackinfo.h: Likewise.
41157         * sysdeps/x86_64/stackinfo.h: Likewise.
41158         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41159         PF_X for powerpc64.  Retain PF_X for powerpc32.
41161 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
41163         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41164         accurately.
41165         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41166         GETDENTS_64BIT_ALIGNED.
41168 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
41170         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41172 2010-12-10  Andreas Schwab  <schwab@redhat.com>
41174         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41175         _GNU_SOURCE.
41177         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41178         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41179         Remove __restrict.
41180         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41181         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41183 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
41185         [BZ #11655]
41186         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41187         are initialized.
41189 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
41191         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41193 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
41195         * po/it.po: Update from translation team.
41197 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
41199         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41200         unused codes.
41202 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
41204         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41206 2010-11-24  Andreas Schwab  <schwab@redhat.com>
41208         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41209         specially.
41210         (gaih_getanswer_slice): Likewise.
41212 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
41214         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41216 2010-05-31  Petr Baudis  <pasky@suse.cz>
41218         [BZ #11149]
41219         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41220         silently even in the chroot mode.
41222 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
41224         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41225         last patch a bit.  Pretty printing
41227 2010-05-31  Petr Baudis <pasky@suse.cz>
41229         [BZ #10085]
41230         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41231         initialization of skip_initgroups_dyn.
41233 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
41235         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41236         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41238 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
41240         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41242 2010-11-11  Andreas Schwab  <schwab@redhat.com>
41244         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41245         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41246         (tst-fnmatch-ENV): Set MALLOC_TRACE.
41247         ($(objpfx)tst-fnmatch-mem): New rule.
41248         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41249         * posix/tst-fnmatch.c (main): Call mtrace.
41251 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
41253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41254         Support Intel processor model 6 and model 0x2c.
41256 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
41258         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41259           signed comparison.
41261 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
41263         [BZ #12205]
41264         * string/test-strncasecmp.c (check_result): New function.
41265         (do_one_test): Use it.
41266         (check1): New function.
41267         (test_main): Use it.
41268         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41269         Support strcasecmp and strncasecmp.
41271 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
41273         [BZ #12194]
41274         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41275         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41277 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41279         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41280         IFUNC support.
41281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41282         memset-x86-64.
41283         * sysdeps/x86_64/multiarch/bzero.S: New file.
41284         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41285         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41286         * sysdeps/x86_64/multiarch/memset.S: New file.
41287         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41288         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41289         Set bit_Prefer_SSE_for_memop for Intel processors.
41290         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41291         Define.
41292         (index_Prefer_SSE_for_memop): Define.
41293         (HAS_PREFER_SSE_FOR_MEMOP): Define.
41295 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
41297         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41298         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41300 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
41302         [BZ #12191]
41303         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41304         (__x86_64_raw_data_cache_size_half): Likewise.
41305         (__x86_64_raw_shared_cache_size): Likewise.
41306         (__x86_64_raw_shared_cache_size_half): Likewise.
41308         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41309         (__x86_64_raw_data_cache_size_half): Likewise.
41310         (__x86_64_raw_shared_cache_size): Likewise.
41311         (__x86_64_raw_shared_cache_size_half): Likewise.
41312         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41313         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41314         and __x86_64_raw_shared_cache_size_half.  Round
41315         __x86_64_data_cache_size_half, __x86_64_data_cache_size
41316         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41317         to multiple of 256 bytes.
41319 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
41321         [BZ #12167]
41322         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41323         of inacessible symlinks.  Verify result of symlink before returning it.
41324         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41325         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41327 2010-10-28  Erich Ritz  <erichritz@gmail.com>
41329         * math/math.h (isinf): Fix typo in comment.
41331 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
41333         * po/da.po: Update from translation team.
41335 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
41337         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41338         is added to the list.
41340 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41341             Ulrich Drepper  <drepper@gmail.com>
41343         * elf/dl-object.c (_dl_new_object): Don't append the new object to
41344         the global list here.  Move code to...
41345         (_dl_add_to_namespace_list): ...here.  New function.
41346         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41347         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41348         * elf/dl-load.c (lose): Don't remove the element from the list.
41349         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41350         (_dl_map_object): Likewise.
41352 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
41354         [BZ #12159]
41355         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41356         into all bytes of SSE register.
41357         Patch by Richard Li <richardpku@gmail.com>.
41359 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
41361         [BZ #12140]
41362         * malloc/malloc.c (_int_free): Fill correct number of bytes when
41363         perturbing.
41365 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
41367         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41368         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41369         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41370         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41372         submachine.
41373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41375 2010-10-22  Andreas Schwab  <schwab@redhat.com>
41377         * include/dlfcn.h (__RTLD_SECURE): Define.
41378         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
41379         mode & __RTLD_SECURE instead.
41380         (open_path): Rename preloaded parameter to secure.
41381         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41382         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41383         * elf/dl-deps.c (openaux): Likewise.
41384         * elf/rtld.c (struct map_args): Remove is_preloaded.
41385         (map_doit): Don't use it.
41386         (dl_main): Likewise.
41387         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41388         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41390 2010-09-09  Andreas Schwab  <schwab@redhat.com>
41392         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41393         (sysd-rules-targets): Remove duplicates.
41394         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41395         rtld-%.$o dependency.
41397 2010-10-18  Andreas Schwab  <schwab@redhat.com>
41399         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41400         _dl_map_object do it.
41402 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
41404         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41405         fast fma builtins, define the macros in the C99 standard.
41406         (FP_FAST_FMAF): Likewise.
41407         (FP_FAST_FMAL): Likewise.
41408         * sysdeps/x86_64/bits/mathdef.h: Likewise.
41410         * bits/mathdef.h: Update copyright year.
41411         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41413 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
41415         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41416         builtins, define the macros in the C99 standard.
41417         (FP_FAST_FMAF): Likewise.
41418         (FP_FAST_FMAL): Likewise.
41419         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41420         multiply/add.
41421         (FP_FAST_FMAF): Likewise.
41423 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
41425         [BZ #3268]
41426         * math/libm-test.inc (fma_test): Some new testcases.
41427         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41428         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41429         y and infinite z.  Do multiplication by C already in long double.
41430         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41431         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41432         y and infinite z.  Do bitwise or of inexact bit into u.d.
41433         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41434         * sysdeps/i386/fpu/s_fmaf.S: Removed.
41435         * sysdeps/i386/fpu/s_fma.S: Removed.
41436         * sysdeps/i386/fpu/s_fmal.S: Removed.
41438 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
41440         [BZ #3268]
41441         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41442         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41443         computation is not scheduled after fetestexcept.  Fix value
41444         of minimum denormal long double.
41446 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
41448         [BZ #3268]
41449         * math/libm-test.inc (fma_test): Add some more tests.
41450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41451         correctly.
41453 2010-10-15  Andreas Schwab  <schwab@redhat.com>
41455         * scripts/data/localplt-s390-linux-gnu.data: New file.
41456         * scripts/data/localplt-s390x-linux-gnu.data: New file.
41458 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
41460         [BZ #3268]
41461         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41462         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41463         instead of dbl-64.
41464         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41465         inlines.
41466         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41468         if one of x and y is very large and the other is subnormal.
41469         * sysdeps/s390/fpu/s_fmaf.c: New file.
41470         * sysdeps/s390/fpu/s_fma.c: New file.
41471         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41472         * sysdeps/powerpc/fpu/s_fma.S: New file.
41473         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41474         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41475         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41477 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
41479         [BZ #3268]
41480         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41481         fma tests.
41482         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41483         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41484         * sysdeps/i386/i686/multiarch/s_fma.c: Include
41485         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41486         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41487         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41488         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41490 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
41492         [BZ #12078]
41493         * posix/regcomp.c (parse_branch): One more memory leak plugged.
41494         * posix/bug-regex31.input: Add test case.
41496 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41498         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41499         * posix/bug-regex31.input: New file.
41501         [BZ #12078]
41502         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41503         (parse_sub_exp): Fix last change, use postorder.
41505         * posix/bug-regex31.c: New file.
41506         * posix/Makefile: Add rules to build and run bug-regex31.
41508         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41510         [BZ #12078]
41511         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41513         [BZ #12108]
41514         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41515         to have entries in sys_siglist.
41517         [BZ #12093]
41518         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41519         be NULL.
41521 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
41523         [BZ #3268]
41524         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41525         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41526         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41527         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41528         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41529         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41530         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41531         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41532         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41533         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41534         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41535         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41536         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41537         * math/ftestexcept.c (fetestexcept): Likewise.
41538         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41539         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41540         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41541         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41542         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41543         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41544         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41546 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41548         [BZ #12107]
41549         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41550         newline.
41552 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
41554         * string/bug-strstr1.c: New file.
41555         * string/Makefile: Add rules to build and run bug-strstr1.
41557 2010-10-05  Eric Blake  <eblake@redhat.com>
41559         [BZ #12092]
41560         * string/str-two-way.h (two_way_long_needle): Always clear memory
41561         when skipping input due to the shift table.
41563 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
41565         [BZ #12005]
41566         * malloc/mcheck.c: Handle large requests.
41568         [BZ #12077]
41569         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41570         for strncmp and strncasecmp.
41571         * string/stratcliff.c: Add tests for strcmp and strncmp.
41572         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41574 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41576         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41577         __set_fpscr.
41579 2010-09-30  Andreas Jaeger  <aj@suse.de>
41581         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41582         (CGROUP_SUPER_MAGIC): Define.
41583         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41584         Handle btrfs and cgroup file systems.
41585         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41586         Likewise.
41588 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
41590         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41591         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41593 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41595         [BZ #12067]
41596         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41597         trying to locate the ELF header.
41599 2010-09-27  Andreas Schwab  <schwab@redhat.com>
41601         [BZ #11611]
41602         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41603         Mask out sign-bit copies when constructing f_fsid.
41605 2010-09-24  Petr Baudis <pasky@suse.cz>
41607         * debug/stack_chk_fail_local.c: Add missing licence exception.
41608         * debug/warning-nop.c: Likewise.
41610 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
41612         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41613         implementing getdents64 using getdents syscall, set d_type if
41614         __ASSUME_GETDENTS32_D_TYPE.
41616 2010-09-16  Andreas Schwab  <schwab@redhat.com>
41618         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41619         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41621 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
41623         [BZ #12037]
41624         * posix/unistd.h: Undo change of feature selection for ftruncate from
41625         2010-01-11.
41627 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
41629         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41630         detection.
41632 2010-09-20  Andreas Schwab  <schwab@redhat.com>
41634         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41635         fanotify_mark.
41636         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41638 2010-09-14  Andreas Schwab  <schwab@redhat.com>
41640         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41641         variables after CHECK_SP call.
41642         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41644 2010-09-13  Andreas Schwab  <schwab@redhat.com>
41645             Ulrich Drepper  <drepper@redhat.com>
41647         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41648         re-relocationg ld.so.
41649         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41650         _dl_init_paths call.
41651         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
41652         here anymore.
41654 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
41656         * resolv/res_init.c (__res_vinit): Count the default server we added.
41658 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
41659             Ulrich Drepper  <drepper@redhat.com>
41661         [BZ #11968]
41662         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41663         (____longjmp_chk): Use %ebx for saving value across system call.
41664         Add unwind info.
41666 2010-09-06  Andreas Schwab  <schwab@redhat.com>
41668         * manual/Makefile: Don't mix pattern rules with normal rules.
41670 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41672         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41673         operation.
41674         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41675         * libio/iofopncook.c (_IO_cookie_init): Likewise.
41676         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41677         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41678         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41679         Likewise.
41681 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
41683         [BZ #11979]
41684         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41685         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41687 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
41689         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41690         * sysdeps/x86_64/addmul_1.S: Likewise.
41691         * sysdeps/x86_64/lshift.S: Likewise.
41692         * sysdeps/x86_64/mul_1.S: Likewise.
41693         * sysdeps/x86_64/rshift.S: Likewise.
41694         * sysdeps/x86_64/sub_n.S: Likewise.
41695         * sysdeps/x86_64/submul_1.S: Likewise.
41697 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41699         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41700         Define __sched_param instead of SCHED_* and sched_param when
41701         <bits/sched.h> is included with __need_schedparam defined.
41702         * bits/sched.h [__need_schedparam]
41703         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41704         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41705         (__defined_schedparam): Define to 1.
41706         (__sched_param): New structure, identical to sched_param.
41707         (__need_schedparam): Undefine.
41709 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
41711         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41712         (epoll_create1): Declare.
41714         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41716 2010-08-31  Andreas Schwab  <schwab@redhat.com>
41718         [BZ #7066]
41719         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41720         shifting retval into place.
41722 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
41724         * nis/rpcsvc/nis.h: Update copyright notice.
41725         * nis/rpcsvc/nis.x: Likewise.
41726         * nis/rpcsvc/nis_callback.h: Likewise.
41727         * nis/rpcsvc/nis_callback.x: Likewise.
41728         * nis/rpcsvc/nis_object.x: Likewise.
41729         * nis/rpcsvc/nis_tags.h: Likewise.
41730         * nis/rpcsvc/yp.h: Likewise.
41731         * nis/rpcsvc/yp.x: Likewise.
41732         * nis/rpcsvc/ypupd.h: Likewise.
41733         * nis/yp_xdr.c: Likewise.
41734         * nis/ypupdate_xdr.c: Likewise.
41736         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
41737         mainly the body of pmap_getport.  Add parameters to specify timeouts.
41738         (pmap_getport): Use __libc_rpc_getport.
41739         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41740         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41741         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41743 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
41745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41746         fanotify_mark.
41748 2010-08-27  Roland McGrath  <roland@redhat.com>
41750         * sysdeps/i386/i686/multiarch/Makefile
41751         (CFLAGS-varshift.c): New variable.
41753 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
41755         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41756         * sysdeps/i386/i686/multiarch/varshift.c: New file.
41758         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41760         * sysdeps/x86_64/strlen.S: Minimal code improvement.
41762 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
41764         * sysdeps/x86_64/strlen.S: Unroll the loop.
41765         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41766         strlen-sse2 strlen-sse2-bsf.
41767         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41768         __strlen_no_bsf if bit_Slow_BSF is set.
41769         (__strlen_sse42): Removed.
41770         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41771         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41773 2010-08-25  Roland McGrath  <roland@redhat.com>
41775         * sysdeps/x86_64/multiarch/varshift.S: File removed.
41776         * sysdeps/x86_64/multiarch/varshift.c: New file.
41777         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41778         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41779         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41780         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41782 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
41784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41785         strlen-sse2 strlen-sse2-bsf.
41786         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41787         __strlen_sse2_bsf if bit_Slow_BSF is unset.
41788         (__strlen_sse2): Removed.
41789         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41790         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41792         bit_Slow_BSF for Atom.
41793         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41794         (index_Slow_BSF): Define.
41795         (HAS_SLOW_BSF): Define.
41797 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
41799         [BZ #10851]
41800         * resolv/res_init.c (__res_vinit): When no server address at all
41801         is given default to loopback.
41803 2010-08-24  Roland McGrath  <roland@redhat.com>
41805         * configure.in: Remove config-name.h generation.
41806         * configure: Regenerated.
41807         * config-name.in: File removed.
41808         * scripts/config-uname.sh: New file.
41809         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41810         ($(objdir)config-name.h): New target.
41812         * sunrpc/rpc_parse.h: Avoid nested comment.
41814 2010-08-24  Richard Henderson  <rth@redhat.com>
41815             Ulrich Drepper  <drepper@redhat.com>
41816             H.J. Lu  <hongjiu.lu@intel.com>
41818         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41820         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41821         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
41822         _mm_alignr_epi8 with _mm_loadu_si128.
41823         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41824         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41825         (__m128i_shift_right): Removed.
41826         * sysdeps/i386/i686/multiarch/varshift.h: New file.
41827         * sysdeps/i386/i686/multiarch/varshift.S: New file.
41828         * sysdeps/x86_64/multiarch/varshift.h: New file.
41829         * sysdeps/x86_64/multiarch/varshift.S: New file.
41831 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
41833         * configure.in: Move assembler checks to before sysdep dir checking.
41835 2010-08-20  Petr Baudis  <pasky@suse.cz>
41837         * LICENSES: Sync the sunrpc license.
41839 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
41841         * sunrpc/auth_des.c: Update copyright notice once again.
41842         * sunrpc/auth_none.c: Likewise.
41843         * sunrpc/auth_unix.c: Likewise.
41844         * sunrpc/authdes_prot.c: Likewise.
41845         * sunrpc/authuxprot.c: Likewise.
41846         * sunrpc/bindrsvprt.c: Likewise.
41847         * sunrpc/clnt_gen.c: Likewise.
41848         * sunrpc/clnt_perr.c: Likewise.
41849         * sunrpc/clnt_raw.c: Likewise.
41850         * sunrpc/clnt_simp.c: Likewise.
41851         * sunrpc/clnt_tcp.c: Likewise.
41852         * sunrpc/clnt_udp.c: Likewise.
41853         * sunrpc/clnt_unix.c: Likewise.
41854         * sunrpc/des_crypt.c: Likewise.
41855         * sunrpc/des_soft.c: Likewise.
41856         * sunrpc/get_myaddr.c: Likewise.
41857         * sunrpc/getrpcport.c: Likewise.
41858         * sunrpc/key_call.c: Likewise.
41859         * sunrpc/key_prot.c: Likewise.
41860         * sunrpc/openchild.c: Likewise.
41861         * sunrpc/pm_getmaps.c: Likewise.
41862         * sunrpc/pm_getport.c: Likewise.
41863         * sunrpc/pmap_clnt.c: Likewise.
41864         * sunrpc/pmap_prot.c: Likewise.
41865         * sunrpc/pmap_prot2.c: Likewise.
41866         * sunrpc/pmap_rmt.c: Likewise.
41867         * sunrpc/rpc/auth.h: Likewise.
41868         * sunrpc/rpc/auth_unix.h: Likewise.
41869         * sunrpc/rpc/clnt.h: Likewise.
41870         * sunrpc/rpc/des_crypt.h: Likewise.
41871         * sunrpc/rpc/key_prot.h: Likewise.
41872         * sunrpc/rpc/netdb.h: Likewise.
41873         * sunrpc/rpc/pmap_clnt.h: Likewise.
41874         * sunrpc/rpc/pmap_prot.h: Likewise.
41875         * sunrpc/rpc/pmap_rmt.h: Likewise.
41876         * sunrpc/rpc/rpc.h: Likewise.
41877         * sunrpc/rpc/rpc_des.h: Likewise.
41878         * sunrpc/rpc/rpc_msg.h: Likewise.
41879         * sunrpc/rpc/svc.h: Likewise.
41880         * sunrpc/rpc/svc_auth.h: Likewise.
41881         * sunrpc/rpc/types.h: Likewise.
41882         * sunrpc/rpc/xdr.h: Likewise.
41883         * sunrpc/rpc_clntout.c: Likewise.
41884         * sunrpc/rpc_cmsg.c: Likewise.
41885         * sunrpc/rpc_common.c: Likewise.
41886         * sunrpc/rpc_cout.c: Likewise.
41887         * sunrpc/rpc_dtable.c: Likewise.
41888         * sunrpc/rpc_hout.c: Likewise.
41889         * sunrpc/rpc_main.c: Likewise.
41890         * sunrpc/rpc_parse.c: Likewise.
41891         * sunrpc/rpc_parse.h: Likewise.
41892         * sunrpc/rpc_prot.c: Likewise.
41893         * sunrpc/rpc_sample.c: Likewise.
41894         * sunrpc/rpc_scan.c: Likewise.
41895         * sunrpc/rpc_scan.h: Likewise.
41896         * sunrpc/rpc_svcout.c: Likewise.
41897         * sunrpc/rpc_tblout.c: Likewise.
41898         * sunrpc/rpc_util.c: Likewise.
41899         * sunrpc/rpc_util.h: Likewise.
41900         * sunrpc/rpcinfo.c: Likewise.
41901         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41902         * sunrpc/rpcsvc/key_prot.x: Likewise.
41903         * sunrpc/rpcsvc/klm_prot.x: Likewise.
41904         * sunrpc/rpcsvc/mount.x: Likewise.
41905         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41906         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41907         * sunrpc/rpcsvc/rex.x: Likewise.
41908         * sunrpc/rpcsvc/rstat.x: Likewise.
41909         * sunrpc/rpcsvc/rusers.x: Likewise.
41910         * sunrpc/rpcsvc/sm_inter.x: Likewise.
41911         * sunrpc/rpcsvc/spray.x: Likewise.
41912         * sunrpc/rpcsvc/yppasswd.x: Likewise.
41913         * sunrpc/rtime.c: Likewise.
41914         * sunrpc/svc.c: Likewise.
41915         * sunrpc/svc_auth.c: Likewise.
41916         * sunrpc/svc_authux.c: Likewise.
41917         * sunrpc/svc_raw.c: Likewise.
41918         * sunrpc/svc_run.c: Likewise.
41919         * sunrpc/svc_simple.c: Likewise.
41920         * sunrpc/svc_tcp.c: Likewise.
41921         * sunrpc/svc_udp.c: Likewise.
41922         * sunrpc/svc_unix.c: Likewise.
41923         * sunrpc/svcauth_des.c: Likewise.
41924         * sunrpc/xcrypt.c: Likewise.
41925         * sunrpc/xdr.c: Likewise.
41926         * sunrpc/xdr_array.c: Likewise.
41927         * sunrpc/xdr_float.c: Likewise.
41928         * sunrpc/xdr_mem.c: Likewise.
41929         * sunrpc/xdr_rec.c: Likewise.
41930         * sunrpc/xdr_ref.c: Likewise.
41931         * sunrpc/xdr_sizeof.c: Likewise.
41932         * sunrpc/xdr_stdio.c: Likewise.
41934         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41935         handling.
41937 2010-08-19  Andreas Schwab  <schwab@redhat.com>
41939         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41941 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
41943         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41944         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41945         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41946         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41947         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41948         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41949         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41950         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41951         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41952         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41953         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41954         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41955         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41956         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41958 2010-07-26  Anton Blanchard  <anton@samba.org>
41960         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41961         * malloc/arena.c (heap_trim): Likewise.
41963 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
41965         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41966         here.  Not...
41967         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41968         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41970 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41972         * sysdeps/i386/elf/Makefile: New file.
41974 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41976         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41977         from fanotify_init.
41978         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41979         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41981 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
41983         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41984         of strncasecmp_l.
41985         * sysdeps/multiarch/strcmp.S: Likewise.
41987 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
41989         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41990         strncase_l-nonascii.
41991         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41992         Add strncase_l-ssse3.
41993         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41994         * sysdeps/x86_64/strcmp.S: Likewise.
41995         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41996         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41997         * sysdeps/x86_64/strncase.S: New file.
41998         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41999         * sysdeps/x86_64/strncase_l.S: New file.
42000         * string/Makefile (strop-tests): Add strncasecmp.
42001         * string/test-strncasecmp.c: New file.
42003         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42004         warning.
42006         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42007         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42009 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
42011         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42013 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
42015         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42016         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42017         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42019 2010-05-01  Alan Modra  <amodra@gmail.com>
42021         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42022         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42023         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42024         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42025         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42026         tidying.  Don't tail-call __sigjmp_save for static lib.
42027         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42028         save location.
42029         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42030         (CALL_MCOUNT): Add eh info, and nop after bl.
42031         (TAIL_CALL_SYSCALL_ERROR): New macro.
42032         (PSEUDO_RET): Use it.
42033         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42034         Correct save location of integer regs and cr.
42035         (_dl_profile_resolve): Correct cr save location.  Delete nops
42036         after bl when SHARED.  Reduce cfi size a little by better
42037         placement of cfi directives.
42038         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42039         make a stack frame.  Instead use parm save area as a temp.
42040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42041         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
42042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42043         Don't make a stack frame for parent, use parm save area.
42044         Increase child stack frame to 112 bytes.  Don't save unused reg,
42045         and adjust reg usage.  Set up cfi on error recovery and
42046         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42048         (__makecontext): Add dummy nop after jump to exit.
42049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42050         Use correct parm save area and cr save, reduce stack frame.
42051         Correct cfi for possible PSEUDO_RET frame setup.
42052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42053         Branch to local label emitted by PSEUDO_RET rather than
42054         __syscall_error.
42056 2010-08-12  Andreas Schwab  <schwab@redhat.com>
42058         [BZ #11904]
42059         * locale/programs/locale.c (print_assignment): New function.
42060         (show_locale_vars): Use it.
42062 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
42064         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42065         field.
42066         (struct statfs64): Likewise.
42067         (_STATFS_F_FLAGS): Define.
42068         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42069         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42070         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42071         (ST_VALID): Define locally.
42072         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42073         __statvfs_getflags, use the provided value.
42074         * sysdeps/unix/sysv/linux/kernel-features.h: Define
42075         __ASSUME_STATFS_F_FLAGS.
42077         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42079         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42080         Add sys/fanotify.h.
42081         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42082         fanotify_mask for GLIBC_2.13.
42083         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42084         fanotify_init and fanotify_mark.
42085         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42086         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42088         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42089         Add prlimit.
42090         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42091         prlimit64 for GLIBC_2.13.
42092         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42093         prlimit64.
42094         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42095         syscall.
42096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42097         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42098         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42099         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42100         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
42101         add prlimit alias.
42102         * sysdeps/unix/sysv/linux/prlimit.c: New file.
42104         [BZ #11903]
42105         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42106         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42108         * nss/Makefile: Add rules to build and run tst-nss-test1.
42109         * shlib-versions: Add entry for libnss_test1.
42110         * nss/nss_test1.c: New file.
42111         * nss/tst-nss-test1.c: New file.
42113         * nss/nsswitch.c (__nss_database_custom): Define new variable.
42114         (__nss_configure_lookup): Set appropriate entry in
42115         __nss_configure_lookup to true.
42116         * nss/nsswitch.h: Define enum with indeces of databases in
42117         databases and __nss_database_custom arrays.  Declare
42118         __nss_database_custom.
42119         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42120         to avoid using nscd when custom rules are installed.
42121         * nss/getXXbyYY_r.c: Likewise.
42122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42124         * nss/nss_files/files-parse.c: Whitespace fixes.
42126 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
42128         [BZ #11883]
42129         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42130         * posix/fnmatch_loop.c: Likewise.
42132 2010-07-17  Andi Kleen  <ak@linux.intel.com>
42134         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42135         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42136         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42137         * Versions.def [GLIBC_2.13]: Add.
42139 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
42141         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42142         Also fail if tpwd after pwuid call is NULL.
42144 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42146         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42147         when converting to ms.
42149 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42151         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42152         EOPNOTSUPP errors with ENOTTY.
42153         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42154         EOPNOTSUPP errors with ENOTTY.
42156 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
42158         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42159         Add strcasecmp_l-ssse3.
42160         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42161         strcasecmp.
42162         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42163         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42164         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42166 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
42168         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42170         * string/Makefile (strop-tests): Add strcasecmp.
42171         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42172         strcasecmp_l-nonascii.
42173         (gen-as-const-headers): Add locale-defines.sym.
42174         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42175         * sysdeps/x86_64/strcasecmp.S: New file.
42176         * sysdeps/x86_64/strcasecmp_l.S: New file.
42177         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42178         * sysdeps/x86_64/locale-defines.sym: New file.
42179         * string/test-strcasecmp.c: New file.
42181         * string/test-strcasestr.c: Test both ends of the range of characters.
42182         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42184 2010-07-29  Roland McGrath  <roland@redhat.com>
42186         [BZ #11856]
42187         * manual/locale.texi (Yes-or-No Questions): Fix example code.
42189 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
42191         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42192         for ld.so.
42194 2010-07-27  Andreas Schwab  <schwab@redhat.com>
42196         * manual/memory.texi (Malloc Tunable Parameters): Document
42197         M_PERTURB.
42199 2010-07-26  Roland McGrath  <roland@redhat.com>
42201         [BZ #11840]
42202         * configure.in (-fgnu89-inline check): Set and substitute
42203         gnu89_inline, not libc_cv_gnu89_inline.
42204         * configure: Regenerated.
42205         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42207 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
42209         * string/test-strnlen.c: New file.
42210         * string/Makefile (strop-tests): Add strnlen.
42211         * string/tester.c (test_strnlen): Add a few more test cases.
42212         * string/tst-strlen.c: Better error reporting.
42214         * sysdeps/x86_64/strnlen.S: New file.
42216 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
42218         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42219         lower-latency instructions.
42221 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
42223         * string/test-strcasestr.c: New file.
42224         * string/test-strstr.c: New file.
42225         * string/Makefile (strop-tests): Add strstr and strcasestr.
42226         * string/str-two-way.h: Don't undefine MAX.
42227         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42229 2010-07-21  Andreas Schwab  <schwab@redhat.com>
42231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42232         strcasestr-nonascii.
42233         (CFLAGS-strcasestr-nonascii.c): Define.
42234         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42235         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42236         Remove unused attribute.
42238 2010-07-20  Roland McGrath  <roland@redhat.com>
42240         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42241         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
42242         ld.so.cache was broken.  With it, there is no way to disable dsocaps
42243         like LD_HWCAP_MASK can disable hwcaps.
42245 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42247         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42249 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
42251         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42252         call in strcasestr.
42253         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42254         __strcasestr_sse42_nonascii.
42255         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42256         strcasestr-nonascii.c.
42257         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42259 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
42261         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42262         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42263         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42264         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42266 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
42268         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42269         fcntl.
42271 2010-07-06  Andreas Schwab  <schwab@redhat.com>
42273         [BZ #11577]
42274         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42275         dl_signal_cerror.
42277 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
42279         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42280         _PC_PIPE_BUF using F_GETPIPE_SZ.
42282 2010-07-05  Roland McGrath  <roland@redhat.com>
42284         * manual/arith.texi (Rounding Functions): Fix rint description
42285         implicit in round description.
42287 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
42289         * elf/Makefile: Fix linking for a few tests to make recent linker
42290         happy.
42292 2010-06-30  Andreas Schwab  <schwab@redhat.com>
42294         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42295         $(common-objpfx)libc_nonshared.a.
42297 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
42299         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42300         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42301         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42302         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42303         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42304         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42305         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42306         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42321         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42322         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42323         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42324         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42325         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42326         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42327         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42328         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42329         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42330         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42331         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42332         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42348 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
42350         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42351         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
42352         * string/memmove.c (memmove): Renamed to ...
42353         (MEMMOVE): ...this.  Default to memmove.
42354         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42355         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42356         (END_CHK): Define.
42357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42358         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42359         mempcpy-ssse3-back memmove-ssse3-back.
42360         * sysdeps/x86_64/multiarch/bcopy.S: New file .
42361         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42362         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42363         * sysdeps/x86_64/multiarch/memcpy.S: New file.
42364         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42365         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42366         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42367         * sysdeps/x86_64/multiarch/memmove.c: New file.
42368         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42369         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42370         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42371         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42372         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42373         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42374         Define.
42375         (index_Fast_Copy_Backward): Define.
42376         (HAS_ARCH_FEATURE): Define.
42377         (HAS_FAST_REP_STRING): Define.
42378         (HAS_FAST_COPY_BACKWARD): Define.
42380 2010-06-21  Andreas Schwab  <schwab@redhat.com>
42382         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42383         Restore proper fallback handling.
42385 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
42387         [BZ #11701]
42388         * posix/group_member.c (__group_member): Correct checking loop.
42390         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42391         OOM in getpwuid_r correctly.  Return error number when the caller
42392         should return, otherwise -1.
42393         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42394         call returning > 0 value.
42395         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42397 2010-06-07  Andreas Schwab  <schwab@redhat.com>
42399         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42400         libc_nonshared.a from targets in modules-names.
42402 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
42404         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42405         requires it.
42407 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
42409         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42410         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42411         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42412         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42414 2010-06-02  Andreas Schwab  <schwab@redhat.com>
42416         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42418 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
42420         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42421         and F_GETPIPE_SZ.
42422         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42423         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42425         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42426         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42427         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42429 2010-06-14  Roland McGrath  <roland@redhat.com>
42431         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42433 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
42435         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42436         __REDIRECT followed by __THROW.
42437         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42438         * posix/getopt.h (getopt): Likewise.
42440 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42442         * hurd/lookup-at.c (__file_name_lookup_at): Accept
42443         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
42444         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42445         in AT_FLAGS.
42446         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42447         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42449 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
42451         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42453 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
42455         [BZ #11640]
42456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42457         Properly check family and model.
42459 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
42461         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42463 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
42465         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42467 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
42469         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42470         symbol reference.
42472 2010-05-19  Andreas Schwab  <schwab@redhat.com>
42474         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42475         symbol reference.
42477 2010-05-21  Andreas Schwab  <schwab@redhat.com>
42479         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42480         and internal_recvmmsg.
42481         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42482         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42483         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42484         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42486         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42487         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42488         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42490 2010-05-20  Andreas Schwab  <schwab@redhat.com>
42492         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42494 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
42496         POWER7 optimizations.
42497         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42498         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42500 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
42502         * version.h: Update for 2.13 development version.
42504 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
42506         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42507         exceptions.  Return 0.
42509 2010-05-07  Roland McGrath  <roland@redhat.com>
42511         * elf/ldconfig.c (main): Add a const.
42513 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
42515         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42516         (args_options): Add no-idn option.
42517         (ahosts_keys_int): Add idn_flags to ai_flags.
42518         (parse_option): Handle 'i' option to clear idn_flags.
42520         * malloc/malloc.c (_int_free): Possible race in the most recently
42521         added check.  Only act on the data if no current modification
42522         happened.
42524 See ChangeLog.17 for earlier changes.