Test most libm functions in all rounding modes.
[glibc.git] / ChangeLog
blobcdd8697f6a3f736b4210ba6e019744494c64c93e
1 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4         (atan_test): Likewise.
5         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6         (atanh_test): Use ALL_RM_TEST.
7         (atan2_test_data): Likewise.
8         (cabs_test): Likewise.
9         (cacosh_test): Likewise.
10         (carg_test): Likewise.
11         (casin_test): Likewise.
12         (casinh_test): Likewise.
13         (cbrt_test): Likewise.
14         (csqrt_test): Likewise.
15         (erf_test): Likewise.
16         (erfc_test): Likewise.
17         (pow10_test): Likewise.
18         (exp2_test): Likewise.
19         (hypot_test): Likewise.
20         (j0_test): Likewise.
21         (j1_test): Likewise.
22         (lgamma_test): Likewise.
23         (gamma_test): Likewise.
24         (sincos_test): Likewise.
25         (tanh_test): Likewise.
26         (y0_test): Likewise.
27         (y1_test): Likewise.
28         * sysdeps/i386/fpu/libm-test-ulps: Update.
29         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
34         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35         and strcspn-ppc64 objects.
36         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39         multiarch strcspn for POWER7.
40         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41         multiarch strcspn for PPC64.
42         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43         ifunc selector.
44         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
45         strcspn for POWER7.
47 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
49         * math/gen-libm-test.pl (generate_testfile): Expect only function
50         name as argument to AUTO_TESTS_* and pass results for all rounding
51         modes to parse_args.
52         (parse_auto_input): Separate inputs of automatic tests from
53         outputs before storing in %auto_tests.
54         * math/libm-test.inc (acos_test_data): Update call to
55         AUTO_TESTS_f_f.
56         (acos_test): Use ALL_RM_TEST.
57         (acos_tonearest_test_data): Remove.
58         (acos_test_tonearest): Likewise.
59         (acos_towardzero_test_data): Likewise.
60         (acos_test_towardzero): Likewise.
61         (acos_downward_test_data): Likewise.
62         (acos_test_downward): Likewise.
63         (acos_upward_test_data): Likewise.
64         (acos_test_upward): Likewise.
65         (acosh_test_data): Update call to AUTO_TESTS_f_f.
66         (asin_test_data): Likewise.
67         (asin_test): Use ALL_RM_TEST.
68         (asin_tonearest_test_data): Remove.
69         (asin_test_tonearest): Likewise.
70         (asin_towardzero_test_data): Likewise.
71         (asin_test_towardzero): Likewise.
72         (asin_downward_test_data): Likewise.
73         (asin_test_downward): Likewise.
74         (asin_upward_test_data): Likewise.
75         (asin_test_upward): Likewise.
76         (asinh_test_data): Update call to AUTO_TESTS_f_f.
77         (atan_test_data): Likewise.
78         (atanh_test_data): Likewise.
79         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
80         (cabs_test_data): Update call to AUTO_TESTS_c_f.
81         (carg_test_data): Likewise.
82         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
83         (ccos_test_data): Update call to AUTO_TESTS_c_c.
84         (ccosh_test_data): Likewise.
85         (cexp_test_data): Likewise.
86         (clog_test_data): Likewise.
87         (clog10_test_data): Likewise.
88         (cos_test_data): Update call to AUTO_TESTS_f_f.
89         (cos_test): Use ALL_RM_TEST.
90         (cos_tonearest_test_data): Remove.
91         (cos_test_tonearest): Likewise.
92         (cos_towardzero_test_data): Likewise.
93         (cos_test_towardzero): Likewise.
94         (cos_downward_test_data): Likewise.
95         (cos_test_downward): Likewise.
96         (cos_upward_test_data): Likewise.
97         (cos_test_upward): Likewise.
98         (cosh_test_data): Update call to AUTO_TESTS_f_f.
99         (cosh_test): Use ALL_RM_TEST.
100         (cosh_tonearest_test_data): Remove.
101         (cosh_test_tonearest): Likewise.
102         (cosh_towardzero_test_data): Likewise.
103         (cosh_test_towardzero): Likewise.
104         (cosh_downward_test_data): Likewise.
105         (cosh_test_downward): Likewise.
106         (cosh_upward_test_data): Likewise.
107         (cosh_test_upward): Likewise.
108         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
109         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
110         (ctan_test_data): Likewise.
111         (ctan_test): Use ALL_RM_TEST.
112         (ctan_tonearest_test_data): Remove.
113         (ctan_test_tonearest): Likewise.
114         (ctan_towardzero_test_data): Likewise.
115         (ctan_test_towardzero): Likewise.
116         (ctan_downward_test_data): Likewise.
117         (ctan_test_downward): Likewise.
118         (ctan_upward_test_data): Likewise.
119         (ctan_test_upward): Likewise.
120         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
121         (ctanh_test): Use ALL_RM_TEST.
122         (ctanh_tonearest_test_data): Remove.
123         (ctanh_test_tonearest): Likewise.
124         (ctanh_towardzero_test_data): Likewise.
125         (ctanh_test_towardzero): Likewise.
126         (ctanh_downward_test_data): Likewise.
127         (ctanh_test_downward): Likewise.
128         (ctanh_upward_test_data): Likewise.
129         (ctanh_test_upward): Likewise.
130         (erf_test_data): Update call to AUTO_TESTS_f_f.
131         (erfc_test_data): Likewise.
132         (exp_test_data): Likewise.
133         (exp_test): Use ALL_RM_TEST.
134         (exp_tonearest_test_data): Remove.
135         (exp_test_tonearest): Likewise.
136         (exp_towardzero_test_data): Likewise.
137         (exp_test_towardzero): Likewise.
138         (exp_downward_test_data): Likewise.
139         (exp_test_downward): Likewise.
140         (exp_upward_test_data): Likewise.
141         (exp_test_upward): Likewise.
142         (exp10_test_data): Update call to AUTO_TESTS_f_f.
143         (exp10_test): Use ALL_RM_TEST.
144         (exp10_tonearest_test_data): Remove.
145         (exp10_test_tonearest): Likewise.
146         (exp10_towardzero_test_data): Likewise.
147         (exp10_test_towardzero): Likewise.
148         (exp10_downward_test_data): Likewise.
149         (exp10_test_downward): Likewise.
150         (exp10_upward_test_data): Likewise.
151         (exp10_test_upward): Likewise.
152         (exp2_test_data): Update call to AUTO_TESTS_f_f.
153         (expm1_test_data): Likewise.
154         (expm1_test): Use ALL_RM_TEST.
155         (expm1_tonearest_test_data): Remove.
156         (expm1_test_tonearest): Likewise.
157         (expm1_towardzero_test_data): Likewise.
158         (expm1_test_towardzero): Likewise.
159         (expm1_downward_test_data): Likewise.
160         (expm1_test_downward): Likewise.
161         (expm1_upward_test_data): Likewise.
162         (expm1_test_upward): Likewise.
163         (fma_test_data): Update call to AUTO_TESTS_fff_f.
164         (fma_test): Use ALL_RM_TEST.
165         (fma_towardzero_test_data): Remove.
166         (fma_test_towardzero): Likewise.
167         (fma_downward_test_data): Likewise.
168         (fma_test_downward): Likewise.
169         (fma_upward_test_data): Likewise.
170         (fma_test_upward): Likewise.
171         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
172         (j0_test_data): Update call to AUTO_TESTS_f_f.
173         (j1_test_data): Likewise.
174         (jn_test_data): Update call to AUTO_TESTS_if_f.
175         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
176         (log_test_data): Update call to AUTO_TESTS_f_f.
177         (log10_test_data): Likewise.
178         (log1p_test_data): Likewise.
179         (log2_test_data): Likewise.
180         (pow_test_data): Update call to AUTO_TESTS_ff_f.
181         (pow_tonearest_test_data): Likewise.
182         (sin_test_data): Update call to AUTO_TESTS_f_f.
183         (sin_test): Use ALL_RM_TEST.
184         (sin_tonearest_test_data): Remove.
185         (sin_test_tonearest): Likewise.
186         (sin_towardzero_test_data): Likewise.
187         (sin_test_towardzero): Likewise.
188         (sin_downward_test_data): Likewise.
189         (sin_test_downward): Likewise.
190         (sin_upward_test_data): Likewise.
191         (sin_test_upward): Likewise.
192         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
193         (sinh_test_data): Update call to AUTO_TESTS_f_f.
194         (sinh_test): Use ALL_RM_TEST.
195         (sinh_tonearest_test_data): Remove.
196         (sinh_test_tonearest): Likewise.
197         (sinh_towardzero_test_data): Likewise.
198         (sinh_test_towardzero): Likewise.
199         (sinh_downward_test_data): Likewise.
200         (sinh_test_downward): Likewise.
201         (sinh_upward_test_data): Likewise.
202         (sinh_test_upward): Likewise.
203         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
204         (sqrt_test): Use ALL_RM_TEST.
205         (sqrt_tonearest_test_data): Remove.
206         (sqrt_test_tonearest): Likewise.
207         (sqrt_towardzero_test_data): Likewise.
208         (sqrt_test_towardzero): Likewise.
209         (sqrt_downward_test_data): Likewise.
210         (sqrt_test_downward): Likewise.
211         (sqrt_upward_test_data): Likewise.
212         (sqrt_test_upward): Likewise.
213         (tan_test_data): Update call to AUTO_TESTS_f_f.
214         (tan_test): Use ALL_RM_TEST.
215         (tan_tonearest_test_data): Remove.
216         (tan_test_tonearest): Likewise.
217         (tan_towardzero_test_data): Likewise.
218         (tan_test_towardzero): Likewise.
219         (tan_downward_test_data): Likewise.
220         (tan_test_downward): Likewise.
221         (tan_upward_test_data): Likewise.
222         (tan_test_upward): Likewise.
223         (tanh_test_data): Update call to AUTO_TESTS_f_f.
224         (tgamma_test_data): Likewise.
225         (y0_test_data): Likewise.
226         (y1_test_data): Likewise.
227         (yn_test_data): Update call to AUTO_TESTS_if_f.
228         (main): Do not call removed functions.
230 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
232         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
233         (ldexp_test_data): Remove.
234         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
235         scalbn_test_data.
236         (scalb_test): Use ALL_RM_TEST.
238 2014-03-19  Andreas Schwab  <schwab@suse.de>
240         * nscd/nscd.service: Also invalidate netgroup cache on reload.
242 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
244         [BZ #16649]
245         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
246         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
247         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
248         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
249         (__ASSUME_PREADV): Undefine.
250         (__ASSUME_PWRITEV): Likewise.
252 2014-03-18  Roland McGrath  <roland@hack.frob.com>
254         * bits/mman-linux.h: Add comment about non-Linux use.
255         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
256         bits/mman-linux.h resting place.
258         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
259         * bits/mman-linux.h: ... here.
261 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
263         * conform/conformtest.pl: Add standard definition when calling C
264         preprocessor on data files.
265         (checknamespace): Remove unused variable.
267 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
269         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
270         minus_oflow, plus_uflow and minus_uflow in expected results.
271         * math/libm-test.inc (scalbn_test_data): Add more tests of
272         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
273         minus_uflow.
274         (scalbn_test): Use ALL_RM_TEST.
275         (scalbln_test_data): Add more tests of negative arguments.  Use
276         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
277         (scalbln_test): Use ALL_RM_TEST.
279 2014-03-18  Roland McGrath  <roland@hack.frob.com>
281         * scripts/abilist.awk: Ignore symbols marked with .hidden.
283 2014-03-18  Will Newton  <will.newton@linaro.org>
285         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
286         inaccurate comment.
288 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
290         * Makerules [!subdir] (check-abi): Exit with error status if a
291         test failed.
293 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
295         * math/libm-test.inc (nearbyint_test_data): Include all tests used
296         for rint.  Include results for all rounding modes.
297         (nearbyint_test): Use ALL_RM_TEST.
298         (rint_test_data): Include all tests used for nearbyint.
300 2014-03-17  Will Newton  <will.newton@linaro.org>
302         * nptl/sysdeps/pthread/pthread.h: Revert previous
303         change.
305         * sysdeps/generic/ldsodefs.h: Revert previous
306         change.
308         * libio/genops.c: Revert previous change.
309         * libio/libioP.h: Likewise.
310         * stdio-common/vfprintf.c: Likewise.
312         * sysdeps/generic/math_private.h: Revert previous
313         change.
315         * sysdeps/generic/math_private.h: Check whether
316         HAVE_RM_CTX is defined with #ifdef rather
317         than #if.
319         * argp/argp-fmtstream.h: Check whether
320         __STRICT_ANSI__ is defined with #ifdef rather
321         than #if.
322         * argp/argp.h: Likewise.
324         * libio/genops.c: Check whether
325         _IO_JUMPS_OFFSET is defined with #ifdef rather
326         than #if.
327         * libio/libioP.h: Likewise.
328         * stdio-common/vfprintf.c: Likewise.
330         * sysdeps/generic/ldsodefs.h: Check whether
331         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
332         than #if.
334         * nptl/sysdeps/pthread/pthread.h: Check
335         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
336         its value.
338 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
340         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
341         setting O_APPEND.
342         * libio/tst-ftell-active-handler.c (do_append_test): Add a
343         test case.
345         [BZ #16680]
346         * libio/fileops.c (_IO_file_open): Seek to end of file but
347         don't cache the offset.
348         (get_file_offset): Remove function.
349         (do_ftell): Use cached offset when available.
350         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
351         don't cache the offset.
352         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
353         case.
354         (do_one_test): Call it.
355         (do_ftell_test): Fix up expected old offset for a+ mode.
356         * libio/wfileops.c (do_ftell_wide): Used cached offset when
357         available.
359         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
360         up test status with function return status.
361         (do_write_test): Likewise.
362         (do_append_test): Likewise.
364         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
365         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
366         Remove.
368 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
370         * math/gen-libm-test.pl (parse_args): Handle results specified for
371         each rounding mode separately.
372         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
373         tests and results from lrint_tonearest_test_data,
374         lrint_towardzero_test_data, lrint_downward_test_data and
375         lrint_upward_test_data.
376         (lrint_test): Use ALL_RM_TEST.
377         (lrint_tonearest_test_data): Remove.
378         (lrint_test_tonearest): Likewise.
379         (lrint_towardzero_test_data): Likewise.
380         (lrint_test_towardzero): Likewise.
381         (lrint_downward_test_data): Likewise.
382         (lrint_test_downward): Likewise.
383         (lrint_upward_test_data): Likewise.
384         (lrint_test_upward): Likewise.
385         (llrint_test_data): Merge in per-rounding-mode tests and results
386         from llrint_tonearest_test_data, llrint_towardzero_test_data,
387         llrint_downward_test_data and llrint_upward_test_data.
388         (llrint_test): Use ALL_RM_TEST.
389         (llrint_tonearest_test_data): Remove.
390         (llrint_test_tonearest): Likewise.
391         (llrint_towardzero_test_data): Likewise.
392         (llrint_test_towardzero): Likewise.
393         (llrint_downward_test_data): Likewise.
394         (llrint_test_downward): Likewise.
395         (llrint_upward_test_data): Likewise.
396         (llrint_test_upward): Likewise.
397         (rint_test_data): Merge in per-rounding-mode tests and results
398         from rint_tonearest_test_data, rint_towardzero_test_data,
399         rint_downward_test_data and rint_upward_test_data.  Add
400         per-rounding-mode results for tests not in those arrays.
401         (rint_test): Use ALL_RM_TEST.
402         (rint_tonearest_test_data): Remove.
403         (rint_test_tonearest): Likewise.
404         (rint_towardzero_test_data): Likewise.
405         (rint_test_towardzero): Likewise.
406         (rint_downward_test_data): Likewise.
407         (rint_test_downward): Likewise.
408         (rint_upward_test_data): Likewise.
409         (rint_test_upward): Likewise.
410         (main): Don't call removed functions.
412 2014-03-14  Roland McGrath  <roland@hack.frob.com>
414         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
415         "Compiled on ..." crapola.  It is anti-useful.
417 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
419         * scripts/evaluate-test.sh: Handle fourth argument to determine
420         whether test run should stop on failure.
421         * Makeconfig (stop-on-test-failure): New variable.
422         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
423         $(stop-on-test-failure).
424         * Makefile (tests): Give a summary of results from testing and
425         exit with failure status if they include an ERROR or FAIL.
426         (xtests): Likewise.
427         * manual/install.texi (Configuring and compiling): Mention
428         stop-on-test-failure=y.
429         * INSTALL: Regenerated.
431 2014-03-14  Roland McGrath  <roland@hack.frob.com>
433         * scripts/versionlist.awk: New file.
434         * Makerules [$(build-shared) = yes]
435         (postclean-generated): Add Versions.def, not Versions.def.v and
436         Versions.def.v.i.
437         ($(common-objpfx)Versions.def.v.i): Target removed.
438         ($(common-objpfx)Versions.def): New target.
439         ($(common-objpfx)Versions.all): Depend on that rather that
440         $(common-objpfx)Versions.def.v.
441         * Versions.def: File removed.
443         * Makeconfig (+gccwarn): Add -Wundef.
444         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
445         a dl-sysdep.h breaking its contract.
446         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
447         * include/stackinfo.h: New file.
448         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
449         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
450         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
451         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
452         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
453         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
454         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
455         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
456         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
457         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
458         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
459         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
460         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
461         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
462         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
464 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
466         [BZ #16707]
467         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
468         implementation.
469         * math/libm-test.inc (round_test_data): Add more tests.
471 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
473         [BZ #16706]
474         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
475         implementation.
476         * math/libm-test.inc (nearbyint_test_data): Add more tests.
478 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
480         [BZ #16701]
481         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
482         implementation.
483         * math/libm-test.inc (ceil_test_data): Add more tests.
485 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
487         * math/libm-test.inc (trunc_test_data): Add more tests related to
488         BZ#16414.
490 2014-03-14  Roland McGrath  <roland@hack.frob.com>
492         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
493         with #if rather than #ifdef.
494         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
496 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
498         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
499         first.  Disable AVX-512 GCC support if assembler doesn't support
500         it.
501         * sysdeps/x86_64/configure: Regenerated.
503 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
505         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
506         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
507         (__old_pthread_attr_setstack): Likewise.
508         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
509         [!_STACK_GROWS_DOWN]: Likewise.
511 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
513         * config.make.in (have-bash2): Delete.
514         * configure.ac (libc_cv_have_bash2): Delete.
515         * configure: Regenerate.
516         * elf/Makefile (common-ldd-rewrite): Rename to ...
517         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
518         (sh-ldd-rewrite): Delete.
519         (bash-ldd-rewrite): Delete.
520         (have-bash2): Delete checks.
521         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
523 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
525         * config.make.in (have-ksh): Delete.
526         (KSH): Delete.
527         * configure.ac (libc_cv_have_ksh): Delete.
528         * configure: Regenerate.
530 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
532         * elf/Makefile: Delete $(have-ksh) check.
533         ($(objpfx)sotruss): Change KSH to BASH.
534         * elf/sotruss.ksh: Rename to ...
535         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
536         function style to match POSIX.  Drop ksh vim mode setting.
538 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
540         * manual/time.texi (Specifying the Time Zone with TZ): Change
541         Tuesday to Thursday.
543 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
545         * debug/tst-longjmp_chk2.c: Update header comment.
546         (stackoverflow_handler): Add comment.  Call assert on pass value.
548 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
550         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
551         (HAVE_AVX512_ASM_SUPPORT): Likewise.
552         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
553         (La_x86_64_vector): Add zmm.
554         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
555         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
556         ($(objpfx)tst-audit10): New target.
557         ($(objpfx)tst-audit10.out): Likewise.
558         (tst-audit10-ENV): New.
559         (AVX512-CFLAGS): Likewise.
560         (CFLAGS-tst-audit10.c): Likewise.
561         (CFLAGS-tst-auditmod10a.c): Likewise.
562         (CFLAGS-tst-auditmod10b.c): Likewise.
563         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
564         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
565         * sysdeps/x86_64/configure: Regenerated.
566         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
567         AVX-512 zmm register support.
568         (_dl_x86_64_save_sse): Likewise.
569         (_dl_x86_64_restore_sse): Likewise.
570         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
571         size vector registers.
572         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
573         (ZMM_SIZE): Likewise.
574         * sysdeps/x86_64/tst-audit10.c: New file.
575         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
576         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
578 2014-03-13  Roland McGrath  <roland@hack.frob.com>
580         * configure.ac (HAVE_EHDR_START): New check.
581         * configure: Regenerated.
582         * config.h.in (HAVE_EHDR_START): New #undef.
583         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
584         assuming the lowest-addressed segment maps the start of the file.
586 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
588         * INSTALL: Regenerated.
590 2014-03-13  Will Newton  <will.newton@linaro.org>
592         * manual/setjmp.texi (System V contexts): Improve
593         clarity and grammar of documentation.
595 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
597         [BZ #16381]
598         * elf/Makefile (tests): Add tst-pie2.
599         (tests-pie): Add tst-pie2.
600         * elf/tst-pie2.c: New file.
601         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
602         for ET_EXEC.
603         * elf/rtld.c (map_doit): Load executable as lt_executable.
604         (dl_main): Likewise.
606 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
608         [BZ #16642]
609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
610         (__ASSUME_PSELECT): Undefine.
612 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
614         [BZ #16689]
615         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
616         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
617         static build.
618         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
619         selector for static builds.
621 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
623         [BZ #16695]
624         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
625         key in the buffer.
627 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
629         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
630         selector for static builds.
632 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
634         * sysdeps/mips/math_private.h [__mips_hard_float]
635         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
636         libc_feresetround_mips_ctx.
637         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
638         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
639         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
641         [BZ #16677]
642         * math/s_nextafter.c (__nextafter): Do not return value from
643         overflowing computation.
644         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
645         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
646         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
647         Likewise.
648         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
649         Likewise.
650         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
651         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
653 2014-03-11  Roland McGrath  <roland@hack.frob.com>
655         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
656         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
657         Move sfi_sp use from the load-multiple (that no longer sets sp) to
658         the new mov targetting sp.
660 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
662         [BZ #16683]
663         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
664         Define it for static builds as well.
665         (NO_BZERO_IMPL): Likewise.
667 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
669         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
670         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
671         multiarch strspn for PPC64.
672         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
673         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
675         (__libc_ifunc_impl_list): Likewise.
676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
677         multiarch optimizations
678         * string/strspn.c (strspn): Using macro to redefine symbol name.
680 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
681             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
683         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
684         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
685         multiarch strncat for PPC64.
686         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
687         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
689         (__libc_ifunc_impl_list): Likewise.
690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
691         multiarch optimizations
693 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
695         [BZ #16639]
696         * nscd/nscd.service: Make service type forking.
698 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
700         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
701         sign in non default rounding modes.
702         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
704 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
706         * math/libm-test.inc (ALL_RM_TEST): New macro.
707         (ceil_test): Use ALL_RM_TEST.
708         (cimag_test): Likewise.
709         (conj_test): Likewise.
710         (copysign_test): Likewise.
711         (cproj_test): Likewise.
712         (creal_test): Likewise.
713         (fabs_test): Likewise.
714         (floor_test): Likewise.
715         (fmax_test): Likewise.
716         (fmin_test): Likewise.
717         (fmod_test): Likewise.
718         (fpclassify_test): Likewise.
719         (frexp_test): Likewise.
720         (ilogb_test): Likewise.
721         (isfinite_test): Likewise.
722         (finite_test): Likewise.
723         (isgreater_test): Likewise.
724         (isgreaterequal_test): Likewise.
725         (isinf_test): Likewise.
726         (isless_test): Likewise.
727         (islessequal_test): Likewise.
728         (islessgreater_test): Likewise.
729         (isnan_test): Likewise.
730         (isnormal_test): Likewise.
731         (issignaling_test): Likewise.
732         (isunordered_test): Likewise.
733         (logb_test): Likewise.
734         (logb_downward_test_data): Remove.
735         (logb_test_downward): Likewise.
736         (lround_test): Use ALL_RM_TEST.
737         (llround_test): Likewise.
738         (modf_test): Likewise.
739         (nexttoward_test): Likewise.
740         (remainder_test): Likewise.
741         (drem_test): Likewise.
742         (remainder_tonearest_test_data): Likewise.
743         (remainder_test_tonearest): Likewise.
744         (drem_test_tonearest): Likewise.
745         (remainder_towardzero_test_data): Likewise.
746         (remainder_test_towardzero): Likewise.
747         (drem_test_towardzero): Likewise.
748         (remainder_downward_test_data): Likewise.
749         (remainder_test_downward): Likewise.
750         (drem_test_downward): Likewise.
751         (remainder_upward_test_data): Likewise.
752         (remainder_test_upward): Likewise.
753         (drem_test_upward): Likewise.
754         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
755         (round_test): Use ALL_RM_TEST.
756         (signbit_test): Likewise.
757         (trunc_test): Likewise.
758         (significand_test): Likewise.
759         (main): Don't call removed functions.
761 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
763         [BZ #16674]
764         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
765         || __USE_XOPEN2K8].
766         (ILL_ILLOPN): Likewise.
767         (ILL_ILLADR): Likewise.
768         (ILL_ILLTRP): Likewise.
769         (ILL_PRVOPC): Likewise.
770         (ILL_PRVREG): Likewise.
771         (ILL_COPROC): Likewise.
772         (ILL_BADSTK): Likewise.
773         (FPE_INTDIV): Likewise.
774         (FPE_INTOVF): Likewise.
775         (FPE_FLTDIV): Likewise.
776         (FPE_FLTOVF): Likewise.
777         (FPE_FLTUND): Likewise.
778         (FPE_FLTRES): Likewise.
779         (FPE_FLTINV): Likewise.
780         (FPE_FLTSUB): Likewise.
781         (SEGV_MAPERR): Likewise.
782         (SEGV_ACCERR): Likewise.
783         (BUS_ADRALN): Likewise.
784         (BUS_ADRERR): Likewise.
785         (BUS_OBJERR): Likewise.
786         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
787         (TRAP_TRACE): Likewise.
788         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
789         __USE_XOPEN2K8].
790         (CLD_KILLED): Likewise.
791         (CLD_DUMPED): Likewise.
792         (CLD_TRAPPED): Likewise.
793         (CLD_STOPPED): Likewise.
794         (CLD_CONTINUED): Likewise.
795         (POLL_IN): Likewise.
796         (POLL_OUT): Likewise.
797         (POLL_MSG): Likewise.
798         (POLL_ERR): Likewise.
799         (POLL_PRI): Likewise.
800         (POLL_HUP): Likewise.
801         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
802         Likewise.
803         (ILL_ILLOPN): Likewise.
804         (ILL_ILLADR): Likewise.
805         (ILL_ILLTRP): Likewise.
806         (ILL_PRVOPC): Likewise.
807         (ILL_PRVREG): Likewise.
808         (ILL_COPROC): Likewise.
809         (ILL_BADSTK): Likewise.
810         (FPE_INTDIV): Likewise.
811         (FPE_INTOVF): Likewise.
812         (FPE_FLTDIV): Likewise.
813         (FPE_FLTOVF): Likewise.
814         (FPE_FLTUND): Likewise.
815         (FPE_FLTRES): Likewise.
816         (FPE_FLTINV): Likewise.
817         (FPE_FLTSUB): Likewise.
818         (SEGV_MAPERR): Likewise.
819         (SEGV_ACCERR): Likewise.
820         (BUS_ADRALN): Likewise.
821         (BUS_ADRERR): Likewise.
822         (BUS_OBJERR): Likewise.
823         (BUS_MCEERR_AR): Likewise.
824         (BUS_MCEERR_AO): Likewise.
825         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
826         (TRAP_TRACE): Likewise.
827         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
828         __USE_XOPEN2K8].
829         (CLD_KILLED): Likewise.
830         (CLD_DUMPED): Likewise.
831         (CLD_TRAPPED): Likewise.
832         (CLD_STOPPED): Likewise.
833         (CLD_CONTINUED): Likewise.
834         (POLL_IN): Likewise.
835         (POLL_OUT): Likewise.
836         (POLL_MSG): Likewise.
837         (POLL_ERR): Likewise.
838         (POLL_PRI): Likewise.
839         (POLL_HUP): Likewise.
840         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
841         (ILL_ILLOPN): Likewise.
842         (ILL_ILLADR): Likewise.
843         (ILL_ILLTRP): Likewise.
844         (ILL_PRVOPC): Likewise.
845         (ILL_PRVREG): Likewise.
846         (ILL_COPROC): Likewise.
847         (ILL_BADSTK): Likewise.
848         (FPE_INTDIV): Likewise.
849         (FPE_INTOVF): Likewise.
850         (FPE_FLTDIV): Likewise.
851         (FPE_FLTOVF): Likewise.
852         (FPE_FLTUND): Likewise.
853         (FPE_FLTRES): Likewise.
854         (FPE_FLTINV): Likewise.
855         (FPE_FLTSUB): Likewise.
856         (SEGV_MAPERR): Likewise.
857         (SEGV_ACCERR): Likewise.
858         (BUS_ADRALN): Likewise.
859         (BUS_ADRERR): Likewise.
860         (BUS_OBJERR): Likewise.
861         (BUS_MCEERR_AR): Likewise.
862         (BUS_MCEERR_AO): Likewise.
863         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
864         (TRAP_TRACE): Likewise.
865         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
866         __USE_XOPEN2K8].
867         (CLD_KILLED): Likewise.
868         (CLD_DUMPED): Likewise.
869         (CLD_TRAPPED): Likewise.
870         (CLD_STOPPED): Likewise.
871         (CLD_CONTINUED): Likewise.
872         (POLL_IN): Likewise.
873         (POLL_OUT): Likewise.
874         (POLL_MSG): Likewise.
875         (POLL_ERR): Likewise.
876         (POLL_PRI): Likewise.
877         (POLL_HUP): Likewise.
878         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
879         Likewise.
880         (ILL_ILLOPN): Likewise.
881         (ILL_ILLADR): Likewise.
882         (ILL_ILLTRP): Likewise.
883         (ILL_PRVOPC): Likewise.
884         (ILL_PRVREG): Likewise.
885         (ILL_COPROC): Likewise.
886         (ILL_BADSTK): Likewise.
887         (ILL_BADIADDR): Likewise.
888         (ILL_BREAK): Likewise.
889         (FPE_INTDIV): Likewise.
890         (FPE_INTOVF): Likewise.
891         (FPE_FLTDIV): Likewise.
892         (FPE_FLTOVF): Likewise.
893         (FPE_FLTUND): Likewise.
894         (FPE_FLTRES): Likewise.
895         (FPE_FLTINV): Likewise.
896         (FPE_FLTSUB): Likewise.
897         (FPE_DECOVF): Likewise.
898         (FPE_DECDIV): Likewise.
899         (FPE_DECERR): Likewise.
900         (FPE_INVASC): Likewise.
901         (FPE_INVDEC): Likewise.
902         (SEGV_MAPERR): Likewise.
903         (SEGV_ACCERR): Likewise.
904         (SEGV_PSTKOVF): Likewise.
905         (BUS_ADRALN): Likewise.
906         (BUS_ADRERR): Likewise.
907         (BUS_OBJERR): Likewise.
908         (BUS_MCEERR_AR): Likewise.
909         (BUS_MCEERR_AO): Likewise.
910         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
911         (TRAP_TRACE): Likewise.
912         (TRAP_BRANCH): Likewise.
913         (TRAP_HWBKPT): Likewise.
914         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
915         __USE_XOPEN2K8].
916         (CLD_KILLED): Likewise.
917         (CLD_DUMPED): Likewise.
918         (CLD_TRAPPED): Likewise.
919         (CLD_STOPPED): Likewise.
920         (CLD_CONTINUED): Likewise.
921         (POLL_IN): Likewise.
922         (POLL_OUT): Likewise.
923         (POLL_MSG): Likewise.
924         (POLL_ERR): Likewise.
925         (POLL_PRI): Likewise.
926         (POLL_HUP): Likewise.
927         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
928         (ILL_ILLOPN): Likewise.
929         (ILL_ILLADR): Likewise.
930         (ILL_ILLTRP): Likewise.
931         (ILL_PRVOPC): Likewise.
932         (ILL_PRVREG): Likewise.
933         (ILL_COPROC): Likewise.
934         (ILL_BADSTK): Likewise.
935         (FPE_INTDIV): Likewise.
936         (FPE_INTOVF): Likewise.
937         (FPE_FLTDIV): Likewise.
938         (FPE_FLTOVF): Likewise.
939         (FPE_FLTUND): Likewise.
940         (FPE_FLTRES): Likewise.
941         (FPE_FLTINV): Likewise.
942         (FPE_FLTSUB): Likewise.
943         (SEGV_MAPERR): Likewise.
944         (SEGV_ACCERR): Likewise.
945         (BUS_ADRALN): Likewise.
946         (BUS_ADRERR): Likewise.
947         (BUS_OBJERR): Likewise.
948         (BUS_MCEERR_AR): Likewise.
949         (BUS_MCEERR_AO): Likewise.
950         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
951         (TRAP_TRACE): Likewise.
952         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
953         __USE_XOPEN2K8].
954         (CLD_KILLED): Likewise.
955         (CLD_DUMPED): Likewise.
956         (CLD_TRAPPED): Likewise.
957         (CLD_STOPPED): Likewise.
958         (CLD_CONTINUED): Likewise.
959         (POLL_IN): Likewise.
960         (POLL_OUT): Likewise.
961         (POLL_MSG): Likewise.
962         (POLL_ERR): Likewise.
963         (POLL_PRI): Likewise.
964         (POLL_HUP): Likewise.
965         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
966         (ILL_ILLOPN): Likewise.
967         (ILL_ILLADR): Likewise.
968         (ILL_ILLTRP): Likewise.
969         (ILL_PRVOPC): Likewise.
970         (ILL_PRVREG): Likewise.
971         (ILL_COPROC): Likewise.
972         (ILL_BADSTK): Likewise.
973         (FPE_INTDIV): Likewise.
974         (FPE_INTOVF): Likewise.
975         (FPE_FLTDIV): Likewise.
976         (FPE_FLTOVF): Likewise.
977         (FPE_FLTUND): Likewise.
978         (FPE_FLTRES): Likewise.
979         (FPE_FLTINV): Likewise.
980         (FPE_FLTSUB): Likewise.
981         (SEGV_MAPERR): Likewise.
982         (SEGV_ACCERR): Likewise.
983         (BUS_ADRALN): Likewise.
984         (BUS_ADRERR): Likewise.
985         (BUS_OBJERR): Likewise.
986         (BUS_MCEERR_AR): Likewise.
987         (BUS_MCEERR_AO): Likewise.
988         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
989         (TRAP_TRACE): Likewise.
990         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
991         __USE_XOPEN2K8].
992         (CLD_KILLED): Likewise.
993         (CLD_DUMPED): Likewise.
994         (CLD_TRAPPED): Likewise.
995         (CLD_STOPPED): Likewise.
996         (CLD_CONTINUED): Likewise.
997         (POLL_IN): Likewise.
998         (POLL_OUT): Likewise.
999         (POLL_MSG): Likewise.
1000         (POLL_ERR): Likewise.
1001         (POLL_PRI): Likewise.
1002         (POLL_HUP): Likewise.
1003         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1004         (ILL_ILLOPN): Likewise.
1005         (ILL_ILLADR): Likewise.
1006         (ILL_ILLTRP): Likewise.
1007         (ILL_PRVOPC): Likewise.
1008         (ILL_PRVREG): Likewise.
1009         (ILL_COPROC): Likewise.
1010         (ILL_BADSTK): Likewise.
1011         (FPE_INTDIV): Likewise.
1012         (FPE_INTOVF): Likewise.
1013         (FPE_FLTDIV): Likewise.
1014         (FPE_FLTOVF): Likewise.
1015         (FPE_FLTUND): Likewise.
1016         (FPE_FLTRES): Likewise.
1017         (FPE_FLTINV): Likewise.
1018         (FPE_FLTSUB): Likewise.
1019         (SEGV_MAPERR): Likewise.
1020         (SEGV_ACCERR): Likewise.
1021         (BUS_ADRALN): Likewise.
1022         (BUS_ADRERR): Likewise.
1023         (BUS_OBJERR): Likewise.
1024         (BUS_MCEERR_AR): Likewise.
1025         (BUS_MCEERR_AO): Likewise.
1026         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1027         (TRAP_TRACE): Likewise.
1028         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1029         __USE_XOPEN2K8].
1030         (CLD_KILLED): Likewise.
1031         (CLD_DUMPED): Likewise.
1032         (CLD_TRAPPED): Likewise.
1033         (CLD_STOPPED): Likewise.
1034         (CLD_CONTINUED): Likewise.
1035         (POLL_IN): Likewise.
1036         (POLL_OUT): Likewise.
1037         (POLL_MSG): Likewise.
1038         (POLL_ERR): Likewise.
1039         (POLL_PRI): Likewise.
1040         (POLL_HUP): Likewise.
1041         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1042         (ILL_ILLOPN): Likewise.
1043         (ILL_ILLADR): Likewise.
1044         (ILL_ILLTRP): Likewise.
1045         (ILL_PRVOPC): Likewise.
1046         (ILL_PRVREG): Likewise.
1047         (ILL_COPROC): Likewise.
1048         (ILL_BADSTK): Likewise.
1049         (ILL_DBLFLT): Likewise.
1050         (ILL_HARDWALL): Likewise.
1051         (FPE_INTDIV): Likewise.
1052         (FPE_INTOVF): Likewise.
1053         (FPE_FLTDIV): Likewise.
1054         (FPE_FLTOVF): Likewise.
1055         (FPE_FLTUND): Likewise.
1056         (FPE_FLTRES): Likewise.
1057         (FPE_FLTINV): Likewise.
1058         (FPE_FLTSUB): Likewise.
1059         (SEGV_MAPERR): Likewise.
1060         (SEGV_ACCERR): Likewise.
1061         (BUS_ADRALN): Likewise.
1062         (BUS_ADRERR): Likewise.
1063         (BUS_OBJERR): Likewise.
1064         (BUS_MCEERR_AR): Likewise.
1065         (BUS_MCEERR_AO): Likewise.
1066         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1067         (TRAP_TRACE): Likewise.
1068         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1069         __USE_XOPEN2K8].
1070         (CLD_KILLED): Likewise.
1071         (CLD_DUMPED): Likewise.
1072         (CLD_TRAPPED): Likewise.
1073         (CLD_STOPPED): Likewise.
1074         (CLD_CONTINUED): Likewise.
1075         (POLL_IN): Likewise.
1076         (POLL_OUT): Likewise.
1077         (POLL_MSG): Likewise.
1078         (POLL_ERR): Likewise.
1079         (POLL_PRI): Likewise.
1080         (POLL_HUP): Likewise.
1081         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1082         (ILL_ILLOPN): Likewise.
1083         (ILL_ILLADR): Likewise.
1084         (ILL_ILLTRP): Likewise.
1085         (ILL_PRVOPC): Likewise.
1086         (ILL_PRVREG): Likewise.
1087         (ILL_COPROC): Likewise.
1088         (ILL_BADSTK): Likewise.
1089         (FPE_INTDIV): Likewise.
1090         (FPE_INTOVF): Likewise.
1091         (FPE_FLTDIV): Likewise.
1092         (FPE_FLTOVF): Likewise.
1093         (FPE_FLTUND): Likewise.
1094         (FPE_FLTRES): Likewise.
1095         (FPE_FLTINV): Likewise.
1096         (FPE_FLTSUB): Likewise.
1097         (SEGV_MAPERR): Likewise.
1098         (SEGV_ACCERR): Likewise.
1099         (BUS_ADRALN): Likewise.
1100         (BUS_ADRERR): Likewise.
1101         (BUS_OBJERR): Likewise.
1102         (BUS_MCEERR_AR): Likewise.
1103         (BUS_MCEERR_AO): Likewise.
1104         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1105         (TRAP_TRACE): Likewise.
1106         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1107         __USE_XOPEN2K8].
1108         (CLD_KILLED): Likewise.
1109         (CLD_DUMPED): Likewise.
1110         (CLD_TRAPPED): Likewise.
1111         (CLD_STOPPED): Likewise.
1112         (CLD_CONTINUED): Likewise.
1113         (POLL_IN): Likewise.
1114         (POLL_OUT): Likewise.
1115         (POLL_MSG): Likewise.
1116         (POLL_ERR): Likewise.
1117         (POLL_PRI): Likewise.
1118         (POLL_HUP): Likewise.
1119         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1120         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1122         [BZ #16670]
1123         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1124         before #include of <time.h>.
1125         [!__USE_XOPEN2K] (__need_timespec): Likewise.
1126         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1127         (test-xfail-UNIX98/sched.h/conform): Likewise.
1129 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1131         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1132         error absence of trapping exception support.
1133         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1135 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
1137         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1138         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1139         * timezone/Makefile (testdata): Move definition above include of
1140         Rules.
1141         (test-zones): New variable.
1142         (tests-special): Add zone files.
1143         (build-testdata): Use $(evaluate-test).
1145         * elf/Makefile (tests-special): Rename tests to end with .out.
1146         ($(objpfx)noload-mem): Likewise.
1147         ($(objpfx)tst-leaks1-mem): Likewise.
1148         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1149         * iconv/Makefile (xtests-special): Change test-iconvconfig to
1150         $(objpfx)test-iconvconfig.out.
1151         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
1152         set -e inside subshell and redirect output to file.
1153         * iconvdata/Makefile (generated): Rename tests to end with .out.
1154         Correct type.
1155         (tests-special): Rename tests to end with .out.
1156         ($(objpfx)mtrace-tst-loading): Likewise.
1157         * intl/Makefile (generated): Likewise.
1158         (tests-special): Likewise.
1159         ($(objpfx)mtrace-tst-gettext): Likewise.
1160         * misc/Makefile (generated): Likewise.
1161         (tests-special): Likewise.
1162         ($(objpfx)tst-error1-mem): Likewise.
1163         * nptl/Makefile (tests-special): Likewise.
1164         ($(objpfx)tst-stack3-mem): Likewise.
1165         (generated): Likewise.
1166         * posix/Makefile (generated): Likewise.
1167         (tests-special): Likewise.
1168         (xtests-special): Likewise.
1169         ($(objpfx)tst-fnmatch-mem): Likewise.
1170         ($(objpfx)bug-regex2-mem): Likewise.
1171         ($(objpfx)bug-regex14-mem): Likewise.
1172         ($(objpfx)bug-regex21-mem): Likewise.
1173         ($(objpfx)bug-regex31-mem): Likewise.
1174         ($(objpfx)tst-vfork3-mem): Likewise.
1175         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1176         ($(objpfx)tst-pcre-mem): Likewise.
1177         ($(objpfx)tst-boost-mem): Likewise.
1178         ($(objpfx)bug-ga2-mem): Likewise.
1179         ($(objpfx)bug-glob2-mem): Likewise.
1180         * resolv/Makefile (generate): Likewise.
1181         (tests-special): Likewise.
1182         (xtests-special): Likewise.
1183         (generated): Likewise.
1184         ($(objpfx)mtrace-tst-leaks): Likewise.
1185         ($(objpfx)mtrace-tst-leaks2): Likewise.
1187         * scripts/merge-test-results.sh: New file.
1188         * Makefile (tests-special-notdir): New variable.
1189         (tests): Run merge-test-results.sh.
1190         (xtests): Likewise.
1191         * Rules (tests-special-notdir): New variable.
1192         (xtests-special-notdir): Likewise.
1193         (tests): Run merge-test-results.sh
1194         (xtests): Likewise.
1196         * Makeconfig (test-xfail-name): New variable.
1197         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1198         compute variable name for expected failures.
1199         * conform/Makefile (conformtest-headers-data): New variable.
1200         (conformtest-standards): Likewise.
1201         (conformtest-headers-ISO): Likewise.
1202         (conformtest-headers-ISO99): Likewise.
1203         (conformtest-headers-ISO11): Likewise.
1204         (conformtest-headers-POSIX): Likewise.
1205         (conformtest-headers-XPG3): Likewise.
1206         (conformtest-headers-XPG4): Likewise.
1207         (conformtest-headers-UNIX98): Likewise.
1208         (conformtest-headers-XOPEN2K): Likewise.
1209         (conformtest-headers-POSIX2008): Likewise.
1210         (conformtest-headers-XOPEN2K8): Likewise.
1211         (conformtest-header-list-base): Likewise.
1212         (conformtest-header-list-tests): Likewise.
1213         (conformtest-header-base): Likewise.
1214         (conformtest-header-tests): Likewise.
1215         (tests-special): Add $(conformtest-header-list-tests).  If
1216         [$(fast-check) && !$(cross-compiling)], add
1217         $(conformtest-header-tests) instead of
1218         $(objpfx)run-conformtest.out.
1219         (generated): Add $(conformtest-header-list-base).  If
1220         [$(fast-check) && !$(cross-compiling)], add
1221         $(conformtest-header-base).  Remove previous setting.
1222         ($(conformtest-header-list-tests)): New target.
1223         (test-xfail-run-conformtest): Remove variable.
1224         ($(objpfx)run-conformtest.out): Remove target.
1225         (test-xfail-ISO11/complex.h/conform): New variable.
1226         (test-xfail-ISO11/stdalign.h/conform): Likewise.
1227         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1228         (test-xfail-XPG3/varargs.h/conform): Likewise.
1229         (test-xfail-XPG4/varargs.h/conform): Likewise.
1230         (test-xfail-UNIX98/varargs.h/conform): Likewise.
1231         (test-xfail-XPG4/ndbm.h/conform): Likewise.
1232         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1233         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1234         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1235         (test-xfail-XPG3/fcntl.h/conform): Likewise.
1236         (test-xfail-XPG3/ftw.h/conform): Likewise.
1237         (test-xfail-XPG3/grp.h/conform): Likewise.
1238         (test-xfail-XPG3/langinfo.h/conform): Likewise.
1239         (test-xfail-XPG3/limits.h/conform): Likewise.
1240         (test-xfail-XPG3/pwd.h/conform): Likewise.
1241         (test-xfail-XPG3/search.h/conform): Likewise.
1242         (test-xfail-XPG3/signal.h/conform): Likewise.
1243         (test-xfail-XPG3/stdio.h/conform): Likewise.
1244         (test-xfail-XPG3/stdlib.h/conform): Likewise.
1245         (test-xfail-XPG3/string.h/conform): Likewise.
1246         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1247         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1248         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1249         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1250         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1251         (test-xfail-XPG3/sys/types.h/conform): Likewise.
1252         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1253         (test-xfail-XPG3/termios.h/conform): Likewise.
1254         (test-xfail-XPG3/time.h/conform): Likewise.
1255         (test-xfail-XPG3/unistd.h/conform): Likewise.
1256         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1257         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1258         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1259         (test-xfail-XPG4/netdb.h/conform): Likewise.
1260         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1261         (test-xfail-XPG4/signal.h/conform): Likewise.
1262         (test-xfail-XPG4/stdio.h/conform): Likewise.
1263         (test-xfail-XPG4/stdlib.h/conform): Likewise.
1264         (test-xfail-XPG4/stropts.h/conform): Likewise.
1265         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1266         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1267         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1268         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1269         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1270         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1271         (test-xfail-XPG4/sys/time.h/conform): Likewise.
1272         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1273         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1274         (test-xfail-XPG4/termios.h/conform): Likewise.
1275         (test-xfail-XPG4/ucontext.h/conform): Likewise.
1276         (test-xfail-XPG4/unistd.h/conform): Likewise.
1277         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1278         (test-xfail-POSIX/sched.h/conform): Likewise.
1279         (test-xfail-POSIX/signal.h/conform): Likewise.
1280         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1281         (test-xfail-POSIX/tar.h/conform): Likewise.
1282         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1283         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1284         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1285         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1286         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1287         (test-xfail-UNIX98/sched.h/conform): Likewise.
1288         (test-xfail-UNIX98/signal.h/conform): Likewise.
1289         (test-xfail-UNIX98/stdio.h/conform): Likewise.
1290         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1291         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1292         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1293         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1294         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1295         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1296         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1297         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1298         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1299         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1300         (test-xfail-UNIX98/unistd.h/conform): Likewise.
1301         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1302         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1303         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1304         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1305         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1306         (test-xfail-XOPEN2K/math.h/conform): Likewise.
1307         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1308         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1309         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1310         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1311         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1312         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1313         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1314         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1315         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1316         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1317         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1318         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1319         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1320         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1321         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1322         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1323         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1324         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1325         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1326         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1327         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1328         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1329         (test-xfail-POSIX2008/signal.h/conform): Likewise.
1330         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1331         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1332         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1333         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1334         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1335         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1336         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1337         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1338         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1339         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1340         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1341         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1342         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1343         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1344         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1345         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1346         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1347         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1348         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1349         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1350         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1351         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1352         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1353         (conformtest-cc-flags): Likewise.
1354         ($(conformtest-header-tests): New target.
1355         * conform/check-header-lists.sh: New file.
1356         * conform/run-conformtest.sh: Remove.
1358         * conform/conformtest.pl: Allow ' and \ in values given for
1359         constants.
1360         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1361         inclusion.
1362         [POSIX] (sys/types.h): Likewise.
1363         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1364         inclusion.
1365         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1366         inclusion.
1367         * conform/data/signal.h-data (SIGIO): Remove expectation.
1368         [XPG3] (SIGBUS): Do not expect.
1369         [POSIX || XPG3] (SIGPOLL): Likewise.
1370         [POSIX || XPG3] (SIGPROF): Likewise.
1371         [POSIX || XPG3] (SIGSYS): Likewise.
1372         [XPG3] (SIGTRAP): Likewise.
1373         [POSIX || XPG3] (SIGURG): Likewise.
1374         [POSIX || XPG3] (SIGVTALRM): Likewise.
1375         [POSIX || XPG3] (SIGXCPU): Likewise.
1376         [POSIX || XPG3] (SIGXFSZ): Likewise.
1377         [POSIX] (SA_SIGINFO): Expect.
1378         [XPG3] (siginfo_t): Do not expect type or contents.
1379         [POSIX] (si_pid): Do not expect element.
1380         [POSIX] (si_uid): Likewise.
1381         [POSIX] (si_addr): Likewise.
1382         [POSIX] (si_status): Likewise.
1383         [POSIX] (si_band): Likewise.
1384         [XPG4] (si_value): Likewise.
1385         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1386         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1387         [POSIX || XPG3] (ILL_ILLADR): Likewise.
1388         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1389         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1390         [POSIX || XPG3] (ILL_PRVREG): Likewise.
1391         [POSIX || XPG3] (ILL_COPROC): Likewise.
1392         [POSIX || XPG3] (ILL_BADSTK): Likewise.
1393         [POSIX || XPG3] (FPE_INTDIV): Likewise.
1394         [POSIX || XPG3] (FPE_INTOVF): Likewise.
1395         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1396         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1397         [POSIX || XPG3] (FPE_FLTUND): Likewise.
1398         [POSIX || XPG3] (FPE_FLTRES): Likewise.
1399         [POSIX || XPG3] (FPE_FLTINV): Likewise.
1400         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1401         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1402         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1403         [POSIX || XPG3] (BUS_ADRALN): Likewise.
1404         [POSIX || XPG3] (BUS_ADRERR): Likewise.
1405         [POSIX || XPG3] (BUS_OBJERR): Likewise.
1406         [POSIX || XPG3] (CLD_EXITED): Likewise.
1407         [POSIX || XPG3] (CLD_KILLED): Likewise.
1408         [POSIX || XPG3] (CLD_DUMPED): Likewise.
1409         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1410         [POSIX || XPG3] (CLD_STOPPED): Likewise.
1411         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1412         [POSIX || XPG3] (POLL_IN): Likewise.
1413         [POSIX || XPG3] (POLL_OUT): Likewise.
1414         [POSIX || XPG3] (POLL_MSG): Likewise.
1415         [POSIX || XPG3] (POLL_ERR): Likewise.
1416         [POSIX || XPG3] (POLL_PRI): Likewise.
1417         [POSIX || XPG3] (POLL_HUP): Likewise.
1418         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1419         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1420         (SIG*): Do not allow.
1421         [XPG3] (si_*): Likewise.
1422         [XPG3] (SI_*): Likewise.
1423         [XPG3 || XPG4] (sigev_*): Likewise.
1424         [XPG3 || XPG4] (SIGEV_*): Likewise.
1425         [XPG3 || XPG4] (sival_*): Likewise.
1426         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1427         [POSIX || XPG3] (BUS_*): Likewise.
1428         [POSIX || XPG3] (CLD_*): Likewise.
1429         [POSIX || XPG3] (FPE_*): Likewise.
1430         [POSIX || XPG3] (ILL_*): Likewise.
1431         [POSIX || XPG3] (POLL_*): Likewise.
1432         [POSIX || XPG3] (SEGV_*): Likewise.
1433         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1434         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1435         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1436         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1437         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1438         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1439         Specify type and value.
1440         (TVERSLEN): Likewise.
1441         (REGTYPE): Likewise.
1442         (AREGTYPE): Likewise.
1443         (LNKTYPE): Likewise.
1444         (SYMTYPE): Likewise.
1445         (CHRTYPE): Likewise.
1446         (BLKTYPE): Likewise.
1447         (DIRTYPE): Likewise.
1448         (FIFOTYPE): Likewise.
1449         (CONTTYPE): Likewise.
1450         (TSUID): Likewise.
1451         (TSGID): Likewise.
1452         (TSVTX): Likewise.
1453         (TUREAD): Likewise.
1454         (TUWRITE): Likewise.
1455         (TUEXEC): Likewise.
1456         (TGREAD): Likewise.
1457         (TGWRITE): Likewise.
1458         (TGEXEC): Likewise.
1459         (TOREAD): Likewise.
1460         (TOWRITE): Likewise.
1461         (TOEXEC): Likewise.
1462         [POSIX] (TSVTX): Expect constant.
1464 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
1466         * Makefile (tests): Change dependencies to ....
1467         (tests-special): ... additions to this variable.
1468         (tests): Depend on $(tests-special).
1469         * Makerules (check-abi-list): New variable.
1470         (check-abi): Depend on $(check-abi-list).
1471         [$(subdir) = elf] (tests-special): Add
1472         $(objpfx)check-abi-libc.out.
1473         [$(build-shared) = yes && subdir] (tests-special): Add
1474         $(check-abi-list).
1475         [$(build-shared) = yes && subdir] (tests): Do not depend on
1476         check-abi.
1477         * Rules (tests): Depend on $(tests-special).
1478         (xtests): Depend on $(xtests-special).
1479         * catgets/Makefile (tests): Change dependencies to ....
1480         (tests-special): ... additions to this variable.
1481         * conform/Makefile (tests): Change dependencies to ....
1482         (tests-special): ... additions to this variable.
1483         * elf/Makefile (tests): Change dependencies to ....
1484         (tests-special): ... additions to this variable.
1485         * grp/Makefile (tests): Change dependencies to ....
1486         (tests-special): ... additions to this variable.
1487         * iconv/Makefile (xtests): Change dependencies to ....
1488         (xtests-special): ... additions to this variable.
1489         * iconvdata/Makefile (tests): Change dependencies to ....
1490         (tests-special): ... additions to this variable.
1491         * intl/Makefile (tests): Change dependencies to ....
1492         (tests-special): ... additions to this variable.  Also add
1493         $(objpfx)tst-gettext.out.
1494         * io/Makefile (tests): Change dependencies to ....
1495         (tests-special): ... additions to this variable.
1496         * libio/Makefile (tests): Change dependencies to ....
1497         (tests-special): ... additions to this variable.
1498         * malloc/Makefile (tests): Change dependencies to ....
1499         (tests-special): ... additions to this variable.
1500         * misc/Makefile (tests): Change dependencies to ....
1501         (tests-special): ... additions to this variable.
1502         * nptl/Makefile (tests): Change dependencies to ....
1503         (tests-special): ... additions to this variable.
1504         * nptl_db/Makefile (tests): Change dependencies to ....
1505         (tests-special): ... additions to this variable.
1506         * posix/Makefile (tests): Change dependencies to ....
1507         (tests-special): ... additions to this variable.
1508         (xtests): Change dependencies to ....
1509         (xtests-special): ... additions to this variable.
1510         * resolv/Makefile (tests): Change dependencies to ....
1511         (tests-special): ... additions to this variable.
1512         (xtests): Change dependencies to ....
1513         (xtests-special): ... additions to this variable.
1514         * stdio-common/Makefile (tests): Change dependencies to ....
1515         (tests-special): ... additions to this variable.
1516         (do-tst-unbputc): Remove target.
1517         (do-tst-printf): Likewise.
1518         * stdlib/Makefile (tests): Change dependencies to ....
1519         (tests-special): ... additions to this variable.
1520         * string/Makefile (tests): Change dependencies to ....
1521         (tests-special): ... additions to this variable.
1522         * sysdeps/x86/Makefile (tests): Change dependencies to ....
1523         (tests-special): ... additions to this variable.
1525         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1526         whole file.
1527         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1528         whole file.
1529         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1530         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1532         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1533         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1534         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1535         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1536         * conform/data/libgen.h-data [XPG3]: Likewise.
1537         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1538         * conform/data/ndbm.h-data [XPG3]: Likewise.
1539         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1540         * conform/data/netdb.h-data [XPG3]: Likewise.
1541         * conform/data/netinet/in.h-data [XPG3]: Likewise.
1542         * conform/data/poll.h-data [XPG3]: Likewise.
1543         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1544         * conform/data/strings.h-data [XPG3]: Likewise.
1545         * conform/data/stropts.h-data [XPG3]: Likewise.
1546         * conform/data/sys/mman.h-data [XPG3]: Likewise.
1547         * conform/data/sys/resource.h-data [XPG3]: Likewise.
1548         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1549         Likewise.
1550         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1551         * conform/data/sys/time.h-data [XPG3]: Likewise.
1552         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1553         * conform/data/sys/uio.h-data [XPG3]: Likewise.
1554         * conform/data/sys/un.h-data [XPG3]: Likewise.
1555         * conform/data/syslog.h-data [XPG3]: Likewise.
1556         * conform/data/ucontext.h-data [XPG3]: Likewise.
1557         * conform/data/utmpx.h-data [XPG3]: Likewise.
1558         * conform/data/varargs.h-data [UNIX98]: Enable file.
1560         * manual/Makefile (INSTALL_INFO): Remove variable setting.
1562         * math/libm-test.inc (struct test_f_f_data): Move expected results
1563         into structure for each rounding mode.
1564         (struct test_ff_f_data): Likewise.
1565         (struct test_ff_f_data_nexttoward): Likewise.
1566         (struct test_fi_f_data): Likewise.
1567         (struct test_fl_f_data): Likewise.
1568         (struct test_if_f_data): Likewise.
1569         (struct test_fff_f_data): Likewise.
1570         (struct test_c_f_data): Likewise.
1571         (struct test_f_f1_data): Likewise.
1572         (struct test_fF_f1_data): Likewise.
1573         (struct test_ffI_f1_data): Likewise.
1574         (struct test_c_c_data): Likewise.
1575         (struct test_cc_c_data): Likewise.
1576         (struct test_f_i_data): Likewise.
1577         (struct test_ff_i_data): Likewise.
1578         (struct test_f_l_data): Likewise.
1579         (struct test_f_L_data): Likewise.
1580         (struct test_fFF_11_data): Likewise.
1581         (RM_): New macro.
1582         (RM_FE_DOWNWARD): Likewise.
1583         (RM_FE_TONEAREST): Likewise.
1584         (RM_FE_TOWARDZERO): Likewise.
1585         (RM_FE_UPWARD): Likewise.
1586         (RUN_TEST_LOOP_f_f): Update references to expected results.
1587         (RUN_TEST_LOOP_2_f): Likewise.
1588         (RUN_TEST_LOOP_fff_f): Likewise.
1589         (RUN_TEST_LOOP_c_f): Likewise.
1590         (RUN_TEST_LOOP_f_f1): Likewise.
1591         (RUN_TEST_LOOP_fF_f1): Likewise.
1592         (RUN_TEST_LOOP_fI_f1): Likewise.
1593         (RUN_TEST_LOOP_ffI_f1): Likewise.
1594         (RUN_TEST_LOOP_c_c): Likewise.
1595         (RUN_TEST_LOOP_cc_c): Likewise.
1596         (RUN_TEST_LOOP_f_i): Likewise.
1597         (RUN_TEST_LOOP_f_i_tg): Likewise.
1598         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1599         (RUN_TEST_LOOP_f_b): Likewise.
1600         (RUN_TEST_LOOP_f_b_tg): Likewise.
1601         (RUN_TEST_LOOP_f_l): Likewise.
1602         (RUN_TEST_LOOP_f_L): Likewise.
1603         (RUN_TEST_LOOP_fFF_11): Likewise.
1604         * math/gen-libm-test.pl (parse_args): Output four copies of
1605         expected results for each test.
1607         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1608         (__ASSUME_UTIMES): Remove.
1609         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1610         (__ASSUME_UTIMES): Likewise.
1612         * math/gen-auto-libm-tests.c: Update comment on output format.
1613         (output_for_one_input_case): Generate before-rounding and
1614         after-rounding information as conditions on output flags not
1615         floating-point format.
1616         * math/auto-libm-test-out: Regenerated.
1617         * math/gen-libm-test.pl (cond_value): New function.
1618         (or_cond_value): Use cond_value.
1619         (generate_testfile): Handle conditional exceptions.
1621 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
1623         * math/libm-test.inc (max_valid_error): New variable.
1624         (init_max_error): Take new argument specifying whether function
1625         results are exactly determined.  Set max_valid_error and bound
1626         other variables for errors based on this argument.
1627         (set_max_error): Do not record results above max_valid_error.
1628         (check_float_internal): Only accept errors of up to 0.5ulps if
1629         also at most max_valid_error.
1630         (START): Take new argument EXACT and pass it to init_max_error.
1631         (acos_test): Update call to START.
1632         (acos_test_tonearest): Likewise.
1633         (acos_test_towardzero): Likewise.
1634         (acos_test_downward): Likewise.
1635         (acos_test_upward): Likewise.
1636         (acosh_test): Likewise.
1637         (asin_test): Likewise.
1638         (asin_test_tonearest): Likewise.
1639         (asin_test_towardzero): Likewise.
1640         (asin_test_downward): Likewise.
1641         (asin_test_upward): Likewise.
1642         (asinh_test): Likewise.
1643         (atan_test): Likewise.
1644         (atanh_test): Likewise.
1645         (atan2_test): Likewise.
1646         (cabs_test): Likewise.
1647         (cacos_test): Likewise.
1648         (cacosh_test): Likewise.
1649         (carg_test): Likewise.
1650         (casin_test): Likewise.
1651         (casinh_test): Likewise.
1652         (catan_test): Likewise.
1653         (catanh_test): Likewise.
1654         (cbrt_test): Likewise.
1655         (ccos_test): Likewise.
1656         (ccosh_test): Likewise.
1657         (ceil_test): Likewise.
1658         (cexp_test): Likewise.
1659         (cimag_test): Likewise.
1660         (clog_test): Likewise.
1661         (clog10_test): Likewise.
1662         (conj_test): Likewise.
1663         (copysign_test): Likewise.
1664         (cos_test): Likewise.
1665         (cos_test_tonearest): Likewise.
1666         (cos_test_towardzero): Likewise.
1667         (cos_test_downward): Likewise.
1668         (cos_test_upward): Likewise.
1669         (cosh_test): Likewise.
1670         (cosh_test_tonearest): Likewise.
1671         (cosh_test_towardzero): Likewise.
1672         (cosh_test_downward): Likewise.
1673         (cosh_test_upward): Likewise.
1674         (cpow_test): Likewise.
1675         (cproj_test): Likewise.
1676         (creal_test): Likewise.
1677         (csin_test): Likewise.
1678         (csinh_test): Likewise.
1679         (csqrt_test): Likewise.
1680         (ctan_test): Likewise.
1681         (ctan_test_tonearest): Likewise.
1682         (ctan_test_towardzero): Likewise.
1683         (ctan_test_downward): Likewise.
1684         (ctan_test_upward): Likewise.
1685         (ctanh_test): Likewise.
1686         (ctanh_test_tonearest): Likewise.
1687         (ctanh_test_towardzero): Likewise.
1688         (ctanh_test_downward): Likewise.
1689         (ctanh_test_upward): Likewise.
1690         (erf_test): Likewise.
1691         (erfc_test): Likewise.
1692         (exp_test): Likewise.
1693         (exp_test_tonearest): Likewise.
1694         (exp_test_towardzero): Likewise.
1695         (exp_test_downward): Likewise.
1696         (exp_test_upward): Likewise.
1697         (exp10_test): Likewise.
1698         (exp10_test_tonearest): Likewise.
1699         (exp10_test_towardzero): Likewise.
1700         (exp10_test_downward): Likewise.
1701         (exp10_test_upward): Likewise.
1702         (pow10_test): Likewise.
1703         (exp2_test): Likewise.
1704         (expm1_test): Likewise.
1705         (expm1_test_tonearest): Likewise.
1706         (expm1_test_towardzero): Likewise.
1707         (expm1_test_downward): Likewise.
1708         (expm1_test_upward): Likewise.
1709         (fabs_test): Likewise.
1710         (fdim_test): Likewise.
1711         (floor_test): Likewise.
1712         (fma_test): Likewise.
1713         (fma_test_towardzero): Likewise.
1714         (fma_test_downward): Likewise.
1715         (fma_test_upward): Likewise.
1716         (fmax_test): Likewise.
1717         (fmin_test): Likewise.
1718         (fmod_test): Likewise.
1719         (fpclassify_test): Likewise.
1720         (frexp_test): Likewise.
1721         (hypot_test): Likewise.
1722         (ilogb_test): Likewise.
1723         (isfinite_test): Likewise.
1724         (finite_test): Likewise.
1725         (isgreater_test): Likewise.
1726         (isgreaterequal_test): Likewise.
1727         (isinf_test): Likewise.
1728         (isless_test): Likewise.
1729         (islessequal_test): Likewise.
1730         (islessgreater_test): Likewise.
1731         (isnan_test): Likewise.
1732         (isnormal_test): Likewise.
1733         (issignaling_test): Likewise.
1734         (isunordered_test): Likewise.
1735         (j0_test): Likewise.
1736         (j1_test): Likewise.
1737         (jn_test): Likewise.
1738         (ldexp_test): Likewise.
1739         (lgamma_test): Likewise.
1740         (gamma_test): Likewise.
1741         (lrint_test): Likewise.
1742         (lrint_test_tonearest): Likewise.
1743         (lrint_test_towardzero): Likewise.
1744         (lrint_test_downward): Likewise.
1745         (lrint_test_upward): Likewise.
1746         (llrint_test): Likewise.
1747         (llrint_test_tonearest): Likewise.
1748         (llrint_test_towardzero): Likewise.
1749         (llrint_test_downward): Likewise.
1750         (llrint_test_upward): Likewise.
1751         (log_test): Likewise.
1752         (log10_test): Likewise.
1753         (log1p_test): Likewise.
1754         (log2_test): Likewise.
1755         (logb_test): Likewise.
1756         (logb_test_downward): Likewise.
1757         (lround_test): Likewise.
1758         (llround_test): Likewise.
1759         (modf_test): Likewise.
1760         (nearbyint_test): Likewise.
1761         (nextafter_test): Likewise.
1762         (nexttoward_test): Likewise.
1763         (pow_test): Likewise.
1764         (pow_test_tonearest): Likewise.
1765         (pow_test_towardzero): Likewise.
1766         (pow_test_downward): Likewise.
1767         (pow_test_upward): Likewise.
1768         (remainder_test): Likewise.
1769         (drem_test): Likewise.
1770         (remainder_test_tonearest): Likewise.
1771         (drem_test_tonearest): Likewise.
1772         (remainder_test_towardzero): Likewise.
1773         (drem_test_towardzero): Likewise.
1774         (remainder_test_downward): Likewise.
1775         (drem_test_downward): Likewise.
1776         (remainder_test_upward): Likewise.
1777         (drem_test_upward): Likewise.
1778         (remquo_test): Likewise.
1779         (rint_test): Likewise.
1780         (rint_test_tonearest): Likewise.
1781         (rint_test_towardzero): Likewise.
1782         (rint_test_downward): Likewise.
1783         (rint_test_upward): Likewise.
1784         (round_test): Likewise.
1785         (scalb_test): Likewise.
1786         (scalbn_test): Likewise.
1787         (scalbln_test): Likewise.
1788         (signbit_test): Likewise.
1789         (sin_test): Likewise.
1790         (sin_test_tonearest): Likewise.
1791         (sin_test_towardzero): Likewise.
1792         (sin_test_downward): Likewise.
1793         (sin_test_upward): Likewise.
1794         (sincos_test): Likewise.
1795         (sinh_test): Likewise.
1796         (sinh_test_tonearest): Likewise.
1797         (sinh_test_towardzero): Likewise.
1798         (sinh_test_downward): Likewise.
1799         (sinh_test_upward): Likewise.
1800         (sqrt_test): Likewise.
1801         (sqrt_test_tonearest): Likewise.
1802         (sqrt_test_towardzero): Likewise.
1803         (sqrt_test_downward): Likewise.
1804         (sqrt_test_upward): Likewise.
1805         (tan_test): Likewise.
1806         (tan_test_tonearest): Likewise.
1807         (tan_test_towardzero): Likewise.
1808         (tan_test_downward): Likewise.
1809         (tan_test_upward): Likewise.
1810         (tanh_test): Likewise.
1811         (tgamma_test): Likewise.
1812         (trunc_test): Likewise.
1813         (y0_test): Likewise.
1814         (y1_test): Likewise.
1815         (yn_test): Likewise.
1816         (significand_test): Likewise.
1818         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1819         individual tests in comment.
1820         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1821         (prev_max_error): New variable.
1822         (prev_real_max_error): Likewise.
1823         (prev_imag_max_error): Likewise.
1824         (compare_ulp_data): Don't refer to test names in comment.
1825         (find_test_ulps): Remove function.
1826         (find_function_ulps): Likewise.
1827         (find_complex_function_ulps): Likewise.
1828         (init_max_error): Take function name as argument.  Look up ulps
1829         for that function.
1830         (print_ulps): Remove function.
1831         (print_max_error): Use prev_max_error instead of calling
1832         find_function_ulps.
1833         (print_complex_max_error): Use prev_real_max_error and
1834         prev_imag_max_error instead of calling find_complex_function_ulps.
1835         (check_float_internal): Take max_ulp parameter instead of calling
1836         find_test_ulps.  Don't call print_ulps.
1837         (check_float): Update call to check_float_internal.
1838         (check_complex): Update calls to check_float_internal.
1839         (START): Pass argument to init_max_error.
1840         * math/gen-libm-test.pl (%results): Don't include "kind"
1841         information.
1842         (parse_ulps): Don't handle ulps of individual tests.
1843         (print_ulps_file): Likewise.
1844         (output_ulps): Likewise.
1845         * math/README.libm-test: Update.
1846         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1847         individual tests.
1848         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1849         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1850         * sysdeps/arm/libm-test-ulps: Likewise.
1851         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1852         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1853         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1854         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1855         * sysdeps/microblaze/libm-test-ulps: Likewise.
1856         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1857         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1858         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1859         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1860         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1861         * sysdeps/sh/libm-test-ulps: Likewise.
1862         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1863         * sysdeps/tile/libm-test-ulps: Likewise.
1864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1866 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
1868         * math/libm-test.inc (print_complex_max_error): Check separately
1869         whether real and imaginary errors are within allowed range and
1870         pass 0 to print_complex_function_ulps instead of value within
1871         allowed range.
1873 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1875         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1876         formatting.
1877         (get_handles_fopen): Likewise.
1878         (do_write_test): Likewise.
1880         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1882         * libio/fileops.c (do_ftell): Use cached offset when
1883         available.
1884         * libio/iofwide.c (do_ftell_wide): Likewise.
1885         * libio/iofdopen.c (_IO_new_fdopen): Don't use
1886         _IO_file_attach.
1887         * libio/wfileops.c (_IO_fwide): Don't cache offset.
1889         [BZ #16532]
1890         * libio/libioP.h (get_file_offset): New function.
1891         * libio/fileops.c (get_file_offset): Likewise.
1892         (do_ftell): Likewise.
1893         (_IO_new_file_seekoff): Split out ftell logic.
1894         * libio/wfileops.c (do_ftell_wide): Likewise.
1895         (_IO_wfile_seekoff): Split out ftell logic.
1896         * libio/tst-ftell-active-handler.c: New test case.
1897         * libio/Makefile (tests): Add it.
1899 2014-03-03  Roland McGrath  <roland@hack.frob.com>
1901         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1902         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1904 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1906         [BZ #16639]
1907         * nscd/connections.c (nscd_init): Call do_exit.
1908         (start_threads): Call do_exit and notify_parent.
1909         (begin_drop_privileges): Call do_exit.
1910         (finish_drop_privileges): Likewise.
1911         * nscd/selinux.c (preserve_capabilities): Likewise.
1912         (install_real_capabilities): Likewise.
1913         (nscd_selinux_enabled): Likewise.
1914         (avc_create_thread): Likewise.
1915         (avc_alloc_lock): Likewise.
1916         (nscd_avc_init): Likewise.
1917         * nscd/nscd.c (parent_fd): New static variable.
1918         (main): Create a pipe between parent and child processes.
1919         Skip closing parent_fd.
1920         (monitor_child): New function.
1921         (do_exit): Likewise.
1922         (notify_parent): Likewise.
1923         * nscd/nscd.h (notify_parent): Likewise.
1924         (do_exit): Likewise.
1926 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
1928         * malloc/malloc.c (__libc_calloc): Revert last change.
1930 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1934 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1936         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1938         implementation.
1939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1940         (__libc_ifunc_impl_list): Likewise.
1941         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1942         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1943         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1944         * string/strrchr.c: Define STRRCHR.
1946 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
1948         * benchtest/bench-strtok.c (simple_strtok): Delete.
1949         (strtok_string): Use as benchmark.
1950         * string/strtok (STRTOK): New macro.
1952 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
1954         * manual/threads.texi: Add header and standard comments to all
1955         functions.
1957         * elf/dl-lookup.c (check_match): New function.
1958         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1959         (do_lookup_x): Remove nested function check_match. Use non-nested
1960         function check_match.
1962 2014-02-28  Roland McGrath  <roland@hack.frob.com>
1964         * csu/Makefile (generated, before-compile): Use += rather than =.
1965         * catgets/Makefile (generated, generated-dirs): Likewise.
1966         * debug/Makefile (generated): Likewise.
1967         * dlfcn/Makefile (generated): Likewise.
1968         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1969         * iconvdata/Makefile (before-compile, generated): Likewise.
1970         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1971         * libio/Makefile (generated): Likewise.
1972         * malloc/Makefile (generated): Likewise.
1973         * manual/Makefile (generated, generated-dirs): Likewise.
1974         * misc/Makefile (generated): Likewise.
1975         * posix/Makefile (generated): Likewise.
1976         * resolv/Makefile (generated): Likewise.
1977         * sunrpc/Makefile (generated, generated-dirs): Likewise.
1978         * timezone/Makefile (generated, generated-dirs): Likewise.
1980         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1982 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1985         implementation.
1986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1987         POWER8 llround ifunc implementation.
1988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1989         POWER8 implementation.
1990         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1991         POWER8 llround implementation.
1993 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1995         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1996         implementation.
1997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1998         POWER8 llrint ifunc implementation.
1999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2000         POWER8 implementation.
2001         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2002         POWER8 llrint implementation.
2004 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2007         implementation.
2008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2009         POWER8 finite ifunc implementation.
2010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2011         POWER8 implementation.
2012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2013         Likewise.
2014         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2015         POWER8 finite implementation.
2016         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2018 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2020         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2021         implementation.
2022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2023         POWER8 isinf ifunc implementation.
2024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2025         POWER8 implementation.
2026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2027         Likewise.
2028         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2029         POWER8 isinf implementation.
2030         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2032 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2034         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2035         Add hwcap2 initialization.
2036         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2037         implementation.
2038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2039         POWER8 isnan ifunc implementation.
2040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2041         POWER8 implementation.
2042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2043         Likewise.
2044         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2045         POWER8 isnan implementation.
2046         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2048 2014-02-27  Joey Ye  <joey.ye@arm.com>
2050         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2051         (_FP_NANFRAC_Q): Set to zero.
2053 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2055         [BZ #16623]
2056         * math/auto-libm-test-in: New test inputs.
2057         * math/auto-libm-test-out: Regenerate.
2058         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2059         and DA.
2060         (__cos): Likewise.
2061         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2063 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
2065         * scripts/evaluate-test.sh: Take new argument indicating whether
2066         failure is expected.
2067         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2068         indicating whether failure is expected.
2069         * conform/Makefile (test-xfail-run-conformtest): New variable.
2070         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2071         level.
2072         * posix/Makefile (test-xfail-annexc): New variable.
2073         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2075 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
2077         * argp/Makefile: Include Makeconfig immediately after defining
2078         subdir.
2079         * assert/Makefile: Likewise.
2080         * benchtests/Makefile: Likewise.
2081         * catgets/Makefile: Likewise.
2082         * conform/Makefile: Likewise.
2083         * crypt/Makefile: Likewise.
2084         * csu/Makefile: Likewise.
2085         (all): Remove target.
2086         * ctype/Makefile: Include Makeconfig immediately after defining
2087         subdir.
2088         * debug/Makefile: Likewise.
2089         * dirent/Makefile: Likewise.
2090         * dlfcn/Makefile: Likewise.
2091         * gmon/Makefile: Likewise.
2092         * gnulib/Makefile: Likewise.
2093         * grp/Makefile: Likewise.
2094         * gshadow/Makefile: Likewise.
2095         * hesiod/Makefile: Likewise.
2096         * hurd/Makefile: Likewise.
2097         (all): Remove target.
2098         * iconvdata/Makefile: Include Makeconfig immediately after
2099         defining subdir.
2100         * inet/Makefile: Likewise.
2101         * intl/Makefile: Likewise.
2102         * io/Makefile: Likewise.
2103         * libio/Makefile: Likewise.
2104         (all): Remove target.
2105         * locale/Makefile: Include Makeconfig immediately after defining
2106         subdir.
2107         * login/Makefile: Likewise.
2108         * mach/Makefile: Likewise.
2109         (all): Remove target.
2110         * malloc/Makefile: Include Makeconfig immediately after defining
2111         subdir.
2112         (all): Remove target.
2113         * manual/Makefile: Include Makeconfig immediately after defining
2114         subdir.
2115         * math/Makefile: Likewise.
2116         * misc/Makefile: Likewise.
2117         * nis/Makefile: Likewise.
2118         * nss/Makefile: Likewise.
2119         * po/Makefile: Likewise.
2120         (all): Remove target.
2121         * posix/Makefile: Include Makeconfig immediately after defining
2122         subdir.
2123         * pwd/Makefile: Likewise.
2124         * resolv/Makefile: Likewise.
2125         * resource/Makefile: Likewise.
2126         * rt/Makefile: Likewise.
2127         * setjmp/Makefile: Likewise.
2128         * shadow/Makefile: Likewise.
2129         * signal/Makefile: Likewise.
2130         * socket/Makefile: Likewise.
2131         * soft-fp/Makefile: Likewise.
2132         * stdio-common/Makefile: Likewise.
2133         * stdlib/Makefile: Likewise.
2134         * streams/Makefile: Likewise.
2135         * string/Makefile: Likewise.
2136         * sunrpc/Makefile: Likewise.
2137         (all): Remove target.
2138         * sysvipc/Makefile: Include Makeconfig immediately after defining
2139         subdir.
2140         * termios/Makefile: Likewise.
2141         * time/Makefile: Likewise.
2142         * timezone/Makefile: Likewise.
2143         (all): Remove target.
2144         * wcsmbs/Makefile: Include Makeconfig immediately after defining
2145         subdir.
2146         * wctype/Makefile: Likewise.
2148 2014-02-26  Steve Ellcey  <sellcey@mips.com>
2150         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2151         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2152         (libc_feholdexcept_setround_mips): Ditto.
2153         (libc_feholdsetround): New.
2154         (libc_feholdsetroundf): New.
2155         (libc_feholdsetroundl): New.
2156         (libc_feupdateenv_test_mips): New.
2157         (libc_feupdateenv_test): New.
2158         (libc_feupdateenv_testf): New.
2159         (libc_feupdateenv_testl): New.
2160         (libc_feresetround): New.
2161         (libc_feresetroundf): New.
2162         (libc_feresetroundl): New.
2163         (libc_fetestexcept_mips): New.
2164         (libc_fetestexcept): New.
2165         (libc_fetestexceptf): New.
2166         (libc_fetestexceptl): New.
2167         (HAVE_RM_CTX): New.
2168         (libc_feholdexcept_setround_mips_ctx): New.
2169         (libc_feholdexcept_setround_ctx): New.
2170         (libc_feholdexcept_setroundf_ctx): New.
2171         (libc_feholdexcept_setroundl_ctx): New.
2172         (libc_fesetenv_mips_ctx): New.
2173         (libc_fesetenv_ctx): New.
2174         (libc_fesetenv_ctxf): New.
2175         (libc_fesetenv_ctxl): New.
2176         (libc_feupdateenv_mips_ctx): New.
2177         (libc_feupdateenv_ctx): New.
2178         (libc_feupdateenvf_ctx): New.
2179         (libc_feupdateenvl_ctx): New.
2180         (libc_feholdsetround_mips_ctx): New.
2181         (libc_feholdsetround_ctx): New.
2182         (libc_feholdsetroundf_ctx): New.
2183         (libc_feholdsetroundl_ctx): New.
2184         (libc_feresetround_mips_ctx): New.
2185         (libc_feresetround_ctx): New.
2186         (libc_feresetroundf_ctx): New.
2187         (libc_feresetroundl_ctx): New.
2189 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
2191         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2193         * manual/ipc.texi: New file.
2194         * manual/Makefile (chapters): Add ipc.
2195         * manual/job.texi: Add "Inter-Process Communication" to next.
2196         * manual/process.texi: Add "Inter-Process Communication" to prev.
2198 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2202 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
2204         * malloc/malloc.c (__libc_calloc): Simplify implementation.
2206         * manual/arith.texi: Fix spaces after sentences.
2207         * manual/charset.texi: Likewise.
2208         * manual/errno.texi: Likewise.
2209         * manual/install.texi: Likewise.
2210         * manual/llio.texi: Likewise.
2211         * manual/locale.texi: Likewise.
2212         * manual/maint.texi: Likewise.
2213         * manual/math.texi: Likewise.
2214         * manual/memory.texi: Likewise.
2215         * manual/message.texi: Likewise.
2216         * manual/probes.texi: Likewise.
2217         * manual/resource.texi: Likewise.
2218         * manual/signal.texi: Likewise.
2219         * manual/socket.texi: Likewise.
2220         * manual/stdio.texi: Likewise.
2221         * manual/string.texi: Likewise.
2222         * manual/time.texi: Likewise.
2223         * manual/users.texi: Likewise.
2225 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
2227         [BZ #16632]
2228         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2229         _DEFAULT_SOURCE is defined.
2231 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
2232             Carlos O'Donell  <carlos@redhat.com>
2234         [BZ #16613]
2235         * elf/dl-tls.c (_dl_count_modids): New function.
2236         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2237         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2238         audit library and increment generation counter.
2239         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2240         * elf/tst-audit9.c: New file.
2241         * elf/tst-auditmod9a.c: New file.
2242         * elf/tst-auditmod9b.c: New file.
2243         * elf/Makefile: Add rules to build and run tst-audit9.
2245 2014-02-25  Florian Weimer  <fweimer@redhat.com>
2247         [BZ #15347]
2248         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2250 2014-02-25  Will Newton  <will.newton@linaro.org>
2252         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2253         (__longjmp): Restore sp and lr before restoring callee
2254         saved registers.  Add longjmp and longjmp_target
2255         SystemTap probe point.
2256         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2257         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2258         Define to zero to match jmpbuf layout.
2259         * sysdeps/arm/setjmp.S: Include stap-probe.h.
2260         (__sigsetjmp): Save sp and lr before saving callee
2261         saved registers.  Add setjmp SystemTap probe point.
2263 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2265         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2267 2014-02-24  Andreas Schwab  <schwab@suse.de>
2269         [BZ #15804]
2270         * elf/pldd.c (wait_for_ptrace_stop): New function.
2271         (main): Call it after attaching.
2273 2014-02-22  Roland McGrath  <roland@hack.frob.com>
2275         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2276         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2277         Versions files is now verboten.
2278         * hurd/Versions (libc: GLIBC_2.0):
2279         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2280         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2281         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2282         * mach/Versions: Likewise.
2284         * csu/Versions: Remove unused %include.
2285         * resolv/Versions: Likewise.
2287 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
2289         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2290         ($(objpfx)check-local-headers.out): Likewise.
2291         ($(objpfx)begin-end-check.out): Likewise.
2292         * Makerules (check-abi-%.out): Likewise.
2293         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2294         ($(objpfx)test2.cat): Likewise.
2295         ($(objpfx)de/libc.cat): Likewise.
2296         ($(objpfx)test-gencat.out): Likewise.
2297         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2298         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2299         ($(objpfx)noload-mem): Likewise.
2300         ($(objpfx)tst-pathopt.out): Likewise.
2301         ($(objpfx)tst-rtld-load-self.out): Likewise.
2302         ($(objpfx)tst-array1-cmp.out): Likewise.
2303         ($(objpfx)tst-array1-static-cmp.out): Likewise.
2304         ($(objpfx)tst-array2-cmp.out): Likewise.
2305         ($(objpfx)tst-array3-cmp.out): Likewise.
2306         ($(objpfx)tst-array4-cmp.out): Likewise.
2307         ($(objpfx)tst-array5-cmp.out): Likewise.
2308         ($(objpfx)tst-array5-static-cmp.out): Likewise.
2309         ($(objpfx)check-textrel.out): Likewise.
2310         ($(objpfx)check-execstack.out): Likewise.
2311         ($(objpfx)check-localplt.out): Likewise.
2312         ($(objpfx)order2-cmp.out): Likewise.
2313         ($(objpfx)tst-leaks1-mem): Likewise.
2314         ($(objpfx)tst-leaks1-static-mem): Likewise.
2315         ($(objpfx)tst-initorder-cmp.out): Likewise.
2316         ($(objpfx)tst-initorder2-cmp.out): Likewise.
2317         ($(objpfx)tst-unused-dep.out): Likewise.
2318         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2319         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2320         * iconv/Makefile (test-iconvconfig): Likewise.
2321         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2322         ($(objpfx)iconv-test.out): Likewise.
2323         ($(objpfx)tst-tables.out): Likewise.
2324         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2325         ($(objpfx)tst-gettext.out): Likewise.
2326         ($(objpfx)tst-translit.out): Likewise.
2327         ($(objpfx)tst-gettext2.out): Likewise.
2328         ($(objpfx)tst-gettext4.out): Likewise.
2329         ($(objpfx)tst-gettext6.out): Likewise.
2330         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2331         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2332         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2333         ($(objpfx)tst-fopenloc-mem.out): Likewise.
2334         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2335         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2336         * posix/Makefile ($(objpfx)globtest.out): Likewise.
2337         ($(objpfx)wordexp-tst.out): Likewise.
2338         ($(objpfx)annexc.out): Likewise.
2339         ($(objpfx)tst-fnmatch-mem): Likewise.
2340         ($(objpfx)bug-regex2-mem): Likewise.
2341         ($(objpfx)bug-regex14-mem): Likewise.
2342         ($(objpfx)bug-regex21-mem): Likewise.
2343         ($(objpfx)bug-regex31-mem): Likewise.
2344         ($(objpfx)tst-vfork3-mem): Likewise.
2345         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2346         ($(objpfx)tst-pcre-mem): Likewise.
2347         ($(objpfx)tst-boost-mem): Likewise.
2348         ($(objpfx)tst-getconf.out): Likewise.
2349         ($(objpfx)bug-ga2-mem): Likewise.
2350         ($(objpfx)bug-glob2-mem): Likewise.
2351         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2352         ($(objpfx)mtrace-tst-leaks2): Likewise.
2353         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2354         ($(objpfx)tst-printf.out): Likewise.
2355         ($(objpfx)tst-setvbuf1.out): Likewise.
2356         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2357         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2358         ($(objpfx)tst-fmtmsg.out): Likewise.
2359         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2360         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2362         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2363         * bits/sigaction.h [__USE_MISC]: Likewise.
2364         * bits/waitstatus.h: Update #endif comments.
2365         * ctype/ctype.h: Likewise.
2366         * dirent/dirent.h: Likewise.
2367         [__USE_MISC]: Remove redundant conditionals.
2368         * grp/grp.h: Update #endif comments.
2369         [__USE_GNU]: Remove redundant conditionals.
2370         [__USE_MISC]: Likewise.
2371         * inet/netinet/in.h [__USE_GNU]: Likewise.
2372         * io/sys/stat.h [__USE_MISC]: Likewise.
2373         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2374         * libio/bits/stdio.h: Update #endif comments.
2375         [__USE_MISC]: Remove redundant conditionals.
2376         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2377         * libio/stdio.h: Update #endif comments.
2378         [__USE_MISC]: Remove redundant conditionals.
2379         * math/bits/math-finite.h [__USE_MISC]: Likewise.
2380         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2381         * math/math.h: Update #else and #endif comments.
2382         [__USE_MISC]: Remove redundant conditionals.
2383         * misc/sys/uio.h: Update #endif comments.
2384         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2385         * posix/glob.h [__USE_MISC]: Likewise.
2386         * posix/sys/types.h: Update #endif comments.
2387         [__USE_MISC]: Remove redundant conditionals.
2388         * posix/sys/wait.h: Update #endif comments.
2389         [__USE_MISC]: Remove redundant conditionals.
2390         * posix/unistd.h: Update #endif comments.
2391         [__USE_MISC]: Remove redundant conditionals.
2392         * pwd/pwd.h [__USE_GNU]: Likewise.
2393         [__USE_MISC]: Likewise.
2394         * resolv/netdb.h [__USE_GNU]: Likewise.
2395         * signal/signal.h: Update #endif comments.
2396         [__USE_MISC]: Remove redundant conditionals.
2397         * stdlib/stdlib.h: Update #else and #endif comments.
2398         [__USE_MISC]: Remove redundant conditionals.
2399         [__USE_GNU]: Likewise.
2400         * string/bits/string2.h [__USE_MISC]: Likewise.
2401         * string/string.h: Update #endif comments.
2402         [__USE_MISC]: Remove redundant conditionals.
2403         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2404         Likewise.
2405         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2406         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2407         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2408         Likewise.
2409         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2410         Likewise.
2411         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2412         comments.
2413         [__USE_MISC]: Remove redundant conditionals.
2414         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2415         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2416         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2417         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2418         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2419         Likewise.
2420         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2421         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2422         Likewise.
2423         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2424         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2425         Likewise.
2426         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2427         Likewise.
2428         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2429         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2430         Likewise.
2431         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2432         Likewise.
2433         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2434         * sysdeps/x86/bits/string.h: Update #endif comments.
2435         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2436         conditionals.
2437         * time/sys/time.h: Update #endif comments.
2438         * time/time.h: Likewise.
2439         [__USE_MISC]: Remove redundant conditionals.
2441 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
2443         [BZ #16600]
2444         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2446 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
2448         * Versions.def (librt): Add GLIBC_2.17.
2450 2014-02-21  Adam Conrad  <adconrad@0c3.net>
2452         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2453         synonym for _SYS_AUXV_H to allow direct inclusion.
2454         * sysdeps/sparc/bits/hwcap.h: Likewise.
2455         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2456         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2457         * sysdeps/sparc/sysdep.h: Likewise.
2459 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2461         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2463 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2465         * benchtests/bench-strrchr.c: Print length instead of position.
2467 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
2469         [BZ #16611]
2470         * sysdeps/unix/sysv/linux/kernel-features.h
2471         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2472         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2473         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2474         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2475         Likewise.
2476         [__i386__ || __powerpc__ || __sh__ || __sparc__]
2477         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2478         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2479         (__ASSUME_SENDMMSG): Define instead of using previous
2480         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2481         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2482         (__ASSUME_SENDMMSG_SYSCALL): Define.
2483         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2484         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2485         Likewise.
2486         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2487         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2488         Likewise.
2489         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2490         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2491         Likewise.
2492         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2493         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2494         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2495         [__ASSUME_SENDMMSG]: Change conditionals to
2496         [__ASSUME_SENDMMSG_SOCKETCALL].
2497         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2498         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2499         Define.
2500         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2501         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2502         Likewise.
2503         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2504         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2505         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2506         [!__ASSUME_SENDMMSG]: Change conditional to
2507         [!__ASSUME_SENDMMSG_SOCKETCALL].
2508         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2509         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2510         Define.
2512         [BZ #16610]
2513         * sysdeps/unix/sysv/linux/kernel-features.h
2514         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2515         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2516         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2517         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2518         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2519         [__i386__ || __sparc__]
2520         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2521         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2522         (__ASSUME_RECVMMSG): Define instead of using previous
2523         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2524         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2525         (__ASSUME_RECVMMSG_SYSCALL): Define.
2526         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2527         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2528         Likewise.
2529         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2530         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2531         Likewise.
2532         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2533         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2534         Likewise.
2535         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2536         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2537         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2538         [__ASSUME_RECVMMSG]: Change condition to
2539         [__ASSUME_RECVMMSG_SOCKETCALL].
2540         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2541         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2542         Define.
2543         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2544         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2545         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2546         Likewise.
2547         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2548         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2549         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2550         [!__ASSUME_RECVMMSG]: Change condition to
2551         [!__ASSUME_RECVMMSG_SOCKETCALL].
2552         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2553         (__ASSUME_RECVMMSG_SYSCALL): Define.
2555         [BZ #16609]
2556         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2557         __powerpc__ || __s390__ || __sh__ || __sparc__]
2558         (__ASSUME_SOCKETCALL): Define.
2559         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2560         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2561         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2562         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2563         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2564         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2565         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2566         (__ASSUME_ACCEPT4): Define instead of using previous
2567         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2568         __powerpc__ || __sparc__ || __s390__)] condition.
2569         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2570         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2571         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2572         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2573         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2574         [!__ASSUME_ACCEPT4]: Change condition to
2575         [!__ASSUME_ACCEPT4_SOCKETCALL].
2576         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2577         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
2578         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2579         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2580         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2581         __ASSUME_ACCEPT4_SYSCALL.
2582         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2583         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2584         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2585         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2586         __ASSUME_ACCEPT4_SYSCALL.
2587         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2588         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2589         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2590         [__ASSUME_ACCEPT4]: Change condition to
2591         [__ASSUME_ACCEPT4_SOCKETCALL].
2592         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2593         (__ASSUME_SOCKETCALL): Define.
2594         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2595         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2596         (__ASSUME_SOCKETCALL): Define.
2597         (__ASSUME_ACCEPT4): Remove.
2598         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2599         Define.
2600         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2601         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2602         Likewise.
2603         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2604         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2606         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2607         macro.
2608         (HWCAP_ARM_LPAE): Likewise.
2609         (HWCAP_ARM_EVTSTRM): Likewise.
2610         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2611         Add vpfd32, lpae and evtstrm.
2612         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2613         Increase to 22.
2615 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
2617         * math/auto-libm-test-in: Add tests of clog10.
2618         * math/auto-libm-test-out: Regenerated.
2619         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2620         * sysdeps/i386/fpu/libm-test-ulps: Update.
2621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2623 2014-02-18  Andreas Schwab  <schwab@suse.de>
2625         [BZ #16574]
2626         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2627         Store non-zero if the second buffer was newly allocated.
2628         (send_dg): Likewise.
2629         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2630         to send_vc and send_dg.
2631         (res_nsend): Pass NULL for ansp2_malloced.
2632         * resolv/res_query.c (__libc_res_nquery): Add parameter
2633         answerp2_malloced and pass it down to __libc_res_nsend.
2634         (res_nquery): Pass additional NULL to __libc_res_nquery.
2635         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2636         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
2637         second answer buffer if answerp2_malloced was set.
2638         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2639         (__libc_res_nquerydomain): Add parameter
2640         answerp2_malloced and pass it down to __libc_res_nquery.
2641         (res_nquerydomain): Pass additional NULL to
2642         __libc_res_nquerydomain.
2643         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2644         additional NULL to __libc_res_nsend and __libc_res_nquery.
2645         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2646         additional NULL to __libc_res_nsearch.
2647         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
2648         parameter of __libc_res_nsearch to check for separately allocated
2649         second buffer.
2650         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2651         __libc_res_nquery.
2652         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2653         additional NULL to __libc_res_nquery.
2654         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2655         __libc_res_nsearch.
2656         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2657         * include/resolv.h: Update prototypes of __libc_res_nquery,
2658         __libc_res_nsearch, __libc_res_nsend.
2660 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
2662         * math/auto-libm-test-in: Add tests of fma.
2663         * math/auto-libm-test-out: Regenerated.
2664         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2665         (fma_towardzero_test_data): Likewise.
2666         (fma_downward_test_data): Likewise.
2667         (fma_upward_test_data): Likewise.
2668         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2669         mpc_mode.
2670         (rounding_modes): Add values for new field.
2671         (func_calc_method): Add value mpfr_fff_f.
2672         (func_calc_desc): Add mpfr_fff_f union field.
2673         (test_function): Add field exact_args.
2674         (FUNC): Add macro argument EXACT_ARGS.
2675         (FUNC_mpfr_f_f): Update call to FUNC.
2676         (FUNC_mpfr_f_f): Likewise.
2677         (FUNC_mpfr_ff_f): Likewise.
2678         (FUNC_mpfr_if_f): Likewise.
2679         (FUNC_mpc_c_f): Likewise.
2680         (FUNC_mpc_c_c): Likewise.
2681         (test_functions): Add fma.  Update calls to FUNC.
2682         (handle_input_arg): Add argument exact_args.
2683         (add_test): Update call to handle_input_arg.
2684         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
2685         (output_for_one_input_case): Update call to calc_generic_results.
2686         Recalculate exact zero results in each rounding mode.
2688         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2689         non-negative before setting low bit.
2690         * math/auto-libm-test-in: Mark one asin test possibly having
2691         spurious underflow.
2692         * math/auto-libm-test-out: Regenerated.
2693         * sysdeps/i386/fpu/libm-test-ulps: Update.
2694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2696 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
2698         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2699         * sysdeps/unix/sysv/linux/microblaze: Move directory from
2700         ports/sysdeps/unix/sysv/linux/microblaze.
2701         * README: Add missing listing for microblaze*-*-linux-gnu.
2703 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
2705         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2706         * sysdeps/unix/sysv/linux/ia64: Move directory from
2707         ports/sysdeps/unix/sysv/linux/ia64.
2708         * README: Update listing for ia64-*-linux-gnu.
2710 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
2711             Joseph Myers  <joseph@codesourcery.com>
2713         * Makeconfig (test-name): New variable.
2714         (evaluate-test): Likewise.
2715         * Makerules (do-test-clean): Remove .test-result files.
2716         (common-mostlyclean): Likewise.
2717         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2718         * scripts/evaluate-test.sh: New file.
2720 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
2722         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2723         separate $(objpfx)tst-fopenloc-cmp.out and
2724         $(objpfx)tst-fopenloc-mem.out targets.
2725         (tests): Update dependencies.
2726         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2727         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2728         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2729         (tst-rxspencer-no-utf8-ARGS): New variable.
2730         (tst-rxspencer-no-utf8-ENV): Likewise.
2731         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2732         instead of $(objpfx)tst-rxspencer-mem.
2733         ($(objpfx)tst-rxspencer-mem): Change target to
2734         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
2735         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2736         * posix/tst-rxspencer-no-utf8.c: New file.
2738         * elf/Makefile ($(objpfx)order.out): Remove rule.
2739         [$(run-built-tests) = yes] (tests): Depend on
2740         $(objpfx)order-cmp.out.
2741         ($(objpfx)order-cmp.out): New rule.
2742         [$(run-built-tests) = yes] (tests): Depend on
2743         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2744         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2745         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2746         $(objpfx)tst-array5-static-cmp.out.
2747         ($(objpfx)tst-array1.out): Remove rule.
2748         ($(objpfx)tst-array1-cmp.out): New rule.
2749         ($(objpfx)tst-array1-static.out): Remove rule.
2750         ($(objpfx)tst-array1-static-cmp.out): New rule.
2751         ($(objpfx)tst-array2.out): Remove rule.
2752         ($(objpfx)tst-array2-cmp.out): New rule.
2753         ($(objpfx)tst-array3.out): Remove rule.
2754         ($(objpfx)tst-array3-cmp.out): New rule.
2755         ($(objpfx)tst-array4.out): Remove rule.
2756         ($(objpfx)tst-array4-cmp.out): New rule.
2757         ($(objpfx)tst-array5.out): Remove rule.
2758         ($(objpfx)tst-array5-cmp.out): New rule.
2759         ($(objpfx)tst-array5-static.out): Remove rule.
2760         ($(objpfx)tst-array5-static-cmp.out): New rule.
2761         [$(run-built-tests) = yes] (tests): Depend on
2762         $(objpfx)order2-cmp.out.
2763         ($(objpfx)order2.out): Remove rule.
2764         ($(objpfx)order2-cmp.out): New rule.
2765         ($(objpfx)tst-initorder.out): Remove rule.
2766         [$(run-built-tests) = yes] (tests): Depend on
2767         $(objpfx)tst-initorder-cmp.out.
2768         ($(objpfx)tst-initorder-cmp.out): New rule.
2769         ($(objpfx)tst-initorder2.out): Remove rule.
2770         [$(run-built-tests) = yes] (tests): Depend on
2771         $(objpfx)tst-initorder2-cmp.out.
2772         ($(objpfx)tst-initorder2-cmp.out): New rule.
2773         [$(run-built-tests) = yes] (tests): Depend on
2774         $(objpfx)tst-unused-dep-cmp.out.
2775         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2776         ($(objpfx)tst-unused-dep-cmp.out): New rule.
2777         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2778         on $(objpfx)tst-setvbuf1-cmp.out.
2779         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2780         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2781         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2782         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2783         ($(objpfx)tst-svc.out): Remove rule.
2784         ($(objpfx)tst-svc-cmp.out): New rule.
2786 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
2788         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2789         * ctype/ctype.h [__USE_MISC]: Likewise.
2790         * dirent/dirent.h [__USE_MISC]: Likewise.
2791         * grp/grp.h [__USE_MISC]: Likewise.
2792         * io/fcntl.h [__USE_MISC]: Likewise.
2793         * io/sys/stat.h [__USE_MISC]: Likewise.
2794         * libio/stdio.h [__USE_MISC]: Likewise.
2795         * posix/unistd.h [__USE_MISC]: Likewise.
2796         * pwd/pwd.h [__USE_MISC]: Likewise.
2797         * stdlib.h [__USE_MISC]: Likewise.
2798         * string/bits/string2.h [__USE_MISC]: Likewise.
2799         * string/string.h [__USE_MISC]: Likewise.
2800         * time/time.h [__USE_MISC]: Likewise.
2802 2014-02-13  Andreas Schwab  <schwab@suse.de>
2804         [BZ #16574]
2805         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2806         second answer buffer if it was separately allocated.
2808 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2810         * sysdeps/mips/math-tests.h: Include <features.h>.
2811         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2812         (ROUNDING_TESTS_long_double): Do not define.
2813         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2814         (EXCEPTION_TESTS_long_double): Likewise.
2815         * sysdeps/mips/mips64/libm-test-ulps: Update.
2817         * include/features.h (__USE_BSD): Remove macro definitions.
2818         (__USE_SVID): Likewise.
2819         (_BSD_SOURCE): Likewise.
2820         (_SVID_SOURCE): Likewise.
2821         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2822         from definition of _DEFAULT_SOURCE.
2823         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2824         [_DEFAULT_SOURCE].
2825         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2826         * bits/mman.h [__USE_BSD]: Likewise.
2827         * bits/termios.h [__USE_BSD]: Likewise.
2828         * bits/waitstatus.h [__USE_BSD]: Likewise.
2829         * ctype/ctype.h [__USE_SVID]: Likewise.
2830         * dirent/dirent.h [__USE_BSD]: Likewise.
2831         * grp/grp.h [__USE_SVID]: Likewise.
2832         [__USE_BSD]: Likewise.
2833         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2834         * io/fcntl.h [__USE_BSD]: Likewise.
2835         * io/ftw.h [__USE_BSD]: Likewise.
2836         * io/sys/stat.h [__USE_BSD]: Likewise.
2837         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2838         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2839         * libio/stdio.h [__USE_SVID]: Likewise.
2840         [__USE_BSD]: Likewise.
2841         * math/math.h [__USE_SVID]: Likewise.
2842         [__USE_BSD]: Likewise.
2843         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2844         * misc/bits/syslog.h [__USE_BSD]: Likewise.
2845         * misc/search.h [__USE_SVID]: Likewise.
2846         * misc/sys/mman.h [__USE_BSD]: Likewise.
2847         * misc/sys/syslog.h [__USE_BSD]: Likewise.
2848         * misc/sys/uio.h [__USE_BSD]: Likewise.
2849         * posix/bits/unistd.h [__USE_BSD]: Likewise.
2850         * posix/glob.h [__USE_BSD]: Likewise.
2851         * posix/regex.h [__USE_BSD]: Likewise.
2852         * posix/sys/types.h [__USE_BSD]: Likewise.
2853         [__USE_SVID]: Likewise.
2854         * posix/sys/utsname.h [__USE_SVID]: Likewise.
2855         * posix/sys/wait.h [__USE_BSD]: Likewise.
2856         [__USE_SVID]: Likewise.
2857         * posix/unistd.h [__USE_BSD]: Likewise.
2858         [__USE_SVID]: Likewise.
2859         * pwd/pwd.h [__USE_SVID]: Likewise.
2860         * resolv/netdb.h [__USE_BSD]: Likewise.
2861         * setjmp/setjmp.h [__USE_BSD]: Likewise.
2862         * signal/signal.h [__USE_BSD]: Likewise.
2863         [__USE_SVID]: Likewise.
2864         * socket/sys/socket.h [__USE_BSD]: Likewise.
2865         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2866         * stdlib/stdlib.h [__USE_BSD]: Likewise.
2867         [__USE_SVID]: Likewise.
2868         * string/bits/string2.h [__USE_BSD]: Likewise.
2869         [__USE_SVID]: Likewise.
2870         * string/bits/string3.h [__USE_BSD]: Likewise.
2871         * string/endian.h [__USE_BSD]: Likewise.
2872         * string/string.h [__USE_SVID]: Likewise.
2873         [__USE_BSD]: Likewise.
2874         * string/strings.h [__USE_BSD]: Likewise.
2875         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2876         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2877         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2878         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2879         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2880         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2881         Likewise.
2882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2883         Likewise.
2884         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2885         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2886         Likewise.
2887         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2888         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2889         Likewise.
2890         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2891         Likewise.
2892         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2893         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2894         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2895         Likewise.
2896         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2897         Likewise.
2898         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2899         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2900         * termios/termios.h [__USE_BSD]: Likewise.
2901         * time/sys/time.h [__USE_BSD]: Likewise.
2902         * time/time.h [__USE_BSD]: Likewise.
2903         [__USE_SVID]: Likewise.
2905         * Makefile (subdir_targets): Remove subdir_lint.out.
2907         * stdio-common/Makefile (do-tst-unbputc): Remove target.
2908         (do-tst-printf): Likewise.
2909         (tests): Depend directly on $(objpfx)tst-unbputc.out and
2910         $(objpfx)tst-printf.out.
2912         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2914         * Makerules (check-abi-%): Change target to
2915         $(objpfx)check-abi-%.out.
2916         (check-abi target): Update dependencies.
2917         (check-abi-pattern variable): Redirect output of diff to $@.
2918         (check-abi variable): Likewise.
2919         * elf/Makefile (check-abi): Update dependencies.
2921         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2922         unused.
2923         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2924         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2925         subnormal range.
2926         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2927         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2928         value has largest subnormal exponent.
2929         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2930         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2931         * sysdeps/aarch64/soft-fp/sfp-machine.h
2932         (_FP_TININESS_AFTER_ROUNDING): New macro.
2933         * sysdeps/alpha/soft-fp/sfp-machine.h
2934         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2935         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2936         Likewise.
2937         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2938         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2939         * sysdeps/mips/soft-fp/sfp-machine.h
2940         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2941         * sysdeps/powerpc/soft-fp/sfp-machine.h
2942         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2943         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2944         Likewise.
2945         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2946         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2947         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2948         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2949         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2950         Likewise.
2952 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
2954         [BZ #16545]
2955         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2956         model 1.
2958 2014-02-12  Richard Henderson  <rth@redhat.com>
2960         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2961         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2962         * sysdeps/unix/sysv/linux/alpha: Move directory from
2963         ports/sysdeps/unix/sysv/linux/alpha.
2964         * README: Update listing for alpha-*-linux-gnu.
2966 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
2968         * include/features.h: Update comment documenting feature test
2969         macros.
2970         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
2971         _DEFAULT_SOURCE.
2972         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2973         (_SVID_SOURCE): Likewise.
2974         (_DEFAULT_SOURCE): Update description of default features.
2975         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2976         with _GNU_SOURCE.
2977         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2978         (S_ISVTX): Likewise.
2979         * manual/math.texi (Mathematical Constants): Likewise.
2980         * manual/signal.texi (Interrupted Primitives): Likewise.
2981         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2982         * math/test-matherr.c (_SVID_SOURCE): Do not define.
2983         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2984         Don't refer to _SVID_SOURCE in warning text.
2986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2988         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2989         already defined.
2990         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2991         * sysdeps/mips/dl-lookup.c: Remove.
2992         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2994 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2996         [BZ #16447]
2997         * math/auto-libm-test-in: Add testcase for expl.
2998         * math/auto-libm-test-out: Regenerate.
2999         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3000         calculation of unsafe.
3001         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3003 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3005         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3006         * sysdeps/unix/sysv/linux/aarch64: Move directory from
3007         ports/sysdeps/unix/sysv/linux/aarch64.
3008         * README: Update listing for aarch64*-*-linux-gnu.
3010 2014-02-11  Will Newton  <will.newton@linaro.org>
3012         * manual/probes.texi (Mathematical Function Probes): Use
3013         "triggered" instead of "hit".
3015 2014-02-11  Will Newton  <will.newton@linaro.org>
3017         * manual/probes.texi (Internal Probes): Add documentation
3018         of setjmp, longjmp and longjmp_target probes.
3020 2014-02-11  Will Newton  <will.newton@linaro.org>
3022         * include/stap-probe.h: Add comment about probe argument
3023         format.
3025 2014-02-11  Will Newton  <will.newton@linaro.org>
3027         * malloc/mtrace.c (attribute_hidden): Remove unused macro
3028         definition.  (tr_where, tr_freehook, tr_mallochook,
3029         tr_reallochook, tr_memalignhook): Use ANSI protoype.
3031 2014-02-11  David S. Miller  <davem@davemloft.net>
3033         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3034         processing int_tests.
3036 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
3038         * sysdeps/mips: Move directory from ports/sysdeps/mips.
3039         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3040         * sysdeps/unix/sysv/linux/mips: Move directory from
3041         ports/sysdeps/unix/sysv/linux/mips.
3042         * README: Update listing for mips-*-linux-gnu and
3043         mips64-*-linux-gnu.
3045 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
3047         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3048         * sysdeps/unix/sysv/linux/m68k: Move directory from
3049         ports/sysdeps/unix/sysv/linux/m68k.
3050         * README: Update listing for m68k-*-linux-gnu.
3052 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
3054         * sysdeps/tile: Move directory from ports/sysdeps/tile.
3055         * sysdeps/unix/sysv/linux/generic: Move directory from
3056         ports/sysdeps/unix/sysv/linux/generic.
3057         * sysdeps/unix/sysv/linux/tile: Move directory from
3058         ports/sysdeps/unix/sysv/linux/tile.
3059         * README: Update listing for tile*-*-linux-gnu.
3061 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3063         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3064         * benchtests/bench-memmem.c (simple_memmem): Likewise.
3065         * catgets/open_catalog.c (__open_catalog): Likewise.
3066         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3067         * debug/confstr_chk.c: Likewise.
3068         * debug/fread_chk.c (__fread_chk): Likewise.
3069         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3070         * debug/getgroups_chk.c: Likewise.
3071         * debug/mbsnrtowcs_chk.c: Likewise.
3072         * debug/mbsrtowcs_chk.c: Likewise.
3073         * debug/mbstowcs_chk.c: Likewise.
3074         * debug/memcpy_chk.c: Likewise.
3075         * debug/memmove_chk.c: Likewise.
3076         * debug/mempcpy_chk.c: Likewise.
3077         * debug/memset_chk.c: Likewise.
3078         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3079         * debug/strcat_chk.c (__strcat_chk): Likewise.
3080         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3081         * debug/strncat_chk.c (__strncat_chk): Likewise.
3082         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3083         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3084         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3085         * debug/wcpncpy_chk.c: Likewise.
3086         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3087         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3088         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3089         * debug/wcsncpy_chk.c: Likewise.
3090         * debug/wcsnrtombs_chk.c: Likewise.
3091         * debug/wcsrtombs_chk.c: Likewise.
3092         * debug/wcstombs_chk.c: Likewise.
3093         * debug/wmemcpy_chk.c: Likewise.
3094         * debug/wmemmove_chk.c: Likewise.
3095         * debug/wmempcpy_chk.c: Likewise.
3096         * debug/wmemset_chk.c: Likewise.
3097         * dirent/scandirat.c (SCANDIRAT): Likewise.
3098         * dlfcn/dladdr1.c (dladdr1): Likewise.
3099         * dlfcn/dladdr.c (dladdr): Likewise.
3100         * dlfcn/dlclose.c (dlclose_doit): Likewise.
3101         * dlfcn/dlerror.c (__dlerror): Likewise.
3102         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3103         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3104         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3105         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3106         * dlfcn/dlsym.c (dlsym_doit): Likewise.
3107         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3108         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3109         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3110         Likewise.
3111         * elf/dl-conflict.c: Likewise.
3112         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3113         * elf/dl-dst.h: Likewise.
3114         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3115         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3116         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3117         * elf/dl-init.c (call_init, _dl_init): Likewise.
3118         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3119         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3120         _dl_map_object_from_fd, open_verify, open_path,
3121         _dl_map_object): Likewise.
3122         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3123         Likewise.
3124         * elf/dl-minimal.c (__libc_memalign): Likewise.
3125         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3126         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3127         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3128         * elf/dl-sym.c (do_sym): Likewise.
3129         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3130         _dl_tls_get_addr_soft): Likewise.
3131         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3132         * elf/dl-writev.h (_dl_writev): Likewise.
3133         * elf/ldconfig.c (search_dir): Likewise.
3134         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3135         dl_main): Likewise.
3136         * elf/setup-vdso.h (setup_vdso): Likewise.
3137         * grp/compat-initgroups.c (compat_call): Likewise.
3138         * grp/fgetgrent.c (fgetgrent): Likewise.
3139         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3140         * grp/putgrent.c (putgrent): Likewise.
3141         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3142         Likewise.
3143         * hurd/hurdinit.c: Likewise.
3144         * iconvdata/8bit-gap.c (struct): Likewise.
3145         * iconvdata/ansi_x3.110.c : Likewise.
3146         * iconvdata/big5.c : Likewise.
3147         * iconvdata/big5hkscs.c : Likewise.
3148         * iconvdata/cp1255.c: Likewise.
3149         * iconvdata/cp1258.c : Likewise.
3150         * iconvdata/cp932.c : Likewise.
3151         * iconvdata/euc-cn.c: Likewise.
3152         * iconvdata/euc-jisx0213.c : Likewise.
3153         * iconvdata/euc-jp.c: Likewise.
3154         * iconvdata/euc-jp-ms.c : Likewise.
3155         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3156         * iconvdata/gb18030.c : Likewise.
3157         * iconvdata/gbbig5.c (const): Likewise.
3158         * iconvdata/gbgbk.c: Likewise.
3159         * iconvdata/gbk.c : Likewise.
3160         * iconvdata/ibm1364.c : Likewise.
3161         * iconvdata/ibm930.c : Likewise.
3162         * iconvdata/ibm932.c: Likewise.
3163         * iconvdata/ibm933.c : Likewise.
3164         * iconvdata/ibm935.c : Likewise.
3165         * iconvdata/ibm937.c : Likewise.
3166         * iconvdata/ibm939.c : Likewise.
3167         * iconvdata/ibm943.c: Likewise.
3168         * iconvdata/iso_11548-1.c: Likewise.
3169         * iconvdata/iso-2022-cn.c : Likewise.
3170         * iconvdata/iso-2022-cn-ext.c : Likewise.
3171         * iconvdata/iso-2022-jp-3.c: Likewise.
3172         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3173         * iconvdata/iso-2022-kr.c : Likewise.
3174         * iconvdata/iso646.c (gconv_end): Likewise.
3175         * iconvdata/iso_6937-2.c : Likewise.
3176         * iconvdata/iso_6937.c : Likewise.
3177         * iconvdata/iso8859-1.c: Likewise.
3178         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3179         * iconvdata/shift_jisx0213.c : Likewise.
3180         * iconvdata/sjis.c : Likewise.
3181         * iconvdata/t.61.c : Likewise.
3182         * iconvdata/tcvn5712-1.c : Likewise.
3183         * iconvdata/tscii.c: Likewise.
3184         * iconvdata/uhc.c : Likewise.
3185         * iconvdata/unicode.c (gconv_end): Likewise.
3186         * iconvdata/utf-16.c (gconv_end): Likewise.
3187         * iconvdata/utf-32.c (gconv_end): Likewise.
3188         * iconvdata/utf-7.c (base64): Likewise.
3189         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3190         * iconv/gconv_close.c (__gconv_close): Likewise.
3191         * iconv/gconv_open.c (__gconv_open): Likewise.
3192         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3193         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3194         internal_ucs4le_loop_single, ucs4le_internal_loop,
3195         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3196         * iconv/iconv.c (iconv): Likewise.
3197         * iconv/iconv_close.c: Likewise.
3198         * iconv/loop.c (SINGLE): Likewise.
3199         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3200         * include/atomic.h: Likewise.
3201         * inet/inet6_option.c (option_alloc): Likewise.
3202         * intl/bindtextdom.c (set_binding_values): Likewise.
3203         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3204         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3205         * intl/localealias.c (read_alias_file): Likewise.
3206         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3207         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3208         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3209         * libio/fmemopen.c (fmemopen): Likewise.
3210         * libio/iofgets.c (_IO_fgets): Likewise.
3211         * libio/iofgets_u.c (fgets_unlocked): Likewise.
3212         * libio/iofgetws.c (fgetws): Likewise.
3213         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3214         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3215         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3216         adjust_wide_data, _IO_wfile_seekoff): Likewise.
3217         * locale/findlocale.c (_nl_find_locale): Likewise.
3218         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3219         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3220         Likewise.
3221         * locale/setlocale.c (setlocale): Likewise.
3222         * login/programs/pt_chown.c (main): Likewise.
3223         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3224         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3225         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3226         mmap, mmap64, mremap, munmap): Likewise.
3227         * math/e_exp2l.c: Likewise.
3228         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3229         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3230         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3231         * math/s_catan.c (__catan): Likewise.
3232         * math/s_catanf.c (__catanf): Likewise.
3233         * math/s_catanh.c (__catanh): Likewise.
3234         * math/s_catanhf.c (__catanhf): Likewise.
3235         * math/s_catanhl.c (__catanhl): Likewise.
3236         * math/s_catanl.c (__catanl): Likewise.
3237         * math/s_ccosh.c (__ccosh): Likewise.
3238         * math/s_ccoshf.c (__ccoshf): Likewise.
3239         * math/s_ccoshl.c (__ccoshl): Likewise.
3240         * math/s_cexp.c (__cexp): Likewise.
3241         * math/s_cexpf.c (__cexpf): Likewise.
3242         * math/s_cexpl.c (__cexpl): Likewise.
3243         * math/s_clog10.c (__clog10): Likewise.
3244         * math/s_clog10f.c (__clog10f): Likewise.
3245         * math/s_clog10l.c (__clog10l): Likewise.
3246         * math/s_clog.c (__clog): Likewise.
3247         * math/s_clogf.c (__clogf): Likewise.
3248         * math/s_clogl.c (__clogl): Likewise.
3249         * math/s_csin.c (__csin): Likewise.
3250         * math/s_csinf.c (__csinf): Likewise.
3251         * math/s_csinh.c (__csinh): Likewise.
3252         * math/s_csinhf.c (__csinhf): Likewise.
3253         * math/s_csinhl.c (__csinhl): Likewise.
3254         * math/s_csinl.c (__csinl): Likewise.
3255         * math/s_csqrt.c (__csqrt): Likewise.
3256         * math/s_csqrtf.c (__csqrtf): Likewise.
3257         * math/s_csqrtl.c (__csqrtl): Likewise.
3258         * math/s_ctan.c (__ctan): Likewise.
3259         * math/s_ctanf.c (__ctanf): Likewise.
3260         * math/s_ctanh.c (__ctanh): Likewise.
3261         * math/s_ctanhf.c (__ctanhf): Likewise.
3262         * math/s_ctanhl.c (__ctanhl): Likewise.
3263         * math/s_ctanl.c (__ctanl): Likewise.
3264         * math/w_pow.c: Likewise.
3265         * math/w_powf.c: Likewise.
3266         * math/w_powl.c: Likewise.
3267         * math/w_scalb.c (sysv_scalb): Likewise.
3268         * math/w_scalbf.c (sysv_scalbf): Likewise.
3269         * math/w_scalbl.c (sysv_scalbl): Likewise.
3270         * misc/error.c (error_tail): Likewise.
3271         * misc/pselect.c (__pselect): Likewise.
3272         * nis/nis_callback.c (__nis_create_callback): Likewise.
3273         * nis/nis_call.c (__nisfind_server): Likewise.
3274         * nis/nis_creategroup.c (nis_creategroup): Likewise.
3275         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3276         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3277         * nis/nis_getservlist.c (nis_getservlist): Likewise.
3278         * nis/nis_lookup.c (nis_lookup): Likewise.
3279         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3280         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3281         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3282         * nis/nis_xdr.c (xdr_endpoint): Likewise.
3283         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3284         internal_getgrgid_r): Likewise.
3285         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3286         Likewise.
3287         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3288         internal_getpwuid_r): Likewise.
3289         * nis/nss_compat/compat-spwd.c (getspent_next_file,
3290         internal_getspnam_r): Likewise.
3291         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3292         _nss_nis_getaliasbyname_r): Likewise.
3293         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3294         _nss_nis_getntohost_r): Likewise.
3295         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3296         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3297         Likewise.
3298         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3299         internal_nis_gethostent_r, internal_gethostbyname2_r,
3300         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3301         _nss_nis_gethostbyname4_r): Likewise.
3302         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3303         initgroups_netid): Likewise.
3304         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3305         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3306         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3307         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3308         _nss_nis_getprotobynumber_r): Likewise.
3309         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3310         _nss_nis_getsecretkey): Likewise.
3311         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3312         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3313         Likewise.
3314         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3315         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3316         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3317         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3318         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3319         _nss_nis_getspnam_r): Likewise.
3320         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3321         Likewise.
3322         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3323         _nss_nisplus_getntohost_r): Likewise.
3324         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3325         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3326         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3327         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3328         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3329         Likewise.
3330         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3331         _nss_nisplus_getnetbyaddr_r): Likewise.
3332         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3333         _nss_nisplus_getprotobynumber_r): Likewise.
3334         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3335         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3336         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3337         Likewise.
3338         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3339         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3340         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3341         _nss_nisplus_getspnam_r): Likewise.
3342         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3343         * nscd/aicache.c (addhstaiX): Likewise.
3344         * nscd/cache.c (cache_search, prune_cache): Likewise.
3345         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3346         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3347         * nscd/grpcache.c (addgrbyX): Likewise.
3348         * nscd/hstcache.c (addhstbyX): Likewise.
3349         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3350         * nscd/mem.c (gc, mempool_alloc): Likewise.
3351         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3352         Likewise.
3353         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3354         Likewise.
3355         * nscd/nscd_getai.c (__nscd_getai): Likewise.
3356         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3357         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3358         Likewise.
3359         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3360         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3361         * nscd/nscd_helper.c (__readvall, open_socket,
3362         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3363         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3364         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3365         * nscd/pwdcache.c (addpwbyX): Likewise.
3366         * nscd/selinux.c (preserve_capabilities): Likewise.
3367         * nscd/servicescache.c (addservbyX): Likewise.
3368         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3369         * posix/fnmatch.c (fnmatch): Likewise.
3370         * posix/getopt.c (_getopt_internal_r): Likewise.
3371         * posix/glob.c (glob, glob_in_dir): Likewise.
3372         * posix/wordexp.c (exec_comm_child): Likewise.
3373         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3374         gaih_getanswer_slice): Likewise.
3375         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3376         * resolv/res_init.c: Likewise.
3377         * resolv/res_mkquery.c (res_nmkquery): Likewise.
3378         * resolv/res_query.c (__libc_res_nquery): Likewise.
3379         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3380         Likewise.
3381         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3382         * stdio-common/perror.c (perror): Likewise.
3383         * stdio-common/printf_fp.c (___printf_fp): Likewise.
3384         * stdio-common/tmpnam.c (tmpnam): Likewise.
3385         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3386         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3387         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3388         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3389         * stdlib/putenv.c (putenv): Likewise.
3390         * stdlib/setenv.c (__add_to_environ): Likewise.
3391         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3392         * stdlib/strtol_l.c (INTERNAL): Likewise.
3393         * string/memmem.c (memmem): Likewise.
3394         * string/strerror.c (strerror): Likewise.
3395         * string/strnlen.c (__strnlen): Likewise.
3396         * string/test-memmem.c (simple_memmem): Likewise.
3397         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3398         * sunrpc/pm_getport.c (__get_socket): Likewise.
3399         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3400         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3401         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3402         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3403         Likewise.
3404         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3405         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3406         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3407         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3408         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3409         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3410         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3411         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3412         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3413         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3414         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3415         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3417         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3418         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3419         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3420         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3421         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3422         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3423         Likewise.
3424         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3425         Likewise.
3426         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3427         Likewise.
3428         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3429         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3430         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3431         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3432         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3433         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3434         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3435         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3436         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3437         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3438         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3439         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3440         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3441         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3442         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3443         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3444         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3445         Likewise.
3446         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3447         Likewise.
3448         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3449         Likewise.
3450         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3452         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3453         Likewise.
3454         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3455         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3456         * sysdeps/posix/opendir.c (__opendirat): Likewise.
3457         * sysdeps/posix/sleep.c: Likewise.
3458         * sysdeps/posix/tempname.c: Likewise.
3459         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3460         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3461         Likewise.
3462         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3463         elf_machine_rela): Likewise.
3464         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3465         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3466         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3467         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3468         Likewise.
3469         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3470         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3471         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3472         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3473         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3474         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3475         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3476         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3477         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3478         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3479         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3480         elf_machine_lazy_rel): Likewise.
3481         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3482         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3483         elf_machine_lazy_rel): Likewise.
3484         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3485         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3486         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3487         * sysdeps/unix/grantpt.c (grantpt): Likewise.
3488         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3489         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3490         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3491         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3492         Likewise.
3493         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3494         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3495         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3496         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3497         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3498         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3499         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3500         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3501         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3502         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3503         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3504         Likewise.
3505         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3506         (__posix_fallocate64_l64): Likewise.
3507         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3508         (posix_fallocate): Likewise.
3509         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3510         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3511         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3512         getifaddrs_internal): Likewise.
3513         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3514         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3515         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3516         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3517         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3518         (__posix_fallocate64_l64): Likewise.
3519         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3520         Likewise.
3521         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3522         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3523         Likewise.
3524         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3525         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3526         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3527         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3528         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3529         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3530         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3531         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3532         Likewise.
3533         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3534         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3535         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3536         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3537         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3538         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3539         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3540         Likewise.
3541         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3542         (posix_fallocate): Likewise.
3543         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3544         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3545         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3546         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3547         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3548         Likewise.
3549         * time/asctime.c (asctime_internal): Likewise.
3550         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3551         * time/tzset.c (__tzset_parse_tz): Likewise.
3552         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3553         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3554         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3555         * wcsmbs/wcsmbsload.h: Likewise.
3557 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3559         [BZ #15894]
3560         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3562 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3564         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3565         arena_get2): Remove THREAD_STATS conditionals.
3566         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3567         __malloc_stats, int): Likewise.
3569 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3571         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3572         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
3574 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3576         * manual/setjmp.texi: Fix typos/grammar errors.
3578 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3580         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3581         Only return early when n is <= 0.  Delete unused return statement.
3583 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3585         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3586         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3587         * debug/tst-longjmp_chk3.c: New file.
3589 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3591         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3592         (test_main): Replace code with set_fortify_handler call.
3593         * debug/test-strcpy_chk.c: Likewise.
3594         * debug/tst-chk1.c: Likewise.
3595         * debug/tst-longjmp_chk.c: Likewise.
3596         * test-skeleton.c: Include fcntl.h & paths.h
3597         (set_fortify_handler): Define.
3599 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3601         * debug/tst-longjmp_chk.c: Add header comment and include
3602         ../test-skeleton.c.
3603         (do_test): Mark static.
3604         (TEST_FUNCTION): Define.
3606 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3608         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3609         (IP_PMTUDISC_INTERFACE): Likewise.
3610         (IP_MULTICAST_IF): Likewise.
3611         (IP_MULTICAST_TTL): Likewise.
3612         (IP_MULTICAST_LOOP): Likewise.
3613         (IP_ADD_MEMBERSHIP): Likewise.
3614         (IP_DROP_MEMBERSHIP): Likewise.
3615         (IP_UNBLOCK_SOURCE): Likewise.
3616         (IP_BLOCK_SOURCE): Likewise.
3617         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3618         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3619         (IP_MSFILTER): Likewise.
3620         (MCAST_JOIN_GROUP): Likewise.
3621         (MCAST_BLOCK_SOURCE): Likewise.
3622         (MCAST_UNBLOCK_SOURCE): Likewise.
3623         (MCAST_LEAVE_GROUP): Likewise.
3624         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3625         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3626         (MCAST_MSFILTER): Likewise.
3627         (IP_MULTICAST_ALL): Likewise.
3628         (IP_UNICAST_IF): Likewise.
3630 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3632         * timezone/Makefile: Delete $(have-ksh) check.
3633         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3634         * timezone/tzselect.ksh: Add +x mode bits.
3636 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3638         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3639         (ANON_INODE_FS_MAGIC): Likewise.
3640         (BDEVFS_MAGIC): Likewise.
3641         (BINFMTFS_MAGIC): Likewise.
3642         (BTRFS_TEST_MAGIC): Likewise.
3643         (CRAMFS_MAGIC_WEND): Likewise.
3644         (DEBUGFS_MAGIC): Likewise.
3645         (ECRYPTFS_SUPER_MAGIC): Likewise.
3646         (EXT3_SUPER_MAGIC): Likewise.
3647         (EXT4_SUPER_MAGIC): Likewise.
3648         (FUTEXFS_SUPER_MAGIC): Likewise.
3649         (HOSTFS_SUPER_MAGIC): Likewise.
3650         (HUGETLBFS_MAGIC): Likewise.
3651         (MINIX3_SUPER_MAGIC): Likewise.
3652         (MTD_INODE_FS_MAGIC): Likewise.
3653         (NILFS_SUPER_MAGIC): Likewise.
3654         (OPENPROM_SUPER_MAGIC): Likewise.
3655         (PIPEFS_MAGIC): Likewise.
3656         (PSTOREFS_MAGIC): Likewise.
3657         (QNX6_SUPER_MAGIC): Likewise.
3658         (RAMFS_MAGIC): Likewise.
3659         (REISERFS_SUPER_MAGIC_STRING): Likewise.
3660         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3661         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3662         (SECURITYFS_MAGIC): Likewise.
3663         (SELINUX_MAGIC): Likewise.
3664         (SMACK_MAGIC): Likewise.
3665         (SOCKFS_MAGIC): Likewise.
3666         (SQUASHFS_MAGIC): Likewise.
3667         (STACK_END_MAGIC): Likewise.
3668         (TMPFS_MAGIC): Likewise.
3669         (USBDEVICE_SUPER_MAGIC): Likewise.
3670         (V9FS_MAGIC): Likewise.
3671         (XENFS_SUPER_MAGIC): Likewise.
3672         (CRAMFS_MAGIC): Fix typo in comment.
3673         (EXT2_SUPER_MAGIC): Update comment.
3674         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3676 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
3678         * sysdeps/arm: Move directory from ports/sysdeps/arm.
3679         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3680         * sysdeps/unix/sysv/linux/arm: Move directory from
3681         ports/sysdeps/unix/sysv/linux/arm.
3682         * README: Update listing for arm-*-linux-gnueabi.
3684         * README: Remove mention of am33.
3686 2014-02-07  Roland McGrath  <roland@hack.frob.com>
3688         * bits/sigset.h (__sigemptyset): Use a statement expression rather
3689         than the comma operator, to avoid "rhs of comma has no effect"
3690         compiler warnings.
3691         (__sigfillset, __sigandset, __sigorset): Likewise.
3692         * include/signal.h (__sigemptyset): Likewise.
3693         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3695 2014-02-07  Allan McRae  <allan@archlinux.org>
3697         * version.h (RELEASE): Set to "development".
3698         (VERSION): Set to "2.19.90"
3699         * NEWS: Add 2.20 section.
3701 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
3703         [BZ #16529]
3704         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3706 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3708         * manual/contrib.texi: Update entry for Carlos O'Donell,
3709         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3711 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3713         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3715         * sysdeps/unix/sysv/linux/kernel-features.h
3716         [__LINUX_KERNEL_VERSION >= 0x020621]
3717         (__ASSUME_PROC_PID_TASK_COMM): Define.
3719 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3721         [BZ #16398]
3722         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3723         conversion when destination buffer does not have enough space.
3724         * libio/tst-ftell-partial-wide.c: New test case.
3725         * libio/Makefile (tests): Add tst-ftell-partial-wide.
3727         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3728         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
3729         Leonard and Allan McRae.
3731 2014-02-04  David S. Miller  <davem@davemloft.net>
3733         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3734         32-bit.
3736 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3739         file
3740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3741         New file
3742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3743         file.
3744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3745         file.
3746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3747         New file.
3748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3749         file.
3750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3751         file.
3752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3753         New file.
3754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3755         New file.
3756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3757         New file.
3758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3759         New file.
3760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3761         New file.
3762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3763         New file.
3765 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3767         * nptl/shlib-versions: Change powerpc*le start to 2.17.
3768         * shlib-versions: Likewise.
3770 2014-02-04  Roland McGrath  <roland@hack.frob.com>
3771             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3773         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3774         (abilist-pattern): New variable, set to %-le.abilist.
3776         * Makerules (abilist-pattern): New variable.
3777         (vpath): Use $(abilist-pattern) in place of %.abilist.
3778         (check-abi-% pattern rule): Likewise.
3779         (check-abi, update-abi): Likewise.
3781 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3785 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3789 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
3791         * manual/startup.texi: Add next, previous, and top entries for
3792         the `Program Arguments' and `Environment Variables' nodes.
3794 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
3796         * manual/macros.texi: Add comments before MTASC-safety macros.
3798         * manual/users.texi: Document MTASC-safety properties.
3800         * manual/threads.texi (pthread_key_create, pthread_key_delete,
3801         pthread_getspecific, pthread_setspecific): Format with
3802         @deftypefun, and add @safety note.
3803         * manual/signal.texi: Move comments that analyze the above
3804         functions to their home place.
3806 2014-02-03  Allan McRae  <allan@archlinux.org>
3808         * po/sl.po: Update Slovenian translation from translation project.
3810 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
3812         * manual/time.texi (timegm): Add missing blank after @c.
3813         Reported by Joseph Myers <joseph@codesourcery.com>.
3815 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
3817         * manual/check-safety.sh: New.
3818         * manual/Makefile ($(objpfx)stamp-summary): Run it.
3820         * manual/terminal.texi: Document MTASC-safety properties.
3822         * manual/filesys.texi: Document MTASC-safety properties.
3824         * manual/errno.texi: Document MTASC-safety properties.
3826         * manual/intro.texi: Document safety identifiers and
3827         conditionals.
3829         * manual/string.texi (wcstok): Fix prototype.
3830         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3832         * manual/time.texi: Document MTASC-safety properties.
3834         * manual/string.texi: Document MTASC-safety properties.
3836         * manual/threads.texi: Document MTASC-safety properties.
3838         * manual/stdio.texi: Document MTASC-safety properties.
3840         * manual/syslog.texi: Document MTASC-safety properties.
3842         * manual/sysinfo.texi: Document MTASC-safety properties.
3844         * manual/startup.texi: Document MTASC-safety properties.
3846         * manual/socket.texi: Document MTASC-safety properties.
3848         * manual/signal.texi: Document MTASC-safety properties.
3850 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
3852         * manual/setjmp.texi: Document MTASC-safety properties.
3854         * manual/search.texi: Document MTASC-safety properties.
3856         * manual/resource.texi: Document MTASC-safety properties.
3858         * manual/process.texi: Document MTASC-safety properties.
3860         * manual/platform.texi: Document MTASC-safety properties.
3862         * manual/pipe.texi: Document MTASC-safety properties.
3864         * manual/pattern.texi: Document MTASC-safety properties.
3866         * manual/message.texi: Document MTASC-safety properties.
3868         [BZ #12751]
3869         * manual/memory.texi: Document MTASC-safety properties.
3871         * manual/math.texi: Document MTASC-safety properties.
3873         * manual/locale.texi: Document MTASC-safety properties.
3875         * manual/llio.texi: Document MTASC-safety properties.
3877         * manual/libdl.texi: New.
3879         * manual/lang.texi: Document MTASC-safety properties.
3881         * manual/job.texi: Document MTASC-safety properties.
3883         * manual/getopt.texi: Document MTASC-safety properties.
3885         * manual/ctype.texi: Document MTASC-safety properties.
3887 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
3889         [BZ #16046]
3890         * csu/libc-tls.c (static_map): Remove variable.
3891         (__libc_setup_tls): Use main executable's link map for TLS data.
3892         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3893         casing for LM_ID_BASE and GL(dl_nns).
3894         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3895         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
3896         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3897         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3898         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3899         member.
3900         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3901         l_phnum members.
3903 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
3905         * manual/debug.texi: Document MTASC-safety properties.
3907 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
3909         [BZ #16510]
3910         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3911         of __x86_64__ when disabling x87 inline functions.
3913 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
3915         * manual/charset.texi: Document MTASC-safety properties.
3917         * manual/crypt.texi: Document MTASC-safety properties.
3919         * manual/conf.texi: Document MTASC-safety properties.
3921         * manual/arith.texi: Document MTASC-safety properties.
3923         * manual/argp.texi: Document MTASC-safety properties.
3925         * manual/macros.texi: Introduce macros to document multi
3926         thread, asynchronous signal and asynchronous cancellation
3927         safety properties.
3928         * manual/intro.texi: Introduce the properties themselves.
3930 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3932         * sysdeps/sh/sh4/Makefile: New file.
3934 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
3936         * math/gen-libm-test.pl ($srcdir): New variable.
3937         ($auto_input): Use it.
3939 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3941         [BZ #16506]
3942         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3943         access beyond array bounds when parsing netgroups file.
3945         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3946         the old buffer before realloc.
3948 2014-01-27  Allan McRae  <allan@archlinux.org>
3950         * po/fr.po: Update French translation from translation project.
3952 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3954         * sysdeps/sh/libm-test-ulps: Regenerate.
3956 2014-01-24  David S. Miller  <davem@davemloft.net>
3958         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3960 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3962         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3963         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3965 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3967         [BZ #16474]
3968         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3969         string pointers after reallocation.
3971 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3973         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3974         __SH4A__ instead of __SH_FPU_ANY__.
3976 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3978         * sysdeps/sh/fpu_control.h: New file.
3979         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3980         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3981         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3982         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3983         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3984         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3985         * sysdeps/sh/sys/ucontext.h: Remove.
3986         * sysdeps/sh/sys: Remove directory.
3988 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3990         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3991         s390/sys/ucontext.h.
3992         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3993         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3995 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
3997         [BZ #15605]
3998         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4000 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4002         [BZ#16431]
4003         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4004         Adjust the vDSO correctly for internal calls.
4005         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4007 2014-01-20  Allan McRae  <allan@archlinux.org>
4009         * po/ca.po: Update Catalan translation from translation project.
4011 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
4013         * sysdeps/s390/sotruss-lib.c: New file.
4015 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4017         [BZ#16430]
4018         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4019         (__GI___gettimeofday): Alias for a different internal symbol to avoid
4020         local calls issues by not having a PLT stub required for IFUNC calls.
4021         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4023 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
4025         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4026         * math/test-fpucw-static.c: Likewise.
4028 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4030         [BZ #16453]
4031         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4033 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4035         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4036         implementation for powerpc.
4038 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
4040         [BZ #14782]
4041         * sysdeps/posix/system.c (__libc_system): Do not enable
4042         asynchronous cancellation.
4044 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4046         [BZ #16427]
4047         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4048         handling only for numbers special also in the IEEE case.
4050 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4052         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4054 2014-01-11  Allan McRae  <allan@archlinux.org>
4056         * po/bg.po: Update Bulgarian translation from translation project.
4058         * po/de.po: Update German translation from translation project.
4060 2014-01-10  Roland McGrath  <roland@hack.frob.com>
4062         * sysdeps/generic/gcc-compat.h: New file.
4064 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4066         * benchtests/asin-inputs: Correct slow inputs.
4067         * benchtests/acos-inputs: Likewise.
4069 2014-01-10  Allan McRae  <allan@archlinux.org>
4071         * po:sv.po: Update Swedish translation from translation project.
4073         * po/vi.po: Update Vietnamese translation from translation project.
4075         * po/eo.po: Update Esperanto translation from translation project.
4077         * po/cs.po: Update Czech translation from translation project.
4079         * po/nl.po: Update Dutch translation from translation project.
4081         * po/pl.po: Update Polish translation from translation project.
4083         * po/ru.po: Update Russian translation from translation project.
4085         * po/uk.po: Update Ukrainian translation from translation project.
4087 2014-01-08  Brooks Moses  <bmoses@google.com>
4089         * elf/dl-load.c: Fix comment typo.
4091 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
4093         * po/header.pot: Rename to...
4094         * po/pot.header: ... this.
4095         * po/Makefile: Use pot.header.
4097 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
4098             Maxim Kuvyrkov  <maxim@kugelworks.com>
4100         [BZ #16394]
4101         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4102         SRC and DEST against LEN.
4104 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4106         [BZ #16414]
4107         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4108         implementation.
4109         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4111 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4115 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
4117         [BZ #16408]
4118         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4119         for large positive arguments.
4121 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
4123         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4125         * math/auto-libm-test-in: Mark various tests with
4126         xfail-rounding:ldbl-128ibm.
4127         * math/auto-libm-test-out: Regenerated.
4129         [BZ #16407]
4130         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4131         Increase overflow threshold.
4133 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
4135         [BZ #14286]
4136         * stdio-common/vfprintf.c: Check for integer overflow.
4138 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4140         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4141         the first argument and return value of __tls_get_addr_internal.
4143 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4145         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4146         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4148 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4150         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4151         * sysdeps/s390/rtld-global-offsets.sym: New file.
4152         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4153         GLIBC_2.19 symbol.
4154         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4155         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4156         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4157         ... this.
4158         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4159         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4160         ... this.
4161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4162         Regenerate.
4163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4164         Regenerate.
4165         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4166         halfs of GPRs for high_gprs contexts.
4167         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4168         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
4169         field.
4170         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4171         uc_flags field.
4172         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4173         64 bit versions:
4174         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4175         for high GPRs (uc_high_gprs) and for future extensions
4176         (__reserved).
4177         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4178         for future extensions (__reserved).
4179         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4180         64 bit versions:
4181         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4182         SC_HIGHGPRS offset definition.
4183         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4184         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4186 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4188         * Versions.def: Add GLIBC_2.19 for libpthread.
4189         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4190         siglongjmp for libpthread with GLIBC_2.19 symver.
4191         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4192         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4193         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4194         * sysdeps/s390/__longjmp.c: New file.
4195         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4196         * sysdeps/s390/longjmp.c: New file.
4197         * sysdeps/s390/setjmp.S: New file.
4198         * sysdeps/s390/sigjmp.S: New file.
4199         * sysdeps/s390/v1-longjmp.c: New file.
4200         * sysdeps/s390/v1-setjmp.h: New file.
4201         * sysdeps/s390/v1-sigjmp.c: New file.
4202         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4203         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4204         GLIBC_2.19 version.
4205         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4206         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4207         versioned symbols for ____longjmp_chk.
4208         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4209         Likewise.
4210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4211         Regenerate.
4212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4213         Regenerate.
4214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4215         Regenerate.
4216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4217         Regenerate.
4218         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4219         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4220         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4221         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4222         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4223         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4224         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4225         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4226         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4227         * sysdeps/s390/rtld-__longjmp.c: New file.
4228         * sysdeps/s390/rtld-setjmp.S: New file.
4230 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
4232         [BZ #16400]
4233         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4234         Return -__logl (x) for small positive arguments without evaluating
4235         a polynomial.
4237 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
4239         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4240         Rename to ...
4241         (__ptrace_peeksiginfo_args): ... this.
4242         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4243         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4244         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4246 2014-01-06  Allan McRae  <allan@archlinux.org>
4248         * inet/netinet/in.h: Fix typo in comment.
4250 2014-01-05  Andreas Jaeger  <aj@suse.de>
4252         * sysdeps/i386/fpu/libm-test-ulps: Update.
4254 2014-01-05  Allan McRae  <allan@archlinux.org>
4256         * po/libc.pot: Regenerated.
4258         * malloc/memusagestat.c: Fix gettext call formatting.
4260 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
4262         * nscd/nscd.c: Improve usage() output.
4264 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
4266         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4267         * sysdeps/unix/sysv/linux/configure: Regenerated.
4268         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4269         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4271 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4273         [BZ #16390]
4274         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4275         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4277 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4279         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4280         extra tokens at end of #undef directive.
4281         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4282         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4283         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4285 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4287         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4289         * math/auto-libm-test-in: Mark various tests with
4290         xfail-rounding:ldbl-128ibm.
4291         * math/auto-libm-test-out: Regenerated.
4293 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4295         [BZ #16386]
4296         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4297         numbers with subnormal high part when calculating exponent.
4299         [BZ #16385]
4300         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4301         fabs.
4303         [BZ #16384]
4304         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4305         M_LN2l.
4306         (__ieee754_acoshl): Use __log1pl not __log1p.
4308 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
4310         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4311         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4312         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4313         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4314         Convert to GNU style.
4315         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4316         mem2mem_check, mem2chunk_check, top_check, realloc_check,
4317         memalign_check, __malloc_set_state): Likewise.
4318         * malloc/mallocbug.c (main): Likewise.
4319         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4320         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4321         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4322         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4323         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4324         * malloc/malloc.h: Likewise.
4325         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4326         memalignhook, reallochook, mabort): Likewise.
4327         * malloc/mcheck.h: Likewise.
4328         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4329         mmap64, mremap, munmap, dest): Likewise.
4330         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4331         * malloc/morecore.c (__default_morecore): Likewise.
4332         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4333         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4334         _obstack_allocated_p, obstack_free, _obstack_memory_used,
4335         print_and_abort): Likewise.
4336         * malloc/obstack.h: Likewise.
4337         * malloc/set-freeres.c (__libc_freeres): Likewise.
4338         * malloc/tst-mallocstate.c (main): Likewise.
4339         * malloc/tst-mtrace.c (main): Likewise.
4340         * malloc/tst-realloc.c (do_test): Likewise.
4342 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4344         [BZ #16366]
4345         * nscd/netgroupcache.c (do_notfound): New function.
4346         (addgetnetgrentX): Use it.
4348         [BZ # 16365]
4349         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4350         NSS_STATUS_NOTFOUND.
4352 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
4354         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4357 2014-01-01  Allan McRae  <allan@archlinux.org>
4359         * scripts/update-copyrights: Update configure input file suffix.
4361         * NEWS: Update copyright year.
4362         * catgets/gencat.c: Likewise.
4363         * csu/version.c: Likewise.
4364         * debug/catchsegv.sh: Likewise.
4365         * debug/pcprofiledump.c: Likewise.
4366         * debug/xtrace.sh: Likewise.
4367         * elf/ldconfig.c: Likewise.
4368         * elf/ldd.bash.in: Likewise.
4369         * elf/pldd.c: Likewise.
4370         * elf/sotruss.ksh: Likewise.
4371         * elf/sprof.c: Likewise.
4372         * iconv/iconv_prog.c: Likewise.
4373         * iconv/iconvconfig.c: Likewise.
4374         * locale/programs/locale.c: Likewise.
4375         * locale/programs/localedef.c: Likewise.
4376         * login/programs/pt_chown.c: Likewise.
4377         * malloc/memusage.sh: Likewise.
4378         * malloc/memusagestat.c: Likewise.
4379         * malloc/mtrace.pl: Likewise.
4380         * manual/libc.texinfo: Likewise.
4381         * nscd/nscd.c: Likewise.
4382         * nss/getent.c: Likewise.
4383         * nss/makedb.c: Likewise.
4384         * posix/getconf.c: Likewise.
4385         * scripts/test-installation.pl: Likewise.
4387         * All files with FSF copyright notices: Update copyright dates
4388         using scripts/update-copyrights.
4389         * intl/plural.c: Regenerated.
4390         * locale/programs/charmap-kw.h: Likewise.
4391         * locale/programs/locfile-kw.h: Likewise.
4393 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
4395         * sysdeps/unix/sysv/linux/configure: Regenerated.
4396         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4397         the linux/fanotify.h header.
4398         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4399         HAVE_LINUX_FANOTIFY_H is defined.
4401 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4403         * benchtests/cos-inputs: New inputs.
4404         * benchtests/sin-inputs: Likewise.
4406         * benchtests/atan-inputs: New inputs. Fix name of multiple
4407         precision fallback inputs.
4409         * benchtests/atanh-inputs: New inputs.
4410         * benchtests/tanh-inputs: Likewise.
4412         * benchtests/acosh-inputs: New inputs.
4413         * benchtests/asinh-inputs: Likewise.
4415         * benchtests/cosh-inputs: New inputs.
4416         * benchtests/sinh-inputs: Likewise.
4418         * benchtests/acos-inputs: Add more inputs.
4419         * benchtests/asin-inputs: Likewise.
4421 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
4423         [BZ #16375]
4424         * manual/arith.texi: Fix spelling.
4425         * manual/charset.texi: Likewise.
4426         * manual/errno.texi: Likewise.
4427         * manual/filesys.texi: Likewise.
4428         * manual/lang.texi: Likewise.
4429         * manual/llio.texi: Likewise.
4430         * manual/locale.texi: Likewise.
4431         * manual/message.texi: Likewise.
4432         * manual/resource.texi: Likewise.
4433         * manual/search.texi: Likewise.
4434         * manual/setjmp.texi: Likewise.
4435         * manual/stdio.texi: Likewise.
4436         * manual/string.texi: Likewise.
4437         * manual/sysinfo.texi: Likewise.
4438         * manual/time.texi: Likewise.
4440 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
4442         * po/sl.po: New file.
4444 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
4446         * .gitignore: Add core/.gdbinit/.gdb_history.
4448 2013-12-27  Allan McRae  <allan@archlinux.org>
4450         [BZ #16369]
4451         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4452         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4454 2013-12-24  Brooks Moses  <bmoses@google.com>
4456         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4457         all compilers that claim C++98 compliance, not just GCC.
4458         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4459         Likewise.
4461 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4463         * NEWS: Restore accidentally deleted bug-fix entries.
4465 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4466             Ondřej Bílka  <neleai@seznam.cz>
4468         [BZ #15073]
4469         * malloc/malloc.c (_int_free): Perform sanity check only if we
4470         have_lock.
4472 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
4474         [BZ #12986]
4475         * manual/stdio.texi (String Input Conversions): Clarify that character
4476         classes are not supported.
4478 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4482 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
4484         [BZ #16337]
4485         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4486         Calculate results for small negative arguments directly rather
4487         than using reflection formula with special underflow handling.
4489         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4490         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4491         sysdeps/unix/bsd/bsd4.4/syscalls.list.
4492         (fchflags): Likewise.
4493         (revoke): Likewise.
4494         (setlogin): Likewise.
4495         (sigaltstack): Likewise.
4496         (wait4): Likewise.
4497         (sigblock): Remove.
4498         (sigsetmask): Likewise.
4499         (wait3): Likewise.
4500         (waitpid): Likewise.
4501         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4502         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4503         file.
4504         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4505         * sysdeps/unix/bsd/Makefile: ... here.
4506         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4507         * sysdeps/unix/bsd/Versions: ... here.
4508         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4509         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4510         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4511         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4512         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4513         * sysdeps/unix/bsd/sigblock.c: ... here.
4514         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4515         * sysdeps/unix/bsd/sigsetmask.c: ... here.
4516         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4517         * sysdeps/unix/bsd/sigvec.c: ... here.
4518         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4519         * sysdeps/unix/bsd/tcdrain.c: ... here.
4520         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4521         * sysdeps/unix/bsd/tcgetattr.c: ... here.
4522         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4523         * sysdeps/unix/bsd/tcsetattr.c: ... here.
4524         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4525         * sysdeps/unix/bsd/wait.c: ... here.
4526         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4527         * sysdeps/unix/bsd/wait3.c: ... here.
4528         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4529         * sysdeps/unix/bsd/waitpid.c: ... here.
4531 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
4533         [BZ #16356]
4534         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4535         round-to-nearest for [!USE_AS_EXPM1L].
4536         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4537         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
4538         more tests of exp and exp10.  Expect some exp10 tests to miss
4539         exceptions or fail in directed rounding modes.
4540         * math/auto-libm-test-out: Regenerated.
4541         * math/libm-test.inc (exp10_tonearest_test_data): New array.
4542         (exp10_test_tonearest): New function.
4543         (exp10_towardzero_test_data): New array.
4544         (exp10_test_towardzero): New function.
4545         (exp10_downward_test_data): New array.
4546         (exp10_test_downward): New function.
4547         (exp10_upward_test_data): New array.
4548         (exp10_test_upward): New function.
4549         (main): Call the new functions.
4550         * sysdeps/i386/fpu/libm-test-ulps: Update.
4551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4553 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
4555         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4556         asinh, atan, atan2, atanh, cbrt, cos and cosh.
4557         * math/auto-libm-test-out: Regenerated.
4558         * math/libm-test.inc (acosh_test_data): Add more tests.
4559         (atanh_test_data): Likewise.
4560         (ceil_test_data): Likewise.
4561         (copysign_test_data): Likewise.
4562         * sysdeps/i386/fpu/libm-test-ulps: Update.
4563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4565         * timezone/checktab.awk: Update from tzcode 2013i.
4566         * timezone/private.h: Likewise.
4567         * timezone/scheck.c: Likewise.
4568         * timezone/tzfile.h: Likewise.
4569         * timezone/tzselect.ksh: Likewise.
4570         * timezone/zdump.c: Likewise.
4571         * timezone/zic.c: Likewise.
4573         * math/auto-libm-test-in: Add tests of cpow.
4574         * math/auto-libm-test-out: Regenerated.
4575         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4576         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4577         mpc_cc_c.
4578         (func_calc_desc): Add mpc_cc_c union field.
4579         (test_functions): Add cpow.
4580         (special_fill_2pi): New function.
4581         (special_real_inputs): Add 2pi.
4582         (calc_generic_results): Handle mpc_cc_c.
4583         * sysdeps/i386/fpu/libm-test-ulps: Update.
4584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4586         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4587         csqrt, ctan and ctanh.
4588         * math/auto-libm-test-out: Regenerated.
4589         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4590         (TEST_COND_x86): Likewise.
4591         (ccos_test_data): Use AUTO_TESTS_c_c.
4592         (ccosh_test_data): Likewise.
4593         (cexp_test_data): Likewise.
4594         (clog_test_data): Likewise.
4595         (csqrt_test_data): Likewise.
4596         (ctan_test_data): Likewise.
4597         (ctan_tonearest_test_data): Likewise.
4598         (ctan_towardzero_test_data): Likewise.
4599         (ctan_downward_test_data): Likewise.
4600         (ctan_upward_test_data): Likewise.
4601         (ctanh_test_data): Likewise.
4602         (ctanh_tonearest_test_data): Likewise.
4603         (ctanh_towardzero_test_data): Likewise.
4604         (ctanh_downward_test_data): Likewise.
4605         (ctanh_upward_test_data): Likewise.
4606         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4607         mpc_c_c.
4608         (func_calc_desc): Add mpc_c_c union field.
4609         (FUNC_mpc_c_c): New macro.
4610         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4611         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4612         ctanh.
4613         (special_fill_min_subnorm_p120): New function.
4614         (special_real_inputs): Add min_subnorm_p120.
4615         (calc_generic_results): Handle mpc_c_c.
4616         * sysdeps/i386/fpu/libm-test-ulps: Update.
4617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4619 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4621         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4622         do_sin_slow): New functions.
4623         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4624         cslow2, csloww1, csloww2): Use the new functions.
4626         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4627         Use M to change sign of result instead of X.  Assume X is
4628         positive.
4629         (csloww1): Likewise.
4630         (__sin): Adjust.
4631         (__cos): Adjust.
4633         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4634         arguments A and DA.
4635         (__sin): Adjust.
4636         (__cos): Likewise.
4638         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4639         (__cos): Likewise.
4640         (sloww1): Don't adjust sign of DX.
4641         (csloww1): Likewise.
4642         (sloww2): Use X directly and don't adjust sign of DX.
4643         (csloww2): Likewise.
4645 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4647         * math/auto-libm-test-in: Add tests of cabs and carg.
4648         * math/auto-libm-test-out: Regenerated.
4649         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4650         (carg_test_data): Likewise.
4651         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4652         mpc_c_f.
4653         (func_calc_desc): Add mpc_c_f union field.
4654         (test_functions): Add cabs and carg.
4655         (calc_generic_results): Handle mpc_c_f.
4657         * sysdeps/powerpc/powerpc32/libgcc-compat.S
4658         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4659         as a macro and a compat symbol.
4660         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4661         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4662         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4663         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4664         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4665         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4666         not use .hidden.
4667         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4668         Likewise.
4669         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4670         Likewise.
4671         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4672         Likewise.
4673         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4674         Likewise.
4675         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4676         Likewise.
4677         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4678         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4679         from GLIBC_2.3.2.
4681 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4685 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4687         * manual/texinfo.tex: Update to version 2013-11-26.10 with
4688         trailing whitespace removed.
4689         * scripts/config.guess: Update to version 2013-11-29.
4690         * scripts/config.sub: Update to version 2013-10-01.
4692         * math/auto-libm-test-in: Add tests of sincos.
4693         * math/auto-libm-test-out: Regenerated.
4694         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4695         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4696         mpfr_f_11.
4697         (func_calc_desc): Add mpfr_f_11 union field.
4698         (test_functions): Add sincos.
4699         (calc_generic_results): Handle mpfr_f_11.
4700         * sysdeps/i386/fpu/libm-test-ulps: Update.
4701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4703 2013-12-19  Andreas Schwab  <schwab@suse.de>
4705         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4706         CALL_MCOUNT.
4707         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4708         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4709         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4711 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4713         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4714         * sysdeps/i386/fpu/libm-test-ulps: Update.
4715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4717         [BZ #16293]
4718         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4719         round-to-nearest mode when using frndint.
4720         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4721         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4722         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4723         Likewise.
4724         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
4725         sinh test to fail.
4726         * math/auto-libm-test-out: Regenerated.
4727         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4728         (TEST_COND_x86): Likewise.
4729         (expm1_tonearest_test_data): New array.
4730         (expm1_test_tonearest): New function.
4731         (expm1_towardzero_test_data): New array.
4732         (expm1_test_towardzero): New function.
4733         (expm1_downward_test_data): New array.
4734         (expm1_test_downward): New function.
4735         (expm1_upward_test_data): New array.
4736         (expm1_test_upward): New function.
4737         (main): Run the new test functions.
4738         * sysdeps/i386/fpu/libm-test-ulps: Update.
4739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4741         * include/features.h: Update comment documenting feature test
4742         macros.  Mention _DEFAULT_SOURCE in comment.
4743         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4744         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4745         _BSD_SOURCE and _SVID_SOURCE.
4746         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4747         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4748         !_SVID_SOURCE]: Likewise.
4749         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4750         (__USE_POSIX_IMPLICITLY): Define.
4751         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4752         (_POSIX_SOURCE): Undefine and redefine.
4753         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4754         (_POSIX_C_SOURCE): Likewise.
4755         * manual/creature.texi (_DEFAULT_SOURCE): Document.
4756         (Feature Test Macros): Update documentation of default features.
4758 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4760         * benchtests/Makefile: Add bench-strtok.
4761         * benchtests/bench-strtok.c: New file: strtok benchtest.
4763 2013-12-19  Allan McRae  <allan@archlinux.org>
4765         * manual/install.texi: Suppress menu for plain text output.
4766         * INSTALL: Regenerated.
4768 2013-12-18  Brooks Moses  <bmoses@google.com>
4770         [BZ #15846]
4771         * misc/getauxval.c: Include errno.h.
4772         (__getauxval): Set errno to ENOENT if the requested type is not
4773         found.
4774         * misc/sys/auxv.h (getauxval): Document that it may set errno;
4775         don't declare with __attribute_const__.
4776         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4777         * manual/startup.texi: Document that getauxval sets errno.
4779 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4781         * math/auto-libm-test-in: Add tests of jn and yn.
4782         * math/auto-libm-test-out: Regenerated.
4783         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4784         (yn_test_data): Likewise.
4785         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4786         mpfr_if_f.
4787         (func_calc_desc): Add mpfr_if_f union field.
4788         (FUNC_mpfr_if_f): New macro.
4789         (test_functions): Add jn and yn.
4790         (calc_generic_results): Assert type of second input for
4791         mpfr_ff_f.  Handle mpfr_if_f.
4792         (output_for_one_input_case): Disable all checking for arguments
4793         fitting floating-point types in case of an integer argument.
4794         * sysdeps/i386/fpu/libm-test-ulps: Update.
4795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4798         Don't expect fegetround reference in libm.so.
4800 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4802         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4803         $(config-cflags-nofma).
4805 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4807         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4808         * math/auto-libm-test-out: Regenerated.
4810         [BZ #16338]
4811         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4812         to determine exponent and adjust argument to have exponent of -1.
4813         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4814         log2.
4815         * math/auto-libm-test-out: Regenerated.
4816         * sysdeps/i386/fpu/libm-test-ulps: Update.
4817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4819 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
4821         * manual/probes.texi: Remove cases when per-thread arenas are
4822         disabled.
4824 2013-12-18  Andreas Schwab  <schwab@suse.de>
4826         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4827         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4828         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4829         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4830         * sysdeps/i386/i686/multiarch/Makefile: Update.
4831         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4833 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4835         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4836         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4838 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
4840         [BZ #15968]
4841         Support TZ transition times < 00:00:00.
4842         This is needed for version-3 tz-format files; it supports time
4843         stamps past 2037 for America/Godthab (the only entry in the tz
4844         database for which this change is relevant).
4845         * manual/time.texi (TZ Variable): Document transition times
4846         from -167:59:59 through -00:00:01.
4847         * time/tzset.c (tz_rule): Time of day is now signed.
4848         (__tzset_parse_tz): Parse negative time of day.
4850         Document TZ transition times >= 25:00:00.
4851         * manual/time.texi (TZ Variable): Document transition times from
4852         25:00:00 through 167:59:59.  These are already supported, and this
4853         support will help with version-3 tz-format files.
4855         * manual/time.texi (TZ Variable): Modernize North America example
4856         to reflect current (i.e., 2007-and-later) daylight saving rules.
4858         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4860 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4862         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4863         * sysdeps/unix/bsd/bits/stat.h: Likewise.
4864         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4866         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4867         * sysdeps/unix/bsd/bsdstat.h: Likewise.
4868         * sysdeps/unix/bsd/clock.c: Likewise.
4869         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4870         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4871         * sysdeps/unix/bsd/init-posix.c: Likewise.
4872         * sysdeps/unix/bsd/poll.c: Likewise.
4873         * sysdeps/unix/bsd/ptsname.c: Likewise.
4874         * sysdeps/unix/bsd/seekdir.c: Likewise.
4875         * sysdeps/unix/bsd/setegid.c: Likewise.
4876         * sysdeps/unix/bsd/seteuid.c: Likewise.
4877         * sysdeps/unix/bsd/setgid.c: Likewise.
4878         * sysdeps/unix/bsd/setrgid.c: Likewise.
4879         * sysdeps/unix/bsd/setruid.c: Likewise.
4880         * sysdeps/unix/bsd/setsid.c: Likewise.
4881         * sysdeps/unix/bsd/setuid.c: Likewise.
4882         * sysdeps/unix/bsd/sigaction.c: Likewise.
4883         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4884         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4885         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4886         * sysdeps/unix/bsd/telldir.c: Likewise.
4887         * sysdeps/unix/bsd/times.c: Likewise.
4888         * sysdeps/unix/bsd/usleep.c: Likewise.
4890         * misc/Makefile (install-lib): Remove libbsd-compat.a.
4891         ($(objpfx)libbsd-compat.a): Remove rule.
4893         * include/features.h (__FAVOR_BSD): Do not define.
4894         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4895         features conflicting with POSIX.
4896         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4897         (_BSD_SOURCE): Remove description of not being a subset of other
4898         feature test macros.
4899         * manual/job.texi (getpgrp): Do not document BSD version.
4900         (getpgid): Do not document by reference to BSD getpgrp.
4901         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4902         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4903         * signal/signal.h [__FAVOR_BSD]: Likewise.
4904         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4905         instead of making contents conditional on [__FAVOR_BSD].
4906         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4908 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4912 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4914         [BZ #16314]
4915         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4916         values below 2**-450, not 2**-500.
4917         * math/auto-libm-test-in: Don't allow spurious underflow from
4918         hypot.
4919         * math/auto-libm-test-out: Regenerated.
4921         [BZ #16316]
4922         [BZ #16330]
4923         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4924         values of ha and hb and sort them after adjusting subnormal
4925         arguments.
4926         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4927         Likewise.
4928         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4929         values of ea and eb and sort them after adjusting subnormal
4930         arguments.
4931         * math/auto-libm-test-in: Do not expect some hypot tests of
4932         subnormals to fail.  Add more hypot tests.
4933         * math/auto-libm-test-out: Regenerated.
4935 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4937         [BZ #13304]
4938         * sysdeps/sh/s_fma.c: New file.
4939         * sysdeps/sh/s_fmaf.c: New file.
4940         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
4941         version.
4942         * sysdeps/sh/Implies: Add sh/soft-fp.
4944 2013-12-16  Roland McGrath  <roland@hack.frob.com>
4946         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
4947         level of indirection to members `objname', `errstring', `malloced'.
4948         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4949         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
4950         it as the __longjmp argument (just pass 1 instead).
4951         (_dl_catch_error): Initialize C with argument pointers and address of
4952         volatile local ERRCODE rather than copying values out of C at return.
4954 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
4956         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4957         * math/auto-libm-test-out: Regenerated.
4958         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4959         (hypot_test_data): Likewise.
4960         (pow_test_data): Likewise.
4961         (pow_tonearest_test_data): Likewise.
4962         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4963         mpfr_ff_f.
4964         (func_calc_desc): Add mpfr_ff_f union field.
4965         (FUNC_mpfr_ff_f): New macro.
4966         (test_functions): Add atan2, hypot and pow.
4967         (special_fill_min): New function.
4968         (special_fill_minus_min): Likewise.
4969         (special_fill_min_subnorm): Likewise.
4970         (special_fill_minus_min_subnorm): Likewise.
4971         (special_real_inputs): Add min, -min, min_subnorm and
4972         -min_subnorm.
4973         (calc_generic_results): Handle mpfr_ff_f.
4974         * sysdeps/i386/fpu/libm-test-ulps: Update.
4975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4977 2013-12-16  Will Newton  <will.newton@linaro.org>
4979         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4980         (Aligned Memory Blocks): Add documentation for aligned_alloc
4981         and suggest it as an alternative to posix_memalign.
4982         (Hooks for Malloc): Document __memalign_hook is also called
4983         for aligned_alloc.  (Summary of Malloc): Add summary for
4984         aligned alloc.  Document __memalign_hook is also called
4985         for aligned_alloc.
4987 2013-12-16  Will Newton  <will.newton@linaro.org>
4989         * manual/memory.texi (Malloc Examples): Clarify default
4990         alignment documentation.  Suggest posix_memalign rather
4991         than memalign or valloc.
4992         (Aligned Memory Blocks): Remove suggestion to use memalign
4993         or valloc.  Remove obsolete comment about BSD.
4994         Document memalign errno values and mark the function obsolete.
4995         Document posix_memalign returned error codes.  Mark valloc
4996         as obsolete.  (Hooks for Malloc): __memalign_hook is also
4997         called for posix_memalign and valloc.
4998         (Summary of Malloc): Add posix_memalign to function summary.
4999         __memalign_hook is also called for posix_memalign and valloc.
5001 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5003         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5004         TAYLOR_SIN.
5005         (__sin): Adjust.
5006         (__cos): Likewise.
5007         (sloww): Use mynumber union.  Expand ternary operator into
5008         if-else statements.
5009         (cslow): use mynumber union.
5011 2013-12-16  Allan McRae  <allan@archlinux.org>
5013         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5014         * configure: Regenerated.
5016         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5018         [BZ #14120]
5019         * configure.ac: Added --enable-maintainer-mode. Check for
5020         autoconf when enabled.
5021         * configure: Regenerated.
5023         * nscd/nscd.service: New file.
5024         * nscd/nscd.tmpfiles: New file.
5026 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
5028         [BZ #12100]
5029         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5030         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5031         * sysdeps/x86_64/multiarch/strstr.c: ... here.
5032         (strstr): Add __strstr_sse2_unaligned ifunc.
5033         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5034         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5035         (strcasestr): Remove __strcasestr_sse42 ifunc.
5036         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5040 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5042         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5043         * sysdeps/sh/bits/fenv.h: ... here.
5044         * sysdeps/sh/sh4/fpu/bits: Remove directory.
5046 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5048         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5050 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5052         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5053         hypotf multiarch implementations.
5054         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5055         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5056         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5057         multiarch hypot for PPC64.
5058         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5059         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5060         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5061         multiarch hypotf for PPC64.
5063 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5065         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5066         modff multiarch implementations.
5067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5070         multiarch modf for PPC64.
5071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5074         multiarch modff for PPC64.
5076 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5079         and logl multiarch implementations.
5080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5083         multiarch logb for PPC64.
5084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5087         multiarch logb for PPC64.
5088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5091         multiarch logb for PPC64.
5093 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5096         isinff multiarch implementation.
5097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5098         file.
5099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5101         multiarch isinf for PPC64.
5102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5103         file.
5104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5105         multiarch isinff for PPC64.
5107 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5110         finitef multiarch implementation.
5111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5112         file.
5113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5115         multiarch finite for PPC64.
5116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5117         file.
5118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5119         multiarch finitef for PPC64.
5121 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5124         lrint multiarch implementation.
5125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5126         file.
5127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5129         multiarch llrint for PPC64.
5130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5131         multiarch lrint for PPC64.
5133 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5136         copysignf multiarch implementation.
5137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5138         file.
5139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5140         file.
5141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5142         multiarch copysign for PPC64.
5143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5144         multiarch copysignf for PPC64.
5146 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5149         multiarch implementation.
5150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5151         file.
5152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5153         file.
5154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5155         file.
5156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5157         file.
5158         multiarch llround for PPC64.
5159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5160         multiarch trunc for PPC64.
5161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5162         multiarch truncf for PPC64.
5164 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5167         multiarch implementation.
5168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5169         file.
5170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5171         file.
5172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5173         file.
5174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5175         file.
5176         multiarch llround for PPC64.
5177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5178         multiarch round for PPC64.
5179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5180         multiarch roundf for PPC64.
5182 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5185         multiarch implementation.
5186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5187         file.
5188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5189         file.
5190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5191         file.
5192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5193         file.
5194         multiarch llround for PPC64.
5195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5196         multiarch floor for PPC64.
5197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5198         multiarch floorf for PPC64.
5200 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5202         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5203         multiarch implementation.
5204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5205         file.
5206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5207         file.
5208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5209         file.
5210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5211         file.
5212         multiarch llround for PPC64.
5213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5214         multiarch ceil for PPC64.
5215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5216         multiarch ceilf for PPC64.
5218 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5221         multiarch implementation.
5222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5223         file.
5224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5225         file.
5226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5227         file.
5228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5229         multiarch llround for PPC64.
5230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5231         multiarch lround for PPC64.
5233 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5235         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5236         multiarch implementation.
5237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5240         file.
5241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5244         multiarch isnan for PPC64.
5245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5246         multiarch isnanf for PPC64.
5248 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5250         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5251         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5252         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5253         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5254         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5257 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5259         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5260         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5261         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5262         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5264 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5267         multiarch implementations.
5268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5269         (__libc_ifunc_impl_list): Likewise.
5270         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5271         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5272         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5273         multiarch stpcpy for PPC64.
5275 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5278         multiarch implementations.
5279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5280         (__libc_ifunc_impl_list): Likewise.
5281         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5282         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5283         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5284         multiarch strcpy for PPC64.
5286 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5288         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5289         redefine function name.
5290         (_wordcopy_fwd_dest_aligned): Likewise.
5291         (_wordcopy_bwd_aligned): Likewise.
5292         (_wordcopy_bwd_dest_aligned): Likewise.
5293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5294         multiarch implementations.
5295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5296         (__libc_ifunc_impl_list): Likewise.
5297         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5298         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5299         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5300         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5301         multiarch wcscpy for PPC64.
5303 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5306         multiarch implementations.
5307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5308         (__libc_ifunc_impl_list): Likewise.
5309         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5310         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5311         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5312         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5313         multiarch wcscpy for PPC64.
5315 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5318         multiarch implementations.
5319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5320         (__libc_ifunc_impl_list): Likewise.
5321         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5322         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5323         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5324         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5325         multiarch wcsrchr for PPC64.
5327 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5330         multiarch implementations.
5331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5332         (__libc_ifunc_impl_list): Likewise.
5333         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5334         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5335         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5336         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5337         multiarch wcschr for PPC64.
5339 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5342         multiarch implementations.
5343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5344         (__libc_ifunc_impl_list): Likewise.
5345         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5346         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5347         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5348         multiarch strchrnul for PPC64.
5350 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5353         implementations.
5354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5355         (__libc_ifunc_impl_list): Likewise.
5356         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5357         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5358         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5359         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5360         strchr for PPC64.
5362 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5365         implementations.
5366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5367         (__libc_ifunc_impl_list): Likewise.
5368         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5369         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5370         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5371         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5372         strncmp for PPC64.
5374 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5377         multiarch implementations.
5378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5379         (__libc_ifunc_impl_list): Likewise.
5380         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5381         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5382         strncasecmp for PPC64.
5383         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5384         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5385         multiarch strncasecmp_l for PPC64.
5387 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5390         multiarch implementations.
5391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5392         (__libc_ifunc_impl_list): Likewise.
5393         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5394         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5395         multiarch strcasecmp for PPC64.
5396         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5397         file.
5398         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5399         multiarch strcasecmp_l for PPC64.
5401 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5404         implementations.
5405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5406         (__libc_ifunc_impl_list): Likewise.
5407         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5408         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5409         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5410         strnlen for PPC64.
5412 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5415         implementations.
5416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5417         (__libc_ifunc_impl_list): Likewise.
5418         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5419         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5420         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5421         strlen for PPC64.
5423 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5426         implementations.
5427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5428         (__libc_ifunc_impl_list): Likewise.
5429         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5430         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5431         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5432         rawmemrchr for PPC64.
5434 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5437         implementation.
5438         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5439         (__libc_ifunc_impl_list): Likewise.
5440         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5441         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5442         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5443         memrchr for PPC64.
5445 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5448         implementation.
5449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5450         (__libc_ifunc_impl_list): Likewise.
5451         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5452         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5453         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5454         memchr for PPC64.
5456 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5459         implementation.
5460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5461         (__libc_ifunc_impl_list): Likewise.
5462         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5463         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5464         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5465         mempcpy for PPC64.
5467 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5469         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5470         avoid cretion of __bzero symbol.
5471         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5472         Likewise.
5473         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5474         Likewise.
5475         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5476         Likewise.
5477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5478         multiarch implementations.
5479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5480         (__libc_ifunc_impl_list): Likewise.
5481         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5482         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5483         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5484         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5485         bzero for PPC32.
5486         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5487         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5488         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5489         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5490         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5491         memset for PPC64.
5492         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5494 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5496         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5498         implementations.
5499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5500         (__libc_ifunc_impl_list): Likewise.
5501         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5502         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5503         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5504         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5505         memcmp for PPC64.
5507 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5510         multiarch for POWER/PPC64.
5511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5512         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5513         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5514         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5515         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5516         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5517         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5518         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5519         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5520         memcpy for PPC64.
5522 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5524         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5525         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5526         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5527         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5528         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5529         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5530         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5531         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5532         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5533         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5534         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5535         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5536         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5537         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5538         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5547 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5549         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5551 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5553         * benchtests/Makefile (bench): Add exp2 and log2.
5554         (LDLIBS-bench-exp2): Add -lm.
5555         (LDLIBS-bench-log2): Likewise.
5556         * benchtests/exp2-inputs: New inputs file.
5557         * benchtests/log2-inputs: New inputs file.
5558         * benchtests/log-inputs: Add new inputs.
5559         * benchtests/tan-inputs: Likewise.
5561 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5563         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5564         definition...
5565         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5566         csloww1, csloww2): ... from here.
5568         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5569         instead of structures.
5570         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5571         (POLYNOMIAL): Likewise.
5572         (TAYLOR_SLOW): Likewise.
5573         (__sin): Likewise.
5574         (__cos): Likewise.
5575         (slow1): Likewise.
5576         (slow2): Likewise.
5577         (sloww): Likewise.
5578         (sloww1); Likewise.
5579         (sloww2): Likewise.
5580         (bsloww1): Likewise.
5581         (bsloww2): Likewise.
5582         (cslow2): Likewise.
5583         (csloww): Likewise.
5584         (csloww1): Likewise.
5585         (csloww2): Likewise.
5587 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5589         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5590         (__malloc_assert, __libc_realloc, __libc_calloc,
5591         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5592         memcpy and memset.
5593         * malloc/hooks.c (realloc_check): Likewise.
5595 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5597         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5598         * malloc/arena.c: Remove PER_THREAD conditional.
5599         [!PER_THREAD]: Remove code.
5600         (ptmalloc_unlock_all2): Likewise.
5601         (ptmalloc_init): Likewise.
5602         (_int_new_arena): Likewise.
5603         (arena_get2): Likewise.
5604         * malloc/hooks.c (__malloc_get_state): Likewise.
5605         (__malloc_set_state): Likewise.
5606         * malloc/malloc.c: Likewise.
5607         (struct malloc_state): Likewise.
5608         (struct malloc_par): Likewise.
5609         (__libc_realloc): Likewise.
5610         (__libc_mallopt): Likewise.
5612 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5614         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5616 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5618         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5619         macro to a function.  Check for zero perturb_byte.
5620         (_int_malloc, _int_free): Remove zero perturb_byte checks.
5622 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5624         * malloc/malloc.c: (force_reg): Remove.
5625         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5626         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5627         force_reg by atomic_forced_read.
5628         * malloc/arena.c (ptmalloc_init): Likewise.
5629         * malloc/hooks.c (top_check): Likewise.
5631 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5635 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
5637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5639 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
5641         * math/auto-libm-test-in: Add tests of lgamma.
5642         * math/auto-libm-test-out: Regenerated.
5643         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5644         (M_LOG_2_SQRT_PIl): Likewise.
5645         (lgamma_test_data): Use AUTO_TESTS_f_f1.
5646         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5647         mpfr_f_f1.
5648         (func_calc_desc): Add mpfr_f_f1 union field.
5649         (ARGS1): New macro.
5650         (ARGS2): Likewise.
5651         (ARGS3): Likewise.
5652         (ARGS4): Likewise.
5653         (RET1): Likewise.
5654         (RET2): Likewise.
5655         (CALC): Likewise.
5656         (FUNC): Likewise.
5657         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5658         (test_functions): Add lgamma.
5659         (calc_generic_results): Handle mpfr_f_f1.
5660         * sysdeps/i386/fpu/libm-test-ulps: Update.
5661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5663 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5665         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5666         __mpn_add_n for PowerPC64/POWER7.
5667         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5668         __mpn_sub_n for PowerPC64/POWER7.
5670 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5672         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5673         __mpn_addmul_1 for PowerPC64.
5674         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5675         __mpn_submul_1 for PowerPC64.
5676         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5677         for PowerPC64.
5678         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5679         for PowerPC64.
5681 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
5683         [BZ #15089]
5684         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5686 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5688         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5690 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5692         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5693         add multiarch folders.
5694         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5695         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5696         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5697         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5698         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5699         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5700         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5701         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5702         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5703         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5704         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5712 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5715         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5717         New file.
5718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5719         New file.
5720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5721         multiarch __ieee754_hypot for PowerPC32.
5722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5723         New file.
5724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5725         New file.
5726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5727         multiarch __ieee754_hypotf for PowerPC32.
5729 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5731         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5732         long_double_symbol only if __logbl is defined.
5733         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5734         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5735         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5736         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5737         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5738         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5739         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5740         path for implementation.
5741         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5742         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5744         logb, and logbl multiarch implementations for PowerPC32.
5745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5746         file.
5747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5748         file.
5749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5750         multiarch logb for PowerPC32.
5751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5752         file.
5753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5754         file.
5755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5756         multiarch logbf for PowerPC32.
5757         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5759         file.
5760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5761         multiarch logbl implementation for PowerPC32.
5763 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5766         and modff multiarch implementations.
5767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5768         New file.
5769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5770         New file.
5771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5772         multiarch modf for PowerPC32.
5773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5774         New file.
5775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5776         New file.
5777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5778         multiarch modff for PowerPC32.
5780 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5783         and lrintf multiarch implementations.
5784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5785         New file.
5786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5787         New file.
5788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5789         multiarch lrint for PowerPC32.
5790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5791         file: multiarch lrintf for PowerPC32.
5793 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5796         and lroundf multiarch implementations.
5797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5798         New file.
5799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5800         New file.
5801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5802         New file.
5803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5804         multiarch lround for PowerPC32.
5805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5806         file: multiarch lroundf for PowerPC32.
5808 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5811         copysign and copysignf multiarch implementations.
5812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5813         New file.
5814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5815         New file.
5816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5817         file: multiarch copysign for PowerPC32.
5818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5819         file: multiarch copysignf for PowerPC32.
5821 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5824         and truncf multiarch implementations.
5825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5826         New file.
5827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5828         file.
5829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5830         multiarch trunc for PowerPC32.
5831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5832         New file.
5833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5834         New file.
5835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5836         multiarch truncf for PowerPC32.
5838 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5841         and roundf multiarch implementations.
5842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5843         New file.
5844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5845         file.
5846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5847         multiarch round for PowerPC32.
5848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5849         New file.
5850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5851         New file.
5852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5853         multiarch roundf for PowerPC32.
5855 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5858         and floorf multiarch implementations.
5859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5860         New file.
5861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5862         file.
5863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5864         multiarch floor for PowerPC32.
5865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5866         New file.
5867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5868         New file.
5869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5870         multiarch floorf for PowerPC32.
5872 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5875         and ceilf multiarch implementations.
5876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5877         New file.
5878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5879         file.
5880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5881         multiarch ceil for PowerPC32.
5882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5883         New file.
5884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5885         file.
5886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5887         multiarch ceilf for PowerPC32.
5889 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5891         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5892         is defined.
5893         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5894         FINITEF is defined.
5895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5896         and finitef multiarch implementations.
5897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5898         New file.
5899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5900         file.
5901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5902         multiarch finite for PowerPC32.
5903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5904         New file.
5905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5906         file: multiarch finitef for PowerPC32.
5908 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5911         and isinff multiarch implementations.
5912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5913         file.
5914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5915         file.
5916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5917         multiarch isinf for PowerPC32.
5918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5919         New file.
5920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5921         multiarch isinff for PowerPC32.
5923 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5925         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5926         alias when __isnan is defined.
5927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5928         and isnanf multiarch implementations.
5929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5930         file.
5931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5932         file.
5933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5934         file.
5935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5936         file.
5937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5938         multiarch isnan for PowerPC32.
5939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5940         New file.
5941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5942         New file.
5943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5944         multiarch isnanf for PowerPC32.
5946 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5949         and sqrtf multiarch implementations.
5950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5951         file.
5952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5953         file.
5954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5955         multiarch sqrt for PowerPC32.
5956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5957         file.
5958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5959         file.
5960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5961         multiarch sqrtf for PowerPC32.
5963 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5966         and llroundf multiarch implementations.
5967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5968         New file.
5969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5970         New file.
5971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5972         New file.
5973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5974         file: multiarch llround for PowerPC32.
5975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5976         file: multiarch llroundf for PowerPC32.
5978 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5981         multiarch PowerPC32 fpu implementations.
5982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5983         New file.
5984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5985         New file.
5986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5987         multiarch llrint for PowerPC32.
5988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5989         New file.
5990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5991         New file.
5992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5993         file.
5995 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5999 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6001         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6002         file.
6003         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6004         file.
6005         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6006         file.
6007         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6008         multiarch wordcopy for PPC32.
6009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6010         wordcopy objects.
6011         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6012         (__libc_ifunc_impl_list): Likewise.
6013         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6014         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6015         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6016         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6017         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6018         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6020 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6022         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6024         file.
6025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6026         file.
6027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6028         file.
6029         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6030         multiarch wcscpy for PPC32.
6031         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6032         multiarch objects.
6033         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6034         (__libc_ifunc_impl_list): Likewise.
6035         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6036         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6037         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6038         sysdeps/powerpc/power6/wcscpy.c.
6040 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6042         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6044         file.
6045         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6046         file.
6047         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6048         file.
6049         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6050         multiarch wcsrchr for PPC32.
6051         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6052         multiarch objects.
6053         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6054         (__libc_ifunc_impl_list): Likewise.
6055         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6056         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6057         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6058         sysdeps/powerpc/power6/wcsrchr.c.
6060 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6062         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6063         file.
6064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6065         file.
6066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6068         multiarch wcschr for PPc32.
6069         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6070         multiarch objects.
6071         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6072         (__libc_ifunc_impl_list): Likewise.
6073         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6074         * sysdeps/powerpc/power6/wcschr.c: ... to here.
6075         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6076         sysdeps/powerpc/power6/wcschr.c.
6078 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6080         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6081         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6082         file.
6083         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6084         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6085         file: multiarch strchr for PPC32.
6086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6087         multiarch objects.
6088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6089         (__libc_ifunc_impl_list): Likewise.
6091 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6093         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6094         name.
6095         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6096         file.
6097         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6098         file.
6099         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6100         multiarch strchrnul for PPC32.
6101         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6102         multiarch objects.
6103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6104         (__libc_ifunc_impl_list): Likewise.
6106 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6108         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6109         file.
6110         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6111         multiarch strncasecmp for PPC32.
6112         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6113         file.
6114         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6115         multiarch strncasecmp_l for PPC32.
6116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6117         strncasecmp multiarch objects.
6118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6119         (__libc_ifunc_impl_list): Likewise.
6121 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6123         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6124         file.
6125         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6126         multiarch strncasecmp for PPC32.
6127         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6128         New file.
6129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6130         multiarch strcasecmp_l for PPC32.
6131         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6132         multiarch objects.
6133         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6134         (__libc_ifunc_impl_list): Likewise.
6136 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6139         file.
6140         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6141         file.
6142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6143         multiarch strncmp for PPC32.
6144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6145         multiarch objects.
6146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6147         (__libc_ifunc_impl_list): Likewise.
6149 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6151         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6152         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6153         file.
6154         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6155         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6157         multiarch objects.
6158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6159         (__libc_ifunc_impl_list): Likewise.
6161 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6163         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6164         file.
6165         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6166         file.
6167         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6169         multiarch objects.
6170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6171         (__libc_ifunc_impl_list): Likewise.
6173 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6175         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6176         file.
6177         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6178         file.
6179         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6180         multiarch rawmemchr for PPC32.
6181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6182         multiarch objects.
6183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6184         (__libc_ifunc_impl_list): Likewise.
6186 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6188         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6189         file.
6190         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6191         file.
6192         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6193         file: memrchr multiarch for PPC32.
6194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6195         multiarch objects.
6196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6197         (__libc_ifunc_impl_list): Likewise.
6199 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6201         * string/memchr.c (__memchr): Using macro to redefine symbol name.
6202         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6203         file.
6204         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6205         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6206         multiarch memchr for PPC32.
6207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6208         multiarch objects.
6209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6210         (__libc_ifunc_impl_list): Likewise.
6212 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6214         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6215         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6216         file.
6217         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6218         file.
6219         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6220         file: multiarch mempcpy for PPC32.
6221         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6222         multiarch objects.
6223         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6224         (__libc_ifunc_impl_list): Likewise.
6226 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6228         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6229         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6230         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6231         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6232         multiarch bzero for PPC32.
6233         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6234         file.
6235         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6236         file.
6237         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6238         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6239         file: multiarch memset for PPC32.
6240         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6242         memset 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         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6249         file.
6250         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6252         memcmp for PPC32.
6253         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6254         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6255         multiarch objects.
6256         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6257         (__libc_ifunc_impl_list): Likewise.
6259 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6261         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6262         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6263         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6264         file.
6265         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6266         file.
6267         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6268         file.
6269         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6270         multiarch memcpy for PPC32.
6271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6272         multiarch objects.
6273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6274         (__libc_ifunc_impl_list): Likewise.
6276 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6278         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6279         support multiarch for POWER/PPC32.
6280         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6281         Likewise.
6282         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6284         Implies file to make multiarch folder appers before the fpu and
6285         default folder for power4 configuration.
6287 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6289         * scripts/bench.pl: Append volatile keyword to type.
6291 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6293         * sysdeps/sh/sotruss-lib.c: New file.
6294         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6296 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6298         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6300 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
6302         [BZ #6810]
6303         * math/w_tgamma.c: Include <errno.h>.
6304         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
6305         * math/w_tgammaf.c: Include <errno.h>.
6306         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
6307         * math/w_tgammal.c: Include <errno.h>.
6308         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
6309         * math/auto-libm-test-in: Do not allow missing errno on tgamma
6310         underflow.  Add more tgamma tests.
6311         * math/auto-libm-test-out: Regenerated.
6312         * sysdeps/i386/fpu/libm-test-ulps: Update.
6313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6315         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6316         sin, sinh, tan, tanh, tgamma, y0 and y1.
6317         * math/auto-libm-test-out: Regenerated.
6318         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6319         (TEST_COND_x86): Likewise.
6320         (M_E2l): Remove macro.
6321         (M_E3l): Likewise.
6322         (M_2_SQRT_PIl): Likewise.
6323         (M_SQRT_PIl): Likewise.
6324         (M_1_DIV_El): Likewise.
6325         (log_test_data): Use AUTO_TESTS_f_f.
6326         (log10_test_data): Likewise.
6327         (log1p_test_data): Likewise.
6328         (log2_test_data): Likewise.
6329         (sin_test_data): Likewise.
6330         (sin_tonearest_test_data): Likewise.
6331         (sin_towardzero_test_data): Likewise.
6332         (sin_downward_test_data): Likewise.
6333         (sin_upward_test_data): Likewise.
6334         (sinh_test_data): Likewise.
6335         (sinh_tonearest_test_data): Likewise.
6336         (sinh_towardzero_test_data): Likewise.
6337         (sinh_downward_test_data): Likewise.
6338         (sinh_upward_test_data): Likewise.
6339         (tan_test_data): Likewise.
6340         (tan_tonearest_test_data): Likewise.
6341         (tan_towardzero_test_data): Likewise.
6342         (tan_downward_test_data): Likewise.
6343         (tan_upward_test_data): Likewise.
6344         (tanh_test_data): Likewise.
6345         (tgamma_test_data): Likewise.
6346         (y0_test_data): Likewise.
6347         (y1_test_data): Likewise.
6348         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6349         (special_real_inputs): Add pi/4.
6350         * sysdeps/i386/fpu/libm-test-ulps: Update.
6351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6353 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6355         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6356         "longjmp_target" static probes.
6357         (__longjmp): Rename to __longjmp_symbol.
6358         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6359         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6360         on which longjmp to generate.
6361         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6362         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6363         probe.
6364         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6365         (__sigjmp_save): Rename to __sigjmp_save_symbol.
6366         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6367         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6368         and __sigjmp_save_symbol based on which sigsetjmp to generated.
6369         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6371         __longjmp_symbol based on which __longjmp to generate.
6372         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6373         probe.
6374         (setjmp): Rename to setjmp_symbol.
6375         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6376         (_setjmp): Rename to _setjmp_symbol.
6377         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6378         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6379         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6380         which setjmp to generate.
6381         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6382         "longjmp_target" static probes.
6384 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6386         * benchtests/README: Add note about output arguments.
6387         * benchtests/bench-sincos.c: Remove file.
6388         * benchtests/sincos-inputs: New file.
6389         * scripts/bench.pl: Identify output arguments and define
6390         static variables for them.
6392         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6394         [BZ #15941]
6395         * Makefile (INSTALL): Add install-plain.texi as the primary
6396         dependency.
6397         * manual/install-plain.texi: New file.
6398         * manual/install.texi: Include node directive only for
6399         non-plaintext output.
6401 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
6403         * stdlib/longlong.h: Update from GCC.
6405         [BZ #6807]
6406         [BZ #15901]
6407         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6408         * math/w_j0f.c (y0f): Likewise.
6409         * math/w_j0l.c (__y0l): Likewise.
6410         * math/w_j1.c (y1): Likewise.
6411         * math/w_j1f.c (y1f): Likewise.
6412         * math/w_j1l.c (__y1l): Likewise
6413         * math/w_jn.c (yn): Likewise.
6414         * math/w_jnf.c (ynf): Likewise.
6415         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6416         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
6417         value for Bessel function domain errors outside _SVID_ mode.
6418         Adjust sign of return value for yn (negative integer, 0).
6419         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6420         by zero in return for negative x and set sign appropriately for
6421         negative n.
6422         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6423         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6424         * math/libm-test.inc (y0_test_data): Add more tests and adjust
6425         expectations in error cases.
6426         (y1_test_data): Likewise.
6427         (yn_test_data): Likewise.
6428         * sysdeps/i386/fpu/libm-test-ulps: Update.
6429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6431 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6433         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6434         "64" to "64-v1".  Add "64-v2".
6435         (abi-64-options): Rename to ...
6436         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
6437         (abi-64-condition): Rename to ...
6438         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
6439         (abi-64-ld-soname): Rename to ...
6440         (abi-64-v1-ld-soname): ... this.
6441         (abi-64-v2-options): Define.
6442         (abi-64-v2-condition): Likewise.
6443         (abi-64-v2-ld-soname): Likewise.
6444         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6445         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6450 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6451             Alan Modra  <amodra@gmail.com>
6453         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6454         New versions for use with the ELFv2 ABI.
6455         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6456         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6457         declaration.
6458         (struct La_ppc64v2_retval): Likewise.
6459         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6460         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6461         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6462         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6463         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6464         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6465         Do not save or restore CR.
6466         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6467         (_dl_profile_resolve): Do no save or restore CR.  Support extended
6468         return values for ELFv2 ABI.  Fix location of FPR return registers.
6469         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6470         updated values for _CALL_ELF == 2.
6471         (La_regs, La_retval, int_retval): Likewise.
6473 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6475         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6476         (FRAME_MIN_SIZE_PARM): Likewise.
6477         (FRAME_BACKCHAIN): Likewise.
6478         (FRAME_CR_SAVE): Likewise.
6479         (FRAME_LR_SAVE): Likewise.
6480         (FRAME_TOC_SAVE): Likewise.
6481         (FRAME_PARM_SAVE): Likewise.
6482         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6483         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6484         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6485         (call_mcount_parm_offset): New macro.
6486         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6487         (PROF): Use symbolic stack frame offsets.
6488         (TAIL_CALL_SYSCALL_ERROR): Likewise.
6489         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6490         Redefine in terms of FRAME_MIN_SIZE.
6491         (_dl_runtime_resolve): Use symbolic stack frame offsets.
6492         (_dl_profile_resolve): Likewise.  Update comment.
6493         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6494         symbols stack frame offsets.
6495         (__sigsetjmp): Likewise.
6496         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6497         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6498         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6499         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6502         (FRAME_BACKCHAIN): Remove.
6503         (FRAME_CR_SAVE): Likewise.
6504         (FRAME_LR_SAVE): Likewise.
6505         (FRAME_COMPILER_DW): Likewise.
6506         (FRAME_LINKER_DW): Likewise.
6507         (FRAME_TOC_SAVE): Likewise.
6508         (FRAME_PARM_SAVE): Likewise.
6509         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6510         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6511         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6513         (CHECK_SP): Use symbolic stack frame offsets.
6514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6515         zone" instead of caller's parameter save area for temp storage.
6516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6517         Likewise.  Also, use symbolic stack frame offsets.
6518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6519         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6520         our own stack frame instead of the caller's.
6521         (__socket): Use symbolic stack frame offsets.
6523 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6524             Alan Modra  <amodra@gmail.com>
6526         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6527         Define.
6528         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6529         PPC64_LOCAL_ENTRY_OFFSET): Define.
6530         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6531         New function.
6532         (elf_machine_fixup_plt): Call it.
6533         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
6534         reloc arguments.
6535         (elf_machine_rela): Update call to elf_machine_plt_conflict.
6536         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6537         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6538         r2 before calling target.
6540 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6541             Alan Modra  <amodra@gmail.com>
6543         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6544         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6545         versions of macros to support ELFv2 ABI.
6546         (LOCALENTRY): New macro.
6547         (ENTRY, EALIGN): Use it.
6548         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6549         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6550         fall through into ENTRY entry point.
6551         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6552         Only define if _CALL_ELF != 2.
6554         (elf_machine_matches_host): Verify ABI version matches.
6555         (RTLD_START): Use LOCALENTRY.
6556         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6557         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6558         (PLT_ENTRY_WORDS): New macro.
6559         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6560         (elf_machine_runtime_setup): Support ELFv2 ABI.
6561         (elf_machine_fixup_plt): Likewise.
6562         (elf_machine_plt_conflict): Likewise.
6563         (resolve_ifunc): Likewise.
6564         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6565         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6566         Likewise.
6567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6568         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6570         (makecontext): Support ELFv2 ABI.
6571         * elf/elf.h (EF_PPC64_ABI): Define.
6573 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6575         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6576         New assembler macro.
6577         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6578         [ASSEMBLER] (ENTRY): ... but instead here ...
6579         [ASSEMBLER] (EALIGN): ... and here.
6580         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6581         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6582         [!ASSEMBLER] (ENTRY_2): Use it.
6583         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6584         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
6585         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6586         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6587         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6589         Use PPC64_LOAD_FUNCPTR.
6591 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6593         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6595 2013-12-04  Alan Modra  <amodra@gmail.com>
6597         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6598         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6599         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6600         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6603         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6604         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6605         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6606         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6607         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6609 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6612         (__makecontext): Fix incorrect CFI when backtracing out of
6613         context created via makecontext.
6614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6615         (__setcontext): Fix incorrect CFI during switch to new context.
6616         (__novec_setcontext): Likewise.
6618 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6620         [BZ #4772]
6621         * time/strptime_l.c (__strptime_internal): Allow modifiers
6622         in strptime.
6623         * time/tst-strptime.c (day_tests): Add testcase.
6626 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6628         * scripts/bench.pl: Skip over blank lines.
6630 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6632         [BZ #926]
6633         * manual/time.texi (Calendar Time): Clarify what timezone functions
6634         use.
6636 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6640 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6642         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6643         implementation.
6644         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6645         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6646         * debug/memset_chk.c (__memset_chk): Likewise.
6647         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6648         * debug/strncpy_chk.c: Likewise.
6650 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6652         [BZ #15268]
6653         [BZ #15425]
6654         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6655         (__ieee754_exp): For possibly underflowing results, check size of
6656         result and force underflow exception if required.
6657         * math/auto-libm-test-in: Add more tests of exp.
6658         * math/auto-libm-test-out: Regenerated.
6659         * sysdeps/i386/fpu/libm-test-ulps: Update.
6660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6662         [BZ #16283]
6663         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6664         * math/w_exp2f.c (__exp2f): Likewise.
6665         * math/w_exp2l.c (__exp2l): Likewise.
6666         * math/auto-libm-test-in: Do not allow missing errno on exp2
6667         underflow.
6668         * math/auto-libm-test-out: Regenerated.
6670 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
6672         [BZ #16274]
6673         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6674         handle filename validation.
6675         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6676         (do_open): Delete.
6678 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6680         [BZ #6786]
6681         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6682         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6683         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6684         <float.h>.
6685         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6686         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6687         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6688         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6689         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6690         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6691         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6692         * math/auto-libm-test-in: Don't allow missing errno from erfc.
6693         Add more erfc tests.
6694         * math/auto-libm-test-out: Regenerated.
6695         * sysdeps/i386/fpu/libm-test-ulps: Update.
6696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6698         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6699         exp2, expm1, j0 and j1.
6700         * math/auto-libm-test-out: Regenerated.
6701         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6702         (erfc_test_data): Likewise.
6703         (exp_test_data): Likewise.
6704         (exp_tonearest_test_data): Likewise.
6705         (exp_towardzero_test_data): Likewise.
6706         (exp_downward_test_data): Likewise.
6707         (exp_upward_test_data): Likewise.
6708         (exp10_test_data): Likewise.
6709         (exp2_test_data): Likewise.
6710         (expm1_test_data): Likewise.
6711         (j0_test_data): Likewise.
6712         (j1_test_data): Likewise.
6713         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6714         (input_flag_type): Add flag_xfail_rounding.
6715         (input_flags): Add xfail-rounding.
6716         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6717         (output_for_one_input_case): Handle flag_xfail_rounding.
6718         * sysdeps/i386/fpu/libm-test-ulps: Update.
6719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6721 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
6723         [BZ #16289]
6724         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6725         division by 0.
6727 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6729         [BZ #16195]
6730         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6731         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6732         (STAP_PROBE0): New macro.
6733         (STAP_PROBE1): Likewise.
6734         (STAP_PROBE2): Likewise.
6735         (STAP_PROBE3): Likewise.
6736         (STAP_PROBE4): Likewise.
6738 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
6740         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6742 2013-12-02  Steve Ellcey  <sellcey@mips.com>
6744         * benchtests/Makefile (bench): Add sqrt.
6745         (LDLIBS-bench-sqrt): New.
6746         * benchtests/sqrt-input: New.
6748 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
6750         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6751         (GAIH_EAI): Likewise.
6752         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6753         (gaih_inet): Likewise.
6754         (getaddrinfo): Don't use GAIH_EAI.
6756         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6757         (struct gaih): Remove definition.
6759 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6761         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6762         Use HERRNOP directly.
6764 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6768 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
6770         * math/gen-auto-libm-tests.c (test_functions): Add more
6771         single-argument functions.
6772         (special_fill_pi_2): New function.
6773         (special_fill_minus_pi_2): Likewise.
6774         (special_fill_pi_6): Likewise.
6775         (special_fill_minus_pi_6): Likewise.
6776         (special_fill_pi_3): Likewise.
6777         (special_fill_2pi_3): Likewise.
6778         (special_fill_e): Likewise.
6779         (special_fill_1_e): Likewise.
6780         (special_fill_e_minus_1): Likewise.
6781         (special_real_inputs): Add more special inputs.
6782         (output_for_one_input_case): Do not require ERANGE on underflow to
6783         zero if round-to-nearest result does not underflow to zero, unless
6784         exact results required.
6785         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6786         atan, atanh, cbrt, cos and cosh.
6787         * math/auto-libm-test-out: Regenerated.
6788         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6789         (acos_tonearest_test_data): Likewise.
6790         (acos_towardzero_test_data): Likewise.
6791         (acos_downward_test_data): Likewise.
6792         (acos_upward_test_data): Likewise.
6793         (acosh_test_data): Likewise.
6794         (asin_test_data): Likewise.
6795         (asin_tonearest_test_data): Likewise.
6796         (asin_towardzero_test_data): Likewise.
6797         (asin_upward_test_data): Likewise.
6798         (asinh_test_data): Likewise.
6799         (atan_test_data): Likewise.
6800         (atanh_test_data): Likewise.
6801         (cbrt_test_data): Likewise.
6802         (cos_test_data): Likewise.
6803         (cos_tonearest_test_data): Likewise.
6804         (cos_towardzero_test_data): Likewise.
6805         (cos_downward_test_data): Likewise.
6806         (cos_upward_test_data): Likewise.
6807         (cosh_test_data): Likewise.
6808         (cosh_tonearest_test_data): Likewise.
6809         (cosh_towardzero_test_data): Likewise.
6810         (cosh_downward_test_data): Likewise.
6811         (cosh_upward_test_data): Likewise.
6812         * sysdeps/i386/fpu/libm-test-ulps: Update.
6813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6815 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
6817         [BZ #6787]
6818         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6819         * math/w_exp10f.c (__exp10f): Likewise.
6820         * math/w_exp10l.c (__exp10l): Likewise.
6821         * math/libm-test.inc (exp10_test_data): Add more tests and expect
6822         errno settings in existing tests.
6824         [BZ #14032]
6825         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6826         precision control set to double precision.
6827         * sysdeps/i386/fpu/w_sqrt.c: New file.
6828         * math/auto-libm-test-in: Add more tests.
6829         * math/auto-libm-test-out: Update.
6831         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6832         (sqrt_test_tonearest): New function.
6833         (sqrt_towardzero_test_data): New variable.
6834         (sqrt_test_towardzero): New function.
6835         (sqrt_downward_test_data): New variable.
6836         (sqrt_test_downward): New function.
6837         (sqrt_upward_test_data): New variable.
6838         (sqrt_test_upward): New function.
6839         (main): Call the new functions.
6841         * math/gen-auto-libm-tests.c: New file.
6842         * math/auto-libm-test-in: Likewise.
6843         * math/auto-libm-test-out: New generated file.
6844         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6845         variables.
6846         (%beautify): Add generated representations of zero.
6847         (top level): Set $auto_input and call parse_auto_input.
6848         (beautify): Remove trailing "f" from hex float constants.
6849         (parse_args): Handle XFAIL_TEST.
6850         (convert_condition): New function.
6851         (or_value): Likewise.
6852         (or_cond_value): Likewise.
6853         (generate_testfile): Handle AUTO_TESTS_* lines.
6854         (parse_auto_input): New function.
6855         * math/libm-test.inc (XFAIL_TEST): New macro.
6856         (ERRNO_UNCHANGED): Update value.
6857         (ERRNO_EDOM): Likewise.
6858         (ERRNO_ERANGE): Likewise.
6859         (IGNORE_RESULT): Likewise.
6860         (TEST_COND_flt_32): New macro.
6861         (TEST_COND_dbl_64): Likewise.
6862         (TEST_COND_ldbl_96_intel): Likewise.
6863         (TEST_COND_ldbl_96_m68k): Likewise.
6864         (TEST_COND_ldbl_128): Likewise.
6865         (TEST_COND_ldbl_128ibm): Likewise.
6866         (TEST_COND_long32): Likewise.
6867         (TEST_COND_long64): Likewise.
6868         (TEST_COND_before_rounding): Likewise.
6869         (TEST_COND_after_rounding): Likewise.
6870         (enable_test): Handle XFAIL_TEST flag.
6871         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6872         with finite results.
6873         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6874         auto-libm-test-out.
6876 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6877             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6879         [BZ #16214]
6880         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6881         __tls_get_addr_internal instead of __tls_get_offset in order to
6882         avoid GOT pointer dependency.  Make rtld export
6883         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6884         __tls_get_addr since we are a __tls_get_offset platform.
6885         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6886         GOT pointer being set up before.
6887         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6889 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
6891         * manual/math.texi (Errors in Math Functions): Document accuracy
6892         goals.
6894         [BZ #15004]
6895         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6896         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6897         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6898         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6899         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6900         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6901         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6902         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6903         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6904         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6905         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6906         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6907         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6908         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6909         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6910         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6912         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6913         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6914         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6915         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6916         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6917         Likewise.
6918         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6919         Likewise.
6920         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6921         Likewise.
6922         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6923         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6924         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6925         atomic-feupdateenv and flt-rounds.
6926         * sysdeps/powerpc/nofpu/Versions (libc): Add
6927         __atomic_feholdexcept, __atomic_feclearexcept,
6928         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6929         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6930         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6931         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6932         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6933         here.
6934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6935         Update.
6937         * manual/arith.texi (FP Exceptions): Document that exceptions may
6938         not be raised when matherr is used.
6939         (Math Error Reporting): Document overflow in directed rounding
6940         modes.  Document that errno may not be set when finite values are
6941         returned on overflow.  Document intent to set errno on underflow
6942         only for underflow to zero.
6944         [BZ #16271]
6945         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6946         round-to-nearest then adjust result for other rounding modes.
6947         * include/fenv.h (fegetround): Use libm_hidden_proto.
6948         * math/fegetround.c (fegetround): Use libm_hidden_def.
6949         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6950         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6951         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6952         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6953         Likewise.
6954         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6955         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6956         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6957         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6959 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6961         [BZ #16077]
6962         * nss/Versions (libnss_files): Add
6963         _nss_files_gethostbyname3_r.
6964         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6965         New function.
6966         (HOST_DB_LOOKUP): Remove macro.
6967         (_nss_files_gethostbyname_r): Implement function without the
6968         HOST_DB_LOOKUP macro.
6969         (_nss_files_gethostbyname2_r): Likewise.
6971 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
6973         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6975 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
6977         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6978         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6979         warning.
6981 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6983         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6984         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6985         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6986         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6987         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6988         __fe_nomask_env_priv and attribute_hidden.
6989         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6990         (libc_feupdateenv_test_ppc): Likewise.
6991         (libc_feresetround_ppc): Likewise.
6992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6993         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6994         compat_symbol macro.
6995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6996         (__fe_nomask_env): Likewise.
6997         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6999 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7001         * string/Makefile: Remove ifunc tests.
7002         * string/test-string.h: Define TEST_IFUNC.
7003         * string/test-bcopy-ifunc.c: Remove.
7004         * string/test-bzero-ifunc.c: Likewise.
7005         * string/test-memccpy-ifunc.c: Likewise.
7006         * string/test-memchr-ifunc.c: Likewise.
7007         * string/test-memcmp-ifunc.c: Likewise.
7008         * string/test-memcpy-ifunc.c: Likewise.
7009         * string/test-memmem-ifunc.c: Likewise.
7010         * string/test-memmove-ifunc.c: Likewise.
7011         * string/test-mempcpy-ifunc.c: Likewise.
7012         * string/test-memrchr-ifunc.c: Likewise.
7013         * string/test-memset-ifunc.c: Likewise.
7014         * string/test-rawmemchr-ifunc.c: Likewise.
7015         * string/test-stpcpy-ifunc.c: Likewise.
7016         * string/test-stpncpy-ifunc.c: Likewise.
7017         * string/test-strcasecmp-ifunc.c: Likewise.
7018         * string/test-strcasestr-ifunc.c: Likewise.
7019         * string/test-strcat-ifunc.c: Likewise.
7020         * string/test-strchr-ifunc.c: Likewise.
7021         * string/test-strchrnul-ifunc.c: Likewise.
7022         * string/test-strcmp-ifunc.c: Likewise.
7023         * string/test-strcpy-ifunc.c: Likewise.
7024         * string/test-strcspn-ifunc.c: Likewise.
7025         * string/test-strlen-ifunc.c: Likewise.
7026         * string/test-strncasecmp-ifunc.c: Likewise.
7027         * string/test-strncat-ifunc.c: Likewise.
7028         * string/test-strncmp-ifunc.c: Likewise.
7029         * string/test-strncpy-ifunc.c: Likewise.
7030         * string/test-strnlen-ifunc.c: Likewise.
7031         * string/test-strpbrk-ifunc.c: Likewise.
7032         * string/test-strrchr-ifunc.c: Likewise.
7033         * string/test-strspn-ifunc.c: Likewise.
7034         * string/test-strstr-ifunc.c: Likewise.
7036 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7038         * benchtests/Makefile: Remove ifunc tests.
7039         * benchtests/bench-string.h: Define TEST_IFUNC.
7040         * benchtests/bench-bcopy-ifunc.c: Remove.
7041         * benchtests/bench-bzero-ifunc.c: Likewise.
7042         * benchtests/bench-memccpy-ifunc.c: Likewise.
7043         * benchtests/bench-memchr-ifunc.c: Likewise.
7044         * benchtests/bench-memcmp-ifunc.c: Likewise.
7045         * benchtests/bench-memcpy-ifunc.c: Likewise.
7046         * benchtests/bench-memmem-ifunc.c: Likewise.
7047         * benchtests/bench-memmove-ifunc.c: Likewise.
7048         * benchtests/bench-mempcpy-ifunc.c: Likewise.
7049         * benchtests/bench-memrchr-ifunc.c: Likewise.
7050         * benchtests/bench-memset-ifunc.c: Likewise.
7051         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7052         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7053         * benchtests/bench-stpcpy-ifunc.c: Likewise.
7054         * benchtests/bench-stpncpy-ifunc.c: Likewise.
7055         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7056         * benchtests/bench-strcasestr-ifunc.c: Likewise.
7057         * benchtests/bench-strcat-ifunc.c: Likewise.
7058         * benchtests/bench-strchr-ifunc.c: Likewise.
7059         * benchtests/bench-strchrnul-ifunc.c: Likewise.
7060         * benchtests/bench-strcmp-ifunc.c: Likewise.
7061         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7062         * benchtests/bench-strcpy-ifunc.c: Likewise.
7063         * benchtests/bench-strcspn-ifunc.c: Likewise.
7064         * benchtests/bench-strlen-ifunc.c: Likewise.
7065         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7066         * benchtests/bench-strncat-ifunc.c: Likewise.
7067         * benchtests/bench-strncmp-ifunc.c: Likewise.
7068         * benchtests/bench-strncpy-ifunc.c: Likewise.
7069         * benchtests/bench-strnlen-ifunc.c: Likewise.
7070         * benchtests/bench-strpbrk-ifunc.c: Likewise.
7071         * benchtests/bench-strrchr-ifunc.c: Likewise.
7072         * benchtests/bench-strsep-ifunc.c: Likewise.
7073         * benchtests/bench-strspn-ifunc.c: Likewise.
7074         * benchtests/bench-strstr-ifunc.c: Likewise.
7076 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7078         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7080 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
7082         * resolv/netdb.h: Use __glibc_reserved instead __unused.
7083         * rt/aio.h: Likewise.
7084         * sysdeps/gnu/bits/utmp.h: Likewise.
7085         * sysdeps/gnu/bits/utmpx.h: Likewise.
7086         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7087         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7088         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7089         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7090         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7091         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7092         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7093         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7094         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7095         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7096         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7097         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7098         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7100         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7101         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7102         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7103         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7104         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7105         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7106         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7107         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7108         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7109         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7110         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7111         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7112         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7113         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7114         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7115         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7116         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7117         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7118         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7119         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7120         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7121         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7122         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7123         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7124         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7125         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7126         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7127         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7129 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
7131         [BZ #16245]
7132         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7133         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7135 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
7137         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7138         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7139         Likewise.
7141 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7143         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7144         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7145         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7146         (__fesetround): Remove define.
7147         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7148         rounding and exceptions handling.
7149         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7150         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7151         (__fe_nomask_env): Likewise.
7152         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7153         __fegetround instead of fegetround.
7154         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7155         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7157 2013-11-21  Roland McGrath  <roland@hack.frob.com>
7159         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7160         it's there.
7162         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7164 2013-11-21  Meador Inge  <meadori@codesourcery.com>
7166         [BZ #11157]
7167         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7168         (encrypt_r): Likewise.
7169         * malloc/obstack.h (obstack_free): Likewise.
7170         * posix/unistd.h (encrypt): Likewise.
7172 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
7174         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7175         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7176         DL_CALL_DT_FINI() that call the functions directly.
7177         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7178         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7179         * elf/dl-fini.c: Likewise.
7181 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
7183         * malloc/hooks.c (memalign_check): Add alignment rounding.
7184         * malloc/malloc.c (_mid_memalign): New function.
7185         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7186         Implement by calling _mid_memalign.
7187         * manual/probes.texi (Memory Allocation Probes): Remove
7188         memory_valloc_retry and memory_pvalloc_retry.
7190 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7192         * locale/programs/locarchive.c (open_archive): Add const
7193         qualifier to ARCHIVEFNAME and copy default fname to
7194         DEFAULT_FNAME.
7196         [BZ #15601]
7197         * libio/tst-widetext.input: Rename Oriya to Odia.
7198         * locale/iso-639.def: Likewise.
7200         * manual/probes.texi (Mathematical Function Probes): Add
7201         documentation for sin, cos, asin and acos probes.
7202         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7203         (__sin32): Add slowasin probe.
7204         (__cos32): Add slowacos probe.
7205         (__mpsin): Add slowsin probe.
7206         (__mpcos): Add slowcos probe.
7208 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
7210         [BZ #15483]
7211         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7212         thread-local __sim_exceptions_thread and global
7213         __sim_exceptions_global.
7214         (__sim_disabled_exceptions): Change to thread-local
7215         __sim_disabled_exceptions_thread and global
7216         __sim_disabled_exceptions_global.
7217         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7218         and global __sim_round_mode_global.
7219         (__simulate_exceptions): Use thread-local floating-point state and
7220         set global state from it as needed.
7221         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7222         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7223         __sim_round_mode_thread.
7224         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7225         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7226         and global __sim_exceptions_global.
7227         (__sim_disabled_exceptions): Change to thread-local
7228         __sim_disabled_exceptions_thread and global
7229         __sim_disabled_exceptions_global.
7230         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7231         and global __sim_round_mode_global.
7232         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7233         (SIM_SET_GLOBAL): Likewise.
7234         * sysdeps/powerpc/soft-fp/sfp-machine.h
7235         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7236         __sim_round_mode_thread.
7237         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7238         __sim_disabled_exceptions_thread.
7239         (__sim_exceptions): Change to __sim_exceptions_thread.
7240         (__sim_disabled_exceptions): Change to
7241         __sim_disabled_exceptions_thread.
7242         (__sim_round_mode): Change to __sim_round_mode_thread.
7243         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7244         thread-local floating-point state and set global state from it as
7245         needed.
7246         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7247         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7248         (__sim_disabled_exceptions): Remove extern declaration.
7249         (feenableexcept): Use thread-local floating-point state and set
7250         global state from it as needed.
7251         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7252         extern declaration.
7253         (__sim_disabled_exceptions): Likewise.
7254         (__sim_round_mode): Likewise.
7255         (__fegetenv): Use thread-local floating-point state.
7256         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7257         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7258         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7259         floating-point state and set global state from it as needed.
7260         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7261         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7262         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7263         Likewise.
7264         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7265         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7266         Likewise.
7267         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7268         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7269         Use __sim_round_mode_thread.
7270         * math/test-fenv-tls.c: New file.
7271         * math/Makefile (tests): Add test-fenv-tls.
7272         ($(objpfx)test-fenv-tls): Depend on
7273         $(common-objpfx)nptl/libpthread.so.
7275 2013-11-19  Andreas Schwab  <schwab@suse.de>
7277         * locale/programs/locale.c (show_info): Decode wordarray elements.
7278         * locale/categories.def (LC_MONETARY): Add element for
7279         _NL_MONETARY_CRNCYSTR.
7280         * locale/C-monetary.c (conversion_rate): New variable.
7281         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7282         element.
7284 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
7286         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7287         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7289 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7291         * elf/Makefile (tst-auxv): New test.
7292         * elf/tst-auxv.c: New
7293         * elf/rtld.c (dl_main): Adjust AT_EXECFN
7295 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
7297         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7298         (hidden_proto): Caller changed.
7299         (hidden_tls_proto): New macro.
7300         (libc_hidden_tls_proto): Likewise.
7301         (rtld_hidden_tls_proto): Likewise.
7302         (libm_hidden_tls_proto): Likewise.
7303         (libresolv_hidden_tls_proto): Likewise.
7304         (librt_hidden_tls_proto): Likewise.
7305         (libdl_hidden_tls_proto): Likewise.
7306         (libnss_files_hidden_tls_proto): Likewise.
7307         (libnsl_hidden_tls_proto): Likewise.
7308         (libnss_nisplus_hidden_tls_proto): Likewise.
7309         (libutil_hidden_tls_proto): Likewise.
7311 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
7313         [BZ #10253]
7314         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7315         (decompose_rpath): Defer expansion to fillin_rpath.
7316         (_dl_init_paths): Pass linkmap to fillin_rpath.
7318 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7320         * benchtests/Makefile: Add strsep.
7321         * benchtests/bench-strsep.c: New file: strsep benchtest.
7322         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7324 2013-11-18  Andreas Schwab  <schwab@suse.de>
7326         * locale/programs/locale.c (show_info) [case byte]: Check for
7327         '\377' instead of '\177'.
7328         * locale/C-monetary.c (not_available): Always use "\377".
7329         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7330         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
7331         detect unavailable sign_posn locale elements.
7332         * locale/localeconv.c (__localeconv): For grouping and
7333         mon_grouping handle "\177" and "\377" like no grouping.
7334         (INT_ELEM): New macro.  Use it to set all numeric members.
7335         * locale/programs/ld-monetary.c (monetary_read)
7336         <tok_mon_grouping>: Normalize single -1 to the empty string.
7337         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7338         Likewise.
7340 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7342         [BZ #16055]
7343         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7344         when we match (nil).
7345         * stdio-common/tst-sscanf.c (struct test): Add testcase.
7347 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
7349         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7350         (NO_TEST_INLINE): Update value.
7351         (ERRNO_UNCHANGED): Likewise.
7352         (ERRNO_EDOM): Likewise.
7353         (ERRNO_ERANGE): Likewise.
7354         (IGNORE_RESULT): Likewise.
7355         (check_float_internal): Check signs of NaN results if
7356         TEST_NAN_SIGN used.
7357         (check_complex): Pass TEST_NAN_SIGN flag through to second
7358         check_float_internal call.
7359         (copysign_test_data): Add tests with quiet NaNs as second
7360         argument.  Use TEST_NAN_SIGN.
7361         (fabs_test_data): Add test of negative quiet NaN argument.  Use
7362         TEST_NAN_SIGN.
7363         (signbit_test_data): Add tests of quiet NaN argument.
7364         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7366         * math/gen-libm-test.pl (show_exceptions): Take extra argument
7367         $ignore_result.
7368         (parse_args): Handle function results specified as IGNORE.
7369         * math/libm-test.inc (IGNORE_RESULT): New macro.
7370         (check_float_internal): Do not check numerical result if flag
7371         IGNORE_RESULT set.
7372         (check_complex): Pass through IGNORE_RESULT to second
7373         check_float_internal call.
7374         (check_int): Do not check numerical result if flag IGNORE_RESULT
7375         set.
7376         (check_long): Likewise.
7377         (check_bool): Likewise.
7378         (check_longlong): Likewise.
7379         (lrint_test_data): Add tests of infinite and NaN arguments.
7380         (lrint_tonearest_test_data): Likewise.
7381         (lrint_towardzero_test_data): Likewise.
7382         (lrint_downward_test_data): Likewise.
7383         (lrint_upward_test_data): Likewise.
7384         (llrint_test_data): Likewise.
7385         (llrint_tonearest_test_data): Likewise.
7386         (llrint_towardzero_test_data): Likewise.
7387         (llrint_downward_test_data): Likewise.
7388         (llrint_upward_test_data): Likewise.
7389         (lround_test_data): Likewise.
7390         (llround_test_data): Likewise.
7392         * math/libm-test.inc (NO_TEST_INLINE): New macro.
7393         (ERRNO_UNCHANGED): Update value.
7394         (ERRNO_EDOM): Likewise.
7395         (ERRNO_ERANGE): Likewise.
7396         (NO_TEST_INLINE_FLOAT): New macro.
7397         (NO_TEST_INLINE_DOUBLE): Likewise.
7398         (enable_test): New function.
7399         (RUN_TEST_f_f): Check enable_test before running test.
7400         (RUN_TEST_2_f): Likewise.
7401         (RUN_TEST_fff_f): Likewise.
7402         (RUN_TEST_c_f): Likewise.
7403         (RUN_TEST_f_f1): Likewise.
7404         (RUN_TEST_fF_f1): Likewise.
7405         (RUN_TEST_fI_f1): Likewise.
7406         (RUN_TEST_ffI_f1): Likewise.
7407         (RUN_TEST_c_c): Likewise.
7408         (RUN_TEST_cc_c): Likewise.
7409         (RUN_TEST_f_i): Likewise.
7410         (RUN_TEST_f_i_tg): Likewise.
7411         (RUN_TEST_ff_i_tg): Likewise.
7412         (RUN_TEST_f_b): Likewise.
7413         (RUN_TEST_f_b_tg): Likewise.
7414         (RUN_TEST_f_l): Likewise.
7415         (RUN_TEST_f_L): Likewise.
7416         (RUN_TEST_fFF_11): Likewise.
7417         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7418         conditionals.
7419         (cosh_test_data): Likewise.
7420         (exp_test_data): Likewise.
7421         (expm1_test_data): Likewise.
7422         (hypot_test_data): Likewise.
7423         (pow_test_data): Likewise.
7424         (sinh_test_data): Likewise.
7425         (tanh_test_data): Likewise.
7426         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7427         flags argument.
7429         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7430         tests with quiet NaN input and output.
7431         (acosh_test_data): Likewise.
7432         (asin_test_data): Likewise.
7433         (asinh_test_data): Likewise.
7434         (atan_test_data): Likewise.
7435         (atanh_test_data): Likewise.
7436         (atan2_test_data): Likewise.
7437         (cbrt_test_data): Likewise.
7438         (cos_test_data): Likewise.
7439         (cosh_test_data): Likewise.
7440         (erf_test_data): Likewise.
7441         (erfc_test_data): Likewise.
7442         (exp_test_data): Likewise.
7443         (exp10_test_data): Likewise.
7444         (exp2_test_data): Likewise.
7445         (expm1_test_data): Likewise.
7446         (hypot_test_data): Likewise.
7447         (j0_test_data): Likewise.
7448         (j1_test_data): Likewise.
7449         (jn_test_data): Likewise.
7450         (lgamma_test_data): Likewise.
7451         (log_test_data): Likewise.
7452         (log10_test_data): Likewise.
7453         (log1p_test_data): Likewise.
7454         (log2_test_data): Likewise.
7455         (pow_test_data): Likewise.
7456         (scalb_test_data): Likewise.
7457         (sin_test_data): Likewise.
7458         (sincos_test_data): Likewise.
7459         (sinh_test_data): Likewise.
7460         (tan_test_data): Likewise.
7461         (tanh_test_data): Likewise.
7462         (tgamma_test_data): Likewise.
7463         (y0_test_data): Likewise.
7464         (y1_test_data): Likewise.
7465         (yn_test_data): Likewise.
7467         [BZ #16167]
7468         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7469         argument being NaN and avoid computations with second argument in
7470         that case.
7471         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7472         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7473         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7475 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
7477         * locale/iso-639.def: Add Chitwani Tharu (the).
7479 2013-11-14  Andreas Schwab  <schwab@suse.de>
7481         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7482         word instead of empty string.
7484 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7487         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7489         (__fe_nomask_env): Likewise.
7491 2013-11-13  Steve Ellcey  <sellcey@mips.com>
7493         * benchtests/bench-timing.h: Include time.h.
7495 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
7497         [BZ #15997]
7498         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7499         to 3.4.0 for x32.
7500         * sysdeps/unix/sysv/linux/configure: Regenerated.
7502 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
7504         [BZ #16151]
7505         * stdlib/strtod_l.c (round_and_return): Do not consider
7506         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7507         exponent one less than half the least subnormal exponent.
7508         * stdlib/test-strtod-round-data: Add more tests.
7509         * stdlib/tst-strtod-round.c (tests): Regenerated.
7511 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7513         [BZ #14143]
7514         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7515         (__fe_mask_env): Likewise.
7516         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7517         libm_hidden_proto and add function prototype.
7518         (__fe_mask_env): Add function prototype.
7519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7520         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7522         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7524         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7526 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7528         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7529         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7531 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7533         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7534         of htab_find_slot().
7536 2013-11-11  David S. Miller  <davem@davemloft.net>
7538         [BZ #16150]
7539         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7540         symbol in the non-vis3 case in static builds.
7541         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7542         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7543         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7544         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7546 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7548         [BZ #387]
7549         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7550         it is empty.
7552 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7554         * benchtests/Makefile: Add bench-strtod.
7555         * benchtests/bench-strtod.c: New file: strtod benchtest
7557 2013-11-11  Andreas Schwab  <schwab@suse.de>
7559         [BZ #16153]
7560         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7561         terminating NUL in key length.
7563 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7565         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7566         Add artificial ODP entry for vDSO symbol for PPC64.
7567         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7568         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7570 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7572         [BZ #15374]
7573         * nss/getent.c (services_keys): Recognize services starting with digit.
7575 2013-11-06  David S. Miller  <davem@davemloft.net>
7577         [BZ #15985]
7578         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7579         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7581 2013-11-06  Will Newton  <will.newton@linaro.org>
7583         * manual/memory.texi (Malloc Examples): Remove register
7584         keyword from examples.
7586 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
7588         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7590 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
7592         [BZ #6981]
7593         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7594         depending on [__GCC_IEC_559 > 0].
7595         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7596         depending on [__GCC_IEC_559_COMPLEX > 0].
7598 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
7600         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7601         to iso-639.def.
7603 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
7605         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7607 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
7609         [BZ #16112]
7610         * malloc/malloc (malloc_info): Do not handle first bin as
7611         special case.
7613 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
7615         * locale/iso-639.def: Add Central Nahuatl (nhn).
7617 2013-11-01  Bruno Haible  <bruno@clisp.org>
7619         [BZ #7003]
7620         * manual/math.texi (BSD Random): Specify range upper bound as
7621         in POSIX.
7623 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
7625         * locale/iso-639.def: Add Meadow Mari (mhr).
7627 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
7629         [BZ #14752], [BZ #15763]
7630         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7631         Validate name.
7632         * rt/tst_shm.c: Add test for escaping directory.
7634 2013-10-31  Andreas Schwab  <schwab@suse.de>
7636         [BZ #15917]
7637         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7638         followed by 'x' as part of digit sequence.
7639         * stdio-common/tst-sscanf.c (double_tests2): New tests.
7641 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7643         [BZ #16037]
7644         * configure.ac: allow GNU Make 4.0 and greater.
7645         * configure: Regenerated.
7647 2013-10-30  Will Newton  <will.newton@linaro.org>
7649         [BZ #16038]
7650         * malloc/hooks.c (memalign_check): Limit alignment to the
7651         maximum representable power of two.
7652         * malloc/malloc.c (__libc_memalign): Likewise.
7653         * malloc/tst-memalign.c (do_test): Add test for very
7654         large alignment values.
7655         * malloc/tst-posix_memalign.c (do_test): Likewise.
7657 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7659         [BZ #11087]
7660         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7661         (munmap_chunk): Likewise.
7662         (mremap_chunk): Likewise.
7664 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7666         [BZ #15799]
7667         * stdlib/div.c (div): Remove obsolete code.
7668         * stdlib/ldiv.c (ldiv): Likewise.
7669         * stdlib/lldiv.c (lldiv): Likewise.
7671 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7673         [BZ #16071]
7674         * nss/nss_files/files-XXX.c (get_contents_ret): New
7675         enumerator.
7676         (get_contents): New function.
7677         (internal_getent): Use it.  Expand size of LINEBUFLEN.
7679 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
7681         * configure.in: Moved to ...
7682         * configure.ac: ... here. Change reference to configure.in
7683         to configure.ac.
7684         * sysdeps/arm/preconfigure.ac: ... here.
7685         configure.in to configure.ac.
7686         * sysdeps/gnu/configure.in: Moved to ...
7687         * sysdeps/gnu/configure.ac: ... here.
7688         * sysdeps/i386/configure.in: Moved to ...
7689         * sysdeps/i386/configure.ac: ... here.
7690         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7691         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7692         * sysdeps/mach/configure.in: Moved to ...
7693         * sysdeps/mach/configure.ac: ... here.
7694         * sysdeps/mach/hurd/configure.in: Moved to ...
7695         * sysdeps/mach/hurd/configure.ac: ... here.
7696         * sysdeps/powerpc/configure.in: Moved to ...
7697         * sysdeps/powerpc/configure.ac: ... here.
7698         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7699         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7700         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7701         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7702         * sysdeps/s390/s390-32/configure.in: Moved to ...
7703         * sysdeps/s390/s390-32/configure.ac: ... here.
7704         * sysdeps/s390/s390-64/configure.in: Moved to ...
7705         * sysdeps/s390/s390-64/configure.ac: ... here.
7706         * sysdeps/sh/configure.in: Moved to ...
7707         * sysdeps/sh/configure.ac: ... here.
7708         * sysdeps/sparc/configure.in: Moved to ...
7709         * sysdeps/sparc/configure.ac: ... here.
7710         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7711         * sysdeps/unix/sysv/linux/configure.ac: ... here.
7712         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7713         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7714         * sysdeps/x86_64/configure.in: Moved to ...
7715         * sysdeps/x86_64/configure.ac: ... here.
7716         * sysdeps/x86_64/preconfigure.in: Moved to ...
7717         * sysdeps/x86_64/preconfigure.ac: ... here.
7718         * aclocal.m4: Change reference to configure.in to configure.ac.
7719         * config.h.in: Likewise.
7720         * manual/install.texi: Likewise.
7721         * manual/maint.texi: Likewise.
7722         * Makefile: Likewise.
7723         * malloc/Makefile: Likewise.
7724         * nscd/Makefile: Likewise.
7725         * Makeconfig: Change reference to configure.in and
7726         preconfigure.in to configure.ac and preconfigure.ac
7727         respectively.
7728         * INSTALL: Regenerated.
7729         * configure: Likewise.
7730         * sysdeps/gnu/configure: Likewise.
7731         * sysdeps/i386/configure: Likewise.
7732         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7733         * sysdeps/mach/configure: Likewise.
7734         * sysdeps/mach/hurd/configure: Likewise.
7735         * sysdeps/powerpc/configure: Likewise.
7736         * sysdeps/powerpc/powerpc32/configure: Likewise.
7737         * sysdeps/powerpc/powerpc64/configure: Likewise.
7738         * sysdeps/s390/s390-32/configure: Likewise.
7739         * sysdeps/s390/s390-64/configure: Likewise.
7740         * sysdeps/sh/configure: Likewise.
7741         * sysdeps/sparc/configure: Likewise.
7742         * sysdeps/unix/sysv/linux/configure: Likewise.
7743         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7744         * sysdeps/x86_64/configure: Likewise.
7745         * sysdeps/x86_64/preconfigure: Likewise.
7747 2013-10-29  Andreas Schwab  <schwab@suse.de>
7749         * stdio-common/Makefile (tst-swscanf-ENV): Define.
7751 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7753         * benchtests/pow-inputs: Add new inputs.
7755         * benchtests/exp-inputs: Add new inputs.
7757         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7758         conditional check for return value.
7759         (__cos32): Likewise.
7761 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7763         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7764         to provide a boost for large inputs with word alignment.
7765         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7766         implementation based on optimized PPC64 strcpy.
7767         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7768         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7769         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7770         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7772 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7774         [BZ #2801]
7775         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7777 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7779         [BZ #14876]
7780         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7781         * time/tst-strptime.c (day_tests): Add testcase.
7783 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7785         [BZ #14029]
7786         * manual/pattern.texi: Acknowledge that fnmatch can fail.
7788 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
7790         [BZ #16074]
7791         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7792         MAP_FAILED on error.
7794 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7796         [BZ #16072]
7797         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7798         heap for large requests.
7800 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
7802         [BZ #9954]
7803         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7804         result if the result has no associated interface.
7805         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7806         interface for all 127.X.Y.Z addresses.
7808 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
7810         * locale/iso-639.def: Add Ligurian (lij)
7812 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
7814         [BZ #15825]
7815         * sunrpc/rpc_main.c: Document rpcgen -5.
7817 2013-10-19  Michael Stahl  <mstahl@redhat.com>
7819         * elf/rtld.c (do_preload): Print the reason why preloading failed.
7821 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7823         [BZ #10278]
7824         * posix/glob.c: Match only directories when trailing slash is present.
7825         * posix/tst-gnuglob.c (my_opendir): Do not open files.
7826         (main): Add testcase.
7828 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7830         [BZ #15670]
7831         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7833 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
7835         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7836         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7837         AUTH_DES and cindex for FIPS 140-2.
7838         (DES Encryption): Add cindex FIPS 46-3.
7840         * locale/locarchive.h (struct locarhandle): Add fname.
7841         * locale/programs/localedef.c (main): Pass ARGV[remaining]
7842         if an optional argument was specified to --list-archive,
7843         otherwise NULL.
7844         * locale/programs/locarchive.c (show_archive_content): Take new
7845         argument fname and pass it via ah.fname to open_archive.
7846         * locale/programs/localedef.h: Update decl.
7847         (open_archive): If AH->fname is non-null, open that file
7848         rather than the default file name, and don't ignore ENOENT.
7849         (create_archive): Set AH.fname to NULL.
7850         (delete_locales_from_archive): Likewise.
7851         (add_locales_to_archive): Likewise.
7852         * locale/programs/locfile.c (write_all_categories): Likewise.
7854 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
7855             Aldy Hernandez  <aldyh@redhat.com>
7857         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7858         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7859         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7860         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7861         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7862         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7863         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7864         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7865         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7866         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7867         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7868         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7869         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7870         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7871         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7872         Likewise.
7873         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7874         Likewise.
7875         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7876         Likewise.
7877         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7878         Likewise.
7879         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7880         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7881         Likewise.
7882         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7883         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7884         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7885         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7886         Likewise.
7887         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7888         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7889         * sysdeps/powerpc/preconfigure: Likewise.
7890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7891         Likewise.
7892         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7893         Replace contents of file by #include of <fenv_libc.h>.
7894         * sysdeps/powerpc/soft-fp/sfp-machine.h
7895         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7896         and <sys/prctl.h>.
7897         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7898         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7899         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7900         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7901         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7902         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7904         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7905         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7906         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7907         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7908         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7910         Allow copysignl PLT reference to be missing.
7912 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
7913             Joseph Myers  <joseph@codesourcery.com
7915         [BZ #15948]
7916         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7917         single character.
7918         (add_to_tablewc): Assert sequence of wide characters is nonempty.
7920 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7922         * elf/tst-tls-dlinfo.c: Don't include tls.h.
7923         * elf/tst-tls1.c: Likewise.
7924         * elf/tst-tls10.h: Likewise.
7925         * elf/tst-tls14.c: Likewise.
7926         * elf/tst-tls2.c: Likewise.
7927         * elf/tst-tls3.c: Likewise.
7928         * elf/tst-tls4.c: Likewise.
7929         * elf/tst-tls5.c: Likewise.
7930         * elf/tst-tls6.c: Likewise.
7931         * elf/tst-tls7.c: Likewise.
7932         * elf/tst-tls8.c: Likewise.
7933         * elf/tst-tls9.c: Likewise.
7934         * elf/tst-tlsmod1.c: Likewise.
7935         * elf/tst-tlsmod13.c: Likewise.
7936         * elf/tst-tlsmod13a.c: Likewise.
7937         * elf/tst-tlsmod14a.c: Likewise.
7938         * elf/tst-tlsmod16a.c: Likewise.
7939         * elf/tst-tlsmod16b.c: Likewise.
7940         * elf/tst-tlsmod2.c: Likewise.
7941         * elf/tst-tlsmod3.c: Likewise.
7942         * elf/tst-tlsmod4.c: Likewise.
7943         * elf/tst-tlsmod5.c: Likewise.
7944         * elf/tst-tlsmod6.c: Likewise.
7946 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
7948         [BZ #12486]
7949         * malloc/malloc.c: remove checks for statistics.
7951 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7953         [BZ #15277]
7954         * inet/inet_net.c (inet_network): Detect additional invalid strings.
7955         * inet/tst-network.c: Add testcase.
7957 2013-10-17  Andreas Schwab  <schwab@suse.de>
7959         [BZ #15218]
7960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7961         to determine canonical name.
7963 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7965         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7966         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7967         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7968         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7969         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7970         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7971         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7972         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7973         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7974         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7975         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7976         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7977         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7978         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7979         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7980         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7981         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7982         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7983         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7984         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7985         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7986         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7987         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7988         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7989         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7990         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7991         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7992         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7993         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7994         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7995         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7996         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7997         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7998         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7999         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8000         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8001         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8002         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8003         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8004         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8005         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8006         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8007         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8008         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8009         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8010         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8011         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8012         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8013         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8014         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8015         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8016         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8017         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8018         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8019         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8020         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8021         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8022         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8024 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
8026         [BZ #16041]
8027         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8028         make result into a quiet NaN.
8030 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
8032         * soft-fp/adddf3.c: Fix horizontal whitespace.
8033         * soft-fp/addsf3.c: Likewise.
8034         * soft-fp/addtf3.c: Likewise.
8035         * soft-fp/divdf3.c: Likewise.
8036         * soft-fp/divsf3.c: Likewise.
8037         * soft-fp/divtf3.c: Likewise.
8038         * soft-fp/double.h: Likewise.
8039         * soft-fp/eqdf2.c: Likewise.
8040         * soft-fp/eqsf2.c: Likewise.
8041         * soft-fp/eqtf2.c: Likewise.
8042         * soft-fp/extenddftf2.c: Likewise.
8043         * soft-fp/extended.h: Likewise.
8044         * soft-fp/extendsfdf2.c: Likewise.
8045         * soft-fp/extendsftf2.c: Likewise.
8046         * soft-fp/extendxftf2.c: Likewise.
8047         * soft-fp/fixdfdi.c: Likewise.
8048         * soft-fp/fixdfsi.c: Likewise.
8049         * soft-fp/fixdfti.c: Likewise.
8050         * soft-fp/fixsfdi.c: Likewise.
8051         * soft-fp/fixsfsi.c: Likewise.
8052         * soft-fp/fixsfti.c: Likewise.
8053         * soft-fp/fixtfdi.c: Likewise.
8054         * soft-fp/fixtfsi.c: Likewise.
8055         * soft-fp/fixtfti.c: Likewise.
8056         * soft-fp/fixunsdfdi.c: Likewise.
8057         * soft-fp/fixunsdfsi.c: Likewise.
8058         * soft-fp/fixunsdfti.c: Likewise.
8059         * soft-fp/fixunssfdi.c: Likewise.
8060         * soft-fp/fixunssfsi.c: Likewise.
8061         * soft-fp/fixunssfti.c: Likewise.
8062         * soft-fp/fixunstfdi.c: Likewise.
8063         * soft-fp/fixunstfsi.c: Likewise.
8064         * soft-fp/fixunstfti.c: Likewise.
8065         * soft-fp/floatdidf.c: Likewise.
8066         * soft-fp/floatdisf.c: Likewise.
8067         * soft-fp/floatditf.c: Likewise.
8068         * soft-fp/floatsidf.c: Likewise.
8069         * soft-fp/floatsisf.c: Likewise.
8070         * soft-fp/floatsitf.c: Likewise.
8071         * soft-fp/floattidf.c: Likewise.
8072         * soft-fp/floattisf.c: Likewise.
8073         * soft-fp/floattitf.c: Likewise.
8074         * soft-fp/floatundidf.c: Likewise.
8075         * soft-fp/floatundisf.c: Likewise.
8076         * soft-fp/floatunditf.c: Likewise.
8077         * soft-fp/floatunsidf.c: Likewise.
8078         * soft-fp/floatunsisf.c: Likewise.
8079         * soft-fp/floatunsitf.c: Likewise.
8080         * soft-fp/floatuntidf.c: Likewise.
8081         * soft-fp/floatuntisf.c: Likewise.
8082         * soft-fp/floatuntitf.c: Likewise.
8083         * soft-fp/fmadf4.c: Likewise.
8084         * soft-fp/fmasf4.c: Likewise.
8085         * soft-fp/fmatf4.c: Likewise.
8086         * soft-fp/gedf2.c: Likewise.
8087         * soft-fp/gesf2.c: Likewise.
8088         * soft-fp/getf2.c: Likewise.
8089         * soft-fp/ledf2.c: Likewise.
8090         * soft-fp/lesf2.c: Likewise.
8091         * soft-fp/letf2.c: Likewise.
8092         * soft-fp/muldf3.c: Likewise.
8093         * soft-fp/mulsf3.c: Likewise.
8094         * soft-fp/multf3.c: Likewise.
8095         * soft-fp/negdf2.c: Likewise.
8096         * soft-fp/negsf2.c: Likewise.
8097         * soft-fp/negtf2.c: Likewise.
8098         * soft-fp/op-1.h: Likewise.
8099         * soft-fp/op-2.h: Likewise.
8100         * soft-fp/op-4.h: Likewise.
8101         * soft-fp/op-8.h: Likewise.
8102         * soft-fp/op-common.h: Likewise.
8103         * soft-fp/quad.h: Likewise.
8104         * soft-fp/single.h: Likewise.
8105         * soft-fp/soft-fp.h: Likewise.
8106         * soft-fp/sqrtdf2.c: Likewise.
8107         * soft-fp/sqrtsf2.c: Likewise.
8108         * soft-fp/sqrttf2.c: Likewise.
8109         * soft-fp/subdf3.c: Likewise.
8110         * soft-fp/subsf3.c: Likewise.
8111         * soft-fp/subtf3.c: Likewise.
8112         * soft-fp/truncdfsf2.c: Likewise.
8113         * soft-fp/trunctfdf2.c: Likewise.
8114         * soft-fp/trunctfsf2.c: Likewise.
8115         * soft-fp/trunctfxf2.c: Likewise.
8116         * soft-fp/unorddf2.c: Likewise.
8117         * soft-fp/unordsf2.c: Likewise.
8118         * soft-fp/unordtf2.c: Likewise.
8120 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
8122         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8123         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8125 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
8127         * elf/dl-libc.c: Clear initfini list after freeing.
8129 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
8131         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8132         * soft-fp/addsf3.c: Likewise.
8133         * soft-fp/addtf3.c: Likewise.
8134         * soft-fp/divdf3.c: Likewise.
8135         * soft-fp/divsf3.c: Likewise.
8136         * soft-fp/divtf3.c: Likewise.
8137         * soft-fp/double.h: Likewise.
8138         * soft-fp/eqdf2.c: Likewise.
8139         * soft-fp/eqsf2.c: Likewise.
8140         * soft-fp/eqtf2.c: Likewise.
8141         * soft-fp/extenddftf2.c: Likewise.
8142         * soft-fp/extended.h: Likewise.
8143         * soft-fp/extendsfdf2.c: Likewise.
8144         * soft-fp/extendsftf2.c: Likewise.
8145         * soft-fp/extendxftf2.c: Likewise.
8146         * soft-fp/fixdfdi.c: Likewise.
8147         * soft-fp/fixdfsi.c: Likewise.
8148         * soft-fp/fixdfti.c: Likewise.
8149         * soft-fp/fixsfdi.c: Likewise.
8150         * soft-fp/fixsfsi.c: Likewise.
8151         * soft-fp/fixsfti.c: Likewise.
8152         * soft-fp/fixtfdi.c: Likewise.
8153         * soft-fp/fixtfsi.c: Likewise.
8154         * soft-fp/fixtfti.c: Likewise.
8155         * soft-fp/fixunsdfdi.c: Likewise.
8156         * soft-fp/fixunsdfsi.c: Likewise.
8157         * soft-fp/fixunsdfti.c: Likewise.
8158         * soft-fp/fixunssfdi.c: Likewise.
8159         * soft-fp/fixunssfsi.c: Likewise.
8160         * soft-fp/fixunssfti.c: Likewise.
8161         * soft-fp/fixunstfdi.c: Likewise.
8162         * soft-fp/fixunstfsi.c: Likewise.
8163         * soft-fp/fixunstfti.c: Likewise.
8164         * soft-fp/floatdidf.c: Likewise.
8165         * soft-fp/floatdisf.c: Likewise.
8166         * soft-fp/floatditf.c: Likewise.
8167         * soft-fp/floatsidf.c: Likewise.
8168         * soft-fp/floatsisf.c: Likewise.
8169         * soft-fp/floatsitf.c: Likewise.
8170         * soft-fp/floattidf.c: Likewise.
8171         * soft-fp/floattisf.c: Likewise.
8172         * soft-fp/floattitf.c: Likewise.
8173         * soft-fp/floatundidf.c: Likewise.
8174         * soft-fp/floatundisf.c: Likewise.
8175         * soft-fp/floatunsidf.c: Likewise.
8176         * soft-fp/floatunsisf.c: Likewise.
8177         * soft-fp/floatuntidf.c: Likewise.
8178         * soft-fp/floatuntisf.c: Likewise.
8179         * soft-fp/floatuntitf.c: Likewise.
8180         * soft-fp/fmadf4.c: Likewise.
8181         * soft-fp/fmasf4.c: Likewise.
8182         * soft-fp/fmatf4.c: Likewise.
8183         * soft-fp/gedf2.c: Likewise.
8184         * soft-fp/gesf2.c: Likewise.
8185         * soft-fp/getf2.c: Likewise.
8186         * soft-fp/ledf2.c: Likewise.
8187         * soft-fp/lesf2.c: Likewise.
8188         * soft-fp/letf2.c: Likewise.
8189         * soft-fp/muldf3.c: Likewise.
8190         * soft-fp/mulsf3.c: Likewise.
8191         * soft-fp/multf3.c: Likewise.
8192         * soft-fp/negdf2.c: Likewise.
8193         * soft-fp/negsf2.c: Likewise.
8194         * soft-fp/negtf2.c: Likewise.
8195         * soft-fp/op-1.h: Likewise.
8196         * soft-fp/op-2.h: Likewise.
8197         * soft-fp/op-4.h: Likewise.
8198         * soft-fp/op-8.h: Likewise.
8199         * soft-fp/op-common.h: Likewise.
8200         * soft-fp/quad.h: Likewise.
8201         * soft-fp/single.h: Likewise.
8202         * soft-fp/soft-fp.h: Likewise.
8203         * soft-fp/sqrtdf2.c: Likewise.
8204         * soft-fp/sqrtsf2.c: Likewise.
8205         * soft-fp/sqrttf2.c: Likewise.
8206         * soft-fp/subdf3.c: Likewise.
8207         * soft-fp/subsf3.c: Likewise.
8208         * soft-fp/subtf3.c: Likewise.
8209         * soft-fp/truncdfsf2.c: Likewise.
8210         * soft-fp/trunctfdf2.c: Likewise.
8211         * soft-fp/trunctfsf2.c: Likewise.
8212         * soft-fp/trunctfxf2.c: Likewise.
8213         * soft-fp/unorddf2.c: Likewise.
8214         * soft-fp/unordsf2.c: Likewise.
8215         * soft-fp/unordtf2.c: Likewise.
8217 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
8219         [BZ #15672]
8220         * misc/error.c (error_tail): Fix possible buffer overflow.
8222 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
8224         [BZ #13028]
8225         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8226         address.
8228 2013-10-14  P. J. McDermott  <pj@pehjota.net>
8230         [BZ #832]
8231         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
8232         testing pipefail option.
8234 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8236         * soft-fp/double.h: Indent preprocessor directives inside #if.
8237         * soft-fp/extended.h: Likewise.
8238         * soft-fp/op-2.h: Likewise.
8239         * soft-fp/op-4.h: Likewise.
8240         * soft-fp/op-common.h: Likewise.
8241         * soft-fp/quad.h: Likewise.
8242         * soft-fp/single.h: Likewise.
8243         * soft-fp/soft-fp.h: Likewise.
8245 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
8247         * iconv/iconv_prog.c: Fix typos.
8248         * stdio-common/psiginfo-data.h: Likewise.
8250 2013-10-12   Reuben Thomas <rrt@sc3d.org>
8252         [BZ #15764]
8253         * locale/setlocale.c: Fix typo.
8255 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8257         [BZ #16036]
8258         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8259         signaling NaN arguments.
8260         * soft-fp/unordsf2.c (__unordsf2): Likewise.
8261         * soft-fp/unordtf2.c (__unordtf2): Likewise.
8263         [BZ #14910]
8264         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8265         unordered operands.
8266         * soft-fp/gesf2.c (__gesf2): Likewise.
8267         * soft-fp/getf2.c (__getf2): Likewise.
8268         * soft-fp/ledf2.c (__ledf2): Likewise.
8269         * soft-fp/lesf2.c (__lesf2): Likewise.
8270         * soft-fp/letf2.c (__letf2): Likewise.
8272         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8273         * soft-fp/eqsf2.c (__eqsf2): Likewise.
8274         * soft-fp/eqtf2.c (__eqtf2): Likewise.
8275         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8276         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8277         * soft-fp/fixdfti.c (__fixdfti): Likewise.
8278         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8279         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8280         * soft-fp/fixsfti.c (__fixsfti): Likewise.
8281         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8282         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8283         * soft-fp/fixtfti.c (__fixtfti): Likewise.
8284         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8285         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8286         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8287         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8288         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8289         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8290         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8291         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8292         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8293         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8294         * soft-fp/floatdisf.c (__floatdisf): Likewise.
8295         * soft-fp/floatsisf.c (__floatsisf): Likewise.
8296         * soft-fp/floattidf.c (__floattidf): Likewise.
8297         * soft-fp/floattisf.c (__floattisf): Likewise.
8298         * soft-fp/floattitf.c (__floattitf): Likewise.
8299         * soft-fp/floatundidf.c (__floatundidf): Likewise.
8300         * soft-fp/floatundisf.c (__floatundisf): Likewise.
8301         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8302         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8303         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8304         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8305         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8306         * soft-fp/gesf2.c (__gesf2): Likewise.
8307         * soft-fp/getf2.c (__getf2): Likewise.
8308         * soft-fp/ledf2.c (__ledf2): Likewise.
8309         * soft-fp/lesf2.c (__lesf2): Likewise.
8310         * soft-fp/letf2.c (__letf2): Likewise.
8312         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8313         Undefine and redefine.
8314         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8315         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8316         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8317         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8318         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8319         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8320         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8321         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8322         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8323         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8324         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8325         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8326         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8327         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8328         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8330         [BZ #16032]
8331         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8332         without decrementing exponent if mantissa >= that for the
8333         denominator, not >.
8334         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8335         denominator, not >.  Decrement exponent in < case instead of
8336         incrementing in >= case.
8337         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8338         without decrementing exponent if mantissa >= that for the
8339         denominator, not >.
8341         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8342         computing saturated result for unsigned overflow.
8344 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8345             Jeff Law  <law@redhat.com>
8347         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8348         (atan2Mp): Add systemtap probe marker.
8349         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8350         (__ieee754_log): Add systemtap probe marker.
8351         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8352         (atanMp): Add systemtap probe marker.
8353         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8354         (tanMp): Add systemtap probe marker.
8355         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8356         (__slowexp): Add systemtap probe marker.
8357         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8358         (__slowpow): Add systemtap probe marker.
8359         * manual/probes.texi: Document probes.
8361 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
8363         [BZ #15362]
8364         * libio/fileops.c (_IO_new_file_write): Return count of bytes
8365         written.
8366         (_IO_new_file_xsputn): Don't return EOF if nothing has been
8367         written.
8368         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8369         written to buffer but not flushed.
8370         * libio/iofwrite_u.c:  Likewise.
8371         * libio/iopadn.c:  Return bytes returned even if EOF was
8372         encountered.
8373         * libio/iowpadn.c:  Likewise.
8374         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8375         if _IO_padn does not write the whole buffer.
8376         [!COMPILE_WPRINTF] (PAD): Likewise.
8378 2013-10-10  David S. Miller  <davem@davemloft.net>
8380         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8381         directory block.
8383 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8385         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
8386         instead of FSF address.
8387         * soft-fp/fixdfti.c: Likewise.
8388         * soft-fp/fixsfti.c: Likewise.
8389         * soft-fp/fixtfti.c: Likewise.
8390         * soft-fp/fixunsdfti.c: Likewise.
8391         * soft-fp/fixunssfti.c: Likewise.
8392         * soft-fp/fixunstfti.c: Likewise.
8393         * soft-fp/floattidf.c: Likewise.
8394         * soft-fp/floattisf.c: Likewise.
8395         * soft-fp/floattitf.c: Likewise.
8396         * soft-fp/floatuntidf.c: Likewise.
8397         * soft-fp/floatuntisf.c: Likewise.
8398         * soft-fp/floatuntitf.c: Likewise.
8399         * soft-fp/trunctfxf2.c: Likewise.
8401         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
8402         * soft-fp/fixdfti.c: Likewise.
8403         * soft-fp/fixsfti.c: Likewise.
8404         * soft-fp/fixtfti.c: Likewise.
8405         * soft-fp/fixunsdfti.c: Likewise.
8406         * soft-fp/fixunssfti.c: Likewise.
8407         * soft-fp/fixunstfti.c: Likewise.
8408         * soft-fp/floattidf.c: Likewise.
8409         * soft-fp/floattisf.c: Likewise.
8410         * soft-fp/floattitf.c: Likewise.
8411         * soft-fp/floatuntidf.c: Likewise.
8412         * soft-fp/floatuntisf.c: Likewise.
8413         * soft-fp/floatuntitf.c: Likewise.
8414         * soft-fp/trunctfxf2.c: Likewise.
8416 2013-10-10  David S. Miller  <davem@davemloft.net>
8418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8420 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
8422         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8423         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8424         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8425         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8426         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8427         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8428         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8430         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8431         for NaNs before doing comparisons on argument.
8432         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8433         Likewise.
8435 2013-10-10  Will Newton  <will.newton@linaro.org>
8437         * malloc/hooks.c (memalign_check): Ensure the value of bytes
8438         passed to _int_memalign does not overflow.
8440 2013-10-10  Torvald Riegel  <triegel@redhat.com>
8442         * scripts/bench.pl: Add include-sources directive.
8443         * benchtests/README: Update documentation.
8445 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8447         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8448         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8449         instead of FP_INIT_ROUNDMODE.
8450         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8451         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8453         [BZ #16034]
8454         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
8455         copy class of input value.
8456         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
8457         not handle exceptions.
8458         * soft-fp/negsf2.c (__negsf2): Likewise.
8459         * soft-fp/negtf2.c (__negtf2): Likewise.
8460         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8462 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
8464         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8465         semicolon.  From Linux kernel.
8467 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
8469         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8471 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
8473         [BZ #156]
8474         * manual/socket.texi: Added statement about buffer
8475         for gethostbyname2_r.
8477 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
8479         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8480         Use .p2align directive instead, throughout.
8481         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8482         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8483         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8484         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8485         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8486         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8487         * sysdeps/x86_64/strchr.S: Likewise.
8488         * sysdeps/x86_64/strrchr.S: Likewise.
8490 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8492         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8494         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8496         * sysdeps/generic/math_private.h (__mpsin1): Remove
8497         declaration.
8498         (__mpcos1): Likewise.
8499         (__mpsin): New argument __range_reduce.
8500         (__mpcos): Likewise.
8501         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8502         (slow): Use __mpsin and __mpcos.
8503         (slow1): Likewise.
8504         (slow2): Likewise.
8505         (sloww): Likewise.
8506         (sloww1): Likewise.
8507         (sloww2): Likewise.
8508         (bsloww): Likewise.
8509         (bsloww1): Likewise.
8510         (bsloww2): Likewise.
8511         (cslow2): Likewise.
8512         (csloww): Likewise.
8513         (csloww1): Likewise.
8514         (csloww2): Likewise.
8515         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8516         range_reduce.  Merge in __mpsin1.
8517         (__mpcos): Likewise.
8518         (__mpsin1): Remove.
8519         (__mpcos1): Likewise.
8521 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
8523         * locale/loadlocale.c (_nl_intern_locale_data): Use
8524         LOCFILE_ALIGNED_P.
8525         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8526         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8527         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8528         obstack data is appropriately aligned.
8529         (obstack_int32_grow_fast): Likewise.
8530         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8531         * locale/programs/locfile.c (add_locale_uint32): Likewise.
8532         (add_locale_uint32_array): Likewise.
8534 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8536         * benchtests/Makefile: Remove ARGLIST and RET variables.
8537         ($(objpfx)bench-%.c): Pass only function name to the script.
8538         * benchtests/README: Update documentation.
8539         * benchtests/acos-inputs: Add new directives.
8540         * benchtests/acosh-inputs: Likewise.
8541         * benchtests/asin-inputs: Likewise.
8542         * benchtests/asinh-inputs: Likewise.
8543         * benchtests/atan-inputs: Likewise.
8544         * benchtests/atanh-inputs: Likewise.
8545         * benchtests/cos-inputs: Likewise.
8546         * benchtests/cosh-inputs: Likewise.
8547         * benchtests/exp-inputs: Likewise.
8548         * benchtests/log-inputs: Likewise.
8549         * benchtests/pow-inputs: Likewise.
8550         * benchtests/rint-inputs: Likewise.
8551         * benchtests/sin-inputs: Likewise.
8552         * benchtests/sinh-inputs: Likewise.
8553         * benchtests/tan-inputs: Likewise.
8554         * benchtests/tanh-inputs: Likewise.
8555         * scripts/bench.pl: Add support for new directives.
8557 2013-10-07  Alan Modra  <amodra@gmail.com>
8559         * README: Fix careless merge.
8561 2013-10-05  Alan Modra  <amodra@gmail.com>
8563         * NEWS: Mention powerpc64le support and bugs fixed.
8564         * README: Both big-endian and little-endian powerpc64 supported.
8566 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8568         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8569         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8570         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8571         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8573 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
8575         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8576         match prototype.
8578 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
8580         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8581         Move -mhard-float appending from
8582         ports/sysdeps/powerpc/powerpc32/Makefile.
8583         [$(with-fp) = yes] (ASFLAGS): Likewise.
8584         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8585         * sysdeps/powerpc/nofpu: Move directory from
8586         ports/sysdeps/powerpc/nofpu.
8587         * sysdeps/powerpc/soft-fp: Move directory from
8588         ports/sysdeps/powerpc/soft-fp.
8589         * sysdeps/powerpc/powerpc32/405: Move directory from
8590         ports/sysdeps/powerpc/powerpc32/405.
8591         * sysdeps/powerpc/powerpc32/440: Move directory from
8592         ports/sysdeps/powerpc/powerpc32/440.
8593         * sysdeps/powerpc/powerpc32/464: Move directory from
8594         ports/sysdeps/powerpc/powerpc32/464.
8595         * sysdeps/powerpc/powerpc32/476: Move directory from
8596         ports/sysdeps/powerpc/powerpc32/476.
8597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8598         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8600         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8602         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8604         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8606         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8607         * README: Update for powerpc-*-linux-gnu software floating point
8608         support in libc.
8610         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8611         case to powerpc/powerpc32*.
8612         * sysdeps/unix/sysv/linux/configure: Regenerated.
8614         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8615         (_FPU_MASK_OM): Define as 0x04.
8616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8618         0x00c10080.
8619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8620         0x0000003c.
8621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8624         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8625         getcontext_e500.
8626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8627         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8628         setcontext_e500.
8629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8630         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8631         and setcontext_e500.
8633 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
8635         * locale/iso-3166.def: Update iso-1366.def and related occurrences
8637 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8639         * manual/threads.texi (Default Thread Attributes): Fix typo.
8641 2013-10-04  Will Newton  <will.newton@linaro.org>
8643         * malloc/Makefile: Add tst-memalign.
8644         * malloc/tst-memalign.c: New file.
8646         * malloc/tst-posix_memalign.c: Add comments.
8647         (do_test): Add comments and call free on all potentially
8648         allocated pointers. Add space after cast.
8650         * malloc/tst-pvalloc.c: Add comments.
8651         (do_test): Add comments and call free on all potentially
8652         allocated pointers. Remove duplicate check for NULL pointer.
8653         Add space after cast.
8655         * malloc/tst-valloc.c: Add comments.
8656         (do_test): Add comments and call free on all potentially
8657         allocated pointers. Remove duplicate check for NULL pointer.
8658         Add space after cast.
8660 2013-10-04  Alan Modra  <amodra@gmail.com>
8662         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8663         Use stdint types in rather than __attribute__((mode())).
8664         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8666 2013-10-04  Alan Modra  <amodra@gmail.com>
8668         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8669         Correct handling of unaligned relocs for little-endian.
8670         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8672 2013-10-04  Alan Modra  <amodra@gmail.com>
8674         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8675         * configure: Regenerate.
8676         * nptl/shlib-versions: Powerpc*le starts at 2.18.
8677         * shlib-versions: Likewise.
8679 2013-10-04  Alan Modra  <amodra@gmail.com>
8681         * string/tester.c (test_memrchr): Increment reported test cycle.
8683 2013-10-04  Alan Modra  <amodra@gmail.com>
8685         * string/test-memcpy.c (do_one_test): When reporting errors, print
8686         string address and don't overrun end of string.
8688 2013-10-04  Alan Modra  <amodra@gmail.com>
8690         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8691         insrdi.  Make better use of reg selection to speed exit slightly.
8692         Schedule entry path a little better.  Remove useless "are we done"
8693         checks on entry to main loop.  Handle wrapping around zero address.
8694         Correct main loop count.  Handle single left-over word from main
8695         loop inline rather than by using loop_small.  Remove extra word
8696         case in loop_small caused by wrong loop count.  Add little-endian
8697         support.
8698         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8699         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
8700         cache hint.
8701         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8702         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8703         support.  Avoid rlwimi.
8704         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8706 2013-10-04  Alan Modra  <amodra@gmail.com>
8708         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8709         insrdi.  Formatting.
8710         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8711         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8712         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8713         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8714         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8715         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8717 2013-10-04  Alan Modra  <amodra@gmail.com>
8719         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8720         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8721         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8722         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8723         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8724         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8725         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8726         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8727         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
8728         use of regs.  Use power7 mtocrf.  Tidy function tails.
8730 2013-10-04  Alan Modra  <amodra@gmail.com>
8732         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8733         Formatting.  Consistently use rXXX register defines or rN defines.
8734         Use early exit labels that avoid restoring unused non-volatile regs.
8735         Make cr field use more consistent with rWORDn compares.  Rename
8736         regs used as shift registers for unaligned loop, using rN defines
8737         for short lifetime/multiple use regs.
8738         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8739         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
8740         addi 1,1,64 to pop stack frame.  Simplify return value code.
8741         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8743 2013-10-04  Alan Modra  <amodra@gmail.com>
8745         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8746         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
8747         rather than rlwimi.
8748         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8749         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8750         little-endian support.  Correct typos.
8751         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
8752         rather than rlwimi.
8753         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
8754         in loop and entry code to keep "and." results.
8755         (strchr): Add little-endian support.  Comment.  Move cntlzd
8756         earlier in tail.
8757         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8759 2013-10-04  Alan Modra  <amodra@gmail.com>
8761         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8762         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8763         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8764         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8766 2013-10-04  Alan Modra  <amodra@gmail.com>
8768         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8769         (rTMP): Define as r11.
8770         (strcmp): Add little-endian support.  Optimise tail.
8771         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8772         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8773         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8774         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8775         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8776         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8777         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8779 2013-10-04  Alan Modra  <amodra@gmail.com>
8781         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8782         little-endian support.  Remove unnecessary "are we done" tests.
8783         Handle "s" wrapping around zero and extremely large "size".
8784         Correct main loop count.  Handle single left-over word from main
8785         loop inline rather than by using small_loop.  Correct comments.
8786         Delete "zero" tail, use "end_max" instead.
8787         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8789 2013-10-04  Alan Modra  <amodra@gmail.com>
8791         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8792         support.  Don't branch over align.
8793         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8794         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8795         support.  Rearrange tmp reg use to suit.  Comment.
8796         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8798 2013-10-04  Alan Modra  <amodra@gmail.com>
8800         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8802 2013-10-04  Alan Modra  <amodra@gmail.com>
8804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8805         conditional form of branch and link when obtaining pc.
8806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8808 2013-10-04  Alan Modra  <amodra@gmail.com>
8810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8811         HIWORD/LOWORD.
8812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8815 2013-10-04  Alan Modra  <amodra@gmail.com>
8817         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8818         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8819         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8820         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8821         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8822         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8823         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8824         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8825         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8826         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8828 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8829             Alistair Popple <alistair@ozlabs.au.ibm.com>
8830             Alan Modra <amodra@gmail.com>
8832         [BZ #15723]
8833         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8834         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8835         _dl_hwcap access for little-endian.
8836         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
8837         destroy vmx regs when saving unaligned.
8838         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8839         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
8840         destroy vmx regs when saving unaligned.
8842 2013-10-04  Alan Modra  <amodra@gmail.com>
8844         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8845         Don't use a union to pack hi/low value.
8847 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8849         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8850         for little-endian.
8851         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8852         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8853         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8854         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8855         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8857 2013-10-04  Alan Modra  <amodra@gmail.com>
8859         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8860         constants to usual value for .cst8 section, and remove redundant
8861         high address load.
8862         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8863         constant for 0x1p52.  Load little-endian words of double from
8864         correct stack offsets.
8866 2013-10-04  Alan Modra  <amodra@gmail.com>
8868         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8869         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8870         words of double from correct stack offsets.
8871         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8872         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8873         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8874         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8875         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8876         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8877         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8878         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8879         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8880         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8881         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8882         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8883         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8884         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8885         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8886         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8887         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8889 2013-10-04  Alan Modra  <amodra@gmail.com>
8891         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8892         64-bit int/double union.
8893         (_FPU_SETCW): Likewise.
8894         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8895         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8897 2013-10-04  Alan Modra  <amodra@gmail.com>
8899         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8900         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8902 2013-10-04  Alan Modra  <amodra@gmail.com>
8904         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8905         use vector int constants.
8906         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8908 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8910         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8911         array with long long.
8912         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8913         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8914         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8915         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8916         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8917         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8918         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8919         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8920         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8921         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8922         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8923         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8924         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8926 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8928         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8929         (__signbit): Likewise.  Correct for little-endian.
8930         (__signbitl): Call __signbit.
8931         (lrint): Correct for little-endian.
8932         (lrintf): Call lrint.
8934 2013-10-04  Alan Modra  <amodra@gmail.com>
8936         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8937         union 32-bit int array member with 64-bit int array.
8938         (t515, tm256): Double rather than long double.
8939         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8941 2013-10-04  Alan Modra  <amodra@gmail.com>
8943         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8944         Delete.
8945         (IEEE854_LONG_DOUBLE_BIAS): Delete.
8946         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8947         version of math_ldbl.h.
8949 2013-10-04  Alan Modra  <amodra@gmail.com>
8951         [BZ #15734], [BZ #15735]
8952         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8953         all uses of ieee875 long double macros and unions.  Simplify test
8954         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
8955         ldbl_extract_mantissa value for ix,iy exponents.  Properly
8956         normalize after ldbl_extract_mantissa, and don't add hidden bit
8957         already handled.  Don't treat low word of ieee854 mantissa like
8958         low word of IBM long double and mask off bit when testing for
8959         zero.
8960         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8961         all uses of ieee875 long double macros and unions.  Simplify tests
8962         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
8963         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
8964         two1022, instead use their values.  Recognise that tests for large
8965         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
8966         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8967         Rewrite all uses of ieee875 long double macros and unions.  Simplify
8968         test for 0.0L and nan.  Correct negation.
8969         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8970         ieee875 long double macros and unions.  Correct output for large
8971         magnitude x.  Correct absolute value calculation.
8972         (__erfcl): Likewise.
8973         * math/libm-test.inc: Add tests for errors discovered in IBM long
8974         double versions of fmodl, remainderl, erfl and erfcl.
8976 2013-10-04  Alan Modra  <amodra@gmail.com>
8978         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8979         all uses of ieee854 long double macros and unions.  Simplify tests
8980         for long doubles that are fully specified by the high double.
8981         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8982         Likewise.
8983         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8984         Remove dead code too.
8985         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8986         (__ieee754_ynl): Likewise.
8987         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8988         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8989         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8990         Remove dead code too.
8991         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8992         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8993         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8994         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8995         Simplify.
8996         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8997         Simplify.
8998         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8999         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9000         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9001         Comment on variable precision.
9002         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9003         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9004         Likewise.
9005         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9006         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9007         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9008         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9009         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9011 2013-10-04  Alan Modra  <amodra@gmail.com>
9013         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9014         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9015         all uses of ieee854 long double macros and unions.
9016         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9017         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9018         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9019         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9020         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9021         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9022         Likewise.
9023         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9024         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9025         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9026         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9027         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9028         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9029         Simplify sign and nan test too.
9030         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9031         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9032         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9033         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9034         Likewise.
9035         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9036         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9037         Likewise.
9038         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9039         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9040         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9041         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9042         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9043         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9045 2013-10-04  Alan Modra  <amodra@gmail.com>
9047         * stdio-common/printf_size.c (__printf_size): Don't use
9048         union ieee854_long_double in fpnum union.
9049         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
9050         signbit macro to retrieve sign from long double.
9051         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9052         retrieve sign from long double.
9053         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9054         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9055         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9056         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9057         * math/test-misc.c (main): Don't use union ieee854_long_double.
9059 2013-10-04  Alan Modra  <amodra@gmail.com>
9061         [BZ #15680]
9062         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9063         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9064         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9065         calculation.  Remove unnecessary test for denormal exponent.
9066         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9067         Correct handling of denormals.  Avoid undefined shift behaviour.
9068         Correct normalisation of low mantissa when low double is denormal.
9069         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9070         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
9071         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9072         Correct normalisation of low mantissa.  Test for overflow of high
9073         mantissa and normalise.
9074         (ldbl_nearbyint): Use more readable constant for two52.
9075         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9076         (__mpn_construct_long_double): Fix test for overflow of high
9077         mantissa and correct normalisation.  Avoid undefined shift.
9079 2013-10-04  Alan Modra  <amodra@gmail.com>
9081         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9082         (union ibm_extended_long_double): Define as an array of ieee754_double.
9083         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9084         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9085         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9086         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9087         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9088         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9089         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9090         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9091         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9092         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9093         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9095 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
9097         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9098         page size instead of calling getpagesize.
9100         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9101         (LOCFILE_ALIGN_MASK): Likewise.
9102         (LOCFILE_ALIGN_UP): Likewise.
9103         (LOCFILE_ALIGNED_P): Likewise.
9104         * locale/programs/ld-collate.c (collate_output): Use the new
9105         macros instead of __alignof__ (int32_t).
9106         * locale/weight.h (findidx): Likewise.
9108 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
9110         [BZ #431]
9111         * manual/string.texi: Fix strncat and wcsncat.
9113 2013-10-03  Brooks Moses  <bmoses@google.com>
9115         [BZ #15915]
9116         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9117         * Makerules: ...here, and adjust associated comments.
9119 2013-10-02  Will Newton  <will.newton@linaro.org>
9121         * malloc/Makefile: Add tst-pvalloc.
9122         * malloc/tst-pvalloc.c: New file.
9124 2013-10-02  Will Newton  <will.newton@linaro.org>
9126         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9127         improve test coverage.
9129 2013-10-02  Will Newton  <will.newton@linaro.org>
9131         * malloc/Makefile: Add tst-posix_memalign.
9132         * malloc/tst-posix_memalign.c: New file.
9134 2013-10-01  Eric Blake  <eblake@redhat.com>
9136         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9137         Use __THROWNL rather than __THROW on static functions.
9139 2013-09-30  Petr Machata  <pmachata@redhat.com>
9141         * elf/elf.h (R_AARCH64_ABS16): New macro.
9142         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9143         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9144         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9145         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9146         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9147         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9148         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9149         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9150         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9151         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9152         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9153         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9154         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9155         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9156         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9157         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9158         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9159         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9160         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9161         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9162         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9163         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9164         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9165         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9166         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9167         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9168         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9169         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9170         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9171         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9172         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9173         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9174         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9175         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9176         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9177         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9178         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9179         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9180         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9181         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9182         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9183         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9184         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9185         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9186         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9187         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9188         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9189         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9190         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9191         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9192         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9193         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9194         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9195         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9196         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9197         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9198         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9199         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9200         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9201         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9202         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9203         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9204         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9205         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9206         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9207         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9208         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9209         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9210         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9211         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9212         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9213         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9214         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9215         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9216         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9217         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9218         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9219         (R_AARCH64_TLSDESC_LDR): Likewise.
9220         (R_AARCH64_TLSDESC_ADD): Likewise.
9221         (R_AARCH64_TLSDESC_CALL): Likewise.
9223 2013-09-30  Andreas Schwab  <schwab@suse.de>
9225         [BZ #15048]
9226         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9227         the nss database lookup.
9228         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9231 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
9233         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9235 2013-09-28  P. J. McDermott  <pj@pehjota.net>
9237         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9238         ${Bash-specific parameter/pattern/string} parameter expansion.
9239         * sysdeps/unix/make-syscalls.sh: Likewise.
9241 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9243         * sysdeps/sh/stackguard-macros.h: New file.
9245 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
9247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9249         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9250         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9251         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9252         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9254 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9256         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9257         Fix thread ID register.
9259 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
9261         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9262         [POSIX || UNIX98]: Require rather than permitting all symbols from
9263         <time.h>.
9264         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9265         element of struct sched_param.
9266         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9267         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9268         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9269         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9270         constant.
9272 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
9274         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9275         argument calculation.
9277 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9279         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9280         Expect macro.
9281         [POSIX] (pthread_attr_t): Do not require type.
9282         [POSIX] (pthread_cond_t): Likewise.
9283         [POSIX] (pthread_condattr_t): Likewise.
9284         [POSIX] (pthread_key_t): Likewise.
9285         [POSIX] (pthread_mutex_t): Likewise.
9286         [POSIX] (pthread_mutexattr_t): Likewise.
9287         [POSIX] (pthread_once_t): Likewise.
9288         [POSIX] (pthread_t): Likewise.
9289         [POSIX-based standards] (pthread_atfork): Expect function.
9291 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9292             Richard Sandiford  <richard@codesourcery.com>
9294         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9295         (swap_endianness_p): New extern variable.
9296         (set_big_endian): New inline function.
9297         (maybe_swap_uint32): Likewise.
9298         (maybe_swap_uint32_array): Likewise.
9299         (maybe_swap_uint32_obstack): Likewise.
9300         * locale/programs/locfile.c: Include <stdbool.h>.
9301         (swap_endianness_p): New variable.
9302         (add_locale_uint32): Call maybe_swap_uint32.
9303         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9304         (write_locale_data): Call maybe_swap_uint32_array.
9305         * locale/programs/ld-collate.c (obstack_int32_grow): Call
9306         maybe_swap_uint32.
9307         (obstack_int32_grow_fast): Likewise.
9308         (output_weightwc): Call maybe_swap_uint32_obstack.
9309         (collate_output): Likewise.
9310         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9311         (OPT_LITTLE_ENDIAN): Likewise.
9312         (options): Add --little-endian and --big-endian options.
9313         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9314         * locale/programs/locarchive.c: Include "locfile.h".
9315         (GET): New macro.
9316         (SET): Likewise.
9317         (INC): Likewise.
9318         (create_archive): Use the new macros to access fields of
9319         structures directly mapped from or written to locale archives.
9320         (oldlocrecentcmp): Likewise.
9321         (enlarge_archive): Likewise.
9322         (insert_name): Likewise.
9323         (add_alias): Likewise.
9324         (add_locale): Likewise.
9325         (delete_locales_from_archive): Likewise.
9326         (show_archive_content): Likewise.
9327         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
9328         locale data.
9330 2013-09-24  Roland McGrath  <roland@hack.frob.com>
9332         * manual/freemanuals.texi: Updated from (newly) canonical copy at
9333         http://www.gnu.org/doc/freemanuals.texi.
9334         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9336 2013-09-24  Will Newton  <will.newton@linaro.org>
9338         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9339         macro.
9341 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
9343         * locale/hashval.h (compute_hashval): Interpret bytes of key as
9344         unsigned char.
9346 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
9348         * manual/threads.texi (POSIX Threads): Fix a typo.
9350 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9352         [BZ #14547]
9353         * string/tst-strcoll-overflow.c: New test case.
9354         * string/Makefile (xtests): Add tst-strcoll-overflow.
9355         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9356         cache if string sizes may cause integer overflow.
9358         [BZ #14547]
9359         * string/strcoll_l.c (coll_seq): New members rule, idx,
9360         save_idx and back_us.
9361         (get_next_seq_nocache): New function.
9362         (do_compare_nocache): New function.
9363         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9364         when malloc fails.
9366 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
9368         [BZ #15754]
9369         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9370         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9371         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9373         [BZ #15754]
9374         * elf/Makefile (tests): Add tst-ptrguard1.
9375         (tests-static): Add tst-ptrguard1-static.
9376         (tst-ptrguard1-ARGS): Define.
9377         (tst-ptrguard1-static-ARGS): Define.
9378         * elf/tst-ptrguard1.c: New file.
9379         * elf/tst-ptrguard1-static.c: New file.
9380         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9381         * sysdeps/i386/stackguard-macros.h: Likewise.
9382         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9383         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9384         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9385         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9386         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9387         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9389 2013-09-23  Hector Marco  <hecmargi@upv.es>
9390             Ismael Ripoll  <iripoll@disca.upv.es>
9391             Carlos O'Donell  <carlos@redhat.com>
9393         [BZ #15754]
9394         * sysdeps/generic/stackguard-macros.h: Define
9395         __pointer_chk_guard_local and POINTER_CHK_GUARD.
9396         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9397         Define __pointer_chk_guard_local.
9398         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9399         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9401 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
9403         [BZ #15859]
9404         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9406 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
9408         * include/string.h (__ffs): Declare as hidden.
9409         * string/ffs.c (__ffs): Define as hidden.
9410         * sysdeps/i386/ffs.c (__ffs): Likewise.
9411         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9412         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9413         * sysdeps/s390/ffs.c (__ffs): Likewise.
9414         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9416 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
9418         * NEWS: Mention malloc probes.
9420         * malloc/arena.c (new_heap): New memory_heap_new probe.
9421         (grow_heap): New memory_heap_more probe.
9422         (shrink_heap): New memory_heap_less probe.
9423         (heap_trim): New memory_heap_free probe.
9424         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9425         (systrim): New memory_sbrk_less probe.
9426         * manual/probes.texi: Document them.
9428         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9429         * manual/probes.texi: Document it.
9431         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9432         (__libc_realloc): Add memory_realloc_retry probe.
9433         (__libc_memalign): Add memory_memalign_retry probe.
9434         (__libc_valloc): Add memory_valloc_retry probe.
9435         (__libc_pvalloc): Add memory_pvalloc_retry probe.
9436         (__libc_calloc): Add memory_calloc_retry probe.
9437         * manual/probes.texi: Document them.
9439         * malloc/arena.c (get_free_list): Add probe
9440         memory_arena_reuse_free_list.
9441         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9442         and memory_arena_reuse.
9443         (arena_get2) [!PER_THREAD]: Likewise.
9444         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9445         memory_arena_reuse_realloc.
9446         * manual/probes.texi: Document them.
9448         * malloc/malloc.c (__libc_free): Add
9449         memory_mallopt_free_dyn_thresholds probe.
9450         (__libc_mallopt): Add multiple memory_mallopt probes.
9451         * manual/probes.texi: Document them.
9453         * malloc/malloc.c: Include stap-probe.h.
9454         (__libc_mallopt): Add memory_mallopt probe.
9455         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9456         * manual/probes.texi: New.
9457         * manual/Makefile (chapters): Add probes.
9458         * manual/threads.texi: Set next node.
9460 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
9462         [BZ #15963, #13985]
9463         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9464         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9465         Add `Chinese' to `nan' entry name.
9467 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9469         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9470         (POLYNOMIAL): Likewise.
9471         (TAYLOR_SINCOS): Likewise.
9472         (TAYLOR_SLOW): Likewise.
9473         (__sin): Use TAYLOR_SINCOS.
9474         (__cos): Likewise.
9475         (slow): Use TAYLOR_SLOW.
9476         (sloww): Likewise.
9477         (bsloww): Likewise.
9478         (csloww): Likewise.
9480 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9482         * stdlib/strtod_l.c: Fix buffer overrun.
9484 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9486         * benchtests/Makefile (bench): Add sincos.
9487         * benchtests/bench-sincos.c: New file.
9489         * math/libm-test.inc (cos_test_data): New test inputs.
9490         (sin_test_data): Likewise.
9492         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9493         macro.
9494         (__sin): Use it.
9495         (__cos): Likewise.
9496         (slow1): Likewise.
9497         (slow2): Likewise.
9498         (sloww1): Likewise.
9499         (sloww2): Likewise.
9500         (bsloww1): Likewise.
9501         (bsloww2): Likewise.
9502         (cslow2): Likewise.
9503         (csloww1): Likewise.
9504         (csloww2): Likewise.
9506         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9507         function.
9508         (__sin): Use it.
9509         (__cos): Likewise.
9511         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9512         gotos.
9513         (__cos): Likewise.
9515 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
9517         * config.h.in (HAVE_MIPS_NAN2008): New macro.
9518         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9519         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9520         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9521         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9522         * elf/cache.c (print_entry): Handle the new cache flags.
9524 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9525             Aldy Hernandez  <aldyh@redhat.com>
9527         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9528         Change condition to [_SOFT_FLOAT].
9529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9531         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9532         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9535         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9537         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9539         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9540         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9541         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9542         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9543         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9544         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9545         declaration.
9547 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9549         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9550         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9551         (__longjmp): Use LOAD_GP to load saved GPRs.
9552         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9553         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9554         (__sigsetjmp): Use SAVE_GP to save GPRs.
9556         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9557         Do not append -msoft-float.
9558         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9560 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9562         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9564 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
9566         [BZ #15966]
9567         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9568         (_FPU_GETCW): Use initial "__" on variable and field names but not
9569         on macro parameter name.
9570         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
9571         parentheses around reference to macro parameter.
9573 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
9575         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9576         prototype.
9577         (ctype_startup): Use uint32_t in cast and sizeof for
9578         ctype->charnames.
9580 2013-09-11  Jia Liu  <proljc@gmail.com>
9582         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9583         __daddr_t_defined.
9584         [__FreeBSD__]: Likewise.
9586 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9589         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9590         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9591         (strchr): Remove __strchr_sse42 ifunc selection.
9592         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9593         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9595 2013-09-11  Will Newton  <will.newton@linaro.org>
9597         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9598         parameter to RES. Remove hardcoded 1000 value.
9599         * benchtests/bench-skeleton.c (main): Pass RES parameter
9600         to TIMING_INIT and multiply result by 1000.
9602 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9606 2013-09-11  Andreas Schwab  <schwab@suse.de>
9608         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9609         if not defined.
9610         (O_TMPFILE) [__USE_GNU]: Define.
9611         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9612         Define.
9614 2013-09-11  Will Newton  <will.newton@linaro.org>
9616         [BZ #15857]
9617         * malloc/malloc.c (__libc_memalign): Check the value of bytes
9618         does not overflow.
9620 2013-09-11  Will Newton  <will.newton@linaro.org>
9622         [BZ #15856]
9623         * malloc/malloc.c (__libc_valloc): Check the value of bytes
9624         does not overflow.
9626 2013-09-11  Will Newton  <will.newton@linaro.org>
9628         [BZ #15855]
9629         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9630         does not overflow.
9632 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
9634         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9635         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9636         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9637         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9638         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9640 2013-09-10  Allan McRae  <allan@archlinux.org>
9642         [BZ #15748]
9643         * manual/arith.texi (Parsing of Floats): Clarify
9644         cross-reference.
9646         [BZ #15849]
9647         * manual/install.texi (Running make install): Mention
9648         --enable-pt-chown.
9649         * INSTALL: Regenerated.
9651 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
9653         * csu/init-first.c (_init): Remove the !SHARED condition around
9654         FPU control word initialization.
9655         * elf/dl-support.c (_dl_fpu_control): New variable.
9656         (_dl_aux_init) <AT_FPUCW>: Initialize it.
9657         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9658         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9659         * math/test-fpucw-static.c: New file.
9660         * math/test-fpucw-ieee.c: New file.
9661         * math/test-fpucw-ieee-static.c: New file.
9662         * math/Makefile (tests): Add `test-fpucw-ieee' and
9663         `$(tests-static)'.
9664         (tests-static): New variable.
9665         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9666         dependency to...
9667         [($(build-shared),yes)]
9668         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9669         ... this.
9670         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9671         New dependency.
9673 2013-09-09  Allan McRae  <allan@archlinux.org>
9675         [BZ #15939]
9676         * manual/string.texi (Collation Functions): Fix typo in
9677         strcoll example.
9678         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9680         [BZ #15893]
9681         * stdlib/isomac.c (get_null_defines): Fix memory leak.
9683         [BZ #15892]
9684         * libio/memstream.c (open_memstream): Fix memory leak.
9685         * libio/wmemstream.c (open_wmemstream): Likewise.
9687         [BZ #15895]
9688         * nscd/netgroupcache.c: Fix nesting of ifdefs.
9690 2013-09-09  Will Newton  <will.newton@linaro.org>
9692         * malloc/Makefile: Add tst-realloc to tests.
9693         * malloc/tst-realloc.c: New file.
9695 2013-09-09  Allan McRae  <allan@archlinux.org>
9697         [BZ #15844]
9698         * COPYING: Update from GNU website to fix FSF address.
9699         * COPYING.LIB: Likewise.
9701 2013-09-06  David S. Miller  <davem@davemloft.net>
9703         * po/zh_TW.po: Update Chinese (traditional) translation from
9704         translation project.
9706 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
9707             Joseph Myers  <joseph@codesourcery.com>
9709         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9710         "localeinfo.h".
9711         (obstack_chunk_alloc): New macro.
9712         (obstack_chunk_free): Likewise.
9713         (record_offset): New function.
9714         (init_locale_data): Likewise.
9715         (align_locale_data): Likewise.
9716         (add_locale_empty): Likewise.
9717         (add_locale_raw_data): Likewise.
9718         (add_locale_raw_obstack): Likewise.
9719         (add_locale_string): Likewise.
9720         (add_locale_wstring): Likewise.
9721         (add_locale_uint32): Likewise.
9722         (add_locale_uint32_array): Likewise.
9723         (add_locale_char): Likewise.
9724         (start_locale_structure): Likewise.
9725         (end_locale_structure): Likewise.
9726         (start_locale_prelude): Likewise.
9727         (end_locale_prelude): Likewise.
9728         (write_locale_data): Take locale_file structure rather than an
9729         iovec.
9730         * locale/programs/locfile.h: Include "obstack.h".
9731         (struct locale_file): Change to store locale file contents instead
9732         of header.
9733         (init_locale_data): New prototype.
9734         (align_locale_data): Likewise.
9735         (add_locale_empty): Likewise.
9736         (add_locale_raw_data): Likewise.
9737         (add_locale_raw_obstack): Likewise.
9738         (add_locale_string): Likewise.
9739         (add_locale_wstring): Likewise.
9740         (add_locale_uint32): Likewise.
9741         (add_locale_uint32_array): Likewise.
9742         (add_locale_char): Likewise.
9743         (start_locale_structure): Likewise.
9744         (end_locale_structure): Likewise.
9745         (start_locale_prelude): Likewise.
9746         (end_locale_prelude): Likewise.
9747         (write_locale_data): Update prototype.
9748         * locale/programs/3level.h (struct TABLE): Remove result field.
9749         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9750         Use new locale_file interface.
9751         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9752         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9753         * locale/programs/ld-address.c (address_output): Use new
9754         locale_file interface.
9755         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9756         NO_ADD_LOCALE.
9757         (collate_finish): Don't call collseq_table_finalize.
9758         (collate_output): Use new locale_file interface.
9759         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9760         in file.
9761         (NO_FINALIZE): Change to NO_ADD_LOCALE.
9762         (TABLE): Move defines earlier in file.
9763         (ELEMENT): Likewise.
9764         (DEFAULT): Likewise.
9765         (wctrans_table_add): Move macro and inline function earlier in
9766         file.
9767         (struct wctype_table): Move type earlier in file.
9768         (add_locale_wctype_table): New static prototype.
9769         (struct locale_ctype_t): Use logical types instead of struct iovec
9770         pointers for members.
9771         (ctype_output): Use new locale_file interface.
9772         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
9773         new locale_file interface.
9774         (allocate_arrays): Update for use of new locale_file interface.
9775         * locale/programs/ld-identification.c (identification_output): Use
9776         new locale_file interface.
9777         * locale/programs/ld-measurement.c (measurement_output): Likewise.
9778         * locale/programs/ld-messages.c (messages_output): Likewise.
9779         * locale/programs/ld-monetary.c (monetary_output): Likewise.
9780         * locale/programs/ld-name.c (name_output): Likewise.
9781         * locale/programs/ld-numeric.c (numeric_output): Likewise.
9782         * locale/programs/ld-paper.c (paper_output): Likewise.
9783         * locale/programs/ld-telephone.c (telephone_output): Likewise.
9784         * locale/programs/ld-time.c (time_output): Likewise.
9786 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9788         * benchtests/Makefile: Add memrchr benchmark.
9789         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9790         benchmark as memrchr.
9791         * benchtests/bench-memrchr-ifunc.c: New file.
9792         * benchtests/bench-memrchr.c: New file.
9794 2013-09-06   Will Newton  <will.newton@linaro.org>
9796         * benchtests/Makefile (string-bench): Add memcpy.
9798 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
9799             Cong Wang  <amwang@redhat.com>
9801         [BZ #15850]
9802         * sysdeps/unix/sysv/linux/bits/in.h
9803         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9804         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9805         before __USE_KERNEL_IPV6_DEFS uses.
9806         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9807         IPPROTO_BEETPH.
9808         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9809         sockaddr_in6, or ipv6_mreq.
9811 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9813         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9814         memory access for final bytes in some large inputs.
9815         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9817 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9819         * string/test-memrchr.c: New file.
9820         * string/test-memrchr-ifunc.c: New file.
9821         * string/Makefile: Add new memrchr testcase.
9823 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
9825         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9826         fanotify_init returns EPERM.
9828 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9830         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9831         errors.
9832         (top level): Treat second token from macro or constant entries for
9833         allowed headers as allowed.
9834         * include/complex.h: Condition internal declarations on
9835         [!_ISOMAC].
9836         * include/fenv.h: Condition include of <stdbool.h> and internal
9837         declarations on [!_ISOMAC].
9839 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
9841         [BZ #15923]
9842         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9844 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9846         * configure.in (--enable-versioning): Remove configure option.
9847         (libc_cv_asm_symver_directive): Remove configure test.
9848         (libc_cv_ld_version_script_option): Likewise.
9849         (VERSIONING): Remove variable and AC_SUBST.
9850         (DO_VERSIONING): Remove AC_DEFINE.
9851         * configure: Regenerated.
9852         * config.h.in (DO_VERSIONING): Remove macro.
9853         * Makerules [$(versioning) = yes]: Change conditionals to
9854         [$(build-shared) = yes].
9855         * config.make.in (versioning): Remove variable.
9856         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9857         [$(build-shared) = yes].
9858         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9859         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9860         * elf/Makefile [$(versioning) = yes]: Change conditionals to
9861         [$(build-shared) = yes].
9862         * extra-lib.mk [$(versioning) = yes]: Likewise.
9863         * hurd/Makefile [$(versioning) = yes]: Likewise.
9864         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9865         [SHARED].
9866         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9867         [SHARED].
9868         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9869         [SHARED && !NO_HIDDEN].
9870         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9871         [SHARED].
9872         [SHARED && DO_VERSIONING]: Likewise..
9873         * libio/Makefile [$(versioning) = yes]: Change conditionals to
9874         [$(build-shared) = yes].
9875         * manual/install.texi (--disable-versioning): Remove
9876         documentation.
9877         * INSTALL: Regenerated.
9878         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9879         to [SHARED].
9880         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9881         [$(build-shared) = yes].
9882         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9883         * sysdeps/i386/i686/multiarch/strstr-c.c
9884         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9885         [SHARED && !NO_HIDDEN].
9886         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9887         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9888         * sysdeps/powerpc/powerpc32/dl-machine.c
9889         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9890         * sysdeps/powerpc/powerpc32/sysdep.h
9891         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9892         to [SHARED && PIC && !NO_HIDDEN].
9893         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9894         conditional to [SHARED].
9896 2013-09-04   Will Newton  <will.newton@linaro.org>
9898         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9899         * benchtests/bench-string.h: Include bench-timing.h instead
9900         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9901         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9902         call to HP_TIMING_DIFF_INIT.
9903         * benchtests/bench-memccpy.c: Use bench-timing.h macros
9904         instead of hp-timing.h macros.
9905         * benchtests/bench-memchr.c: Likewise.
9906         * benchtests/bench-memcmp.c: Likewise.
9907         * benchtests/bench-memcpy.c: Likewise.
9908         * benchtests/bench-memmem.c: Likewise.
9909         * benchtests/bench-memmove.c: Likewise.
9910         * benchtests/bench-memset.c: Likewise.
9911         * benchtests/bench-rawmemchr.c: Likewise.
9912         * benchtests/bench-strcasecmp.c: Likewise.
9913         * benchtests/bench-strcasestr.c: Likewise.
9914         * benchtests/bench-strcat.c: Likewise.
9915         * benchtests/bench-strchr.c: Likewise.
9916         * benchtests/bench-strcmp.c: Likewise.
9917         * benchtests/bench-strcpy.c: Likewise.
9918         * benchtests/bench-strcpy_chk.c: Likewise.
9919         * benchtests/bench-strlen.c: Likewise.
9920         * benchtests/bench-strncasecmp.c: Likewise.
9921         * benchtests/bench-strncat.c: Likewise.
9922         * benchtests/bench-strncmp.c: Likewise.
9923         * benchtests/bench-strncpy.c: Likewise.
9924         * benchtests/bench-strnlen.c: Likewise.
9925         * benchtests/bench-strpbrk.c: Likewise.
9926         * benchtests/bench-strrchr.c: Likewise.
9927         * benchtests/bench-strspn.c: Likewise.
9928         * benchtests/bench-strstr.c: Likewise.
9930 2013-09-04  Will Newton  <will.newton@linaro.org>
9932         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9934 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
9936         [BZ #15427]
9937         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9938         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9939         * math/libm-test.inc (lgamma_test_data): Add more tests.
9940         * sysdeps/i386/fpu/libm-test-ulps: Update.
9941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9943 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
9945         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9947         Add ifunc.
9948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9949         Add strcmp-sse2-unaligned
9950         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9952 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9954         * Versions.def (libc): Add GLIBC_2.19.
9956 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9958         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9959         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9961 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
9963         [BZ #14155]
9964         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9965         intermediate calculations in recurrence.
9966         (__ieee754_ynf): Likewise.
9967         * math/libm-test.inc (jn_test_data): Do not allow spurious
9968         underflow exception.  Add more tests.
9969         (yn_test_data): Add more tests.
9970         * sysdeps/i386/fpu/libm-test-ulps: Update.
9971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9973 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
9975         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9977 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9979         * csu/init-first.c: Fix then/than typos.
9980         * locale/programs/ld-collate.c: Likewise.
9981         * locale/programs/linereader.h: Likewise.
9982         * manual/charset.texi: Likewise.
9983         * manual/filesys.texi: Likewise.
9984         * manual/stdio.texi: Likewise.
9985         * manual/string.texi: Likewise.
9986         * stdlib/fmtmsg.c: Likewise.
9987         * sysdeps/i386/stpncpy.S: Likewise.
9988         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9989         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9990         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9991         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9993 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9995         * elf/dl-open.c: Fix typos.
9996         * iconvdata/gbbig5.c: Likewise.
9997         * iconvdata/iso-2022-jp.c: Likewise.
9998         * iconv/gconv_int.h: Likewise.
9999         * iconv/loop.c: Likewise.
10000         * nis/rpcsvc/nis.h: Likewise.
10001         * resolv/ns_name.c: Likewise.
10002         * stdio-common/vfscanf.c: Likewise.
10003         * streams/stropts.h: Likewise.
10004         * sunrpc/rpc_thread.c: Likewise.
10005         * sysdeps/i386/strpbrk.S: Likewise.
10006         * sysdeps/ieee754/k_standard.c: Likewise.
10007         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10008         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10009         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10010         * sysdeps/mach/hurd/profil.c: Likewise.
10011         * sysdeps/s390/dl-procinfo.h: Likewise.
10012         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10013         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10014         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10015         * sysdeps/x86_64/dl-trampoline.S: Likewise.
10016         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10018 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
10020         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10021         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10023 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
10025         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10026         aix specific files.
10027         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10028         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10029         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10030         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10031         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10032         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10033         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10034         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10036 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10037             Roland McGrath  <roland@hack.frob.com>
10039         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10040         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10042 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10044         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10045         __executable_start symbol instead of _start.
10047 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
10049         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10050         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10051         Move macros to...
10052         * sysdeps/gnu/ldsodefs.h: ... this new file.
10054         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10055         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10056         instead of ELFOSABI_LINUX.
10058         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10059         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10060         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10061         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10062         Likewise.
10063         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10064         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10065         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10066         Likewise.
10067         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10068         (ibm_extended_long_double): Add ieee_nan member.
10069         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10070         (do_test): New function.
10072         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10073         TEST_TRUNC.
10074         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10075         functions, renamed from truncdfsf_test, trunctfsf_test,
10076         trunctfdf_test.
10077         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10078         functions.
10079         (do_test): Run all these.
10081 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
10083         * argp/argp-help.c: Fix typos.
10084         * argp/argp-parse.c: Likewise.
10085         * debug/backtracesyms.c: Likewise.
10086         * elf/elf.h: Likewise.
10087         * malloc/malloc.c: Likewise.
10088         * nis/nis_print.c: Likewise.
10089         * resolv/res_comp.c: Likewise.
10090         * stdlib/stdlib.h: Likewise.
10091         * sunrpc/clnt_tcp.c: Likewise.
10092         * sunrpc/clnt_udp.c: Likewise.
10093         * sunrpc/clnt_unix.c: Likewise.
10094         * sysdeps/unix/bsd/ptsname.c: Likewise.
10095         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10096         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10098         Likewise.
10099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10100         Likewise.
10101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10102         Likewise.
10103         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10105 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10107         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10110 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
10112         [BZ #15897]
10113         * dlfcn/Makefile (tests): Add bug-dl-leaf.
10114         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10115         ($(objpfx)bug-dl-leaf): New rule.
10116         ($(objpfx)bug-dl-leaf.so): Likewise.
10117         ($(objpfx)bug-dl-leaf.out): Likewise.
10118         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10119         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10120         * dlfcn/bug-dl-leaf.c: New test.
10121         * dlfcn/bug-dl-leaf-lib.c: Likewise.
10122         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10123         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10124         (dlclose): Likewise.
10125         (dlmopen): Likewise.
10127 2013-08-27  Roland McGrath  <roland@hack.frob.com>
10129         * include/netdb.h [!_ISOMAC]:
10130         Don't include <tls.h>.
10131         (h_errno, __libc_h_errno): Move declaration and macros out of
10132         [_LIBC_REENTRANT].
10134         * include/resolv.h [_RESOLV_H_]:
10135         Don't include <tls.h>.
10136         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10137         * resolv/res_libc.c: Don't include <tls.h>.
10138         (_res): Use __attribute__ ((nocommon)) in place of
10139         __attribute__ ((section (".bss"))).
10141         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10142         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10144         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10146         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10147         only under [SIOCGIFCONF && SIOCGIFNETMASK].
10149         * resolv/res_mkquery.c: Include <sys/time.h>.
10151         * inet/ifreq.c: Moved to ...
10152         * sysdeps/unix/ifreq.c: ... here.
10153         * inet/ifreq.c: New file, true stub version.
10155         * socket/sa_len.c: New file.
10156         * socket/Makefile (aux): Add it.
10157         * sysdeps/unix/sysv/linux/Makefile
10158         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10159         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10160         and #include <socket/sa_len.c>.
10161         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10162         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10164         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10165         * bits/socket.h: ... here.
10167         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10168         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10169         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10171 2013-08-27  Andreas Schwab  <schwab@suse.de>
10173         [BZ #15736]
10174         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10175         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10176         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10177         * string/test-strcasecmp.c (test_main): Run tests in several
10178         locales.
10179         * string/test-strncasecmp.c (test_main): Likewise.
10181         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10182         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10183         to __strcasecmp_nonascii and __strncasecmp_nonascii.
10184         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10185         (__strncasecmp_ssse3) [PIC]: Likewise.
10187 2013-08-26  Roland McGrath  <roland@hack.frob.com>
10189         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10191         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10192         instead of explicitly declaring xdecrypt.
10193         * nis/nss_nis/nis-publickey.c: Likewise.
10195 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10197         [BZ #15890]
10198         * nscd/aicache.c: Include res_hconf.h.
10199         (addhstaiX): Initialize res_hconf.
10201 2013-08-26  Andreas Schwab  <schwab@suse.de>
10203         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10204         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10206 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10208         * nscd/aicache.c (addhstaiX): Fix indentation.
10210 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
10212         * configure.ac: Quote $build_pt_chown test.
10213         * configure: Regenerated.
10215 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
10217         [BZ #15532]
10218         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10219         * math/s_cexpf.c (__cexpf): Likewise.
10220         * math/s_cexpl.c (__cexpl): Likewise.
10221         * math/libm-test.inc (cexp_test_data): Correct expected return
10222         value for NaN + i0.  Add another test.
10224 2013-08-22  David S. Miller  <davem@davemloft.net>
10226         * po/ca.po: Update Catalan translation from translation project.
10227         * po/uk.po: Add Ukrainian translations from translation project.
10229 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
10231         [BZ #15797]
10232         * math/s_fdim.c (__fdim): Check for infinite arguments if result
10233         is infinite, not alongside NaN test.
10234         * math/s_fdimf.c (__fdimf): Likewise.
10235         * math/s_fdiml.c (__fdiml): Likewise.
10236         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
10237         errno is unchanged.
10239 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
10241         * argp/argp-help.c: Fix typos.
10242         * crypt/speeds.c: Likewise.
10243         * csu/check_fds.c: Likewise.
10244         * elf/dl-load.c: Likewise.
10245         * elf/dl-open.c: Likewise.
10246         * elf/reldep3.c: Likewise.
10247         * elf/reldep.c: Likewise.
10248         * elf/sprof.c: Likewise.
10249         * iconv/iconv_charmap.c: Likewise.
10250         * iconv/skeleton.c: Likewise.
10251         * iconv/strtab.c: Likewise.
10252         * io/lockf64.c: Likewise.
10253         * libio/libioP.h: Likewise.
10254         * resolv/gai_notify.c: Likewise.
10255         * resolv/ns_name.c: Likewise.
10256         * resolv/ns_samedomain.c: Likewise.
10257         * resolv/res_send.c: Likewise.
10258         * stdlib/random.c: Likewise.
10259         * sunrpc/rpc/xdr.h: Likewise.
10260         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10261         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10262         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10263         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10264         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10265         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10266         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10267         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10268         * sysdeps/mach/hurd/check_fds.c: Likewise.
10269         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10270         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10271         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10272         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10273         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10274         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10275         * sysdeps/pthread/aio_notify.c: Likewise.
10276         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10277         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10278         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10279         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10280         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10282 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10284         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10285         version if bit_Slow_SSE4_2 is set.
10286         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10287         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10289 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10291         [BZ #15867]
10292         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10293         trampoline stack frame information.
10294         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10295         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10296         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10297         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10298         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10299         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10300         (_libc_vdso_platform_setup): Initialize the signal trampolines.
10301         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10302         sa_flags value.
10303         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10304         interrupting a syscall and set with option SA_SIGINFO.
10306 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10308         [BZ #15531]
10309         * math/s_cproj.c (__cproj): Only return an infinity if one part of
10310         argument is infinite.
10311         * math/s_cprojf.c (__cprojf): Likewise.
10312         * math/s_cprojl.c (__cprojl): Likewise.
10313         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10314         * math/libm-test.inc (cproj_test_data): Add more tests.
10316         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10318         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10319         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10320         size.  Use __ffs to determine corresponding shift.
10322 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10323             Roland McGrath  <roland@hack.frob.com>
10325         * Makefile (INSTALL): Remove trailing blank lines from output of
10326         makeinfo.
10328 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10330         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10331         Align 32 bit compat elf_greg to 8 bytes.
10333 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10335         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10337 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10339         * string/strcoll_l.c (coll_seq): New structure.
10340         (get_next_seq_cached): New function.
10341         (get_next_seq): New function.
10342         (do_compare): New function.
10343         (STRCOLL): Use GNU style definition.  Simplify implementation
10344         by using get_next_seq, get_next_seq_cached and do_compare.
10346 2013-08-16  Florian Weimer  <fweimer@redhat.com>
10348         [BZ #14699]
10349         CVE-2013-4237
10350         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10351         member.
10352         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10353         member.
10354         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10355         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10356         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
10357         conditional.
10358         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10359         GETDENTS_64BIT_ALIGNED.
10360         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10361         * manual/filesys.texi (Reading/Closing Directory): Document
10362         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
10363         strongly.
10364         * manual/conf.texi (Limits for Files): Add portability note to
10365         NAME_MAX, PATH_MAX.
10366         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10368 2013-08-13  Andreas Schwab  <schwab@suse.de>
10370         [BZ #15749]
10371         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10372         of fabs.
10373         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10374         LDBL_MAX_EXP >= 16384]: Add tests for it.
10376 2013-08-12  David S. Miller  <davem@davemloft.net>
10378         * version.h (RELEASE): Set to "development".
10379         (VERSION): Set to "2.18.90".
10380         * NEWS: Add 2.19 section.
10382 2013-08-03  David S. Miller  <davem@davemloft.net>
10384         * po/ko.po: Update Korean translation from translation project.
10386 2013-08-01  David S. Miller  <davem@davemloft.net>
10388         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
10389         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10390         Bilka.
10392 2013-07-30  David S. Miller  <davem@davemloft.net>
10394         * po/fr.po: Update French translation from translation project.
10396 2013-07-28  David S. Miller  <davem@davemloft.net>
10398         * po/cs.po: Update Czech translation from translation project.
10400         * po/sv.po: Update Swedish translation from translation project.
10402 2013-07-27  David S. Miller  <davem@davemloft.net>
10404         * po/eo.po: Update Esperanto translation from translation project.
10406         * po/vi.po: Update Vietnamese translation from translation project.
10408         * po/de.po: Update German translation from translation project.
10410 2013-07-26  David S. Miller  <davem@davemloft.net>
10412         * po/bg.po: Update Bulgarian translation from translation project.
10414         * po/nl.po: Update Dutch translation from translation project.
10415         * po/pl.po: Update Polish translation from translation project.
10416         * po/ru.po: Update Russian translation from translation project.
10418 2013-07-24  David S. Miller  <davem@davemloft.net>
10420         * po/libc.pot: Update.
10422 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10424         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10425         variable page size.
10426         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10427         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10428         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10430 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10432         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10434 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10435             Andreas Schwab  <schwab@suse.de>
10436             Roland McGrath  <roland@hack.frob.com>
10437             Joseph Myers  <joseph@codesourcery.com>
10438             Carlos O'Donell  <carlos@redhat.com>
10440         [BZ #15755]
10441         * config.h.in: Define HAVE_PT_CHOWN.
10442         * config.make.in (build-pt-chown): New variable.
10443         * configure.in (--enable-pt_chown): New configure option.
10444         * configure: Regenerate.
10445         * login/Makefile: Include Makeconfig.  Build pt_chown only if
10446         build-pt-chown is enabled.
10447         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10448         pt_chown to fix pty ownership.
10449         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10450         CLOSE_ALL_FDS.
10451         * manual/install.texi (Configuring and compiling): Mention
10452         --enable-pt_chown. Add @findex for grantpt.
10453         * INSTALL: Regenerate.
10455 2013-07-20  David S. Miller  <davem@davemloft.net>
10457         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10458         difference between 32-bit and 64-bit.
10460 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
10462         [BZ #15711]
10463         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10464         Avoid system header dependency with -ffreestanding.
10465         ($(objpfx)bits/syscall%d): Likewise.
10467 2013-07-13  David S. Miller  <davem@davemloft.net>
10469         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10470         underflows from atanl/atan2l due to bug 15319.
10471         (casinh_test_data): Likewise.
10473 2013-07-07  David S. Miller  <davem@davemloft.net>
10475         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10477 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
10479         * sysdeps/i386/fpu/libm-test-ulps: Update.
10480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10482 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10484         * configure.in (--enable-lock-elision): Fix message text.
10485         * INSTALL: Regenerate.
10486         * configure: Regenerate.
10488 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10492 2013-07-03  Andreas Jaeger  <aj@suse.de>
10494         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10495         define.
10496         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10497         (ptrace_peeksiginfo_args): Add.
10498         (__ptrace_peeksiginfo_flags): Add.
10499         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10500         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10501         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10503 2013-07-03  Allan McRae  <allan@archlinux.org>
10505         * sysdeps/i386/fpu/libm-test-ulps: Update.
10507 2013-07-02  David S. Miller  <davem@davemloft.net>
10509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10511 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
10513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10515 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10517         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10520 2013-07-02  Andi Kleen <ak@linux.intel.com>
10522         * config.h.in (ENABLE_LOCK_ELISION): Add.
10523         * configure.in (--enable-lock-elision): Add option.
10524         * manual/install.texi: Document --enable lock elision.
10525         * configure: Regenerate
10526         * INSTALL: Regenerate.
10528 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10530         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10531         SSE4.2 strcasecmp for libc.a.
10532         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10534 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10536         [BZ #13304]
10537         * soft-fp/op-common.h (_FP_FMA): New macro.
10538         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10539         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
10540         (_FP_MUL_MEAT_1_imm): ... here.
10541         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
10542         (_FP_MUL_MEAT_1_wide): ... here.
10543         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
10544         (_FP_MUL_MEAT_1_hard): ... here.
10545         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10546         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
10547         (_FP_MUL_MEAT_2_wide): ... here.
10548         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
10549         (_FP_MUL_MEAT_2_wide_3mul): ... here.
10550         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
10551         (_FP_MUL_MEAT_2_gmp): ... here.
10552         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10553         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
10554         (_FP_MUL_MEAT_4_wide): ... here.
10555         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
10556         (_FP_MUL_MEAT_4_gmp): ... here.
10557         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10558         (_FP_WFRACBITS_DW_S): Likewise.
10559         (_FP_WFRACXBITS_DW_S): Likewise.
10560         (_FP_HIGHBIT_DW_S): Likewise.
10561         (FP_FMA_S): Likewise.
10562         (_FP_FRAC_HIGH_DW_S): Likewise.
10563         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10564         (_FP_WFRACBITS_DW_D): Likewise.
10565         (_FP_WFRACXBITS_DW_D): Likewise.
10566         (_FP_HIGHBIT_DW_D): Likewise.
10567         (FP_FMA_D): Likewise.
10568         (_FP_FRAC_HIGH_DW_D): Likewise.
10569         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10570         (_FP_WFRACBITS_DW_E): Likewise.
10571         (_FP_WFRACXBITS_DW_E): Likewise.
10572         (_FP_HIGHBIT_DW_E): Likewise.
10573         (FP_FMA_E): Likewise.
10574         (_FP_FRAC_HIGH_DW_E): Likewise.
10575         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10576         (_FP_WFRACBITS_DW_Q): Likewise.
10577         (_FP_WFRACXBITS_DW_Q): Likewise.
10578         (_FP_HIGHBIT_DW_Q): Likewise.
10579         (FP_FMA_Q): Likewise.
10580         (_FP_FRAC_HIGH_DW_Q): Likewise.
10581         * soft-fp/fmasf4.c: New file.
10582         * soft-fp/fmadf4.c: Likewise.
10583         * soft-fp/fmatf4.c: Likewise.
10585 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10588         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10589         Silvermont.
10590         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10591         macro.
10592         (index_Slow_SSE4_2): Likewise.
10593         (index_Prefer_PMINUB_for_stringop): Likewise.
10594         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10595         bit_Slow_SSE4_2 is set.
10596         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10597         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10599 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10601         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10602         rtld_global._dl_hwcap2.
10603         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10604         POWER8.
10605         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10606         POWER8 feature descriptions defined in _dl_hwcap2.
10607         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10608         string handling for POWER8 feature bits.
10609         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10610         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10611         _dl_powerpc_cap_flags.
10612         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10613         * sysdeps/powerpc/rtld-global-offsets.sym
10614         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10615         _dl_hwcap2 in the rtld_global_ro structure.
10617 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10619         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10620         hardware capabilities in support of AT_HWCAP2.
10621         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10622         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10623         GLRO(dl_hwcap2).
10624         (_dl_show_auxv): Add support for calling _dl_procinfo to display
10625         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10626         explicitly the unknown a_type display mechanism is used.
10627         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10628         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10629         struct member.
10630         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10631         to macro prototype for AT_HWCAP2 support.
10632         * sysdeps/i386/dl-procinfo.h: Likewise.
10633         * sysdeps/s390/dl-procinfo.h: Likewise.
10634         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10635         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
10636         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
10637         return -1 for unknown a_type display fallback.
10638         * sysdeps/sparc/dl-procinfo.h: Likewise.
10639         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10640         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10642 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
10644         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10645         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10647 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
10649         [BZ #12492]
10650         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10651         mprotect making __stack_prot writable.
10653 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
10654             Joseph Myers  <joseph@codesourcery.com>
10656         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10657         as being properly aligned.
10659 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
10661         * dlfcn/modstatic5.c: New file.
10662         * dlfcn/tststatic5.c: New file.
10663         * dlfcn/Makefile (tests): Add tststatic5.
10664         (tests-static): Likewise.
10665         (modules-names): Add modstatic5.
10666         (tststatic5-ENV): New variable.
10667         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10669         [BZ #15022]
10670         * elf/dl-support.c (_dl_main_map): New variable.
10671         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10672         (_dl_nns, _dl_load_adds): Set to 1.
10673         (_dl_initial_searchlist): Refer to _dl_main_map.
10674         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10675         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10676         call to _dl_get_origin.
10677         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10678         around call_map.
10679         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10680         * dlfcn/modstatic3.c: New file.
10681         * dlfcn/tststatic3.c: New file.
10682         * dlfcn/tststatic4.c: New file.
10683         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10684         (tests-static): Likewise.
10685         (modules-names): Add modstatic3.
10686         (tststatic3-ENV, tststatic4-ENV): New variables.
10687         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10688         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10690 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
10692         * configure.in (CC): Require GCC version 4.4 or later.
10693         * configure: Regenerated.
10694         * manual/install.texi (Tools for Compilation): Update GCC version
10695         requirement.
10696         * INSTALL: Regenerated.
10698 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10700         [BZ #15674]
10701         * string/test-memcmp.c (check2): New.
10702         (main): Call check2.
10704         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10706 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
10708         [BZ #15022]
10709         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10710         over to...
10711         (dl_open_worker) [!SHARED]: ... here.
10713 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10715         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10717 2013-06-25  Richard Henderson  <rth@redhat.com>
10719         * locale/programs/locarchive.c: Include <libc-internal.h>
10721 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
10723         * manual/texinfo.tex: Update to version 2013-06-21.17, with
10724         trailing whitespace removed.
10726 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10728         [BZ #10283]
10729         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10730         * locale/programs/locarchive.c: Include libc-mmap.h.
10731         (prepare_address_space): Take two new outputs (the mmap base and len).
10732         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
10733         values.
10734         (create_archive): Declare new mmap base and len values for
10735         prepare_address_space, and store the result in ah.
10736         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10737         (enlarge_archive): If ah->mmap_base is not NULL, use that and
10738         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10739         Declare new mmap base and len values for
10740         prepare_address_space, and store the result in new_ah.
10741         (open_archive): Declare new mmap base and len values for
10742         prepare_address_space, and store the result in ah.
10743         (close_archive): If ah->mmap_base is not NULL, use that and
10744         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10745         * sysdeps/generic/libc-mmap.h: New file.
10747 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10749         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10750         (ALIGN_UP): Likewise.
10751         (PTR_ALIGN_DOWN): Likewise.
10752         (PTR_ALIGN_UP): Likewise.
10754 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10756         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10757         entry mapped to PPC_PLATFORM_POWER8.
10758         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10759         POWER8.
10760         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10761         (_dl_string_platform): Add case for exporting platform position for
10762         POWER8.
10763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10764         search path to sysdeps/powerpc/powerpc32/power8 directory.
10765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10766         search path to sysdeps/powerpc/powerpc64/power8 directory.
10767         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10768         power7 directories.
10769         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10770         power7 directories.
10772 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10774         * INSTALL: Regenerate.
10776         * nscd/connections.c (nscd_init): Fix comment.
10778 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
10780         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10782         [BZ #15667]
10783         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10784         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10786 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10788         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10789         DL_DST_REQ_STATIC.
10790         (DL_DST_REQ_STATIC): Remove macro.
10792 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
10794         [BZ #7006]
10795         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10796         with a shift of 0 bits.
10798 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10800         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10801         $(tststatic-ENV).
10803 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10805         [BZ #15655]
10806         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10808 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10810         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10811         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10812         accepts -fno-tree-loop-distribute-patterns.
10813         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10814         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10815         recursive call.
10816         * string/memset.c (memset): Likewise.
10817         * string/test-memmove.c (simple_memmove): Disable loop transformation
10818         to library calls.
10819         * string/test-memset.c (simple_memset): Likewise.
10820         * benchtests/bench-memmove.c (simple_memmove): Likewise.
10821         * benchtests/bench-memset.c (simple_memset): Likewise.
10822         * configure: Regenerated.
10824 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
10826         * math/test-misc.c (main): Ignore fesetround failure when failures
10827         of subsequent rounding tests would be ignored.
10829         [BZ #15654]
10830         * math/fedisblxcpt.c (fedisableexcept): Return 0.
10831         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10832         * math/fegetenv.c (__fegetenv): Return 0.
10833         * math/fegetexcept.c (fegetexcept): Return 0.
10834         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10835         FE_TONEAREST.
10836         * math/feholdexcpt.c (feholdexcept): Return 0.
10837         * math/fesetenv.c (__fesetenv): Return 0.
10838         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10839         argument FE_TONEAREST.
10840         * math/feupdateenv.c (__feupdateenv): Return 0.
10841         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10843 2013-06-18  Roland McGrath  <roland@hack.frob.com>
10845         * elf/rtld-Rules (rtld-compile-command.S): New variable.
10846         (rtld-compile-command.s, rtld-compile-command.c): New variables.
10847         ($(objpfx)rtld-%.os rules): Use them.
10849 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10851         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10852         fields.
10854 2013-06-17  Roland McGrath  <roland@hack.frob.com>
10856         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10857         length of target pattern, then descending length of dependency pattern.
10858         * configure.in (AWK): Require gawk 3.1.2 or newer.
10859         * manual/install.texi (Tools for Compilation): Say that we do.
10860         * configure: Regenerated.
10862         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10863         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10864         * scripts/sysd-rules.awk: ... this new script.
10865         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10866         than a glob-style pattern.
10868 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
10870         * math/test-misc.c (main): Do not treat incorrectly rounded
10871         conversions as failure unless ROUNDING_TESTS passes.
10873 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
10875         [BZ #15631]
10876         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10877         restore exception state around main square root computation, then
10878         check for inexactness explicitly.
10880         * math/libm-test.inc (fma_test_data): Add another test.
10882 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10884         * manual/threads.texi (Non-POSIX Extensions): New document
10885         node.  Document pthread_getattr_default_np and
10886         pthread_setattr_default_np.
10888         * Versions.def (libpthread): Add GLIBC_2.18.
10889         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10891         Likewise.
10892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10893         Likewise.
10894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10895         Likewise.
10896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10897         Likewise.
10898         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10899         Likewise.
10900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10901         Likewise.
10902         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10903         Likewise.
10904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10905         Likewise.
10906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10907         Likewise.
10909 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10912         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10914 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10915             H.J. Lu  <hjl.tools@gmail.com>
10917         [BZ #15627]
10918         * sysdeps/x86_64/rtld-memset.c: Remove file.
10919         * sysdeps/x86_64/rtld-memset.S: New file.
10921 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
10923         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10924         (test_in_one_mode): Take arguments for whether the rounding mode
10925         is supported for each floating-point type.
10926         (do_test): Pass new arguments to test_in_one_mode using
10927         ROUNDING_TESTS.
10929 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10931         * posix/tst-waitid.c (do_test): Distinguish different instances of
10932         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
10933         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10934         before entering the kernel for waitpid.
10936 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10938         * NEWS: Fix note on clock function precision.  Text by Roland
10939         McGrath.
10941 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10943         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10944         it into place only when and if the sanity check passes.
10946 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
10948         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10949         output for whether conversion result is exact.  Take argument
10950         indicating whether type is IBM long double.
10951         (round_for_all): Change need_exact field to ibm_ld.
10952         * stdlib/tst-strtod-round.c (struct exactness): New type.
10953         (struct test): Change bool ld_ok field to struct exactness exact.
10954         (TEST): Update all definitions for change to field.
10955         (tests): Regenerate array contents.
10956         (test_in_one_mode): Take pointer to new field instead of old ld_ok
10957         field value.  Check for IBM long double here.
10958         (do_test): Update calls to test_in_one_mode.
10960 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10962         [BZ #12515]
10963         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10964         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10966 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10968         [BZ #15605]
10969         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10970         generated by the compiler on loop optimizations.
10971         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10972         general definitions.
10974 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
10976         * math/bug-nextafter.c: Include <math-tests.h>.
10977         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10978         the relevant type.
10979         * math/bug-nexttoward.c: Include <math-tests.h>.
10980         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10981         the relevant type.
10982         * math/test-misc.c: Include <math-tests.h>.
10983         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10984         the relevant type.
10986 2013-06-12  Andreas Jaeger  <aj@suse.de>
10988         * po/ia.po: Update Interlingua translation from translation
10989         project.
10991 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10993         * include/fenv.h: Include stdbool.h.
10994         (struct rm_ctx): New structure.
10995         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10996         Define macro.
10997         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10998         (SET_RESTORE_ROUNDF): Likewise.
10999         (SET_RESTORE_ROUNDL): Likewise.
11000         (SET_RESTORE_ROUND_NOEX): Likewise.
11001         (SET_RESTORE_ROUND_NOEXF): Likewise.
11002         (SET_RESTORE_ROUND_NOEXL): Likewise.
11003         (SET_RESTORE_ROUND_53BIT): Likewise.
11004         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11005         (libc_feresetround_noexf_ctx): Likewise.
11006         (libc_feresetround_noexl_ctx): Likewise.
11007         (libc_feholdsetround_53bit_ctx): Likewise.
11008         (libc_feresetround_53bit_ctx): Likewise.
11009         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11010         (libc_feholdexcept_setround_sse_ctx): New function.
11011         (libc_fesetenv_sse_ctx): Likewise.
11012         (libc_feupdateenv_sse_ctx): Likewise.
11013         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11014         (libc_feholdexcept_setround_387_ctx): Likewise.
11015         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11016         (libc_feholdsetround_387_prec_ctx): Likewise.
11017         (libc_feholdsetround_387_ctx): Likewise.
11018         (libc_feholdsetround_387_53bit_ctx): Likewise.
11019         (libc_feholdsetround_sse_ctx): Likewise.
11020         (libc_feresetround_sse_ctx): Likewise.
11021         (libc_feresetround_387_ctx): Likewise.
11022         (libc_feupdateenv_387_ctx): Likewise.
11023         (libc_feholdexcept_setroundf_ctx): Define macro.
11024         (libc_fesetenvf_ctx): Likewise.
11025         (libc_feupdateenvf_ctx): Likewise.
11026         (libc_feholdsetroundf_ctx): Likewise.
11027         (libc_feresetroundf_ctx): Likewise.
11028         (libc_feholdexcept_setround_ctx): Likewise.
11029         (libc_fesetenv_ctx): Likewise.
11030         (libc_feupdateenv_ctx): Likewise.
11031         (libc_feholdsetround_ctx): Likewise.
11032         (libc_feresetround_ctx): Likewise.
11033         (libc_feholdexcept_setroundl_ctx): Likewise.
11034         (libc_feupdateenvl_ctx): Likewise.
11035         (libc_feholdsetroundl_ctx): Likewise.
11036         (libc_feresetroundl_ctx): Likewise.
11037         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11038         (libc_feresetround_53bit_ctx): Likewise.
11040 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11042         * locale/iso-639.def: Convert to UTF-8.
11044 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
11046         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11047         (EXCEPTION_TESTS_double): Likewise.
11048         (EXCEPTION_TESTS_long_double): Likewise.
11049         (EXCEPTION_TESTS): Likewise.
11050         * math/libm-test.inc (test_exceptions): Only test exceptions if
11051         EXCEPTION_TESTS (FLOAT).
11053 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11055         * benchtests/Makefile (string-bench): Add strcpy_chk and
11056         stpcpy_chk.
11057         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11058         * benchtests/bench-stpcpy_chk.c: New file.
11059         * benchtests/bench-strcpy_chk-ifunc.c: New file.
11060         * benchtests/bench-strcpy_chk.c: New file.
11061         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11062         code.
11063         (do_test): Likewise.
11065 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11067         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11068         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11069         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11070         with tabs where appropriate.
11071         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11072         dl-procinfo.h.
11073         [PPC_PLATFORM_PPC440]: Likewise.
11074         [PPC_PLATFORM_PPC464]: Likewise.
11075         [PPC_PLATFORM_PPC476]: Likewise.
11076         (_dl_string_platform): Add support for detecting ppc405, ppc440,
11077         ppc464, and ppc476 platform strings merging from ports/
11078         dl-procinfo.h.
11080 2013-06-11  Andreas Schwab  <schwab@suse.de>
11082         [BZ #14991]
11083         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11084         (from_ucs4_idx): Regenerate.
11085         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11086         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11087         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11088         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11089         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11090         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11091         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11092         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11093         from FROM_LOOP and TO_LOOP specific macros.
11094         (BODY): Handle combining characters.
11095         * iconvdata/BIG5HKSCS.irreversible: Update.
11096         * iconvdata/BIG5HKSCS.precomposed: New file.
11097         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11098         characters.
11099         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11101 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11103         * include/sys/time.h: Fix indentation and add copyright header.
11105         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11106         (do_test): Likewise.
11107         * string/test-memchr.c (do_one_test): Likewise.
11108         (do_test): Likewise.
11109         * string/test-memcmp.c (do_one_test): Likewise.
11110         (do_test): Likewise.
11111         * string/test-memcpy.c (do_one_test): Likewise.
11112         (do_test): Likewise.
11113         * string/test-memmem.c (do_one_test): Likewise.
11114         (do_test): Likewise.
11115         (do_random_tests): Likewise.
11116         * string/test-memmove.c (do_one_test): Likewise.
11117         (do_test): Likewise.
11118         * string/test-memset.c (do_one_test): Likewise.
11119         (do_test): Likewise.
11120         * string/test-rawmemchr.c (do_one_test): Likewise.
11121         (do_test): Likewise.
11122         * string/test-strcasecmp.c (do_one_test): Likewise.
11123         (do_test): Likewise.
11124         * string/test-strcasestr.c (do_one_test): Likewise.
11125         (do_test): Likewise.
11126         * string/test-strcat.c (do_one_test): Likewise.
11127         (do_test): Likewise.
11128         * string/test-strchr.c (do_one_test): Likewise.
11129         (do_test): Likewise.
11130         * string/test-strcmp.c (do_one_test): Likewise.
11131         (do_test): Likewise.
11132         * string/test-strcpy.c (do_one_test): Likewise.
11133         (do_test): Likewise.
11134         * string/test-string.h: Likewise.
11135         (test_init): Likewise.
11136         * string/test-strlen.c (do_one_test): Likewise.
11137         (do_test): Likewise.
11138         * string/test-strncasecmp.c (do_one_test): Likewise.
11139         (do_test): Likewise.
11140         * string/test-strncat.c (do_one_test): Likewise.
11141         (do_test): Likewise.
11142         * string/test-strncmp.c (do_one_test): Likewise.
11143         (do_test_limit): Likewise.
11144         (do_test): Likewise.
11145         * string/test-strncpy.c (do_one_test): Likewise.
11146         (do_test): Likewise.
11147         * string/test-strnlen.c (do_one_test): Likewise.
11148         (do_test): Likewise.
11149         * string/test-strpbrk.c (do_one_test): Likewise.
11150         (do_test): Likewise.
11151         * string/test-strrchr.c (do_one_test): Likewise.
11152         (do_test): Likewise.
11153         * string/test-strspn.c (do_one_test): Likewise.
11154         (do_test): Likewise.
11155         * string/test-strstr.c (do_one_test): Likewise.
11156         (do_test): Likewise.
11158         * benchtests/Makefile (string-bench): Add string benchmarks.
11159         * benchtests/bench-bcopy-ifunc.c: New file.
11160         * benchtests/bench-bcopy.c: New file.
11161         * benchtests/bench-bzero-ifunc.c: New file.
11162         * benchtests/bench-bzero.c: New file.
11163         * benchtests/bench-memccpy-ifunc.c: New file.
11164         * benchtests/bench-memccpy.c: New file.
11165         * benchtests/bench-memchr-ifunc.c: New file.
11166         * benchtests/bench-memchr.c: New file.
11167         * benchtests/bench-memcmp-ifunc.c: New file.
11168         * benchtests/bench-memcmp.c: New file.
11169         * benchtests/bench-memmem-ifunc.c: New file.
11170         * benchtests/bench-memmem.c: New file.
11171         * benchtests/bench-memmove-ifunc.c: New file.
11172         * benchtests/bench-memmove.c: New file.
11173         * benchtests/bench-mempcpy-ifunc.c: New file.
11174         * benchtests/bench-mempcpy.c: New file.
11175         * benchtests/bench-memset-ifunc.c: New file.
11176         * benchtests/bench-memset.c: New file.
11177         * benchtests/bench-rawmemchr-ifunc.c: New file.
11178         * benchtests/bench-rawmemchr.c: New file.
11179         * benchtests/bench-stpcpy-ifunc.c: New file.
11180         * benchtests/bench-stpcpy.c: New file.
11181         * benchtests/bench-stpncpy-ifunc.c: New file.
11182         * benchtests/bench-stpncpy.c: New file.
11183         * benchtests/bench-strcasecmp-ifunc.c: New file.
11184         * benchtests/bench-strcasecmp.c: New file.
11185         * benchtests/bench-strcasestr-ifunc.c: New file.
11186         * benchtests/bench-strcasestr.c: New file.
11187         * benchtests/bench-strcat-ifunc.c: New file.
11188         * benchtests/bench-strcat.c: New file.
11189         * benchtests/bench-strchr-ifunc.c: New file.
11190         * benchtests/bench-strchr.c: New file.
11191         * benchtests/bench-strchrnul-ifunc.c: New file.
11192         * benchtests/bench-strchrnul.c: New file.
11193         * benchtests/bench-strcmp-ifunc.c: New file.
11194         * benchtests/bench-strcmp.c: New file.
11195         * benchtests/bench-strcpy-ifunc.c: New file.
11196         * benchtests/bench-strcpy.c: New file.
11197         * benchtests/bench-strcspn-ifunc.c: New file.
11198         * benchtests/bench-strcspn.c: New file.
11199         * benchtests/bench-strlen-ifunc.c: New file.
11200         * benchtests/bench-strlen.c: New file.
11201         * benchtests/bench-strncasecmp-ifunc.c: New file.
11202         * benchtests/bench-strncasecmp.c: New file.
11203         * benchtests/bench-strncat-ifunc.c: New file.
11204         * benchtests/bench-strncat.c: New file.
11205         * benchtests/bench-strncmp-ifunc.c: New file.
11206         * benchtests/bench-strncmp.c: New file.
11207         * benchtests/bench-strncpy-ifunc.c: New file.
11208         * benchtests/bench-strncpy.c: New file.
11209         * benchtests/bench-strnlen-ifunc.c: New file.
11210         * benchtests/bench-strnlen.c: New file.
11211         * benchtests/bench-strpbrk-ifunc.c: New file.
11212         * benchtests/bench-strpbrk.c: New file.
11213         * benchtests/bench-strrchr-ifunc.c: New file.
11214         * benchtests/bench-strrchr.c: New file.
11215         * benchtests/bench-strspn-ifunc.c: New file.
11216         * benchtests/bench-strspn.c: New file.
11217         * benchtests/bench-strstr-ifunc.c: New file.
11218         * benchtests/bench-strstr.c: New file.
11220         * benchtests/Makefile: Disable parallel execution of targets.
11221         (string-bench): Add memcpy.
11222         (benchset): New variable to store a list of benchmark sets.
11223         (bench-func): Renamed from bench.
11224         (bench-set): New target.
11225         (bench): Depend on bench-func and bench-set.
11226         * benchtests/README: Add section on benchmark sets.
11227         * benchtests/bench-memcpy-ifunc.c: New file.
11228         * benchtests/bench-memcpy.c: New file.
11229         * benchtests/bench-string.h: New file.
11231 2013-06-11  Andreas Schwab  <schwab@suse.de>
11233         [BZ #15577]
11234         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11235         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11236         values in the triple.
11237         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11238         terminator in the group key.
11240 2013-06-11  Andreas Jaeger  <aj@suse.de>
11242         * po/zh_TW.po: Update Chinese (traditional) translation from
11243         translation project.
11245 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11247         * include/time.h (__clock_gettime): Add libc_hidden_proto.
11248         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11249         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
11250         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11251         (clock_getcpuclockid): Likewise.
11252         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11253         Add weak_alias and libc_hidden_def.
11254         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11255         * rt/clock_gettime.c (clock_gettime): Rename to
11256         __clock_gettime.  Add weak_alias and libc_hidden_def.
11257         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11258         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11259         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
11260         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11261         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11262         Likewise.
11263         * rt/clock_settime.c (clock_settime): Rename to
11264         __clock_settime.  Add weak_alias and libc_hidden_def.
11265         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11267 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
11269         * mach/err_boot.sub: Remove trailing whitespace.
11270         * mach/err_ipc.sub: Likewise.
11271         * mach/err_mach.sub: Likewise.
11273         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11274         (ROUNDING_TESTS_double): Likewise.
11275         (ROUNDING_TESTS_long_double): Likewise.
11276         (ROUNDING_TESTS): Likewise.
11277         * math/libm-test.inc: Include <math-tests.h>.
11278         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11279         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11280         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11281         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11283 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11285         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11286         of assigning.
11288 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
11290         * sysdeps/gnu/errlist.awk: Do not generate space at end of
11291         otherwise empty TRANS lines.
11292         * sysdeps/gnu/errlist.c: Regenerated.
11294         * catgets/gencat.c (error_print): Use (void) in function
11295         definition.
11296         * crypt/crypt_util.c (__init_des): Likewise.
11297         * crypt/speeds.c (Stop): Likewise.
11298         (main): Likewise.
11299         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11300         * inet/ruserpass.c (token): Likewise.
11301         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11302         * intl/localealias.c (extend_alias_table): Likewise.
11303         * intl/plural-exp.c (init_germanic_plural): Likewise.
11304         * libio/fcloseall.c (__fcloseall): Likewise.
11305         * libio/genops.c (_IO_flush_all): Likewise.
11306         (_IO_flush_all_linebuffered): Likewise.
11307         (_IO_cleanup): Likewise.
11308         (_IO_iter_begin): Likewise.
11309         (_IO_iter_end): Likewise.
11310         (_IO_list_lock): Likewise.
11311         (_IO_list_unlock): Likewise.
11312         (_IO_list_resetlock): Likewise.
11313         * libio/getchar.c (getchar): Likewise.
11314         * libio/getchar_u.c (getchar_unlocked): Likewise.
11315         * libio/getwchar.c (getwchar): Likewise.
11316         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11317         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11318         * login/getpt.c (__getpt): Likewise.
11319         * login/tst-utmp.c (main): Likewise.
11320         * malloc/hooks.c (__malloc_check_init): Likewise.
11321         * malloc/malloc.c (__malloc_stats): Likewise.
11322         * malloc/mtrace.c (tr_break): Likewise.
11323         (mtrace): Likewise.
11324         (muntrace): Likewise.
11325         * misc/fstab.c (endfsent): Likewise.
11326         * misc/getclktck.c (__getclktck): Likewise.
11327         * misc/getdtsz.c (__getdtablesize): Likewise.
11328         * misc/gethostid.c (gethostid): Likewise.
11329         * misc/getpagesize.c (__getpagesize): Likewise.
11330         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11331         (__get_nprocs): Likewise.
11332         (__get_phys_pages): Likewise.
11333         (__get_avphys_pages): Likewise.
11334         * misc/getttyent.c (getttyent): Likewise.
11335         (setttyent): Likewise.
11336         (endttyent): Likewise.
11337         * misc/getusershell.c (getusershell): Likewise.
11338         (endusershell): Likewise.
11339         (setusershell): Likewise.
11340         (initshells): Likewise.
11341         * misc/hsearch.c (__hdestroy): Likewise.
11342         * misc/sync.c (sync): Likewise.
11343         * misc/syslog.c (closelog_internal): Likewise.
11344         (closelog): Likewise.
11345         * misc/ttyslot.c (ttyslot): Likewise.
11346         * misc/vhangup.c (vhangup): Likewise.
11347         * posix/fork.c (__fork): Likewise.
11348         * posix/getegid.c (__getegid): Likewise.
11349         * posix/geteuid.c (__geteuid): Likewise.
11350         * posix/getgid.c (__getgid): Likewise.
11351         * posix/getpid.c (__getpid): Likewise.
11352         * posix/getppid.c (__getppid): Likewise.
11353         * posix/getuid.c (__getuid): Likewise.
11354         * posix/pause.c (pause): Likewise.
11355         * posix/setpgrp.c (setpgrp): Likewise.
11356         * posix/setsid.c (__setsid): Likewise.
11357         * posix/test-vfork.c (noop): Likewise.
11358         * resolv/gethnamaddr.c (_endhtent): Likewise.
11359         (_gethtent): Likewise.
11360         (ht_endhostent): Likewise.
11361         (gethostent): Likewise.
11362         (dns_service): Likewise.
11363         * stdlib/drand48.c (drand48): Likewise.
11364         * stdlib/lrand48.c (lrand48): Likewise.
11365         * stdlib/mrand48.c (mrand48): Likewise.
11366         * stdlib/rand.c (rand): Likewise.
11367         * stdlib/random.c (__random): Likewise.
11368         * stdlib/setenv.c (clearenv): Likewise.
11369         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11370         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11371         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11372         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11373         (__get_nprocs): Likewise.
11374         (__get_phys_pages): Likewise.
11375         (__get_avphys_pages): Likewise.
11376         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11377         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11378         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11379         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11380         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11381         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11382         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11383         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11384         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11385         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11386         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11387         * sysdeps/mach/hurd/sync.c (sync): Likewise.
11388         * sysdeps/posix/clock.c (clock): Likewise.
11389         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11390         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11391         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11392         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11393         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11394         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11395         (__get_nprocs_conf): Likewise.
11396         (__get_phys_pages): Likewise.
11397         (__get_avphys_pages): Likewise.
11398         * time/clock.c (clock): Likewise.
11399         * time/tzset.c (__tzname_max): Likewise.
11401 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
11403         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11404         (__bswap_32): Do not use "register".
11405         * crypt/crypt.c (_ufc_doit_r): Likewise.
11406         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11407         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11408         * gmon/gmon.c (__monstartup): Likewise.
11409         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11410         * hurd/hurdmalloc.c (more_memory): Likewise.
11411         (malloc): Likewise.
11412         (free): Likewise.
11413         (realloc): Likewise.
11414         (malloc_fork_prepare): Likewise.
11415         (malloc_fork_parent): Likewise.
11416         (malloc_fork_child): Likewise.
11417         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11418         (_svcauth_des): Likewise.
11419         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11420         * inet/inet_net.c (inet_network): Likewise.
11421         * inet/inet_netof.c (inet_netof): Likewise.
11422         * inet/rcmd.c (__validuser2_sa): Likewise.
11423         * io/fts.c (fts_open): Likewise.
11424         (fts_load): Likewise.
11425         (fts_close): Likewise.
11426         (fts_read): Likewise.
11427         (fts_children): Likewise.
11428         (fts_build): Likewise.
11429         (fts_stat): Likewise.
11430         (fts_sort): Likewise.
11431         (fts_alloc): Likewise.
11432         (fts_lfree): Likewise.
11433         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11434         (_IO_file_xsgetn): Likewise.
11435         (_IO_file_xsgetn_mmap): Likewise.
11436         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11437         (_IO_cookie_write): Likewise.
11438         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11439         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11440         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11441         * malloc/obstack.c (_obstack_begin): Likewise.
11442         (_obstack_begin_1): Likewise.
11443         (_obstack_newchunk): Likewise.
11444         (_obstack_allocated_p): Likewise.
11445         (obstack_free): Likewise.
11446         (_obstack_memory_used): Likewise.
11447         * misc/getttyent.c (getttynam): Likewise.
11448         (getttyent): Likewise.
11449         (skip): Likewise.
11450         (value): Likewise.
11451         * misc/getusershell.c (initshells): Likewise.
11452         * misc/syslog.c (__vsyslog_chk): Likewise.
11453         * misc/ttyslot.c (ttyslot): Likewise.
11454         * nis/nis_hash.c (__nis_hash): Likewise.
11455         * posix/fnmatch_loop.c (FCT): Likewise.
11456         * posix/getconf.c (print_all): Likewise.
11457         (main): Likewise.
11458         * posix/getopt.c (exchange): Likewise.
11459         * posix/glob.c (globfree): Likewise.
11460         (prefix_array): Likewise.
11461         (__glob_pattern_type): Likewise.
11462         * resolv/arpa/nameser.h (NS_GET16): Likewise.
11463         (NS_GET32): Likewise.
11464         (NS_PUT16): Likewise.
11465         (NS_PUT32): Likewise.
11466         * resolv/gethnamaddr.c (getanswer): Likewise.
11467         (gethostbyname2): Likewise.
11468         (gethostbyaddr): Likewise.
11469         (_gethtent): Likewise.
11470         (_gethtbyname2): Likewise.
11471         (_gethtbyaddr): Likewise.
11472         * resolv/ns_print.c (dst_s_get_int16): Likewise.
11473         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11474         * resolv/res_init.c (__res_vinit): Likewise.
11475         (net_mask): Likewise.
11476         * resolv/res_mkquery.c (outchar): Likewise.
11477         (PRINT): Likewise.
11478         * stdio-common/printf_fp.c (outchar): Likewise.
11479         (PRINT): Likewise.
11480         * stdio-common/printf_fphex.c (outchar): Likewise.
11481         (PRINT): Likewise.
11482         * stdio-common/printf_size.c (outchar): Likewise.
11483         (PRINT): Likewise.
11484         * stdio-common/test_rdwr.c (main): Likewise.
11485         * stdio-common/tfformat.c (matches): Likewise.
11486         * stdio-common/vfprintf.c (outchar): Likewise.
11487         (printf_unknown): Likewise.
11488         (buffered_vfprintf): Likewise.
11489         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11490         * stdio-common/xbug.c (AppendToBuffer): Likewise.
11491         (ReadFile): Likewise.
11492         * stdlib/qsort.c (SWAP): Likewise.
11493         (_quicksort): Likewise.
11494         * stdlib/setenv.c (__add_to_environ): Likewise.
11495         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11496         * stdlib/strtol_l.c (__strtol_l): Likewise.
11497         * stdlib/tst-strtod.c (main): Likewise.
11498         * stdlib/tst-strtol.c (main): Likewise.
11499         * stdlib/tst-strtoll.c (main): Likewise.
11500         * string/bits/string2.h (__strcmp_cc): Likewise.
11501         (__strcmp_cg): Likewise.
11502         (__strcspn_c1): Likewise.
11503         (__strcspn_c2): Likewise.
11504         (__strcspn_c3): Likewise.
11505         (__strspn_c1): Likewise.
11506         (__strspn_c2): Likewise.
11507         (__strspn_c3): Likewise.
11508         (__strsep_1c): Likewise.
11509         (__strsep_2c): Likewise.
11510         (__strsep_3c): Likewise.
11511         * string/memccpy.c (__memccpy): Likewise.
11512         * string/stpcpy.c (__stpcpy): Likewise.
11513         * string/strcmp.c (strcmp): Likewise.
11514         * string/strrchr.c (strrchr): Likewise.
11515         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11516         Likewise.
11517         * sysdeps/mach/hurd/getcwd.c
11518         (_hurd_canonicalize_directory_name_internal): Likewise.
11519         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11520         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11521         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11522         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11523         Likewise, in both definitions.
11524         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11525         definitions.
11526         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11527         64] (__bswap_64): Likewise.
11528         * time/test_time.c (main): Likewise.
11529         * time/tzfile.c (__tzfile_read): Likewise.
11530         (__tzfile_compute): Likewise.
11531         * time/tzset.c (__tzset_parse_tz): Likewise.
11532         (tzset_internal): Likewise.
11533         (compute_change): Likewise.
11534         * wcsmbs/wcscat.c (__wcscat): Likewise.
11535         * wcsmbs/wcschr.c (wcschr): Likewise.
11536         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11537         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11538         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11539         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11540         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11541         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11542         * wcsmbs/wmemchr.c (wmemchr): Likewise.
11543         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11544         * wcsmbs/wmemset.c (wmemset): Likewise.
11546 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
11548         * scripts/config.guess: Update to version 2013-05-16.
11549         * scripts/config.sub: Update to version 2013-04-24.
11550         * scripts/install-sh: Update to version 2011-11-20.07.
11551         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11552         * scripts/move-if-change: Update to version 2012-01-06 07:23.
11554 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
11556         * debug/fgetws_u_chk.c: Fix leading whitespaces.
11557         * elf/sln.c: Likewise.
11558         * hurd/hurd/ioctl.h: Likewise.
11559         * hurd/hurdmalloc.c: Likewise.
11560         * hurd/xattr.c: Likewise.
11561         * include/shlib-compat.h: Likewise.
11562         * inet/ruserpass.c: Likewise.
11563         * libio/iofgets_u.c: Likewise.
11564         * libio/iofgetws_u.c: Likewise.
11565         * locale/programs/ld-identification.c: Likewise.
11566         * locale/programs/ld-time.c: Likewise.
11567         * mach/msg-destroy.c: Likewise.
11568         * nss/nss_files/files-netgrp.c: Likewise.
11569         * resolv/res_data.c: Likewise.
11570         * soft-fp/op-1.h: Likewise.
11571         * soft-fp/op-2.h: Likewise.
11572         * soft-fp/op-4.h: Likewise.
11573         * soft-fp/op-common.h: Likewise.
11574         * stdio-common/printf_fphex.c: Likewise.
11575         * stdlib/strtod_l.c: Likewise.
11576         * sunrpc/rpc/clnt.h: Likewise.
11577         * sysdeps/generic/framestate.c: Likewise.
11578         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11579         * sysdeps/i386/bsd-setjmp.S: Likewise.
11580         * sysdeps/i386/__longjmp.S: Likewise.
11581         * sysdeps/i386/setjmp.S: Likewise.
11582         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11583         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11584         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11585         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11586         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11587         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11588         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11589         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11590         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11591         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11592         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11593         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11594         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11595         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11596         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11597         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11598         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11599         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11600         * sysdeps/ieee754/support.c: Likewise.
11601         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11602         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11603         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11604         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11605         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11606         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11607         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11608         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11609         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11610         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11611         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11612         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11613         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11614         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11615         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11616         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11617         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11620 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
11622         * posix/transbug.c: Remove executable mode.
11624 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
11626         * crypt/speeds.c: Remove trailing whitespace.
11627         * dlfcn/default.c: Likewise.
11628         * elf/ifuncdep2.c: Likewise.
11629         * elf/ifuncmain1.c: Likewise.
11630         * elf/ifuncmain1vis.c: Likewise.
11631         * elf/testobj.h: Likewise.
11632         * elf/tst-stackguard1.c: Likewise.
11633         * gmon/sys/gmon.h: Likewise.
11634         * hurd/hurdmsg.c: Likewise.
11635         * hurd/new-fd.c: Likewise.
11636         * hurd/ports-get.c: Likewise.
11637         * iconvdata/ibm1008_420.c: Likewise.
11638         * inet/tst-getni1.c: Likewise.
11639         * inet/tst-getni2.c: Likewise.
11640         * libio/ioungetc.c: Likewise.
11641         * libio/wfiledoalloc.c: Likewise.
11642         * manual/libm-err-tab.pl: Likewise.
11643         * math/w_dremf.c: Likewise.
11644         * misc/ftruncate.c: Likewise.
11645         * posix/bug-glob2.c: Likewise.
11646         * posix/tst-pcre.c: Likewise.
11647         * posix/wait4.c: Likewise.
11648         * resolv/README: Likewise.
11649         * resolv/res_debug.h: Likewise.
11650         * resolv/tst-inet_ntop.c: Likewise.
11651         * setjmp/bug269-setjmp.c: Likewise.
11652         * soft-fp/extended.h: Likewise.
11653         * soft-fp/op-1.h: Likewise.
11654         * soft-fp/op-2.h: Likewise.
11655         * soft-fp/op-4.h: Likewise.
11656         * soft-fp/op-8.h: Likewise.
11657         * soft-fp/testit.c: Likewise.
11658         * stdio-common/bug16.c: Likewise.
11659         * stdlib/random.c: Likewise.
11660         * sunrpc/rpcsvc/rquota.x: Likewise.
11661         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11662         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11663         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11664         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11665         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11666         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11667         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11668         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11669         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11670         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11671         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11672         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11673         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11674         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11675         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11676         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11677         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11678         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11679         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11680         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11681         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11682         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11683         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11684         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11685         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11686         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11687         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11688         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11689         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11690         * sysdeps/ieee754/s_lib_version.c: Likewise.
11691         * sysdeps/mach/hurd/check_fds.c: Likewise.
11692         * sysdeps/mach/hurd/getsockname.c: Likewise.
11693         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11694         * sysdeps/mach/hurd/recvfrom.c: Likewise.
11695         * sysdeps/powerpc/bits/link.h: Likewise.
11696         * sysdeps/powerpc/dl-procinfo.c: Likewise.
11697         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11698         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11699         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11700         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11701         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11702         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11703         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11704         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11705         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11706         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11707         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11708         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11709         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11710         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11711         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11712         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11713         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11714         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11715         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11716         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11717         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11718         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11719         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11720         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11721         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11722         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11723         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11724         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11725         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11726         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11727         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11728         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11729         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11730         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11731         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11732         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11733         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11734         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11735         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11736         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11737         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11738         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11739         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11740         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11741         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11742         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11743         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11744         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11745         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11746         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11747         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11748         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11749         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11750         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11751         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11752         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11753         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11754         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11755         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11756         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11757         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11758         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11759         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11760         * sysdeps/powerpc/sysdep.h: Likewise.
11761         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11762         * sysdeps/s390/s390-64/sub_n.S: Likewise.
11763         * sysdeps/sh/dl-trampoline.S: Likewise.
11764         * sysdeps/sh/memset.S: Likewise.
11765         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11766         * sysdeps/sh/strlen.S: Likewise.
11767         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11768         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11769         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11770         * sysdeps/sparc/sparc32/rem.S: Likewise.
11771         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11772         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11773         * sysdeps/sparc/sparc32/strchr.S: Likewise.
11774         * sysdeps/sparc/sparc32/udiv.S: Likewise.
11775         * sysdeps/sparc/sparc32/urem.S: Likewise.
11776         * sysdeps/sparc/sparc64/add_n.S: Likewise.
11777         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11778         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11779         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11780         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11781         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11782         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11783         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11784         * sysdeps/unix/bsd/times.c: Likewise.
11785         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11786         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11790         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11791         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11792         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11793         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11794         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11795         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11796         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11797         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11798         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11799         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11800         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11801         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11802         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11803         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11804         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11805         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11806         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11807         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11808         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11809         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11810         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11811         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11812         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11813         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11814         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11815         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11816         * sysdeps/x86_64/strcspn.S: Likewise.
11818 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11820         * locale/C-translit.h: Revert #include <stdint.h> because this is a
11821         generated file.  Regenerate properly from gen-translit.pl.
11822         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
11823         locale/C-translit.h.
11825 2013-06-05  Andreas Schwab  <schwab@suse.de>
11827         [BZ #15100]
11828         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11829         week as 6 instead of -1.
11830         * time/tst-strptime.c (day_tests): Add test case.
11832 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11834         * sysdeps/generic/math_private.h
11835         (libc_feholdexcept_setround_53bit): Replace with
11836         libc_feholdsetround_53bit.
11837         (libc_feupdateenv_53bit): Replace with
11838         libc_feresetround_53bit.
11839         (SET_RESTORE_ROUND_53BIT): Adjust.
11841 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11843         * string/test-strchrnul.c: Add copyright header.
11845         * posix/tst-getaddrinfo4.c: Increase test timeout.
11847 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
11849         [BZ #15536]
11850         * math/libm-test.inc (MAX_EXP): Remove
11851         (MIN_EXP): Define.
11852         (ulp): Use MIN_EXP - MANT_DIG.
11853         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11855 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
11857         * po/be.po: Revert last change.
11858         * po/zh_CN.po: Likewise.
11859         * po/header.pot: Likewise.
11861 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
11863         * Makefile ($(common-objpfx)linkobj/libc.so): Define
11864         link-libc-deps to empty as target-specific variable.
11865         * Makerules (link-libc-args): New variable.
11866         (libc-for-link): Likewise.
11867         (link-libc-deps): Likewise.
11868         (lib%.so): Depend on $(link-libc-deps).  Link with
11869         $(link-libc-args).
11870         (build-module): Link with $(link-libc-args).
11871         (build-module-asneeded): Likewise.
11872         (build-module-helper-objlist): Filter out $(link-libc-deps) from
11873         list of objects.
11874         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11875         target-specific variable.
11876         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11877         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11878         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11879         libc.
11880         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11881         libc and ld.so.
11882         ($(objpfx)libpcprofile.so): Likewise.
11883         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11884         libc_nonshared.a.
11885         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11886         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11887         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11888         $(link-libc-deps).
11889         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11890         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11891         * login/Makefile ($(objpfx)libutil.so): Likewise.
11892         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11893         * math/Makefile ($(objpfx)libm.so): Likewise.
11894         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11895         $(objpfx)libnsl.so): Define libc-for-link as target-specific
11896         variable instead of depending directly on libc.
11897         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11898         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11899         $(link-libc-deps).
11900         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11901         libc.
11902         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11903         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11904         ($(objpfx)libanl.so): Likewise.
11905         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11906         ld.so.
11907         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11908         $(link-libc-deps).
11909         * sysdeps/i386/fpu/Makefile: Remove file.
11910         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11911         ($(objpfx)libm.so): Remove dependency on ld.so.
11913 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
11915         [BZ # 15553]
11916         * nis/yp_xdr.c (XDRMAXNAME): Define.
11917         (XDRMAXRECORD): Define.
11918         (xdr_domainname): Use XDRMAXNAME.
11919         (xdr_mapname): Likewise.
11920         (xdr_peername): Likewise.
11921         (xdr_keydat): Use XDRMAXRECORD.
11922         (xdr_valdat): Likewise.
11924 2013-05-30  Jeff Law  <law@redhat.com>
11926         [BZ #14256]
11927         * manual/errno.texi (ESTALE): Update to account for more than
11928         just NFS file systems.
11929         * sysdeps/gnu/errlist.c: Regenerated.
11931 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11933         [BZ #15465]
11934         * elf/Makefile (tests): Add tst-null-argv.
11935         (modules-names):  Add tst-null-argv-lib.
11936         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11937         (tst-null-argv-ENV): Set environment for tst-null-argv.
11938         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11939         (RTLD_PROGNAME): New macro.
11940         * elf/tst-null-argv.c: New test case.
11941         * elf/tst-null-argv-lib.c: Library for test case.
11942         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11943         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11944         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11945         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11946         * elf/dl-init.c (call_init): Likewise.
11947         (_dl_init): Likewise.
11948         * elf/dl-load.c (print_search_path): Likewise.
11949         (_dl_map_object): Likewise.
11950         * elf/dl-lookup.c (do_lookup_x): Likewise.
11951         (add_dependency): Likewise.
11952         (_dl_lookup_symbol_x): Likewise.
11953         (_dl_debug_bindings): Likewise.
11954         * elf/dl-open.c (_dl_show_scope): Likewise.
11955         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11956         * elf/dl-version.c (match_symbol): Likewise.
11957         (_dl_check_map_versions): Likewise.
11958         * elf/rtld.c (dl_main): Likewise.
11959         (print_unresolved): Use RTLD_PROGNAME.
11960         (print_missing_version): Likewise.
11961         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11962         (elf_machine_rela): Likewise.
11963         * sysdeps/powerpc/powerpc32/dl-machine.c
11964         (__process_machine_rela): Likewise.
11965         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11966         Likewise.
11967         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11968         Likewise.
11969         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11970         Likewise.
11971         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11972         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11973         Likewise.
11974         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11975         Likewise.
11976         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11978 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
11980         * po/be.po: Add descriptive title.
11981         * po/zh_CN.po: Likewise.
11982         * po/header.pot: Likewise.
11984 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
11986         * locale/programs/locarchive.c (create_archive): Inlucde fname in
11987         error message.
11988         (enlarge_archive): Likewise.
11990 2013-05-28  Ben North  <ben@redfrontdoor.org>
11992         * manual/arith.texi (frexp): It is the magnitude of the return
11993         value which lies in [0.5, 1), not the return value itself.
11995 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11999 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
12001         * stdio-common/bug26.c (main): Correct fscanf template.
12003         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12004         declare _dl_skip_args.
12006         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12007         Don't declare.
12009         * manual/platform.texi: Add missing @end deftypefun.
12011 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12013         [BZ #15529]
12014         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12015         bit of mantissa of 2^16382.
12016         * math/libm-test.inc (hypot_test_data): Add more tests.
12018         * math/libm-test.inc: Add drem and pow10 to list of tested
12019         functions.
12020         (pow10_test): New function.
12021         (drem_test): Likewise.
12022         (drem_test_tonearest): Likewise.
12023         (drem_test_towardzero): Likewise.
12024         (drem_test_downward): Likewise.
12025         (drem_test_upward): Likewise.
12026         (main): Call the new functions.
12028         * math/libm-test.inc (finite_test_data): Remove.
12029         (finite_test): Run tests from isfinite_test_data.
12030         (gamma_test_data): Remove.
12031         (gamma_test): Run tests from lgamma_test_data.
12032         * sysdeps/i386/fpu/libm-test-ulps: Update.
12033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12035 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12037         * manual/platform.texi: Add PowerPC PPR function set documentation.
12038         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12039         implementation.
12041 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
12043         * math/libm-test.inc (MAX_EXP): Define.
12044         (ULPDIFF): Define.
12045         (ulp): New function.
12046         (check_float_internal): Use ULPDIFF.
12047         (cpow_test): Disable failing test.
12048         (check_ulp): Test ulp() implemetnation.
12049         (main): Call check_ulp before starting tests.
12051 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
12053         * math/gen-libm-test.pl (generate_testfile): Do not handle
12054         START_DATA and END_DATA.
12055         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12056         END_DATA.
12057         (acos_tonearest_test_data): Likewise.
12058         (acos_towardzero_test_data): Likewise.
12059         (acos_downward_test_data): Likewise.
12060         (acos_upward_test_data): Likewise.
12061         (acosh_test_data): Likewise.
12062         (asin_test_data): Likewise.
12063         (asin_tonearest_test_data): Likewise.
12064         (asin_towardzero_test_data): Likewise.
12065         (asin_downward_test_data): Likewise.
12066         (asin_upward_test_data): Likewise.
12067         (asinh_test_data): Likewise.
12068         (atan_test_data): Likewise.
12069         (atanh_test_data): Likewise.
12070         (atan2_test_data): Likewise.
12071         (cabs_test_data): Likewise.
12072         (cacos_test_data): Likewise.
12073         (cacosh_test_data): Likewise.
12074         (carg_test_data): Likewise.
12075         (casin_test_data): Likewise.
12076         (casinh_test_data): Likewise.
12077         (catan_test_data): Likewise.
12078         (catanh_test_data): Likewise.
12079         (cbrt_test_data): Likewise.
12080         (ccos_test_data): Likewise.
12081         (ccosh_test_data): Likewise.
12082         (ceil_test_data): Likewise.
12083         (cexp_test_data): Likewise.
12084         (cimag_test_data): Likewise.
12085         (clog_test_data): Likewise.
12086         (clog10_test_data): Likewise.
12087         (conj_test_data): Likewise.
12088         (copysign_test_data): Likewise.
12089         (cos_test_data): Likewise.
12090         (cos_tonearest_test_data): Likewise.
12091         (cos_towardzero_test_data): Likewise.
12092         (cos_downward_test_data): Likewise.
12093         (cos_upward_test_data): Likewise.
12094         (cosh_test_data): Likewise.
12095         (cosh_tonearest_test_data): Likewise.
12096         (cosh_towardzero_test_data): Likewise.
12097         (cosh_downward_test_data): Likewise.
12098         (cosh_upward_test_data): Likewise.
12099         (cpow_test_data): Likewise.
12100         (cproj_test_data): Likewise.
12101         (creal_test_data): Likewise.
12102         (csin_test_data): Likewise.
12103         (csinh_test_data): Likewise.
12104         (csqrt_test_data): Likewise.
12105         (ctan_test_data): Likewise.
12106         (ctan_tonearest_test_data): Likewise.
12107         (ctan_towardzero_test_data): Likewise.
12108         (ctan_downward_test_data): Likewise.
12109         (ctan_upward_test_data): Likewise.
12110         (ctanh_test_data): Likewise.
12111         (ctanh_tonearest_test_data): Likewise.
12112         (ctanh_towardzero_test_data): Likewise.
12113         (ctanh_downward_test_data): Likewise.
12114         (ctanh_upward_test_data): Likewise.
12115         (erf_test_data): Likewise.
12116         (erfc_test_data): Likewise.
12117         (exp_test_data): Likewise.
12118         (exp_tonearest_test_data): Likewise.
12119         (exp_towardzero_test_data): Likewise.
12120         (exp_downward_test_data): Likewise.
12121         (exp_upward_test_data): Likewise.
12122         (exp10_test_data): Likewise.
12123         (exp2_test_data): Likewise.
12124         (expm1_test_data): Likewise.
12125         (fabs_test_data): Likewise.
12126         (fdim_test_data): Likewise.
12127         (finite_test_data): Likewise.
12128         (floor_test_data): Likewise.
12129         (fma_test_data): Likewise.
12130         (fma_towardzero_test_data): Likewise.
12131         (fma_downward_test_data): Likewise.
12132         (fma_upward_test_data): Likewise.
12133         (fmax_test_data): Likewise.
12134         (fmin_test_data): Likewise.
12135         (fmod_test_data): Likewise.
12136         (fpclassify_test_data): Likewise.
12137         (frexp_test_data): Likewise.
12138         (gamma_test_data): Likewise.
12139         (hypot_test_data): Likewise.
12140         (ilogb_test_data): Likewise.
12141         (isfinite_test_data): Likewise.
12142         (isgreater_test_data): Likewise.
12143         (isgreaterequal_test_data): Likewise.
12144         (isinf_test_data): Likewise.
12145         (isless_test_data): Likewise.
12146         (islessequal_test_data): Likewise.
12147         (islessgreater_test_data): Likewise.
12148         (isnan_test_data): Likewise.
12149         (isnormal_test_data): Likewise.
12150         (issignaling_test_data): Likewise.
12151         (isunordered_test_data): Likewise.
12152         (j0_test_data): Likewise.
12153         (j1_test_data): Likewise.
12154         (jn_test_data): Likewise.
12155         (ldexp_test_data): Likewise.
12156         (lgamma_test_data): Likewise.
12157         (lrint_test_data): Likewise.
12158         (lrint_tonearest_test_data): Likewise.
12159         (lrint_towardzero_test_data): Likewise.
12160         (lrint_downward_test_data): Likewise.
12161         (lrint_upward_test_data): Likewise.
12162         (llrint_test_data): Likewise.
12163         (llrint_tonearest_test_data): Likewise.
12164         (llrint_towardzero_test_data): Likewise.
12165         (llrint_downward_test_data): Likewise.
12166         (llrint_upward_test_data): Likewise.
12167         (log_test_data): Likewise.
12168         (log10_test_data): Likewise.
12169         (log1p_test_data): Likewise.
12170         (log2_test_data): Likewise.
12171         (logb_test_data): Likewise.
12172         (logb_downward_test_data): Likewise.
12173         (lround_test_data): Likewise.
12174         (llround_test_data): Likewise.
12175         (modf_test_data): Likewise.
12176         (nearbyint_test_data): Likewise.
12177         (nextafter_test_data): Likewise.
12178         (nexttoward_test_data): Likewise.
12179         (pow_test_data): Likewise.
12180         (pow_tonearest_test_data): Likewise.
12181         (pow_towardzero_test_data): Likewise.
12182         (pow_downward_test_data): Likewise.
12183         (pow_upward_test_data): Likewise.
12184         (remainder_test_data): Likewise.
12185         (remainder_tonearest_test_data): Likewise.
12186         (remainder_towardzero_test_data): Likewise.
12187         (remainder_downward_test_data): Likewise.
12188         (remainder_upward_test_data): Likewise.
12189         (remquo_test_data): Likewise.
12190         (rint_test_data): Likewise.
12191         (rint_tonearest_test_data): Likewise.
12192         (rint_towardzero_test_data): Likewise.
12193         (rint_downward_test_data): Likewise.
12194         (rint_upward_test_data): Likewise.
12195         (round_test_data): Likewise.
12196         (scalb_test_data): Likewise.
12197         (scalbn_test_data): Likewise.
12198         (scalbln_test_data): Likewise.
12199         (signbit_test_data): Likewise.
12200         (sin_test_data): Likewise.
12201         (sin_tonearest_test_data): Likewise.
12202         (sin_towardzero_test_data): Likewise.
12203         (sin_downward_test_data): Likewise.
12204         (sin_upward_test_data): Likewise.
12205         (sincos_test_data): Likewise.
12206         (sinh_test_data): Likewise.
12207         (sinh_tonearest_test_data): Likewise.
12208         (sinh_towardzero_test_data): Likewise.
12209         (sinh_downward_test_data): Likewise.
12210         (sinh_upward_test_data): Likewise.
12211         (sqrt_test_data): Likewise.
12212         (tan_test_data): Likewise.
12213         (tan_tonearest_test_data): Likewise.
12214         (tan_towardzero_test_data): Likewise.
12215         (tan_downward_test_data): Likewise.
12216         (tan_upward_test_data): Likewise.
12217         (tanh_test_data): Likewise.
12218         (tgamma_test_data): Likewise.
12219         (trunc_test_data): Likewise.
12220         (y0_test_data): Likewise.
12221         (y1_test_data): Likewise.
12222         (yn_test_data): Likewise.
12223         (significand_test_data): Likewise.
12225         * math/gen-libm-test.pl (@functions): Remove variable.
12226         (generate_testfile): Don't handle START and END lines.
12227         * math/libm-test.inc (START): New macro.
12228         (END): Likewise.
12229         (END_COMPLEX): Likewise.
12230         (acos_test): Use END macro without arguments.
12231         (acos_test_tonearest): Likewise.
12232         (acos_test_towardzero): Likewise.
12233         (acos_test_downward): Likewise.
12234         (acos_test_upward): Likewise.
12235         (acosh_test): Likewise.
12236         (asin_test): Likewise.
12237         (asin_test_tonearest): Likewise.
12238         (asin_test_towardzero): Likewise.
12239         (asin_test_downward): Likewise.
12240         (asin_test_upward): Likewise.
12241         (asinh_test): Likewise.
12242         (atan_test): Likewise.
12243         (atanh_test): Likewise.
12244         (atan2_test): Likewise.
12245         (cabs_test): Likewise.
12246         (cacos_test): Use END_COMPLEX macro without arguments.
12247         (cacosh_test): Likewise.
12248         (carg_test): Use END macro without arguments.
12249         (casin_test): Use END_COMPLEX macro without arguments.
12250         (casinh_test): Likewise.
12251         (catan_test): Likewise.
12252         (catanh_test): Likewise.
12253         (cbrt_test): Use END macro without arguments.
12254         (ccos_test): Use END_COMPLEX macro without arguments.
12255         (ccosh_test): Likewise.
12256         (ceil_test): Use END macro without arguments.
12257         (cexp_test): Use END_COMPLEX macro without arguments.
12258         (cimag_test): Use END macro without arguments.
12259         (clog_test): Use END_COMPLEX macro without arguments.
12260         (clog10_test): Likewise.
12261         (conj_test): Likewise.
12262         (copysign_test): Use END macro without arguments.
12263         (cos_test): Likewise.
12264         (cos_test_tonearest): Likewise.
12265         (cos_test_towardzero): Likewise.
12266         (cos_test_downward): Likewise.
12267         (cos_test_upward): Likewise.
12268         (cosh_test): Likewise.
12269         (cosh_test_tonearest): Likewise.
12270         (cosh_test_towardzero): Likewise.
12271         (cosh_test_downward): Likewise.
12272         (cosh_test_upward): Likewise.
12273         (cpow_test): Use END_COMPLEX macro without arguments.
12274         (cproj_test): Likewise.
12275         (creal_test): Use END macro without arguments.
12276         (csin_test): Use END_COMPLEX macro without arguments.
12277         (csinh_test): Likewise.
12278         (csqrt_test): Likewise.
12279         (ctan_test): Likewise.
12280         (ctan_test_tonearest): Likewise.
12281         (ctan_test_towardzero): Likewise.
12282         (ctan_test_downward): Likewise.
12283         (ctan_test_upward): Likewise.
12284         (ctanh_test): Likewise.
12285         (ctanh_test_tonearest): Likewise.
12286         (ctanh_test_towardzero): Likewise.
12287         (ctanh_test_downward): Likewise.
12288         (ctanh_test_upward): Likewise.
12289         (erf_test): Use END macro without arguments.
12290         (erfc_test): Likewise.
12291         (exp_test): Likewise.
12292         (exp_test_tonearest): Likewise.
12293         (exp_test_towardzero): Likewise.
12294         (exp_test_downward): Likewise.
12295         (exp_test_upward): Likewise.
12296         (exp10_test): Likewise.
12297         (exp2_test): Likewise.
12298         (expm1_test): Likewise.
12299         (fabs_test): Likewise.
12300         (fdim_test): Likewise.
12301         (finite_test): Likewise.
12302         (floor_test): Likewise.
12303         (fma_test): Likewise.
12304         (fma_test_towardzero): Likewise.
12305         (fma_test_downward): Likewise.
12306         (fma_test_upward): Likewise.
12307         (fmax_test): Likewise.
12308         (fmin_test): Likewise.
12309         (fmod_test): Likewise.
12310         (fpclassify_test): Likewise.
12311         (frexp_test): Likewise.
12312         (gamma_test): Likewise.
12313         (hypot_test): Likewise.
12314         (ilogb_test): Likewise.
12315         (isfinite_test): Likewise.
12316         (isgreater_test): Likewise.
12317         (isgreaterequal_test): Likewise.
12318         (isinf_test): Likewise.
12319         (isless_test): Likewise.
12320         (islessequal_test): Likewise.
12321         (islessgreater_test): Likewise.
12322         (isnan_test): Likewise.
12323         (isnormal_test): Likewise.
12324         (issignaling_test): Likewise.
12325         (isunordered_test): Likewise.
12326         (j0_test): Likewise.
12327         (j1_test): Likewise.
12328         (jn_test): Likewise.
12329         (ldexp_test): Likewise.
12330         (lgamma_test): Likewise.
12331         (lrint_test): Likewise.
12332         (lrint_test_tonearest): Likewise.
12333         (lrint_test_towardzero): Likewise.
12334         (lrint_test_downward): Likewise.
12335         (lrint_test_upward): Likewise.
12336         (llrint_test): Likewise.
12337         (llrint_test_tonearest): Likewise.
12338         (llrint_test_towardzero): Likewise.
12339         (llrint_test_downward): Likewise.
12340         (llrint_test_upward): Likewise.
12341         (log_test): Likewise.
12342         (log10_test): Likewise.
12343         (log1p_test): Likewise.
12344         (log2_test): Likewise.
12345         (logb_test): Likewise.
12346         (logb_test_downward): Likewise.
12347         (lround_test): Likewise.
12348         (llround_test): Likewise.
12349         (modf_test): Likewise.
12350         (nearbyint_test): Likewise.
12351         (nextafter_test): Likewise.
12352         (nexttoward_test): Likewise.
12353         (pow_test): Likewise.
12354         (pow_test_tonearest): Likewise.
12355         (pow_test_towardzero): Likewise.
12356         (pow_test_downward): Likewise.
12357         (pow_test_upward): Likewise.
12358         (remainder_test): Likewise.
12359         (remainder_test_tonearest): Likewise.
12360         (remainder_test_towardzero): Likewise.
12361         (remainder_test_downward): Likewise.
12362         (remainder_test_upward): Likewise.
12363         (remquo_test): Likewise.
12364         (rint_test): Likewise.
12365         (rint_test_tonearest): Likewise.
12366         (rint_test_towardzero): Likewise.
12367         (rint_test_downward): Likewise.
12368         (rint_test_upward): Likewise.
12369         (round_test): Likewise.
12370         (scalb_test): Likewise.
12371         (scalbn_test): Likewise.
12372         (scalbln_test): Likewise.
12373         (signbit_test): Likewise.
12374         (sin_test): Likewise.
12375         (sin_test_tonearest): Likewise.
12376         (sin_test_towardzero): Likewise.
12377         (sin_test_downward): Likewise.
12378         (sin_test_upward): Likewise.
12379         (sincos_test): Likewise.
12380         (sinh_test): Likewise.
12381         (sinh_test_tonearest): Likewise.
12382         (sinh_test_towardzero): Likewise.
12383         (sinh_test_downward): Likewise.
12384         (sinh_test_upward): Likewise.
12385         (sqrt_test): Likewise.
12386         (tan_test): Likewise.
12387         (tan_test_tonearest): Likewise.
12388         (tan_test_towardzero): Likewise.
12389         (tan_test_downward): Likewise.
12390         (tan_test_upward): Likewise.
12391         (tanh_test): Likewise.
12392         (tgamma_test): Likewise.
12393         (trunc_test): Likewise.
12394         (y0_test): Likewise.
12395         (y1_test): Likewise.
12396         (yn_test): Likewise.
12397         (significand_test): Likewise.
12399 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
12401         [BZ #15381]
12402         * libio/genops.c (_IO_no_init): Initialize wide struct info.
12404 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12406         [BZ #14894]
12407         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12408         __ppc_mdoio and __ppc_mdoom.
12409         * manual/platform.texi: Document new functions __ppc_yield,
12410         __ppc_mdoio and __ppc_mdoom.
12412 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
12414         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12415         (main): Mention "tls" pseudo-hwcap is legacy.
12416         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12418 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12420         * math/gen-libm-test.pl (parse_args): Output only string of
12421         arguments as text for test name, not full call or descriptions of
12422         tests for extra outputs.
12423         (generate_testfile): Do not pass function name to parse_args.
12424         Generate this_func variable from START.
12425         * math/libm-test.inc (struct test_f_f_data): Rename test_name
12426         field to arg_str.
12427         (struct test_ff_f_data): Likewise.
12428         (test_ff_f_data_nexttoward): Likewise.
12429         (struct test_fi_f_data): Likewise.
12430         (struct test_fl_f_data): Likewise.
12431         (struct test_if_f_data): Likewise.
12432         (struct test_fff_f_data): Likewise.
12433         (struct test_c_f_data): Likewise.
12434         (struct test_f_f1_data): Likewise.  Remove field extra_name.
12435         (struct test_fF_f1_data): Likewise.
12436         (struct test_ffI_f1_data): Likewise.
12437         (struct test_c_c_data): Rename test_name field to arg_str.
12438         (struct test_cc_c_data): Likewise.
12439         (struct test_f_i_data): Likewise.
12440         (struct test_ff_i_data): Likewise.
12441         (struct test_f_l_data): Likewise.
12442         (struct test_f_L_data): Likewise.
12443         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
12444         and extra2_name.
12445         (COMMON_TEST_SETUP): New macro.
12446         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12447         (COMMON_TEST_CLEANUP): Likewise.
12448         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12449         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
12450         macros.
12451         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12452         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
12453         macros.
12454         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12455         (RUN_TEST_fff_f): Take argument string.  Call new setup and
12456         cleanup macros.
12457         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12458         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
12459         macros.
12460         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12461         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
12462         macros.
12463         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12464         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
12465         cleanup macros.
12466         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12467         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
12468         cleanup macros.
12469         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12470         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
12471         cleanup macros.
12472         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12473         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
12474         macros.
12475         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12476         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
12477         macros.
12478         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12479         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
12480         macros.
12481         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12482         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
12483         cleanup macros.
12484         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12485         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
12486         cleanup macros.
12487         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12488         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
12489         macros.
12490         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12491         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
12492         cleanup macros.
12493         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12494         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
12495         macros.
12496         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12497         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
12498         macros.
12499         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12500         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
12501         cleanup macros.
12502         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12504 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12506         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12507         to _sifields.sigfault.
12508         (si_addr_lsb): Define new macro.
12509         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12510         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12511         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12513 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
12515         [BZ #15441]
12516         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12517         returns -1.
12518         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12519         null return -1.
12520         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12521         loading the domain.
12523 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12525         * math/gen-libm-test.pl (parse_args): Do not include expected
12526         result in test name.
12527         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12528         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12529         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12530         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12531         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12534 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12536         * benchtests/Makefile: Sort function entries.
12538         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12539         tanh, asinh, acosh, atanh.
12540         * benchtests/acos-inputs: New file.
12541         * benchtests/acosh-inputs: New file.
12542         * benchtests/asin-inputs: New file.
12543         * benchtests/asinh-inputs: New file.
12544         * benchtests/atanh-inputs: New file.
12545         * benchtests/cosh-inputs: New file.
12546         * benchtests/log-inputs: New file.
12547         * benchtests/sinh-inputs: New file.
12548         * benchtests/tanh-inputs: New file.
12550 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
12552         [BZ #15339]
12553         * posix/tst-getaddrinfo4.c: New test.
12554         * posix/Makefile (tests): Add it.
12556 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12558         [BZ #15339]
12559         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12560         when no services were used.
12561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12562         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12564 2013-05-21  Andreas Schwab  <schwab@suse.de>
12566         [BZ #15014]
12567         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12568         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12569         successful.
12570         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12571         redundant variable declarations and reallocation of buffer when
12572         parsing as IPv6 address.  Always set NSS status when called from
12573         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
12574         buffer too small.  Correct computation of needed size.
12575         * nss/Makefile (tests): Add test-digits-dots.
12576         * nss/test-digits-dots.c: New test.
12578 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12580         * benchtests/Makefile: Remove instructions for adding
12581         benchmark tests.
12582         * benchtests/README: New file to explain how to execute and
12583         enhance the benchmark tests.
12585 2013-05-21  Andreas Schwab  <schwab@suse.de>
12587         [BZ #15493]
12588         * setjmp/Makefile (tests): Add tst-sigsetjmp.
12589         * setjmp/tst-sigsetjmp.c: New test.
12591 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12593         * sysdeps/x86_64/memset.S (memset): New implementation.
12594         (__bzero): Likewise.
12595         (__memset_tail): New function.
12597 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12599         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12600         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12601         __memcpy_sse2_unaligned ifunc selection.
12602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12603         Add memcpy-sse2-unaligned.S.
12604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12605         Add: __memcpy_sse2_unaligned.
12607 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
12609         [BZ #15490]
12610         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12611         math_force_eval before restoring floating-point envrionment.
12612         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12613         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12614         Likewise.
12615         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12616         <math_private.h>.
12617         (__nearbyintl): Use math_force_eval before restoring
12618         floating-point environment.
12619         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12621         * math/gen-libm-test.pl (special_functions): Remove.
12622         (parse_args): Don't handle TEST_extra.  Handle functions with no
12623         return value.
12624         * math/libm-test.inc (struct test_sincos_data): Replace with
12625         struct test_fFF_11_data.
12626         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12627         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12628         (sincos_test_data): Change element type to struct
12629         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
12630         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12631         RUN_TEST_LOOP_sincos.
12632         * math/README.libm-test: Don't mention special handling of
12633         individual functions.
12634         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12635         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12636         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12637         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12638         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12641         * math/gen-libm-test.pl (get_variable): Remove function.
12642         (parse_args): Don't show pointer parameters to call in test
12643         names.  Use "extra output N" in test names for extra outputs
12644         rather than naming variables.
12646 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
12648         [BZ #15488]
12649         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12650         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12651         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12652         double tests.
12653         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12654         disable.
12655         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12656         check_long_double.
12658         * math/gen-libm-test.pl (@tests): Remove variable.
12659         ($count): Likewise.
12660         (new_test): Remove function.
12661         (show_exceptions): New function.
12662         (special_functions): Use show_exceptions instead of new_test.
12663         (parse_args): Likewise.
12664         (generate_testfile): Pass only function name in generated call to
12665         print_max_error or print_complex_max_error.
12666         (get_ulps): Do not handle complex tests specially.
12667         (output_test): Rename to ...
12668         (get_all_ulps_for_test): ... this.  Return a string rather than
12669         printing to a file.  Require ulps to be present.
12670         (output_ulps): Generate arrays rather than #defines.
12671         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12672         (struct ulp_data): New type.
12673         (BUILD_COMPLEX_ULP): Remove macro.
12674         (compare_ulp_data): New function.
12675         (find_ulps): Likewise.
12676         (find_test_ulps): Likewise.
12677         (find_function_ulps): Likewise.
12678         (find_complex_function_ulps): Likewise.
12679         (print_max_error): Determine allowed ulps using
12680         find_function_ulps.
12681         (print_complex_max_error): Determine allowed ulps using
12682         find_complex_function_ulps.
12683         (check_float_internal): Determine max ulps using find_test_ulps.
12684         (check_float): Do not take max_ulp parameter.  Update call to
12685         check_float_internal.
12686         (check_complex): Likewise.
12687         (check_int): Do not take max_ulp parameter.
12688         (check_long): Likewise.
12689         (check_bool): Likewise.
12690         (check_longlong): Likewise.
12691         (struct test_f_f_data): Remove max_ulp field.
12692         (struct test_ff_f_data): Likewise.
12693         (struct test_ff_f_data_nexttoward): Likewise.
12694         (struct test_fi_f_data): Likewise.
12695         (struct test_fl_f_data): Likewise.
12696         (struct test_if_f_data): Likewise.
12697         (struct test_fff_f_data): Likewise.
12698         (struct test_c_f_data): Likewise.
12699         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12700         (struct test_fF_f1_data): Likewise.
12701         (struct test_ffI_f1_data): Likewise.
12702         (struct test_c_c_data): Remove max_ulp field.
12703         (struct test_cc_c_data): Likewise.
12704         (struct test_f_i_data): Likewise.
12705         (struct test_ff_i_data): Likewise.
12706         (struct test_f_l_data): Likewise.
12707         (struct test_f_L_data): Likewise.
12708         (struct test_sincos_data): Likewise.
12709         (RUN_TEST_f_f): Do not handle ulps.
12710         (RUN_TEST_LOOP_f_f): Likewise.
12711         (RUN_TEST_2_f): Likewise.
12712         (RUN_TEST_LOOP_2_f): Likewise.
12713         (RUN_TEST_fff_f): Likewise.
12714         (RUN_TEST_LOOP_fff_f): Likewise.
12715         (RUN_TEST_c_f): Likewise.
12716         (RUN_TEST_LOOP_c_f): Likewise.
12717         (RUN_TEST_f_f1): Likewise.
12718         (RUN_TEST_LOOP_f_f1): Likewise.
12719         (RUN_TEST_fF_f1): Likewise.
12720         (RUN_TEST_LOOP_fF_f1): Likewise.
12721         (RUN_TEST_fI_f1): Likewise.
12722         (RUN_TEST_LOOP_fI_f1): Likewise.
12723         (RUN_TEST_ffI_f1): Likewise.
12724         (RUN_TEST_LOOP_ffI_f1): Likewise.
12725         (RUN_TEST_c_c): Likewise.
12726         (RUN_TEST_LOOP_c_c): Likewise.
12727         (RUN_TEST_cc_c): Likewise.
12728         (RUN_TEST_LOOP_cc_c): Likewise.
12729         (RUN_TEST_f_i): Likewise.
12730         (RUN_TEST_LOOP_f_i): Likewise.
12731         (RUN_TEST_f_i_tg): Likewise.
12732         (RUN_TEST_LOOP_f_i_tg): Likewise.
12733         (RUN_TEST_ff_i_tg): Likewise.
12734         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12735         (RUN_TEST_f_b): Likewise.
12736         (RUN_TEST_LOOP_f_b): Likewise.
12737         (RUN_TEST_f_b_tg): Likewise.
12738         (RUN_TEST_LOOP_f_b_tg): Likewise.
12739         (RUN_TEST_f_l): Likewise.
12740         (RUN_TEST_LOOP_f_l): Likewise.
12741         (RUN_TEST_f_L): Likewise.
12742         (RUN_TEST_LOOP_f_L): Likewise.
12743         (RUN_TEST_sincos): Likewise.
12744         (RUN_TEST_LOOP_sincos): Likewise.
12746 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
12748         [BZ #15480]
12749         [BZ #15485]
12750         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12751         main case of finite arguments, set rounding mode to FE_TONEAREST
12752         and discard exceptions.
12753         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12754         exceptions.
12755         (remainder_tonearest_test_data): New variable.
12756         (remainder_test_tonearest): New function.
12757         (remainder_towardzero_test_data): New variable.
12758         (remainder_test_towardzero): New function.
12759         (remainder_downward_test_data): New variable.
12760         (remainder_test_downward): New function.
12761         (remainder_upward_test_data): New variable.
12762         (remainder_test_upward): New function.
12763         (main): Call the new test functions.
12765         * math/libm-test.inc (struct test_f_f1_data): Remove field
12766         extra_init.
12767         (struct test_fF_f1_data): Likewise.
12768         (struct test_ffI_f1_data): Likewise.
12769         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
12770         based on value of EXTRA_EXPECTED.
12771         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12772         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
12773         EXTRA_VAR based on value of EXTRA_EXPECTED.
12774         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12775         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
12776         EXTRA_VAR based on value of EXTRA_EXPECTED.
12777         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12778         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
12779         EXTRA_VAR based on value of EXTRA_EXPECTED.
12780         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12781         * math/gen-libm-test.pl (parse_args): Don't output initializers
12782         for extra output values.
12784         * math/libm-test.inc (check_int): Expect result to be exactly
12785         equal to expected value and do not handle ulps.
12786         (check_long): Likewise.
12787         (check_longlong): Likewise.
12789         * math/libm-test.inc (ceil_test_data): Test for "inexact"
12790         exceptions.
12791         (cimag_test_data): Likewise.
12792         (conj_test_data): Likewise.
12793         (copysign_test_data): Likewise.
12794         (cproj_test_data): Likewise.
12795         (creal_test_data): Likewise.
12796         (fabs_test_data): Likewise.
12797         (fdim_test_data): Likewise.
12798         (finite_test_data): Likewise.
12799         (floor_test_data): Likewise.
12800         (fmax_test_data): Likewise.
12801         (fmin_test_data): Likewise.
12802         (fmod_test_data): Likewise.
12803         (fpclassify_test_data): Likewise.
12804         (frexp_test_data): Likewise.
12805         (ilogb_test_data): Likewise.
12806         (isfinite_test_data): Likewise.
12807         (isgreater_test_data): Likewise.
12808         (isgreaterequal_test_data): Likewise.
12809         (isinf_test_data): Likewise.
12810         (isless_test_data): Likewise.
12811         (islessequal_test_data): Likewise.
12812         (islessgreater_test_data): Likewise.
12813         (isnan_test_data): Likewise.
12814         (isnormal_test_data): Likewise.
12815         (issignaling_test_data): Likewise.
12816         (isunordered_test_data): Likewise.
12817         (ldexp_test_data): Likewise.
12818         (lrint_test_data): Likewise.
12819         (lrint_test_data) [TEST_FLOAT]: Disable one test.
12820         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12821         (lrint_tonearest_test_data): Test for "inexact" exceptions.
12822         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12823         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12824         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12825         test input.
12826         (lrint_towardzero_test_data): Test for "inexact" exceptions.
12827         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12828         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12829         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12830         that test input.
12831         (lrint_downward_test_data): Test for "inexact" exceptions.
12832         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12833         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12834         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12835         test input.
12836         (lrint_upward_test_data): Test for "inexact" exceptions.
12837         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12838         test input.
12839         (llrint_test_data): Test for "inexact" exceptions.
12840         (llrint_test_data) [TEST_FLOAT]: Disable one test.
12841         (llrint_tonearest_test_data): Test for "inexact" exceptions.
12842         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12843         (llrint_towardzero_test_data): Test for "inexact" exceptions.
12844         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12845         (llrint_downward_test_data): Test for "inexact" exceptions.
12846         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12847         (llrint_upward_test_data): Test for "inexact" exceptions.
12848         (logb_test_data): Likewise.
12849         (logb_downward_test_data): Likewise.
12850         (nextafter_test_data): Likewise.
12851         (nexttoward_test_data): Likewise.
12852         (remainder_test_data): Likewise.
12853         (remquo_test_data): Likewise.
12854         (scalbn_test_data): Likewise.
12855         (scalbln_test_data): Likewise.
12856         (signbit_test_data): Likewise.
12857         (sqrt_test_data): Likewise.
12858         (significand_test_data): Likewise.
12860 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12862         [BZ #15424]
12863         * benchtests/bench-modf.c (struct args): Mark arg0 as
12864         volatile.
12865         * scripts/bench.pl: Mark members of struct args as volatile.
12867 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12869         [BZ # 15497]
12870         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12871         negative infinity on POWER6 or lower.
12872         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12874 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12876         [BZ #15442]
12877         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12878         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12879         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12880         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12881         (_FP_SETQNAN): New macro.
12882         (_FP_SETQNAN_SEMIRAW): Likewise.
12883         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12884         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12885         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12886         (FP_EXTEND): Use _FP_FRAC_SNANP.
12887         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12888         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12889         into account.
12890         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12891         New macro.
12892         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12893         Likewise.
12895 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12897         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12898         with DIVIDE_BY_ZERO_EXCEPTION.
12899         (gamma_test_data): Likewise.
12900         (lgamma_test_data): Likewise.
12901         (log_test_data): Likewise.
12902         (log10_test_data): Likewise.
12903         (log2_test_data): Likewise.
12904         (tgamma_test_data): Likewise.
12906         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12907         (acos_test_tonearest): Likewise.
12908         (acos_test_towardzero): Likewise.
12909         (acos_test_downward): Likewise.
12910         (acos_test_upward): Likewise.
12911         (acosh_test): Likewise.
12912         (asin_test): Likewise.
12913         (asin_test_tonearest): Likewise.
12914         (asin_test_towardzero): Likewise.
12915         (asin_test_downward): Likewise.
12916         (asin_test_upward): Likewise.
12917         (asinh_test): Likewise.
12918         (atan_test): Likewise.
12919         (atanh_test): Likewise.
12920         (atan2_test): Likewise.
12921         (cabs_test): Likewise.
12922         (cacos_test): Likewise.
12923         (cacosh_test): Likewise.
12924         (casin_test): Likewise.
12925         (casinh_test): Likewise.
12926         (catan_test): Likewise.
12927         (catanh_test): Likewise.
12928         (cbrt_test): Likewise.
12929         (ccos_test): Likewise.
12930         (ccosh_test): Likewise.
12931         (cexp_test): Likewise.
12932         (clog_test): Likewise.
12933         (clog10_test): Likewise.
12934         (cos_test): Likewise.
12935         (cos_test_tonearest): Likewise.
12936         (cos_test_towardzero): Likewise.
12937         (cos_test_downward): Likewise.
12938         (cos_test_upward): Likewise.
12939         (cosh_test): Likewise.
12940         (cosh_test_tonearest): Likewise.
12941         (cosh_test_towardzero): Likewise.
12942         (cosh_test_downward): Likewise.
12943         (cosh_test_upward): Likewise.
12944         (cpow_test): Likewise.
12945         (csin_test): Likewise.
12946         (csinh_test): Likewise.
12947         (csqrt_test): Likewise.
12948         (ctan_test): Likewise.
12949         (ctan_test_tonearest): Likewise.
12950         (ctan_test_towardzero): Likewise.
12951         (ctan_test_downward): Likewise.
12952         (ctan_test_upward): Likewise.
12953         (ctanh_test): Likewise.
12954         (ctanh_test_tonearest): Likewise.
12955         (ctanh_test_towardzero): Likewise.
12956         (ctanh_test_downward): Likewise.
12957         (ctanh_test_upward): Likewise.
12958         (erf_test): Likewise.
12959         (erfc_test): Likewise.
12960         (exp_test): Likewise.
12961         (exp_test_tonearest): Likewise.
12962         (exp_test_towardzero): Likewise.
12963         (exp_test_downward): Likewise.
12964         (exp_test_upward): Likewise.
12965         (exp10_test): Likewise.
12966         (exp2_test): Likewise.
12967         (expm1_test): Likewise.
12968         (fmod_test): Likewise.
12969         (gamma_test): Likewise.
12970         (hypot_test): Likewise.
12971         (j0_test): Likewise.
12972         (j1_test): Likewise.
12973         (jn_test): Likewise.
12974         (lgamma_test): Likewise.
12975         (log_test): Likewise.
12976         (log10_test): Likewise.
12977         (log1p_test): Likewise.
12978         (log2_test): Likewise.
12979         (logb_test_downward): Likewise.
12980         (pow_test): Likewise.
12981         (pow_test_tonearest): Likewise.
12982         (pow_test_towardzero): Likewise.
12983         (pow_test_downward): Likewise.
12984         (pow_test_upward): Likewise.
12985         (remainder_test): Likewise.
12986         (remquo_test): Likewise.
12987         (sin_test): Likewise.
12988         (sin_test_tonearest): Likewise.
12989         (sin_test_towardzero): Likewise.
12990         (sin_test_downward): Likewise.
12991         (sin_test_upward): Likewise.
12992         (sincos_test): Likewise.
12993         (sinh_test): Likewise.
12994         (sinh_test_tonearest): Likewise.
12995         (sinh_test_towardzero): Likewise.
12996         (sinh_test_downward): Likewise.
12997         (sinh_test_upward): Likewise.
12998         (sqrt_test): Likewise.
12999         (tan_test): Likewise.
13000         (tan_test_tonearest): Likewise.
13001         (tan_test_towardzero): Likewise.
13002         (tan_test_downward): Likewise.
13003         (tan_test_upward): Likewise.
13004         (tanh_test): Likewise.
13005         (tgamma_test): Likewise.
13006         (y0_test): Likewise.
13007         (y1_test): Likewise.
13008         (yn_test): Likewise.
13010         * math/gen-libm-test.pl (adjust_arg): Remove function.
13011         (special_function): Remove argument $in_func.  Only handle
13012         generating output for tables of tests, not inside functions.
13013         (parse_args): Likewise.
13014         (generate_testfile): Remove variable $in_func.  Update call to
13015         parse_args.
13016         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13017         (MINUS_ZERO_INIT): Rename macro to minus_zero.
13018         (PLUS_INFTY_INIT): Rename macro to plus_infty.
13019         (MINUS_INFTY_INIT): Rename macro to minus_infty.
13020         (QNAN_VALUE_INIT): Rename macro to qnan_value.
13021         (MAX_VALUE_INIT): Rename macro to max_value.
13022         (MIN_VALUE_INIT): Rename macro to min_value.
13023         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13024         (plus_zero): Remove variable.
13025         (minus_zero): Likewise.
13026         (plus_infty): Likewise.
13027         (minus_infty): Likewise.
13028         (qnan_value): Likewise.
13029         (max_value): Likewise.
13030         (min_value): Likewise.
13031         (min_subnorm_value): Likewise.
13033 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13035         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13036         uint64_t or uint32_t usage.
13037         * crypt/sha256-block.c: Likewise.
13038         * crypt/sha256-crypt.c: Likewise.
13039         * crypt/sha256.c: Likewise.
13040         * crypt/sha512-block.c: Likewise.
13041         * crypt/sha512-crypt.c: Likewise.
13042         * crypt/sha512.c: Likewise.
13043         * debug/backtrace-tst.c: Likewise.
13044         * debug/pcprofiledump.c: Likewise.
13045         * elf/cache.c: Likewise.
13046         * elf/dl-cache.c: Likewise.
13047         * elf/dl-misc.c: Likewise.
13048         * elf/dl-profile.c: Likewise.
13049         * elf/dl-support.c: Likewise.
13050         * elf/ldconfig.c: Likewise.
13051         * elf/sprof.c: Likewise.
13052         * iconv/dummy-repertoire.c: Likewise.
13053         * iconv/iconv_charmap.c: Likewise.
13054         * iconv/skeleton.c: Likewise.
13055         * iconvdata/8bit-generic.c: Likewise.
13056         * iconvdata/cp737.h: Likewise.
13057         * iconvdata/cp775.h: Likewise.
13058         * iconvdata/ibm1008.h: Likewise.
13059         * iconvdata/ibm1025.h: Likewise.
13060         * iconvdata/ibm1046.h: Likewise.
13061         * iconvdata/ibm1097.h: Likewise.
13062         * iconvdata/ibm1112.h: Likewise.
13063         * iconvdata/ibm1122.h: Likewise.
13064         * iconvdata/ibm1123.h: Likewise.
13065         * iconvdata/ibm1124.h: Likewise.
13066         * iconvdata/ibm1129.h: Likewise.
13067         * iconvdata/ibm1130.h: Likewise.
13068         * iconvdata/ibm1132.h: Likewise.
13069         * iconvdata/ibm1133.h: Likewise.
13070         * iconvdata/ibm1137.h: Likewise.
13071         * iconvdata/ibm1140.h: Likewise.
13072         * iconvdata/ibm1141.h: Likewise.
13073         * iconvdata/ibm1142.h: Likewise.
13074         * iconvdata/ibm1143.h: Likewise.
13075         * iconvdata/ibm1144.h: Likewise.
13076         * iconvdata/ibm1145.h: Likewise.
13077         * iconvdata/ibm1146.h: Likewise.
13078         * iconvdata/ibm1147.h: Likewise.
13079         * iconvdata/ibm1148.h: Likewise.
13080         * iconvdata/ibm1149.h: Likewise.
13081         * iconvdata/ibm1153.h: Likewise.
13082         * iconvdata/ibm1154.h: Likewise.
13083         * iconvdata/ibm1155.h: Likewise.
13084         * iconvdata/ibm1156.h: Likewise.
13085         * iconvdata/ibm1157.h: Likewise.
13086         * iconvdata/ibm1158.h: Likewise.
13087         * iconvdata/ibm1160.h: Likewise.
13088         * iconvdata/ibm1161.h: Likewise.
13089         * iconvdata/ibm1162.h: Likewise.
13090         * iconvdata/ibm1163.h: Likewise.
13091         * iconvdata/ibm1164.h: Likewise.
13092         * iconvdata/ibm1166.h: Likewise.
13093         * iconvdata/ibm1167.h: Likewise.
13094         * iconvdata/ibm12712.h: Likewise.
13095         * iconvdata/ibm1390.h: Likewise.
13096         * iconvdata/ibm1399.h: Likewise.
13097         * iconvdata/ibm16804.h: Likewise.
13098         * iconvdata/ibm4517.h: Likewise.
13099         * iconvdata/ibm4899.h: Likewise.
13100         * iconvdata/ibm4909.h: Likewise.
13101         * iconvdata/ibm4971.h: Likewise.
13102         * iconvdata/ibm5347.h: Likewise.
13103         * iconvdata/ibm803.h: Likewise.
13104         * iconvdata/ibm856.h: Likewise.
13105         * iconvdata/ibm901.h: Likewise.
13106         * iconvdata/ibm902.h: Likewise.
13107         * iconvdata/ibm9030.h: Likewise.
13108         * iconvdata/ibm9066.h: Likewise.
13109         * iconvdata/ibm921.h: Likewise.
13110         * iconvdata/ibm922.h: Likewise.
13111         * iconvdata/ibm9448.h: Likewise.
13112         * iconvdata/isiri-3342.h: Likewise.
13113         * iconvdata/jis0201.h: Likewise.
13114         * include/link.h: Likewise.
13115         * include/netdb.h: Likewise.
13116         * inet/check_native.c: Likewise.
13117         * inet/check_pf.c: Likewise.
13118         * inet/getipv4sourcefilter.c: Likewise.
13119         * inet/getnameinfo.c: Likewise.
13120         * inet/getsourcefilter.c: Likewise.
13121         * inet/htonl.c: Likewise.
13122         * inet/setipv4sourcefilter.c: Likewise.
13123         * inet/setsourcefilter.c: Likewise.
13124         * inet/test-inet6_opt.c: Likewise.
13125         * inet/tst-network.c: Likewise.
13126         * locale/C-collate.c: Likewise.
13127         * locale/C-ctype.c: Likewise.
13128         * locale/C-time.c: Likewise.
13129         * locale/C-translit.h: Likewise.
13130         * locale/loadarchive.c: Likewise.
13131         * locale/programs/3level.h: Likewise.
13132         * locale/programs/charmap.c: Likewise.
13133         * locale/programs/charmap.h: Likewise.
13134         * locale/programs/ld-address.c: Likewise.
13135         * locale/programs/ld-collate.c: Likewise.
13136         * locale/programs/ld-ctype.c: Likewise.
13137         * locale/programs/ld-identification.c: Likewise.
13138         * locale/programs/ld-measurement.c: Likewise.
13139         * locale/programs/ld-messages.c: Likewise.
13140         * locale/programs/ld-monetary.c: Likewise.
13141         * locale/programs/ld-name.c: Likewise.
13142         * locale/programs/ld-numeric.c: Likewise.
13143         * locale/programs/ld-paper.c: Likewise.
13144         * locale/programs/ld-telephone.c: Likewise.
13145         * locale/programs/ld-time.c: Likewise.
13146         * locale/programs/linereader.c: Likewise.
13147         * locale/programs/locale.c: Likewise.
13148         * locale/programs/locarchive.c: Likewise.
13149         * locale/programs/locfile.h: Likewise.
13150         * locale/programs/repertoire.c: Likewise.
13151         * locale/programs/simple-hash.c: Likewise.
13152         * locale/programs/simple-hash.h: Likewise.
13153         * malloc/memusage.c: Likewise.
13154         * malloc/memusagestat.c: Likewise.
13155         * nis/nis_defaults.c: Likewise.
13156         * nis/nis_hash.c: Likewise.
13157         * nis/nis_print.c: Likewise.
13158         * nis/nis_xdr.c: Likewise.
13159         * nscd/connections.c: Likewise.
13160         * nscd/hstcache.c: Likewise.
13161         * nscd/nscd_gethst_r.c: Likewise.
13162         * nscd/nscd_getserv_r.c: Likewise.
13163         * nscd/nscd_helper.c: Likewise.
13164         * nscd/servicescache.c: Likewise.
13165         * nss/makedb.c: Likewise.
13166         * nss/nss_db/db-XXX.c: Likewise.
13167         * nss/nss_db/db-initgroups.c: Likewise.
13168         * nss/nss_db/db-netgrp.c: Likewise.
13169         * nss/nss_files/files-network.c: Likewise.
13170         * nss/nss_files/files-parse.c: Likewise.
13171         * posix/bug-regex5.c: Likewise.
13172         * posix/fnmatch_loop.c: Likewise.
13173         * posix/regcomp.c: Likewise.
13174         * posix/regexec.c: Likewise.
13175         * posix/tst-rfc3484-2.c: Likewise.
13176         * posix/tst-rfc3484-3.c: Likewise.
13177         * posix/tst-rfc3484.c: Likewise.
13178         * resolv/nss_dns/dns-canon.c: Likewise.
13179         * resolv/nss_dns/dns-network.c: Likewise.
13180         * resolv/res_init.c: Likewise.
13181         * resolv/res_mkquery.c: Likewise.
13182         * resolv/tst-aton.c: Likewise.
13183         * stdlib/cxa_atexit.c: Likewise.
13184         * stdlib/cxa_finalize.c: Likewise.
13185         * stdlib/gen-fpioconst.c: Likewise.
13186         * stdlib/strtol_l.c: Likewise.
13187         * string/tst-endian.c: Likewise.
13188         * sunrpc/auth_des.c: Likewise.
13189         * sunrpc/clnt_udp.c: Likewise.
13190         * sunrpc/rtime.c: Likewise.
13191         * sunrpc/svcauth_des.c: Likewise.
13192         * sunrpc/xdr.c: Likewise.
13193         * sunrpc/xdr_intXX_t.c: Likewise.
13194         * sunrpc/xdr_rec.c: Likewise.
13195         * sysdeps/generic/ldconfig.h: Likewise.
13196         * sysdeps/generic/ldsodefs.h: Likewise.
13197         * sysdeps/generic/memusage.h: Likewise.
13198         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13199         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13200         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13201         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13202         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13203         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13204         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13205         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13206         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13207         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13208         * sysdeps/posix/getaddrinfo.c: Likewise.
13209         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13210         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13211         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13212         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13213         * sysdeps/powerpc/test-gettimebase.c: Likewise.
13214         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13215         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13216         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13217         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13218         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13219         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13220         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13221         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13222         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13223         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13224         * sysdeps/x86_64/dl-tls.h: Likewise.
13225         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13226         * time/alt_digit.c: Likewise.
13227         * time/era.c: Likewise.
13228         * wcsmbs/tst-c16c32-1.c: Likewise.
13230 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13232         * math/libm-test.inc (struct test_sincos_data): New type.
13233         (RUN_TEST_LOOP_sincos): New macro.
13234         (sincos_test_data): New variable.
13235         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13237 2013-05-16  Richard Henderson  <rth@redhat.com>
13239         * math/atest-exp2.c (LIMB64): New macro.
13240         (CONSTSZ): New macro.
13241         (mp_exp1, mp_exp_m1, mp_log2): New variables.
13242         (hexdig): Move ...
13243         (print_mpn_fp): ... to function scope.
13244         (read_mpn_hex): Remove.
13245         (get_log2): Remove.
13246         (exp2_mpn): Use mp_log2.
13247         (main): Use mp_exp1.
13249 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13251         * math/libm-test.inc: Remove comment about not testing "inexact"
13252         exceptions.
13253         (INEXACT_EXCEPTION): New macro.
13254         (NO_INEXACT_EXCEPTION): Likewise.
13255         (INVALID_EXCEPTION_OK): Update value.
13256         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13257         (OVERFLOW_EXCEPTION_OK): Likewise.
13258         (UNDERFLOW_EXCEPTION_OK): Likewise.
13259         (IGNORE_ZERO_INF_SIGN): Likewise.
13260         (ERRNO_UNCHANGED): Likewise.
13261         (ERRNO_EDOM): Likewise.
13262         (ERRNO_ERANGE): Likewise.
13263         (test_exceptions): Handle testing "inexact" exceptions.
13264         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13265         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13266         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13267         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13268         INEXACT_EXCEPTION.
13269         (rint_towardzero_test_data): Likewise.
13270         (rint_downward_test_data): Likewise.
13271         (rint_upward_test_data): Likewise.
13273         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13274         with OVERFLOW_EXCEPTION.
13275         (exp10_test_data): Likewise.
13276         (exp2_test_data): Likewise.
13277         (expm1_test_data): Likewise.
13278         (lgamma_test_data): Likewise.
13279         (pow_test_data): Likewise.
13280         (tgamma_test_data): Likewise.
13281         (yn_test_data): Remove duplicate test of overflow.
13283         * math/libm-test.inc (struct test_cc_c_data): New type.
13284         (RUN_TEST_LOOP_cc_c): New macro.
13285         (cpow_test_data): New variable.
13286         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13288         * math/libm-test.inc (struct test_f_L_data): New type.
13289         (RUN_TEST_LOOP_f_L): New macro.
13290         (llrint_test_data): New variable.
13291         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13292         (llrint_tonearest_test_data): New variable.
13293         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13294         (llrint_towardzero_test_data): New variable.
13295         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13296         (llrint_downward_test_data): New variable.
13297         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13298         (llrint_upward_test_data): New variable.
13299         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13300         (llround_test_data): New variable.
13301         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13303 2013-05-13  Peter Collingbourne  <pcc@google.com>
13305         * math/atest-exp2.c (get_log2): Remove const attribute.
13307 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13309         * math/libm-test.inc (struct test_f_l_data): New type.
13310         (RUN_TEST_LOOP_f_l): New macro.
13311         (lrint_test_data): New variable.
13312         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13313         (lrint_tonearest_test_data): New variable.
13314         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13315         (lrint_towardzero_test_data): New variable.
13316         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13317         (lrint_downward_test_data): New variable.
13318         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13319         (lrint_upward_test_data): New variable.
13320         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13321         (lround_test_data): New variable.
13322         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13324 2013-05-15  Peter Collingbourne  <pcc@google.com>
13326         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13327         (EXTRACT_WORDS64) Use where appropriate.
13328         (INSERT_WORDS64) Likewise.
13330         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13331         constraints with x constraints.
13332         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13334         * malloc/obstack.c (_obstack_compat): Add initializer.
13336 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13338         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13339         si_trapno and add si_addr_lsb to _sifields.sigfault.
13340         (si_trapno): Remove macro.
13341         (si_addr_lsb): Define new macro.
13342         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13344 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13346         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13347         instead of TEST_f_l.
13348         (llrint_test_tonearest): Likewise.
13349         (llrint_test_towardzero): Likewise.
13350         (llrint_test_downward): Likewise.
13351         (llrint_test_upward): Likewise.
13352         (llround_test): Likewise.
13354         * math/libm-test.inc (struct test_f_i_data): Add comment.
13355         (RUN_TEST_LOOP_f_b): New macro.
13356         (RUN_TEST_LOOP_f_b_tg): Likewise.
13357         (finite_test_data): New variable.
13358         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13359         (isfinite_test_data): New variable.
13360         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13361         (isinf_test_data): New variable.
13362         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13363         (isnan_test_data): New variable.
13364         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13365         (isnormal_test_data): New variable.
13366         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13367         (issignaling_test_data): New variable.
13368         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13369         (signbit_test_data): New variable.
13370         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13372         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13373         with INVALID_EXCEPTION.
13374         (acosh_test_data): Likewise.
13375         (asin_test_data): Likewise.
13376         (atanh_test_data): Likewise.
13377         (fmod_test_data): Likewise.
13378         (log_test_data): Likewise.
13379         (log10_test_data): Likewise.
13380         (log2_test_data): Likewise.
13381         (pow_test_data): Likewise.
13382         (sqrt_test_data): Likewise.
13383         (y0_test_data): Likewise.
13384         (y1_test_data): Likewise.
13385         (yn_test_data): Likewise.
13387         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13388         function contents.
13390         * math/libm-test.inc (struct test_ff_i_data): New type.
13391         (RUN_TEST_LOOP_ff_i_tg): New macro.
13392         (isgreater_test_data): New variable.
13393         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13394         (isgreaterequal_test_data): New variable.
13395         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13396         (isless_test_data): New variable.
13397         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13398         (islessequal_test_data): New variable.
13399         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13400         (islessgreater_test_data): New variable.
13401         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13402         (isunordered_test_data): New variable.
13403         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13405 2013-05-14  David S. Miller  <davem@davemloft.net>
13407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13409 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
13411         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13413         * math/libm-test.inc (struct test_fF_f1_data): Change type of
13414         extra_test to int.
13415         (struct test_f_i_data): Change type of max_ulp to int.
13417         * math/libm-test.inc (test_ffI_f1_data): New type.
13418         (RUN_TEST_LOOP_ffI_f1): New macro.
13419         (remquo_test_data): New variable.
13420         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13422         * setjmp/tst-setjmp-fp.c: New file.
13423         * setjmp/Makefile (tests): Add tst-setjmp-fp.
13424         (link-libm): New variable.
13425         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13427         * math/libm-test.inc (struct test_f_i_data): New type.
13428         (RUN_TEST_LOOP_f_i): New macro.
13429         (RUN_TEST_LOOP_f_i_tg): Likewise.
13430         (fpclassify_test_data): New variable.
13431         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13432         (ilogb_test_data): New variable.
13433         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13435         * math/libm-test.inc (scalbln_test): Correct function name in END
13436         call.
13438         * math/libm-test.inc (struct test_f_f1_data): Add comment.
13439         (RUN_TEST_LOOP_fI_f1): New macro.
13440         (frexp_test_data): New variable.
13441         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13443         * math/libm-test.inc (struct test_fF_f1_data): New type.
13444         (RUN_TEST_LOOP_fF_f1): New macro.
13445         (modf_test_data): New variable.
13446         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13448         * math/libm-test.inc (struct test_f_f1_data): New type.
13449         (RUN_TEST_LOOP_f_f1): New macro.
13450         (gamma_test_data): New variable.
13451         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13452         (lgamma_test_data): New variable.
13453         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13455 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
13457         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13458         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13459         (main): Comment "tls" pseudo-hwcap.
13461 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
13463         * math/libm-test.inc (struct test_fl_f_data): New type.
13464         (RUN_TEST_LOOP_fl_f): New variable.
13465         (scalbln_test_data): New variable.
13466         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13468         * math/libm-test.inc (struct test_fi_f_data): New type.
13469         (RUN_TEST_LOOP_fi_f): New macro.
13470         (ldexp_test_data): New variable.
13471         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13472         (scalbn_test_data): New variable.
13473         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13475         * math/libm-test.inc (struct test_c_f_data): New type.
13476         (RUN_TEST_LOOP_c_f): New macro.
13477         (cabs_test_data): New variable.
13478         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13479         (carg_test_data): New variable.
13480         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13481         (cimag_test_data): New variable.
13482         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13483         (creal_test_data): New variable.
13484         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13486         * math/libm-test.inc (struct test_if_f_data): New type.
13487         (RUN_TEST_LOOP_if_f): New macro.
13488         (jn_test_data): New variable.
13489         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13490         (yn_test_data): New variable.
13491         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13493         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13495 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13497         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13498         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13500 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13502         * benchtests/Makefile (CPPFLAGS-nonlib): Add
13503         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13504         (bench-deps): Add bench-timing.h.
13505         * benchtests-bench-skeleton.c: Include bench-timing.h.
13506         (main): Use TIMING_* macros instead of clock_gettime.
13507         * benchtests/bench-timing.h: New file.
13509         [BZ #14582]
13510         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13511         Renamed from _LIB_VERSION.
13512         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13514 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
13516         * math/libm-test.inc (struct test_fff_f_data): New type.
13517         (RUN_TEST_LOOP_fff_f): New macro.
13518         (fma_test_data): New variable.
13519         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13520         (fma_towardzero_test_data): New variable.
13521         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13522         (fma_downward_test_data): New variable.
13523         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13524         (fma_upward_test_data): New variable.
13525         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13527         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13528         (struct test_c_c_data): New type.
13529         (RUN_TEST_LOOP_c_c): New macro.
13530         (cacos_test_data): New variable.
13531         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13532         (cacosh_test_data): New variable.
13533         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13534         (casin_test_data): New variable.
13535         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13536         (casinh_test_data): New variable.
13537         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13538         (catan_test_data): New variable.
13539         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13540         (catanh_test_data): New variable.
13541         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13542         (ccos_test_data): New variable.
13543         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13544         (ccosh_test_data): New variable.
13545         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13546         (cexp_test_data): New variable.
13547         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13548         (clog_test_data): New variable.
13549         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13550         (clog10_test_data): New variable.
13551         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13552         (conj_test_data): New variable.
13553         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13554         (cproj_test_data): New variable.
13555         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13556         (csin_test_data): New variable.
13557         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13558         (csinh_test_data): New variable.
13559         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13560         (csqrt_test_data): New variable.
13561         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13562         (ctan_test_data): New variable.
13563         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13564         (ctan_tonearest_test_data): New variable.
13565         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13566         (ctan_towardzero_test_data): New variable.
13567         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13568         (ctan_downward_test_data): New variable.
13569         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13570         (ctan_upward_test_data): New variable.
13571         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13572         (ctanh_test_data): New variable.
13573         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13574         (ctanh_tonearest_test_data): New variable.
13575         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13576         (ctanh_towardzero_test_data): New variable.
13577         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13578         (ctanh_downward_test_data): New variable.
13579         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13580         (ctanh_upward_test_data): New variable.
13581         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13582         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13583         of BUILD_COMPLEX.
13585         * math/libm-test.inc (struct test_ff_f_data): New type.
13586         (struct test_ff_f_data_nexttoward): Likewise.
13587         (RUN_TEST_LOOP_2_f): New macro.
13588         (RUN_TEST_LOOP_ff_f): Likewise.
13589         (atan2_test_data): New variable.
13590         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13591         (copysign_test_data): New variable.
13592         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13593         (fdim_test_data): New variable.
13594         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13595         (fmax_test_data): New variable.
13596         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13597         (fmin_test_data): New variable.
13598         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13599         (fmod_test_data): New variable.
13600         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13601         (hypot_test_data): New variable.
13602         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13603         (nextafter_test_data): New variable.
13604         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13605         (nexttoward_test_data): New variable.
13606         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13607         (pow_test_data): New variable.
13608         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13609         (pow_tonearest_test_data): New variable.
13610         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13611         (pow_towardzero_test_data): New variable.
13612         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13613         (pow_downward_test_data): New variable.
13614         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13615         (pow_upward_test_data): New variable.
13616         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13617         (remainder_test_data): New variable.
13618         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13619         (scalb_test_data): New variable.
13620         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13621         * sysdeps/i386/fpu/libm-test-ulps: Update.
13623 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
13625         * math/libm-test.inc (fma_test): Use max_value instead of local
13626         variable fltmax.
13627         (nextafter_test): Likewise.
13629         * math/libm-test.inc (acos_towardzero_test_data): New variable.
13630         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13631         (acos_downward_test_data): New variable.
13632         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13633         (acos_upward_test_data): New variable.
13634         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13635         (acosh_test_data): New variable.
13636         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13637         (asin_test_data): New variable.
13638         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13639         (asin_tonearest_test_data): New variable.
13640         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13641         (asin_towardzero_test_data): New variable.
13642         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13643         (asin_downward_test_data): New variable.
13644         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13645         (asin_upward_test_data): New variable.
13646         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13647         (asinh_test_data): New variable.
13648         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13649         (atan_test_data): New variable.
13650         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13651         (atanh_test_data): New variable.
13652         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13653         (cbrt_test_data): New variable.
13654         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13655         (ceil_test_data): New variable.
13656         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13657         (cos_test_data): New variable.
13658         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13659         (cos_tonearest_test_data): New variable.
13660         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13661         (cos_towardzero_test_data): New variable.
13662         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13663         (cos_downward_test_data): New variable.
13664         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13665         (cos_upward_test_data): New variable.
13666         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13667         (cosh_test_data): New variable.
13668         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13669         (cosh_tonearest_test_data): New variable.
13670         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13671         (cosh_towardzero_test_data): New variable.
13672         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13673         (cosh_downward_test_data): New variable.
13674         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13675         (cosh_upward_test_data): New variable.
13676         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13677         (erf_test_data): New variable.
13678         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13679         (erfc_test_data): New variable.
13680         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13681         (exp_test_data): New variable.
13682         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13683         (exp_tonearest_test_data): New variable.
13684         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13685         (exp_towardzero_test_data): New variable.
13686         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13687         (exp_downward_test_data): New variable.
13688         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13689         (exp_upward_test_data): New variable.
13690         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13691         (exp10_test_data): New variable.
13692         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13693         (exp2_test_data): New variable.
13694         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13695         (expm1_test_data): New variable.
13696         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13697         (fabs_test_data): New variable.
13698         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13699         (floor_test_data): New variable.
13700         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13701         (j0_test_data): New variable.
13702         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13703         (j1_test_data): New variable.
13704         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13705         (log_test_data): New variable.
13706         (log_test): Run tests with RUN_TEST_LOOP_f_f.
13707         (log10_test_data): New variable.
13708         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13709         (log1p_test_data): New variable.
13710         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13711         (log2_test_data): New variable.
13712         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13713         (logb_test_data): New variable.
13714         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13715         (logb_downward_test_data): New variable.
13716         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13717         (nearbyint_test_data): New variable.
13718         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13719         (rint_test_data): New variable.
13720         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13721         (rint_tonearest_test_data): New variable.
13722         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13723         (rint_towardzero_test_data): New variable.
13724         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13725         (rint_downward_test_data): New variable.
13726         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13727         (rint_upward_test_data): New variable.
13728         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13729         (round_test_data): New variable.
13730         (round_test): Run tests with RUN_TEST_LOOP_f_f.
13731         (sin_test_data): New variable.
13732         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13733         (sin_tonearest_test_data): New variable.
13734         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13735         (sin_towardzero_test_data): New variable.
13736         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13737         (sin_downward_test_data): New variable.
13738         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13739         (sin_upward_test_data): New variable.
13740         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13741         (sinh_test_data): New variable.
13742         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13743         (sinh_tonearest_test_data): New variable.
13744         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13745         (sinh_towardzero_test_data): New variable.
13746         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13747         (sinh_downward_test_data): New variable.
13748         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13749         (sinh_upward_test_data): New variable.
13750         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13751         (sqrt_test_data): New variable.
13752         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13753         (tan_test_data): New variable.
13754         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13755         (tan_tonearest_test_data): New variable.
13756         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13757         (tan_towardzero_test_data): New variable.
13758         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13759         (tan_downward_test_data): New variable.
13760         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13761         (tan_upward_test_data): New variable.
13762         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13763         (tanh_test_data): New variable.
13764         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13765         (tgamma_test_data): New variable.
13766         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13767         (trunc_test_data): New variable.
13768         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13769         (y0_test_data): New variable.
13770         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13771         (y1_test_data): New variable.
13772         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13773         (significand_test_data): New variable.
13774         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13776 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
13778         [BZ #12387]
13779         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13781 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13783         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13785 2013-05-10  Andreas Jaeger  <aj@suse.de>
13787         [BZ #15448]
13788         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13789         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13791 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13793         * math/gen-libm-test.pl (adjust_arg): New function.
13794         (special_functions): Handle generating output in both functions
13795         and arrays.
13796         (parse_args): Likewise.
13797         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
13798         $in_func argument to parse_args.
13799         * math/libm-test.inc (struct test_f_f_data): New type.
13800         (IF_ROUND_INIT_): New macro.
13801         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13802         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13803         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13804         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13805         (ROUND_RESTORE_): Likewise.
13806         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13807         (ROUND_RESTORE_FE_TONEAREST): Likewise.
13808         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13809         (ROUND_RESTORE_FE_UPWARD): Likewise.
13810         (RUN_TEST_LOOP_f_f): New macro.
13811         (acos_test_data): New variable.
13812         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13813         (acos_tonearest_test_data): New variable.
13814         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13816 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13818         * benchtests/bench-skeleton.c (startup): Fix coding style.
13820 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13822         [BZ #6809]
13823         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13824         negative infinity argument.
13825         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13826         negative infinity argument.
13827         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13828         negative infinity argument.
13829         * math/libm-test.inc (tgamma_test): Expect errno to be set for
13830         domain errors.
13832 2013-05-10  Florian Weimer  <fweimer@redhat.com>
13834         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13835         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13836         * iconv/iconv_prog.c (main): Likewise.
13837         * locale/programs/charmap-dir.c (charmap_readdir)
13838         (fopen_uncompressed): Likewise.
13839         * locale/programs/locfile.c (siblings_uncached)
13840         (write_locale_data): Use lstat64 instead of lstat.
13841         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13842         stat.
13844 2013-05-10  Andreas Jaeger  <aj@suse.de>
13846         [BZ #15395]
13847         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13848         localization.
13849         Include <locale.h>.
13851 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
13853         * elf/dl-close.c (_dl_close_worker): Add comments.
13855 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
13857         [BZ #15359]
13858         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13859         high part of pi/2.
13860         (__ieee754_rem_pio2l): Update comments.
13862         [BZ #15429]
13863         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13864         high part of pi/2.
13865         (__ieee754_rem_pio2l): Update comments.
13867         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13868         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13870         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13871         M_PI_4l.
13873         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13874         (M_PI_34_LOG10El): Likewise.
13875         (M_PI2_LOG10El): Likewise.
13876         (M_PI4_LOG10El): Likewise.
13877         (M_PI_LOG10El): Likewise.
13879 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13883 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
13885         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13886         (MINUS_ZERO_INIT): Likewise.
13887         (PLUS_INFTY_INIT): Likewise.
13888         (MINUS_INFTY_INIT): Likewise.
13889         (QNAN_VALUE_INIT): Likewise.
13890         (MAX_VALUE_INIT): Likewise.
13891         (MIN_VALUE_INIT): Likewise.
13892         (MIN_SUBNORM_VALUE_INIT): Likewise.
13893         (plus_zero): Initialize with PLUS_ZERO_INIT.
13894         (minus_zero): Initialize with MINUS_ZERO_INIT.
13895         (plus_infty): Initialize with PLUS_INFTY_INIT.
13896         (minus_infty): Initialize with MINUS_INFTY_INIT.
13897         (qnan_value): Initialize with QNAN_VALUE_INIT.
13898         (max_value): Initialize with MAX_VALUE_INIT.
13899         (min_value): Initialize with MIN_VALUE_INIT.
13900         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13902         * math/libm-test.inc (RUN_TEST_if_f): New macro.
13903         (jn_test): Use TEST_if_f instead of TEST_ff_f.
13904         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13905         (yn_test): Use TEST_if_f instead of TEST_ff_f.
13907         * math/libm-test.inc (RUN_TEST_f_f): New macro.
13908         (RUN_TEST_2_f): Likewise.
13909         (RUN_TEST_ff_f): Likewise.
13910         (RUN_TEST_fi_f): Likewise.
13911         (RUN_TEST_fl_f): Likewise.
13912         (RUN_TEST_fff_f): Likewise.
13913         (RUN_TEST_c_f): Likewise.
13914         (RUN_TEST_f_f1): Likewise.
13915         (RUN_TEST_fF_f1): Likewise.
13916         (RUN_TEST_fI_f1): Likewise.
13917         (RUN_TEST_ffI_f1): Likewise.
13918         (RUN_TEST_c_c): Likewise.
13919         (RUN_TEST_cc_c): Likewise.
13920         (RUN_TEST_f_i): Likewise.
13921         (RUN_TEST_f_i_tg): Likewise.
13922         (RUN_TEST_ff_i_tg): Likewise.
13923         (RUN_TEST_f_b): Likewise.
13924         (RUN_TEST_f_b_tg): Likewise.
13925         (RUN_TEST_f_l): Likewise.
13926         (RUN_TEST_f_L): Likewise.
13927         (RUN_TEST_sincos): Likewise.
13928         * math/gen-libm-test.pl (new_test): Take new argument to indicate
13929         whether to show exceptions.  Do not include ");\n" in return
13930         value.
13931         (special_functions): Output call to RUN_TEST_sincos instead of
13932         check_float calls.  Update calls to new_test.
13933         (parse_args): Output call to single RUN_TEST_* macro instead of
13934         check_* calls and other assignments.  Update calls to new_test.
13936         [BZ #2546]
13937         [BZ #2560]
13938         [BZ #5159]
13939         [BZ #15426]
13940         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13941         input to result for tgamma overflow.
13942         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13943         (gamma_coeff): New variable.
13944         (NCOEFF): New macro.
13945         (gamma_positive): New function.
13946         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13947         underflow here.  Use gamma_positive instead of exp (lgamma) for
13948         other arguments.
13949         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13950         (gamma_coeff): New variable.
13951         (NCOEFF): New macro.
13952         (gammaf_positive): New function.
13953         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13954         underflow here.  Use gamma_positive instead of exp (lgamma) for
13955         other arguments.
13956         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13957         (gamma_coeff): New variable.
13958         (NCOEFF): New macro.
13959         (gammal_positive): New function.
13960         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13961         underflow here.  Use gamma_positive instead of exp (lgamma) for
13962         other arguments.
13963         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13964         (gamma_coeff): New variable.
13965         (NCOEFF): New macro.
13966         (gammal_positive): New function.
13967         (__ieee754_gammal_r): Handle positive infinity, overflow and
13968         underflow here.  Handle NaN the same as positive infinity.  Remove
13969         check x < 0xffffffff for negative integers.  Use gamma_positive
13970         instead of exp (lgamma) for other arguments.
13971         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13972         (gamma_coeff): New variable.
13973         (NCOEFF): New macro.
13974         (gammal_positive): New function.
13975         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13976         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13977         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13978         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13979         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13980         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13981         * sysdeps/generic/math_private.h (__gamma_productf): New
13982         prototype.
13983         (__gamma_product): Likewise.
13984         (__gamma_productl): Likewise.
13985         * math/Makefile (libm-calls): Add gamma_product.
13986         * math/libm-test.inc (tgamma_test): Add more tests.
13987         * sysdeps/i386/fpu/libm-test-ulps: Update.
13988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13990 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
13992         * benchtests/bench-skeleton.c (main): Preheat CPU.
13994 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
13996         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13998 2013-05-07  Roland McGrath  <roland@hack.frob.com>
14000         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14001         and _dl_skip_args_internal.
14003 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
14005         * manual/message.texi (Message Translation): Talk about users.
14006         Message to key mapping impacts design.
14008 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14010         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14012         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14014         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14015         * sysdeps/wordsize-64/glob64.c: ... here.
14017         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14018         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14019         New macros.
14021         * debug/getlogin_r_chk.c: Moved to ...
14022         * login/getlogin_r_chk.c: ... here.
14023         * debug/Makefile (routines): Move getlogin_r_chk to ...
14024         * login/Makefile (routines): ... here.
14025         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14026         * login/Versions (libc: GLIBC_2.4): ... here.
14028         * io/poll.c (__poll): Renamed from poll.
14029         Add libc_hidden_def.
14030         (poll): Define as weak alias.
14032         * debug/ptsname_r_chk.c: Moved to ...
14033         * login/ptsname_r_chk.c: ... here.
14034         * debug/Makefile (routines): Move ptsname_r_chk to ...
14035         * login/Makefile (routines): ... here.
14036         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14037         * login/Versions (libc: GLIBC_2.4): ... here.
14039         * posix/getlogin.c: Moved to ...
14040         * login/getlogin.c: ... here.
14041         * posix/getlogin_r.c: Moved to ...
14042         * login/getlogin_r.c: ... here.
14043         * posix/getlogin_r.c: Moved to ...
14044         * login/getlogin_r.c: ... here.
14045         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14046         * login/Makefile (routines): ... here.
14047         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14048         * login/Versions (libc: GLIBC_2.0): ... here.
14050         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14051         (setrlimit): Define as weak alias.
14053         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14054         Call __ names for open, ftruncate, and close.
14055         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14056         (truncate): Define as weak alias.
14058 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
14060         * math/gen-libm-test.pl (parse_args): Initialize x before each
14061         test of frexp, modf and remquo.
14063         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14064         test signgam value.
14066 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14068         [BZ #15418]
14069         [BZ #15419]
14070         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14071         internal tests.
14072         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14074 2013-05-06  Roland McGrath  <roland@hack.frob.com>
14076         * elf/dl-writev.h: New file.
14077         * elf/dl-misc.c: Include it.
14078         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14079         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14081 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
14083         * math/libm-test.inc (noXFails): Remove variable.
14084         (noXPasses): Likewise.
14085         (BUILD_COMPLEX_INT): Remove macro.
14086         (print_screen): Remove xfail argument.
14087         (print_screen_max_error): Likewise.
14088         (update_stats): Likewise.
14089         (print_max_error): Likewise.  Update calls to other affected
14090         functions.
14091         (print_complex_max_error): Likewise.
14092         (test_single_exception): Update calls to print_screen.
14093         (test_single_errno): Likewise.
14094         (check_float_internal): Remove xfail argument.  Update calls to
14095         other affected functions.
14096         (check_float): Likewise.
14097         (check_complex): Likewise.
14098         (check_int): Likewise.
14099         (check_long): Likewise.
14100         (check_bool): Likewise.
14101         (check_longlong): Likewise.
14102         (main): Don't print noXFails and noXPasses.
14103         * math/gen-libm-test.pl (top level): Don't mention expected
14104         failure handling in comment.
14105         (new_test): Don't handle expected failures.
14106         (parse_args): Don't mention expected failure handling in comment.
14107         (generate_testfile): Don't handle expected failures.
14108         (parse_ulps): Likewise.
14109         (print_ulps_file): Likewise.
14110         (get_failure): Remove function.
14111         (output_test): Don't handle expected failures.
14112         * make/README.libm-test: Don't mention expected failure handling.
14114         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
14115         (minus_zero): Likewise.
14116         (plus_infty): Likewise.
14117         (minus_infty): Likewise.
14118         (qnan_value): Likewise.
14119         (max_value): Likewise.
14120         (min_value): Likewise.
14121         (min_subnorm_value): Likewise.
14122         (initialize): Do not initialize those variables dynamically.
14124 2013-05-03  Roland McGrath  <roland@hack.frob.com>
14126         * io/open.c (__open_2): Moved to ...
14127         * io/open_2.c: ... this new file.
14128         * io/open64.c (__open64_2): Moved to ...
14129         * io/open64_2.c: ... this new file.
14130         * io/openat.c (__openat_2): Moved to ...
14131         * io/openat_2.c: ... this new file.
14132         * io/openat64.c (__openat64_2): Moved to ...
14133         * io/openat64_2.c: ... this new file.
14134         * io/Makefile (routines): Add them.
14135         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14136         * sysdeps/unix/sysv/linux/open_2.c: File removed.
14137         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14138         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14139         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14140         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14141         (__openat64): Add hidden_ver.
14142         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14143         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14145         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14146         Separately conditionalize setting of GLRO(dl_sysinfo) so
14147         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14148         as well, but the actual setting is only under [NEED_DL_SYSINFO].
14150 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14152         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14153         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14154         definition.
14155         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14156         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14157         (_libc_vdso_platform_setup): Add __vdso_time initialization.
14158         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14159         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14161 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
14163         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14164         test signgam value.
14166         * math/libm-test.inc (hypot_test): Do not use
14167         IGNORE_ZERO_INF_SIGN.
14169 2013-05-03  Andreas Jaeger  <aj@suse.de>
14171         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14172         Linux 3.9.
14173         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14174         (PF_MAX): Adjust for VSOCK change.
14176 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14180 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
14182         [BZ #15264]
14183         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14184         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14185         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14187 2013-05-02  David S. Miller  <davem@davemloft.net>
14189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14191 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
14193         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14195 2013-05-01  Roland McGrath  <roland@hack.frob.com>
14197         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14199 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
14201         [BZ #14952]
14202         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14203         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14204         Use __attribute__ ((__gnu_inline__)).
14205         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14206         Don't use __attribute__ ((__gnu_inline__)).
14208 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
14210         [BZ #15423]
14211         * math/s_catan.c (__catan): Handle small real or imaginary part of
14212         input specially to avoid spurious underflow.
14213         * math/s_catanf.c (__catanf): Likewise.
14214         * math/s_catanh.c (__catanh): Likewise.
14215         * math/s_catanhf.c (__catanhf): Likewise.
14216         * math/s_catanhl.c (__catanhl): Likewise.
14217         * math/s_catanl.c (__catanl): Likewise.
14218         * math/libm-test.inc (catan_test): Add more tests.
14219         (catanh_test): Likewise.
14220         * sysdeps/i386/fpu/libm-test-ulps: Update.
14221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14223 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14227 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
14229         [BZ #15416]
14230         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14231         accurately for denominator in atan2.
14232         * math/s_catanf.c (__catanf): Likewise.
14233         * math/s_catanh.c (__catanh): Likewise.
14234         * math/s_catanhf.c (__catanhf): Likewise.
14235         * math/s_catanhl.c (__catanhl): Likewise.
14236         * math/s_catanl.c (__catanl): Likewise.
14237         * math/libm-test.inc (catan_test): Add more tests.
14238         (catanh_test): Likewise.
14239         * sysdeps/i386/fpu/libm-test-ulps: Update.
14240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14242 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14244         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14246         * benchtests/Makefile (bench): Remove slow benchmarks.
14247         * benchtests/atan-inputs: Add slow benchmark inputs.
14248         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14249         (BENCH_FUNC): Accept variant offset.
14250         (VARIANT): Define.
14251         * benchtests/bench-skeleton.c (main): Run benchmark for each
14252         variant.
14253         * benchtests/cos-inputs: Add slow benchmark inputs.
14254         * benchtests/exp-inputs: Likewise.
14255         * benchtests/pow-inputs: Likewise.
14256         * benchtests/sin-inputs: Likewise.
14257         * benchtests/slowatan-inputs: Remove.
14258         * benchtests/slowatan.c: Remove.
14259         * benchtests/slowcos-inputs: Remove.
14260         * benchtests/slowcos.c: Remove.
14261         * benchtests/slowexp-inputs: Remove.
14262         * benchtests/slowexp.c: Remove.
14263         * benchtests/slowpow-inputs: Remove.
14264         * benchtests/slowpow.c: Remove.
14265         * benchtests/slowsin-inputs: Remove.
14266         * benchtests/slowsin.c: Remove.
14267         * benchtests/slowtan-inputs: Remove.
14268         * benchtests/slowtan.c: Remove.
14269         * benchtests/tan-inputs: Add slow benchmark inputs.
14270         * scripts/bench.pl: Parse comments and directives.
14272         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
14273         in CPPFLAGS.
14274         ($(objpfx)bench-%.c): Remove *-ITER.
14275         * benchtests/bench-modf.c: Remove definition of ITER.
14276         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14277         (main): Loop for DURATION seconds instead of fixed number of
14278         iterations.
14279         * scripts/bench.pl: Don't expect iterations in parameters.
14281 2013-04-29  Roland McGrath  <roland@hack.frob.com>
14283         * io/fchdir.c (__fchdir): Renamed from fchdir.
14284         (fchdir): Define as weak alias.
14286 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14288         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14289         (ERRNO_EDOM): Likewise.
14290         (ERRNO_ERANGE): Likewise.
14291         (noErrnoTests): New variable.
14292         (init_max_error): Set errno to 0.
14293         (test_single_errno): New function.
14294         (test_errno): Likewise.
14295         (check_float_internal): Call test_errno.  Set errno to 0.
14296         (check_complex): Refer to errno tests in comment.
14297         (check_int): Call test_errno.  Set errno to 0.
14298         (check_long): Likewise.
14299         (check_bool): Likewise.
14300         (check_longlong): Likewise.
14301         (cos_test): Use ERRNO_* flags for errno tests instead of
14302         check_int.
14303         (expm1_test): Likewise.
14304         (fmod_test): Likewise.
14305         (ilogb_test): Likewise.
14306         (lgamma_test): Likewise.
14307         (pow_test): Likewise.
14308         (remainder_test): Likewise.
14309         (sin_test): Likewise.
14310         (tan_test): Likewise.
14311         (yn_test): Likewise.
14312         (initialize): Set errno to 0.
14313         (main): Print number of errno tests.
14314         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14316 2013-04-29  Andreas Jaeger  <aj@suse.de>
14318         [BZ #15084]
14319         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14320         and RES_USEVC.
14322         [BZ #15085]
14323         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14324         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14325         unimplemented.
14327         [BZ #15380]
14328         * stdlib/random.c (__initstate): Return NULL if
14329         __initstate fails.
14331         [BZ #15086]
14332         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14333         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14334         RES_SNGLKUPREOP.
14336 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14338         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14340 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14342         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14343         of individual tests.
14344         (casin_test): Likewise.
14345         (casinh_test): Likewise.
14347 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
14349         [BZ #15409]
14350         * math/s_catan.c (__catan): Handle arguments with large real or
14351         imaginary part separately without squaring.
14352         * math/s_catanf.c (__catanf): Likewise.
14353         * math/s_catanh.c (__catanh): Likewise.
14354         * math/s_catanhf.c (__catanhf): Likewise.
14355         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14356         and redefine.
14357         (__catanhl): Handle arguments with large real or imaginary part
14358         separately without squaring.
14359         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14360         and redefine.
14361         (__catanl): Handle arguments with large real or imaginary part
14362         separately without squaring.
14363         * math/libm-test.inc (catan_test): Add more tests.
14364         (catanh_test): Likewise.
14365         * sysdeps/i386/fpu/libm-test-ulps: Update.
14366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14368 2013-04-27  Andreas Jaeger  <aj@suse.de>
14370         [BZ #15007]
14371         * stdlib/stdlib.h: Update guards for qecvt.
14372         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14373         <stdlib.h>.
14375 2013-04-27  Allan McRae  <allan@archlinux.org>
14377         * sysdeps/i386/fpu/libm-test-ulps: Update.
14379 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
14381         [BZ #15406]
14382         * math/s_catan.c: Include <float.h>.
14383         (__catan): Ensure underflow exception occurs for underflowed
14384         result.
14385         * math/s_catanf.c: Include <float.h>.
14386         (__catanf): Ensure underflow exception occurs for underflowed
14387         result.
14388         * math/s_catanh.c: Include <float.h>.
14389         (__catanh): Ensure underflow exception occurs for underflowed
14390         result.
14391         * math/s_catanhf.c: Include <float.h>.
14392         (__catanhf): Ensure underflow exception occurs for underflowed
14393         result.
14394         * math/s_catanhl.c: Include <float.h>.
14395         (__catanhl): Ensure underflow exception occurs for underflowed
14396         result.
14397         * math/s_catanl.c: Include <float.h>.
14398         (__catanl): Ensure underflow exception occurs for underflowed
14399         result.
14400         * math/libm-test.inc (catan_test): Add more tests.
14401         (catanh_test): Likewise.
14403         [BZ #15405]
14404         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14405         underflowed result.
14406         * math/s_ccoshf.c (__ccoshf): Likewise.
14407         * math/s_ccoshl.c (__ccoshl): Likewise.
14408         * math/s_csin.c (__csin): Likewise.
14409         * math/s_csinf.c (__csinf): Likewise.
14410         * math/s_csinh.c (__csinh): Likewise.
14411         * math/s_csinhf.c (__csinhf): Likewise.
14412         * math/s_csinhl.c (__csinhl): Likewise.
14413         * math/s_csinl.c (__csinl): Likewise.
14414         * math/libm-test.inc (ccos_test): Add more tests.
14415         (ccosh_test): Likewise.
14416         (csin_test): Likewise.
14417         (csinh_test): Likewise.
14419 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14421         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14422         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14423         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14424         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14425         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14426         powerpc/power5+/fpu folders.
14427         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14430 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14434 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
14436         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14437         additions to variable.
14438         [$(config-machine) = x86_64] (modules-names): Likewise.
14439         ($(objpfx)tst-audit3): Remove dependency.
14440         ($(objpfx)tst-audit3.out): Likewise.
14441         ($(objpfx)tst-audit4): Likewise.
14442         ($(objpfx)tst-audit4.out): Likewise.
14443         ($(objpfx)tst-audit5): Likewise.
14444         ($(objpfx)tst-audit5.out): Likewise.
14445         ($(objpfx)tst-audit6): Likewise.
14446         ($(objpfx)tst-audit6.out): Likewise.
14447         ($(objpfx)tst-audit7): Likewise.
14448         ($(objpfx)tst-audit7.out): Likewise.
14449         (tst-audit3-ENV): Remove variable.
14450         (tst-audit4-ENV): Likewise.
14451         (tst-audit5-ENV): Likewise.
14452         (tst-audit6-ENV): Likewise.
14453         (tst-audit7-ENV): Likewise.
14454         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14455         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14456         addition to variable.
14457         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14458         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14459         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14460         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14461         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14462         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14463         tst-audit3, tst-audit4 and tst-audit5.
14464         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14465         tst-audit6 and tst-audit7.
14466         [$(subdir) = elf] (modules-names): Add audit modules for those
14467         tests.
14468         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14469         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14470         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14471         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14472         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14473         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14474         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14475         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14476         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14477         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14478         [$(subdir) = elf] (tst-audit3-ENV): New variable.
14479         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14480         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14481         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14482         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14483         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14484         Likewise.
14485         [$(subdir) = elf && $(config-cflags-avx) = yes]
14486         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14487         [$(subdir) = elf && $(config-cflags-avx) = yes]
14488         (CFLAGS-tst-auditmod4a.c): Likewise.
14489         [$(subdir) = elf && $(config-cflags-avx) = yes]
14490         (CFLAGS-tst-auditmod4b.c): Likewise.
14491         [$(subdir) = elf && $(config-cflags-avx) = yes]
14492         (CFLAGS-tst-auditmod6b.c): Likewise.
14493         [$(subdir) = elf && $(config-cflags-avx) = yes]
14494         (CFLAGS-tst-auditmod6c.c): Likewise.
14495         [$(subdir) = elf && $(config-cflags-avx) = yes]
14496         (CFLAGS-tst-auditmod7b.c): Likewise.
14497         * elf/tst-audit3.c: Move to ...
14498         * sysdeps/x86_64/tst-audit3.c: ... here.
14499         * elf/tst-audit4.c: Move to ...
14500         * sysdeps/x86_64/tst-audit4.c: ... here.
14501         * elf/tst-audit5.c: Move to ...
14502         * sysdeps/x86_64/tst-audit5.c: ... here.
14503         * elf/tst-audit6.c: Move to ...
14504         * sysdeps/x86_64/tst-audit6.c: ... here.
14505         * elf/tst-audit7.c: Move to ...
14506         * sysdeps/x86_64/tst-audit7.c: ... here.
14507         * elf/tst-auditmod3a.c: Move to ...
14508         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14509         * elf/tst-auditmod3b.c: Move to ...
14510         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14511         * elf/tst-auditmod4a.c: Move to ...
14512         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14513         * elf/tst-auditmod4b.c: Move to ...
14514         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14515         * elf/tst-auditmod5a.c: Move to ...
14516         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14517         * elf/tst-auditmod5b.c: Move to ...
14518         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14519         * elf/tst-auditmod6a.c: Move to ...
14520         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14521         * elf/tst-auditmod6b.c: Move to ...
14522         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14523         * elf/tst-auditmod6c.c: Move to ...
14524         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14525         * elf/tst-auditmod7a.c: Move to ...
14526         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14527         * elf/tst-auditmod7b.c: Move to ...
14528         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14530 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
14532         [BZ #15366]
14533         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14534         define unconditionally.
14535         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14536         define unconditionally.
14537         (INT8_C, INT16_C, etc.): Likewise.
14539 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
14541         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14542         __ehdr_start with hidden visibility.
14544         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14546 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
14548         * math/libm-test.inc (cos_test): Use accurate hex constants.
14549         (sincost_test): Likewise.
14551 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
14553         * math/libm-test.inc (catan_test): Add more tests.
14554         (catanh_test): Likewise.
14556         * math/s_catanf.c (__catanf): Use suffixed floating-point
14557         constants.
14558         * math/s_catanhf.c (__catanhf): Likewise.
14559         * math/s_catanhl.c (__catanhl): Likewise.
14560         * math/s_catanl.c (__catanl): Likewise.
14562         [BZ #15394]
14563         * math/s_catan.c (__catan): Calculate imaginary part of result
14564         with log1p not log unless computing log of number close to 0.
14565         * math/s_catanf.c (__catanf): Likewise.
14566         * math/s_catanl.c (__catanl): Likewise.
14567         * math/s_catanh.c (__catanh): Calculate real part of result with
14568         log1p not log unless computing log of number close to 0.
14569         * math/s_catanhf.c (__catanhf): Likewise.
14570         * math/s_catanhl.c (__catanhl): Likewise.
14571         * math/libm-test.inc (catan_test): Add more tests.
14572         (catanh_test): Likewise.
14573         * sysdeps/i386/fpu/libm-test-ulps: Update.
14574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14576 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14578         * benchtests/Makefile: Mention files in which fast and slow
14579         paths of math functions are implemented.
14581 2013-04-23  Roland McGrath  <roland@hack.frob.com>
14583         * sysdeps/posix/timespec_get.c: New file.
14585 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14587         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14588         POWER.
14589         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14590         for POWER.
14591         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14592         powerpc/power5/fpu folders.
14593         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14594         * benchtests/Makefile: Add modf testcase.
14595         * benchtests/bench-modf.c: New file: Benchmark test for mo
14597 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14599         [BZ #14888]
14600         * time/Makefile (tests): Add tst-strptime-whitespace.
14601         * time/strptime_l.c (get_number): Use ISSPACE.
14602         (__strptime_internal): Likewise.
14603         * time/tst-strptime-whitespace.c: New test case.
14605 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
14607         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14608         member.
14609         (_nss_files_init): Set it here.
14611 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
14613         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14614         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14615         unsigned.
14617 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
14619         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14621 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14623         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14624         size just once.
14626 2013-04-21  David S. Miller  <davem@davemloft.net>
14628         * po/ru.po: Update Russion translation from translation project.
14630 2013-04-17  Adam Conrad  <adconrad@0c3.net>
14632         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14633         and setfsgid.
14635 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
14637         * configure.in: Remove i386 configure warning. Remove i386 case.
14638         * configure: Regenerate.
14639         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14640         Add example to error message.
14641         * sysdeps/i386/configure: Regenerate.
14643 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14645         * benchtests/Makefile (bench): Add cos, tan, slowcos and
14646         slowtan.
14647         * benchtests/cos-inputs: New file.
14648         * benchtests/slowcos-inputs: New file.
14649         * benchtests/slowcos.c: New file.
14650         * benchtests/slowtan-inputs: New file.
14651         * benchtests/slowtan.c: New file.
14652         * benchtests/tan-inputs: New file.
14654 2013-04-16  Roland McGrath  <roland@hack.frob.com>
14656         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14657         considered kosher.
14659 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14661         * benchtests/Makefile: Include cppflags-iterator.mk to add
14662         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14664         * Makefile.in (bench-clean): New target.
14665         * benchtests/Makefile (bench-clean): Likewise.
14667 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
14669         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14671 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
14673         * stdio-common/tstdiomisc.c: Fix coding-style violation.
14675 2013-04-15  Andreas Schwab  <schwab@suse.de>
14677         * nscd/grpcache.c (cache_addgr): Properly check for short write.
14678         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14679         * nscd/pwdcache.c (cache_addpw): Likewise.
14680         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
14681         more than recsize.
14683 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14685         * benchtests/Makefile (bench): Write all output to
14686         bench-out.tmp together.
14688 2013-04-15  Andreas Schwab  <schwab@suse.de>
14690         * nscd/nscd.c (main): Don't fork again after closing files.
14692 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14694         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14696         * benchtests/Rules (bench-deps): Collect dependencies into a
14697         single variable.  Add Makefile to dependencies.
14698         ($(objpfx)bench-%.c): Depend on bench-deps.
14700 2013-04-12  Roland McGrath  <roland@hack.frob.com>
14701             Xavier Roche  <roche+kml2@exalead.com>
14703         [BZ #15361]
14704         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14705         just that it's a file descriptor.
14706         * manual/llio.texi (Synchronizing AIO Operations): Update description
14707         for EBADF error from aio_fsync.
14709 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14711         * Rules (bench): Move target definition...
14712         * benchtests/Makefile: ... here.
14714 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
14716         * math/libm-test.inc (cos_test): Fix PI/2 test.
14717         (sincos_test): Likewise.
14718         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14719         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14721 2013-04-11  Andreas Schwab  <schwab@suse.de>
14723         [BZ #13988]
14724         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14725         accept exponent character only when digits were seen.
14726         * stdio-common/Makefile (tests): Add bug26.
14727         * stdio-common/bug26.c: New file.
14729         [BZ #14293]
14730         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14731         non-freeable.
14733 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14735         * Makeconfig (rtld-prefix): Define built linker prefix.
14736         * Rules (run-bench): Use it.
14737         * math/Makefile (run-regen-ulps): Likewise.
14739         * Rules (bench): Remove eval.
14741 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14742             Roland McGrath  <roland@hack.frob.com>
14743             Ondrej Bilka  <neleai@seznam.cz>
14745         [BZ #15346]
14746         * time/getdate.c: Include ctype.h and alloca.h.
14747         (__getdate_r): Trim leading and trailing spaces of input.
14748         * time/tst-getdate.c (tests): Add tests with leading and
14749         trailing spaces.
14751 2013-04-08  Roland McGrath  <roland@hack.frob.com>
14753         [BZ #14280]
14754         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14755         when computing value.
14757 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14759         * math/README.libm-test (How can I generate "libm-test-ulps"?):
14760         Use testrun.sh to run libm tests.
14762         [BZ #15309]
14763         * elf/dl-open.c (dl_open_worker): memset all of seen array.
14765 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
14767         [BZ #15264]
14768         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14770 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14772         * Makefile.in (regen-ulps): New target.
14773         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14774         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14775         [ifneq (no,$(PERL)] (regen-ulps): New target.
14776         [ifeq (no,$(PERL)] (regen-ulps): New target.
14777         * math/libm-test.inc (ulps_file_name): Define.
14778         (output_dir): New variable.
14779         (options): Add "output-dir" option.
14780         (parse_opt): Handle 'o' case.
14781         (main): If output_dir is non-NULL use it as a prefix
14782         otherwise use "".
14783         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14785 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14787         [BZ #10060, #10062]
14788         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14789         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14790         fail configure if __sync_val_compare_and_swap is not inlined.
14791         * sysdeps/i386/configure: Regenerate.
14792         * configure.in: Build for i686 when configured for i386.
14793         * configure: Regenerate.
14794         * README: Remove i386 reference.
14796 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14798         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14799         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14801 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
14803         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14804         (lmsnanval): New variables.
14805         (F): Add conversion tests.
14806         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14807         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14809         * stdio-common/tstdiomisc.c (F): Properly collect individual
14810         tests' results.
14812         [BZ #14686, #15336]
14813         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14814         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14815         Instead, use input NaN values or generate a qNaN by arithmetic
14816         operation.  Also fix bugs to comply with the standard.
14817         * math/libm-test.inc (remainder_test): Add more tests.
14819         [BZ #15335, #15342]
14820         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14821         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14822         input NaN values or generate a qNaN by arithmetic operation.
14824         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14825         unreachable code.
14827         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14828         definitions.
14830 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
14832         [BZ #14478]
14833         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14834         underflowed result.
14835         * math/s_cexpf.c (__cexpf): Likewise.
14836         * math/s_cexpl.c (__cexpl): Likewise.
14837         * math/libm-test.inc (cexp_test): Add more tests.
14839 2013-04-03  Andreas Schwab  <schwab@suse.de>
14841         [BZ #15330]
14842         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14843         order arrays from heap if bigger than alloca cutoff.
14845 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
14847         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14848         (SNAN_TESTS_double): Refer to GCC PR56831.
14849         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14850         GCC PR56828.
14852 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14854         * Rules (bench): Move bench.out after the run is complete.
14856         * Rules (bench): Echo currently running benchmark.
14858         * benchtests/Makefile (bench): Add atan and slowatan.
14859         * benchtests/atan-inputs: New file.
14860         * benchtests/slowatan-inputs: New file.
14861         * benchtests/slowatan.c: New file.
14863         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14864         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14865         its value.
14867         [BZ #15305]
14868         * sysdeps/unix/sysv/linux/kernel-features.h
14869         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14870         __ASSUME_XFS_RESTRICTED_CHOWN.
14871         * sysdeps/unix/sysv/linux/pathconf.c
14872         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14873         Save and restore errno.
14875 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
14877         [BZ #15327]
14878         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14879         arguments using __kernel_casinh.
14880         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14881         arguments using __kernel_casinhf.
14882         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14883         arguments using __kernel_casinhl.
14884         * math/libm-test.inc (cacosh_test): Add more tests.
14885         * sysdeps/i386/fpu/libm-test-ulps: Update.
14886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14888 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14890         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14891         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14893         * bench/Makefile (bench): Add sin and slowsin.
14894         * benchtests/sin-inputs: New file.
14895         * benchtests/slowsin-inputs: New file.
14896         * benchtests/slowsin.c: New file.
14898         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14899         (bench): Add slowexp and slowpow.
14900         (exp-ITER): Increase iterations.
14901         (pow-ITER): Likewise.
14902         * benchtests/exp-inputs: Change input.
14903         * benchtests/pow-inputs: Likewise.
14904         * benchtests/slowexp-inputs: New file.
14905         * benchtests/slowexp.c: New file.
14906         * benchtests/slowpow-inputs: New file.
14907         * benchtests/slowpow.c: New file.
14909 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14911         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14912         instructions.
14913         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14914         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14915         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14916         * benchtests/Makefile: Add rint benchtest.
14917         * benchtests/rint-inputs: Input for rint benchtest.
14919 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
14921         * Versions.def (libm): Add GLIBC_2.18.
14922         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14923         hidden libm prototypes.
14924         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14925         * math/Makefile (libm-calls): Add s_issignaling.
14926         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14927         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
14928         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14929         declaration.
14930         * math/math.h [__USE_GNU] (issignaling): New macro.
14931         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14932         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14933         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14934         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14935         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14936         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14937         * manual/arith.texi (issignaling): New section.
14938         * manual/libm-err-tab.pl (@all_functions): Update comment.
14939         * math/gen-libm-test.pl (parse_args): Apply special handling for
14940         issignaling.
14941         * math/libm-test.inc (print_float, issignaling_test): New
14942         functions.
14943         (check_float_internal): Add issignaling checks.
14944         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14945         default definition.
14946         * sysdeps/powerpc/math-tests.h: New file.
14947         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14948         tests.
14949         * math/test-snan.c (TEST_FUNC): Likewise.
14951 2013-03-30  David S. Miller  <davem@davemloft.net>
14953         * po/de.po: Update from translation team.
14955 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
14957         [BZ #10357]
14958         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14959         imaginary part less than 1.0 and real part less than 0.5
14960         specially.
14961         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14962         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14963         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14964         (cacos_test): Add more tests.
14965         (casin_test): Likewise.
14966         (casinh_test): Likewise.
14967         * sysdeps/i386/fpu/libm-test-ulps: Update.
14968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14970 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14972         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14973         ONE with its value.
14975         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14976         (__pow_mp): Replace ONE and MONE with their values.
14977         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14978         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14979         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14980         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14981         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14982         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14984         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14986         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14987         (__pow_mp): Replace ZERO and MZERO with their values.
14988         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14989         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14990         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14991         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14992         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14993         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14994         (__sqr): Likewise.
14996         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14998         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15000 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15002         * include/stdlib.h [!SHARED] (__call_tls_dtors):
15003         Declare with __attribute__ ((weak)).
15004         * stdlib/exit.c (__libc_atexit) [!SHARED]:
15005         Call __call_tls_dtors only if it's not NULL.
15007 2013-03-28  Roland McGrath  <roland@hack.frob.com>
15009         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15010         didn't do it already, then set _dl_phdr and _dl_phnum based on the
15011         magic __ehdr_start linker symbol if it's defined.
15012         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15013         them up here if it was already done.
15015         * elf/dl-support.c (_dl_phdr): Make pointer to const.
15016         (_dl_aux_init): Use const in cast when setting it.
15017         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15018         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15019         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15021         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15022         Declare them here.
15023         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15024         * csu/libc-tls.c: Nor here.
15025         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15027         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15028         (__libc_message): Never call vsyslog.
15030 2013-03-28  Alan Modra  <amodra@gmail.com>
15032         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15033         Define as empty.
15034         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15035         Likewise.
15037 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15039         [BZ #15214]
15040         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15041         underflow.
15042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15044 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15046         [BZ #15304]
15047         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15048         Don't add gid passed as argument.
15050         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15052 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
15054         [BZ #15307]
15055         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15056         imaginary part between 1.0 and 1.5 and real part less than 0.5
15057         specially.
15058         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15059         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15060         * math/libm-test.inc (cacos_test): Add more tests.
15061         (casin_test): Likewise.
15062         (casinh_test): Likewise.
15063         * sysdeps/i386/fpu/libm-test-ulps: Update.
15064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15066 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15068         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15069         constants.
15070         (norm): Likewise.
15071         (denorm): Likewise.
15072         (__dbl_mp): Likewise.
15073         (add_magnitudes): Likewise.
15074         (sub_magnitudes): Likewise.
15075         (__add): Likewise.
15076         (__sub): Likewise.
15077         (__mul): Likewise.
15078         (__sqr): Likewise.
15079         (__inv): Likewise.
15080         (__dvd): Likewise.
15082         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15083         commented code.
15084         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15085         (__dubcos): Likewise.
15086         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15087         (__ieee754_acos): Likewise.
15088         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15089         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15090         (__exp1): Likewise.
15091         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15092         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15093         (log1): Likewise.
15094         (my_log2): Likewise.
15095         (checkint): Likewise.
15096         * sysdeps/ieee754/dbl-64/e_remainder.c
15097         (__ieee754_remainder): Likewise.
15098         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15099         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15100         (bsloww): Likewise.
15101         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15103         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15104         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15105         MANTISSA_STORE_T to store computations on mantissa.  Use
15106         macros for rounding and division.
15107         (denorm): Likewise.
15108         (__dbl_mp): Likewise.
15109         (add_magnitudes): Likewise.
15110         (sub_magnitudes): Likewise.
15111         (__mul): Likewise.
15112         (__sqr): Likewise.
15113         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15114         powers of two in terms of TWOPOW macro.
15115         (mp_no): Make type of mantissa as MANTISSA_T.
15116         [!RADIXI]: Define RADIXI.
15117         [!TWO52]: Define TWO52.
15118         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15120 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15122         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15123         llroundl symbol when building for PPC32.
15125 2013-03-24  Mark H Weaver  <mhw@netris.org>
15127         * manual/arith.texi (Normalization Functions): Fix prototypes for
15128         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15130 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15132         [BZ #13889]
15133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15134         high value to check if expl overflow.
15135         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15136         to check for underflow and overflow.
15137         * math/libm-test.inc: Add exp test.
15139 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
15141         [BZ #11120]
15142         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15143         with NOT_IN_libc.
15145 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15147         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15148         symbol.
15150 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
15152         * math/gen-libm-test.pl (parse_args, special_functions): Properly
15153         wrap blocks consisting of several statements.
15155         * sysdeps/generic/math-tests.h: New file.
15156         * sysdeps/i386/fpu/math-tests.h: Likewise.
15157         * math/test-snan.c: Include it.
15158         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15160 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15162         [BZ #15285]
15163         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15164         (__ieee754_j0l): Do not improve calculations using cos of twice
15165         input for inputs above LDBL_MAX / 2.0L.
15166         (__ieee754_y0l): Likewise.
15167         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15168         (__ieee754_j1l): Do not improve calculations using cos of twice
15169         input for inputs above LDBL_MAX / 2.0L.
15170         (__ieee754_y1l): Likewise.
15171         * math/libm-test.inc (j0_test): Add another test.
15172         (j1_test): Likewise.
15173         (y0_test): Likewise.
15174         (y1_test): Likewise.
15175         * sysdeps/i386/fpu/libm-test-ulps: Update.
15177 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15179         * Rules ($(objpfx)bench-%.c): Include code from a C source
15180         file.
15182 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
15184         [BZ #15287]
15185         * math/k_casinh.c (__kernel_casinh): Handle arguments with
15186         imaginary part 1.0 and real part less than 0.5 specially.
15187         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15188         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15189         * math/libm-test.inc (cacos_test): Add more tests.
15190         (casin_test): Likewise.
15191         (casinh_test): Likewise.
15192         * sysdeps/i386/fpu/libm-test-ulps: Update.
15193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15195 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15197         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15198         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15200 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
15202         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15203         * config.make.in (config-cflags-sse4): Remove variable.
15204         (config-cflags-avx): Likewise.
15205         (config-cflags-sse2avx): Likewise.
15206         (config-cflags-novzeroupper): Likewise.
15207         (config-asflags-i686): Likewise.
15208         (have-mfma4): Likewise.
15209         (have-as-vis3): Likewise.
15210         (MIG): Likewise.
15211         * configure.in (MIG): Do not AC_SUBST.
15212         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15213         (libc_cv_cc_sse4): Do not AC_SUBST.
15214         (libc_cv_cc_avx): Likewise.
15215         (libc_cv_cc_sse2avx): Likewise.
15216         (libc_cv_cc_novzeroupper): Likewise.
15217         (libc_cv_cc_fma4): Likewise.
15218         (libc_cv_as_i686): Likewise.
15219         (libc_cv_sparc_as_vis3): Likewise.
15220         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15221         LIBC_CONFIG_VAR.
15222         (config-asflags-i686): Likewise.
15223         (config-cflags-avx): Likewise.
15224         (config-cflags-sse2avx): Likewise.
15225         (have-mfma4): Likewise.
15226         (config-cflags-novzeroupper): Likewise.
15227         * sysdeps/mach/configure.in (MIG): Likewise.
15228         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15229         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15230         LIBC_CONFIG_VAR.
15231         (config-cflags-avx): Likewise.
15232         (config-cflags-sse2avx): Likewise.
15233         (have-mfma4): Likewise.
15234         (config-cflags-novzeroupper): Likewise.
15235         * configure: Regenerated.
15236         * sysdeps/i386/configure: Likewise.
15237         * sysdeps/mach/configure: Likewise.
15238         * sysdeps/sparc/configure: Likewise.
15239         * sysdeps/x86_64/configure: Likewise.
15241 2013-03-20  Roland McGrath  <roland@hack.frob.com>
15243         [BZ #14812]
15244         * locale/programs/localedef.c (options): Put N_ translation marker
15245         on argument names, not just descriptions.
15247 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15249         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15251 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
15253         [BZ #14176]
15254         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15256 2013-03-19  Roland McGrath  <roland@hack.frob.com>
15258         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15259         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15260         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15261         [!BEFORE_ABORT] (before_abort): New function.
15262         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15263         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15264         (writev_for_fatal): New function.
15265         (WRITEV_FOR_FATAL): New macro; call that.
15266         (backtrace_and_maps): New function.
15267         (BEFORE_ABORT): New macro; call that.
15268         (struct str_list): Type removed.
15269         (__libc_message, __libc_fatal): Functions removed.
15270         Include <sysdeps/posix/libc_fatal.c> instead.
15272 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
15274         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15275         constants.
15276         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15277         double constants.
15279 2013-03-19  Andreas Schwab  <schwab@suse.de>
15281         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15282         * sysdeps/gnu/configure: Regenerate.
15284         * configure.in: Substitute libc_cv_rtlddir.
15285         * configure: Regenerate.
15286         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15287         * Makeconfig (rtlddir, inst_rtlddir): New variables.
15288         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15289         * elf/Makefile (install-others, CFLAGS-interp.c)
15290         (ldso_install, common-ldd-rewrite): Likewise.
15291         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15292         $(inst_slibdir)/$(rtld-installed-name).
15293         * scripts/rellns-sh: Add -p option.
15294         * Makerules (make-shlib-link): Use rellns-sh to get relative name
15295         for source.
15297 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15299         * manual/nptl.texi: Renamed to ...
15300         * manual/threads.texi: ... this.
15301         * manual/Makefile (chapters): Update.
15303 2013-03-18  Roland McGrath  <roland@hack.frob.com>
15305         [BZ #14812]
15306         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15307         on argument names, not just descriptions.
15308         * malloc/memusagestat.c (options): Likewise.
15309         * nss/getent.c (options): Likewise.
15311 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
15313         [BZ #14812]
15314         * iconv/iconv_prog.c (options): Put N_ translation marker
15315         on argument names, not just descriptions.
15316         * iconv/iconvconfig.c (options): Likewise.
15318 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
15320         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15321         implementation which is faster on all x86_64 architectures.
15322         Tested on AMD, Intel Nehalem, SNB, IVB.
15323         * sysdeps/x86_64/strnlen.S: Likewise.
15325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15326         Remove all multiarch strlen and strnlen versions.
15327         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15328         Remove strlen and strnlen related parts.
15330         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15331         Inline strlen part.
15332         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15334         * sysdeps/x86_64/multiarch/strlen.S: Remove.
15335         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15336         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15337         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15338         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15339         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15341 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
15343         * manual/memory.texi (Malloc Tunable Parameters):
15344         Sort parameters alphabetically. Add comments for missing entries.
15346 2013-03-17  David S. Miller  <davem@davemloft.net>
15348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15350 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
15352         [BZ #15283]
15353         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15354         for arguments at most half maximum finite value.
15355         * math/libm-test.inc (j0_test): Add more tests.
15356         (j1_test): Likewise.
15357         (y0_test): Likewise.
15358         (y1_test): Likewise.
15359         * sysdeps/i386/fpu/libm-test-ulps: Update.
15360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15362         [BZ #14155]
15363         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15364         1 / x and functions P and Q for arguments above 0x1p256L.
15365         (__ieee754_y0l): Likewise.
15366         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15367         (__ieee754_y1l): Likewise.
15368         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15369         (j1_test): Likewise.
15370         (y0_test): Likewise.
15371         (y1_test): Likewise.
15373 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
15375         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15376         variable.
15378 2013-03-15  Roland McGrath  <roland@hack.frob.com>
15380         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15381         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15382         zero since it's initialized to EXEC_PAGESIZE.
15384         * sysdeps/unix/sysv/linux/ldsodefs.h
15385         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15386         * sysdeps/generic/ldsodefs.h: ... here.
15388 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
15390         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15392         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15393         math/test-snan.c.
15394         * math/test-snan.c: Renamed from
15395         sysdeps/powerpc/fpu/test-powerpc-snan.c.
15396         * math/Makefile (tests): Add test-snan.
15397         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15398         test-powerpc-snan.
15400         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15401         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
15402         functions.
15403         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
15404         __builtin_nan family of functions.
15405         * math/libm-test.inc (initialize): Initialize qnan_value with
15406         __builtin_nan family of functions.
15407         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15408         Remove variables.
15409         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15410         Remove functions.
15411         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
15412         storage class.  Initialize qNaN_var and sNaN_var with
15413         __builtin_nan and __builtin_nans families of functions,
15414         respectively.
15416         * math/libm-test.inc (acosh_test): Also test with qNaN input.
15417         (sqrt_test): Remove duplicate test with qNaN input.
15418         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15419         (round_test, signbit_test, significand_test): Note missing +/-Inf
15420         as well as qNaN tests.
15422         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15423         qNaN_var.  Fix a few strings, too.
15424         * math/libm-test.inc (nan_value): Rename to qnan_value.
15425         * math/gen-libm-test.pl (%beautify): Adjust to that.
15426         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15427         * math/test-misc.c (main): Likewise.
15428         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15429         to __qnan_bytes, and __qnan_union, respectively.
15430         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15431         Likewise.
15432         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15433         and lqnanval, respectively.
15434         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15435         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15436         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15437         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15439         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15440         * math/test-misc.c (main) [__x86_64__]: Enable test for long
15441         doubles.
15443         * math/test-misc.c (main): Fix copy'n'pastos.
15444         * misc/tst-efgcvt.c (special): Likewise.
15446         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15447         Remove declarations.
15449 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15451         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15452         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15453         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15454         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15456 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15458         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15459         macro to return vdso values correctly in IFUNC implementations.
15460         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15461         Optimization by using IFUNC.
15463 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15464             Richard Henderson  <rth@redhat.com>
15465             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15467         * Makefile.in (bench): New target.
15468         * NEWS: Mention the benchmark framework.
15469         * Rules (bench): Likewise.
15470         (binaries-bench): Generate binaries for functions to
15471         benchmark.
15472         * benchtests/Makefile: New makefile for benchmark tests.
15473         * benchtests/bench-skeleton.c: New skeleton file for benchmark
15474         programs.
15475         * benchtests/exp-inputs: New input file for EXP function.
15476         * benchtests/pow-inputs: New input file for POW function.
15477         * scripts/bench.pl: New script to generate source files for
15478         benchmark programs.
15480 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15482         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15483         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15484         computations on mantissa.  Use macros for rounding and
15485         division.
15486         (denorm): Likewise.
15487         (__dbl_mp): Likewise.
15488         (add_magnitudes): Likewise.
15489         (sub_magnitudes): Likewise.
15490         (__mul): Likewise.
15491         (__sqr): Likewise.
15492         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15493         powers of two in terms of TWOPOW macro.
15494         (mp_no): Make type of mantissa as MANTISSA_T.
15495         [!RADIXI]: Define RADIXI.
15496         [!TWO52]: Define TWO52.
15497         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15499         * manual/nptl.texi (cindex): Modify threads to pthreads.
15501 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
15503         * sysdeps/x86_64/preconfigure: Regenerated.
15505 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
15507         [BZ #14155]
15508         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15509         0x1p28 and above.
15510         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15511         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15512         0x1p28 and above.
15513         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15514         * math/libm-test.inc (j0_test): Do not allow one spurious
15515         underflow exception.
15516         (y1_test): Likewise.
15518 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15520         * manual/Makefile (chapters): Add nptl.
15521         * manual/debug.texi (Debugging Support): Add link to Threads
15522         chapter.
15523         * manual/nptl.texi: New file.
15525         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15527 2013-03-14  Petr Baudis  <pasky@ucw.cz>
15529         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15530         for non-NULL pointer before the memory validity test. Pointed
15531         out by Holger Brunck <holger.brunck@keymile.com>.
15533 2013-03-13  Andreas Schwab  <schwab@suse.de>
15535         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15536         instead of .os.
15538 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
15540         * timezone/zic.c: Update from tzcode 2013b.
15542 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
15544         * manual/install.texi (Configuring and compiling):
15545         Mention i686 and i586.
15546         * INSTALL: Regenerate.
15548 2013-03-12  Roland McGrath  <roland@hack.frob.com>
15550         * sysdeps/init_array/elf-init.c: New file.
15551         * csu/elf-init.c
15552         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15553         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15555         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15556         __gmon_start__ as global, but as static with a .preinit_array pointer.
15557         * sysdeps/init_array/gmon-start.c: New file.  Use that.
15558         * sysdeps/init_array/crti.S: New file, empty except for comments.
15559         * sysdeps/init_array/crtn.S: Likewise.
15561 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
15563         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15564         definining bcopy.
15565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15566         Remove Prefer_SSE_for_memop.
15567         * sysdeps/x86_64/multiarch/init-arch.h: Remove
15568         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15569         HAS_PREFER_SSE_FOR_MEMOP.
15570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15571         memset-x86-64.
15572         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15573         Remove bzero, memset ifunc support.
15574         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15575         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15576         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15577         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15579 2013-03-11  Andreas Schwab  <schwab@suse.de>
15581         [BZ #15234]
15582         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15583         by SHLIB_COMPAT.
15584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15585         (GLIBC_2.16): Remove pthread_atfork.
15587 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15589         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15590         (ptestcases.h): Likewise.
15592 2013-03-08  Roland McGrath  <roland@hack.frob.com>
15594         * Makeconfig ($(common-objpfx)config.status): Depend on
15595         sysdeps/*/preconfigure{,.in} too.
15597 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
15599         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15600         (__free_hook): Use void * instead of __malloc_ptr_t.
15601         (__malloc_hook): Likewise.
15602         (__realloc_hook): Likewise.
15603         (__memalign_hook): Likewise.
15604         (__after_morecore_hook): Likewise.
15605         * malloc/arena.c (save_malloc_hook): Likewise.
15606         (save_free_hook): Likewise.
15607         * malloc/hooks.c (malloc_hook_ini): Likewise.
15608         (realloc_hook_ini): Likewise.
15609         (memalign_hook_ini): Likewise.
15610         * malloc/malloc.c (malloc_hook_ini): Likewise.
15611         (realloc_hook_ini): Likewise.
15612         (memalign_hook_ini): Likewise.
15613         (__free_hook): Likewise.
15614         (__malloc_hook): Likewise.
15615         (__realloc_hook): Likewise.
15616         (__memalign_hook): Likewise.
15617         (__libc_malloc): Likewise.
15618         (__libc_free): Likewise.
15619         (__libc_realloc): Likewise.
15620         (__libc_memalign): Likewise.
15621         (__libc_valloc): Likewise.
15622         (__libc_pvalloc): Likewise.
15623         (__libc_calloc): Likewise.
15624         (__posix_memalign): Likewise.
15625         * malloc/morecore.c (__sbrk): Likewise.
15626         (__default_morecore): Likewise.
15628         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15630         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15631         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15632         __malloc_ptrdiff_t.
15634         * malloc/malloc.h (__malloc_size_t): Remove macro.
15635         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15636         __malloc_size_t.
15637         (old_memalign_hook): Likewise.
15638         (old_realloc_hook): Likewise.
15639         (struct hdr): Likewise.
15640         (flood): Likewise.
15641         (mallochook): Likewise.
15642         (memalignhook): Likewise.
15643         (reallochook): Likewise.
15644         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15645         (tr_old_realloc_hook): Likewise.
15646         (tr_old_memalign_hook): Likewise.
15647         (tr_mallochook): Likewise.
15648         (tr_reallochook): Likewise.
15649         (tr_memalignhook): Likewise.
15651 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15653         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15654         default_ldbl_pack and using as default implementation.
15655         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15656         implementation.
15657         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15658         redundant definition.
15659         (ldbl_insert_mantissa): Likewise.
15660         (ldbl_canonicalize): Likewise.
15661         (ldbl_nearbyint): Likewise.
15662         (ldbl_pack): Rename to ldbl_pack_ppc.
15663         (ldbl_unpack): Rename to ldbl_unpack_ppc.
15664         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15665         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15667 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15669         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15670         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15671         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15672         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15674         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15675         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15676         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15678 2013-03-07  Andreas Jaeger  <aj@suse.de>
15680         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15681         bits/mman-linux.h.
15683 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15685         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15686         Include mpa.h and declare __MPEXP.
15687         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15688         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15689         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15690         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15691         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15692         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15693         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15695         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15696         (__slowpow): Use long double EXPL and LOGL functions to
15697         compute POW.
15698         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15699         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15700         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15701         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15702         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15703         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15705         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15706         intermediate variable to calculate exponent.
15707         (__sqr): Likewise.
15708         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15709         Likewise.
15710         (__sqr): Likewise.
15712         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15713         [!NO__SQR]: Define __sqr.
15714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15715         and NO__SQR.  Remove all code except __mul and __sqr.  Include
15716         sysdeps/ieee754/dbl-64/mpa.c.
15717         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15719         [BZ #12723]
15720         * posix/Makefile (tests): Add tst-pathconf.
15721         * posix/tst-pathconf.c: New test case.
15722         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15723         _PC_PIPE_BUF.
15724         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15726 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
15728         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15730 2013-03-06  Andreas Jaeger  <aj@suse.de>
15732         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15733         definition via __MAP_ANONYMOUS.
15735         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15736         it's not part of Linux headers.
15738         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15739         (MAP_HUGE_MASK): Define.
15741         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15742         Define.
15743         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15744         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15745         Define.
15746         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15747         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15748         Define.
15749         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15750         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15751         Define.
15752         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15754         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15755         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15756         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15757         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15758         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15759         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15761         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15762         Handle f2fs.
15764         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15765         Handle f2fs and efivarfs.
15767         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15768         f2fs.
15770         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15771         (EFIVARFS_MAGIC): Add.
15772         (F2FS_LINK_MAX): Add.
15774 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15776         * stdio-common/vfprintf.c: Replace __builtin_expect with
15777         __glibc_unlikely.
15779 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
15781         [BZ #13550]
15782         * sysdeps/generic/bp-sym.h: Remove file.
15783         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15784         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15785         <bp-sym.h> and <bp-asm.h>.
15786         (__longjmp): Don't use BP_SYM.
15787         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15788         and <bp-asm.h>.
15789         (memcpy): Don't use BP_SYM.
15790         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15791         <bp-sym.h> and <bp-asm.h>.
15792         (memcpy): Don't use BP_SYM.
15793         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15794         <bp-asm.h>.
15795         (memcpy): Don't use BP_SYM.
15796         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15797         <bp-asm.h>.
15798         (memset): Don't use BP_SYM.
15799         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15800         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15801         (__bzero): Don't use BP_SYM.
15802         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15803         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15804         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15805         <bp-sym.h> and <bp-asm.h>.
15806         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15807         pointers.
15808         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15809         <bp-sym.h> and <bp-asm.h>.
15810         (memcpy): Don't use BP_SYM.
15811         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15812         <bp-sym.h> and <bp-asm.h>.
15813         (memset): Don't use BP_SYM.
15814         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15815         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15816         (__bzero): Don't use BP_SYM.
15817         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15818         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15819         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15820         <bp-sym.h> and <bp-asm.h>.
15821         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15822         pointers.
15823         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15824         <bp-sym.h> and <bp-asm.h>.
15825         (memcpy): Don't use BP_SYM.
15826         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15827         <bp-sym.h> and <bp-asm.h>.
15828         (memset): Don't use BP_SYM.
15829         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15830         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15831         (__bzero): Don't use BP_SYM.
15832         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15833         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15834         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15835         <bp-sym.h> and <bp-asm.h>.
15836         (__memchr): Don't use BP_SYM.
15837         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15838         <bp-sym.h> and <bp-asm.h>.
15839         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15840         pointers.
15841         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15842         <bp-sym.h> and <bp-asm.h>.
15843         (memcpy): Don't use BP_SYM.
15844         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15845         <bp-sym.h> and <bp-asm.h>.
15846         (__mempcpy): Don't use BP_SYM.
15847         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15848         <bp-sym.h> and <bp-asm.h>.
15849         (__memrchr): Don't use BP_SYM.
15850         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15851         <bp-sym.h> and <bp-asm.h>.
15852         (memset): Don't use BP_SYM.
15853         (__bzero): Likewise.
15854         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15855         <bp-sym.h> and <bp-asm.h>.
15856         (__rawmemchr): Don't use BP_SYM.
15857         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15858         <bp-sym.h> and <bp-asm.h>.
15859         (__STRCMP): Don't use BP_SYM.
15860         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15861         <bp-sym.h> and <bp-asm.h>.
15862         (strchr): Don't use BP_SYM.
15863         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15864         <bp-sym.h> and <bp-asm.h>.
15865         (__strchrnul): Don't use BP_SYM.
15866         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15867         <bp-sym.h> and <bp-asm.h>.
15868         (strlen): Don't use BP_SYM.
15869         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15870         <bp-sym.h> and <bp-asm.h>.
15871         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15872         pointers.
15873         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15874         <bp-sym.h> and <bp-asm.h>.
15875         (__strnlen): Don't use BP_SYM.
15876         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15877         <bp-sym.h> and <bp-asm.h>.
15878         (__GI__setjmp): Don't use BP_SYM.
15879         (_setjmp): Likewise.
15880         (__sigsetjmp): Likewise.
15881         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15882         (L(start_addresses)): Don't use BP_SYM.
15883         (_start): Likewise.
15884         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15885         <bp-asm.h>.
15886         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15887         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15888         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15889         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15890         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15891         <bp-asm.h>.
15892         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15893         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
15894         about bounded pointers.
15895         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15896         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15897         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15898         <bp-asm.h>.
15899         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15900         about bounded pointers.  Remove GKM FIXME comments.
15901         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15902         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15903         <bp-asm.h>.
15904         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15905         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
15906         Remove GKM FIXME comments.
15907         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15908         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15909         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15910         <bp-asm.h>.
15911         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15912         about bounded pointers.  Remove GKM FIXME comment.
15913         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15914         and <bp-asm.h>.
15915         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15916         pointers.
15917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15918         <bp-sym.h> and <bp-asm.h>.
15919         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15921         <bp-sym.h> and <bp-asm.h>.
15922         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15923         comment.
15925 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15927         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15928         call free(NULL).
15930 2013-03-05  David S. Miller  <davem@davemloft.net>
15932         * po/es.po: Update from translation team.
15934 2013-03-05  Andreas Jaeger  <aj@suse.de>
15936         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15937         <bits/mman-linux.h>.
15938         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15939         is fine.
15940         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15941         <bits/mman-linux.h> to end of file.
15942         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15943         is fine.
15944         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15945         <bits/mman-linux.h> to end of file.
15946         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15947         is fine.
15948         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15949         <bits/mman-linux.h> to end of file.
15951         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15952         (MCL_CURRENT, MCL_FUTURE): Define here.
15954 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15956         [BZ #15232]
15957         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15958         attribute_hidden.
15959         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15961 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15963         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15964         fourth parameter needed for rt_sigprocmask syscall.
15965         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15966         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15967         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15968         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15969         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15970         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15972 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
15974         [BZ #13550]
15975         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15976         comment about bounded pointers.
15977         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15978         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15980 2013-03-04  Andreas Jaeger  <aj@suse.de>
15982         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15983         common definitions.
15985         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15986         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15987         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15988         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15989         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15990         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15992 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15994         [BZ #15055]
15995         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15996         __ieee754_sqrl instead of __sqrl.
15998 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
16000         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16001         * sysdeps/powerpc/fpu_control.h: ... here.
16002         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16003         * sysdeps/powerpc/bits/fenvinline.h: ... here.
16004         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16005         * sysdeps/powerpc/bits/mathinline.h: ... here.
16007 2013-03-01  Roland McGrath  <roland@hack.frob.com>
16009         * elf/dl-hwcaps.c (_dl_important_hwcaps):
16010         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16011         to just [NEED_DL_SYSINFO_DSO].
16012         * elf/dl-support.c: Likewise.
16013         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16014         * elf/rtld.c (dl_main): Likewise.
16015         * elf/setup-vdso.h (setup_vdso): Likewise.
16016         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16017         * sysdeps/unix/sysv/linux/dl-sysdep.c
16018         (_dl_discover_osversion): Likewise.
16020 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
16022         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16023         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16025 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16027         * NEWS: Mention libm performance improvements and non-x86 PI
16028         futex support.
16030         * csu/libc-start.c (__pthread_initialize_minimal): Change
16031         function arguments.
16032         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16034 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
16036         [BZ #13550]
16037         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16038         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16039         <bp-sym.h> and <bp-asm.h>.
16040         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16041         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16042         and <bp-asm.h>.
16043         (memcpy): Don't use BP_SYM.
16044         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16045         <bp-asm.h>.
16046         (__mpn_add_n): Don't use BP_SYM.
16047         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16048         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16049         and <bp-asm.h>.
16050         (__mpn_addmul_1): Don't use BP_SYM.
16051         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16052         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16053         <bp-sym.h>.
16054         (_setjmp): Don't use BP_SYM.
16055         (__novmx_setjmp): Likewise.
16056         (__GI__setjmp): Likewise.
16057         (__vmx_setjmp): Likewise.
16058         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16059         <bp-sym.h>.
16060         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16061         (__bzero): Don't use BP_SYM.
16062         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16063         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16064         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16065         <bp-sym.h> and <bp-asm.h>.
16066         (memcpy): Don't use BP_SYM.
16067         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16068         <bp-sym.h> and <bp-asm.h>.
16069         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16070         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16071         <bp-sym.h> and <bp-asm.h>.
16072         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16073         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16074         <bp-asm.h>.
16075         (__mpn_lshift): Don't use BP_SYM.
16076         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16077         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16078         <bp-asm.h>.
16079         (memset): Don't use BP_SYM.
16080         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16081         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16082         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16083         <bp-asm.h>.
16084         (__mpn_mul_1): Don't use BP_SYM.
16085         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16086         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16087         <bp-sym.h> and <bp-asm.h>.
16088         (memcmp): Don't use BP_SYM.
16089         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16090         <bp-sym.h> and <bp-asm.h>.
16091         (memcpy): Don't use BP_SYM.
16092         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16093         <bp-sym.h> and <bp-asm.h>.
16094         (memset): Don't use BP_SYM.
16095         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16096         <bp-sym.h> and <bp-asm.h>.
16097         (strncmp): Don't use BP_SYM.
16098         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16099         <bp-sym.h> and <bp-asm.h>.
16100         (memcpy): Don't use BP_SYM.
16101         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16102         <bp-sym.h> and <bp-asm.h>.
16103         (memset): Don't use BP_SYM.
16104         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16105         <bp-sym.h> and <bp-asm.h>.
16106         (__memchr): Don't use BP_SYM.
16107         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16108         <bp-sym.h> and <bp-asm.h>.
16109         (memcmp): Don't use BP_SYM.
16110         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16111         <bp-sym.h> and <bp-asm.h>.
16112         (memcpy): Don't use BP_SYM.
16113         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16114         <bp-sym.h> and <bp-asm.h>.
16115         (__mempcpy): Don't use BP_SYM.
16116         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16117         <bp-sym.h> and <bp-asm.h>.
16118         (__memrchr): Don't use BP_SYM.
16119         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16120         <bp-sym.h> and <bp-asm.h>.
16121         (memset): Don't use BP_SYM.
16122         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16123         <bp-sym.h> and <bp-asm.h>.
16124         (__rawmemchr): Don't use BP_SYM.
16125         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16126         <bp-sym.h> and <bp-asm.h>.
16127         (__STRCMP): Don't use BP_SYM.
16128         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16129         <bp-sym.h> and <bp-asm.h>.
16130         (strchr): Don't use BP_SYM.
16131         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16132         <bp-sym.h> and <bp-asm.h>.
16133         (__strchrnul): Don't use BP_SYM.
16134         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16135         <bp-sym.h> and <bp-asm.h>.
16136         (strlen): Don't use BP_SYM.
16137         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16138         <bp-sym.h> and <bp-asm.h>.
16139         (strncmp): Don't use BP_SYM.
16140         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16141         <bp-sym.h> and <bp-asm.h>.
16142         (__strnlen): Don't use BP_SYM.
16143         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16144         <bp-asm.h>.
16145         (__mpn_rshift): Don't use BP_SYM.
16146         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16147         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16148         <bp-sym.h> and <bp-asm.h>.
16149         (__sigsetjmp): Don't use BP_SYM.
16150         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16151         (L(start_addresses)): Don't use BP_SYM.
16152         (_start): Likewise.
16153         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16154         <bp-asm.h>.
16155         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16156         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16157         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16158         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16159         <bp-asm.h>.
16160         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16161         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16162         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16163         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16164         <bp-asm.h>.
16165         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16166         comments.
16167         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16168         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16169         <bp-asm.h>.
16170         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
16171         FIXME comments.
16172         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16173         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16174         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16175         <bp-asm.h>.
16176         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
16177         comment.
16178         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16179         and <bp-asm.h>.
16180         (strncmp): Don't use BP_SYM,
16181         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16182         <bp-asm.h>.
16183         (__mpn_sub_n): Don't use BP_SYM.
16184         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16185         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16186         and <bp-asm.h>.
16187         (__mpn_submul_1): Don't use BP_SYM.
16188         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16190         <bp-sym.h> and <bp-asm.h>.
16191         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16193         <bp-sym.h> and <bp-asm.h>.
16194         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
16195         comment.
16197 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16200         Use ZK to minimize writes to Z.
16201         (sub_magnitudes): Simplify code a bit.
16202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16203         Use ZK to minimize writes to Z.
16204         (sub_magnitudes): Simplify code a bit.
16206 2013-02-27  Roland McGrath  <roland@hack.frob.com>
16208         * csu/gmon-start.c: Add special exception to license text.
16210 2013-02-27  Richard Henderson  <rth@redhat.com>
16212         * scripts/config.guess: Update from config.git.
16213         * scripts/config.sub: Likewise.
16215 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16217         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16219         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16221         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16223         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16225         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16227 2013-02-26  Roland McGrath  <roland@hack.frob.com>
16229         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16230         [$(build-shared = yes].
16232 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16234         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16235         (__mul): Reduce iterations for calculating mantissa.
16237         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16238         MPTWO.
16239         (__mpranred): Likewise.
16241         [BZ #15160]
16242         * malloc/memusagestat.c (main): Draw graphs for heap and stack
16243         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16245 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
16247         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16248         Define __attribute__.
16250 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16252         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16253         unused.
16254         * posix/regex_internal.h (__attribute): Remove.
16255         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16256         (re_string_context_at): Likewise.
16257         (bitset_not): Use __attribute__ and mark function as possibly
16258         unused.
16259         (bitset_merge): Likewise.
16260         (bitset_mask): Likewise.
16261         (re_string_char_size_at): Likewise.
16262         (re_string_wchar_at): Likewise.
16263         (re_string_elem_size_at): Likewise.
16265 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16267         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16268         code.
16269         (cc32): Likewise.
16271         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16272         (__acr): Likewise.
16273         (__cpy): Likewise.
16274         (norm): Likewise.
16275         (denorm): Likewise.
16276         (__dbl_mp): Likewise.
16277         (add_magnitudes): Likewise.
16278         (sub_magnitudes): Likewise.
16279         (__mul): Likewise.
16280         (__inv): Likewise.
16282         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16283         style.
16285         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16286         style.
16288         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16289         code.
16291         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16292         up changes with default code.
16293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16294         Likewise.
16296 2013-02-24  Allan McRae  <allan@archlinux.org>
16298         * manual/socket.texi (The Internet Namespace): Order menu items
16299         to match that in the file.
16301         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16302         node listing of the info page menu.
16304 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
16306         [BZ #13550]
16307         * sysdeps/i386/bp-asm.h: Remove file.
16308         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16309         (PARMS): Do not use macros from bp-asm.h.
16310         (S1): Likewise.
16311         (S2): Likewise.
16312         (SIZE): Likewise.
16313         (__mpn_add_n): Do not use BP_SYM
16314         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16315         "bp-asm.h".
16316         (PARMS): Do not use macros from bp-asm.h.
16317         (S1): Likewise.
16318         (SIZE): Likewise.
16319         (__mpn_addmul_1): Do not use BP_SYM
16320         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16321         "bp-asm.h".
16322         (PARMS): Do not use macros from bp-asm.h.
16323         (SIGMSK): Likewise.
16324         (_setjmp): Likewise.  Do not use BP_SYM.
16325         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16326         "bp-asm.h".
16327         (PARMS): Do not use macros from bp-asm.h.
16328         (SIGMSK): Likewise.
16329         (setjmp): Likewise.  Do not use BP_SYM.
16330         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16331         "bp-asm.h".
16332         (PARMS): Do not use macros from bp-asm.h.
16333         (__frexp): Do not use BP_SYM.
16334         (frexp): Likewise.
16335         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16336         "bp-asm.h".
16337         (PARMS): Do not use macros from bp-asm.h.
16338         (__frexpf): Do not use BP_SYM.
16339         (frexpf): Likewise.
16340         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16341         "bp-asm.h".
16342         (PARMS): Do not use macros from bp-asm.h.
16343         (__frexpl): Do not use BP_SYM.
16344         (frexpl): Likewise.
16345         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16346         "bp-asm.h".
16347         (PARMS): Do not use macros from bp-asm.h.
16348         (__remquo): Do not use BP_SYM.
16349         (remquo): Likewise.
16350         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16351         "bp-asm.h".
16352         (PARMS): Do not use macros from bp-asm.h.
16353         (__remquof): Do not use BP_SYM.
16354         (remquof): Likewise.
16355         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16356         "bp-asm.h".
16357         (PARMS): Do not use macros from bp-asm.h.
16358         (__remquol): Do not use BP_SYM.
16359         (remquol): Likewise.
16360         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16361         "bp-asm.h".
16362         (PARMS): Do not use macros from bp-asm.h.
16363         (DEST): Likewise.
16364         (SRC): Likewise.
16365         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
16366         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16367         "bp-asm.h".
16368         (PARMS): Do not use macros from bp-asm.h.
16369         (strlen): Do not use BP_SYM.
16370         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16371         "bp-asm.h".
16372         (PARMS): Do not use macros from bp-asm.h.
16373         (S1): Likewise.
16374         (S2): Likewise.
16375         (SIZE): Likewise.
16376         (__mpn_add_n): Do not use BP_SYM.
16377         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16378         "bp-asm.h".
16379         (PARMS): Do not use macros from bp-asm.h.
16380         (S1): Likewise.
16381         (SIZE): Likewise.
16382         (__mpn_addmul_1): Do not use BP_SYM.
16383         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16384         weak_alias.
16385         (bzero): Likewise.
16386         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16387         "bp-asm.h".
16388         (PARMS): Do not use macros from bp-asm.h.
16389         (S): Likewise.
16390         (SIZE): Likewise.
16391         (__mpn_lshift): Do not use BP_SYM.
16392         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16393         "bp-asm.h".
16394         (PARMS): Do not use macros from bp-asm.h.
16395         (DEST): Likewise.
16396         (SRC): Likewise.
16397         (LEN): Likewise.
16398         (memcpy): Likewise.  Do not use BP_SYM.
16399         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16400         libc_hidden_def and weak_alias.
16401         (mempcpy): Do not use BP_SYM in weak_alias.
16402         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16403         "bp-asm.h".
16404         (PARMS): Do not use macros from bp-asm.h.
16405         (DEST): Likewise.
16406         (LEN): Likewise.
16407         [!BZERO_P] (CHR): Likewise.
16408         (memset): Likewise.  Do not use BP_SYM.
16409         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16410         "bp-asm.h".
16411         (PARMS): Do not use macros from bp-asm.h.
16412         (S1): Likewise.
16413         (SIZE): Likewise.
16414         (__mpn_mul_1): Do not use BP_SYM.
16415         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16416         "bp-asm.h".
16417         (PARMS): Do not use macros from bp-asm.h.
16418         (S): Likewise.
16419         (SIZE): Likewise.
16420         (__mpn_rshift): Do not use BP_SYM.
16421         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16422         "bp-asm.h".
16423         (PARMS): Do not use macros from bp-asm.h.
16424         (STR): Likewise.
16425         (CHR): Likewise.
16426         (strchr): Likewise.  Do not use BP_SYM.
16427         (index): Do not use BP_SYM in weak_alias.
16428         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16429         "bp-asm.h".
16430         (PARMS): Do not use macros from bp-asm.h.
16431         (DEST): Likewise.
16432         (SRC): Likewise.
16433         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
16434         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16435         "bp-asm.h".
16436         (PARMS): Do not use macros from bp-asm.h.
16437         (strlen): Do not use BP_SYM.
16438         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16439         "bp-asm.h".
16440         (PARMS): Do not use macros from bp-asm.h.
16441         (S1): Likewise.
16442         (S2): Likewise.
16443         (SIZE): Likewise.
16444         (__mpn_sub_n): Do not use BP_SYM.
16445         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16446         "bp-asm.h".
16447         (PARMS): Do not use macros from bp-asm.h.
16448         (S1): Likewise.
16449         (SIZE): Likewise.
16450         (__mpn_submul_1): Do not use BP_SYM.
16451         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16452         "bp-asm.h".
16453         (PARMS): Do not use macros from bp-asm.h.
16454         (S1): Likewise.
16455         (S2): Likewise.
16456         (SIZE): Likewise.
16457         (__mpn_add_n): Do not use BP_SYM.
16458         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16459         weak_alias.
16460         (bzero): Likewise.
16461         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16462         "bp-asm.h".
16463         (PARMS): Do not use macros from bp-asm.h.
16464         (BLK2): Likewise.
16465         (LEN): Likewise.
16466         (memcmp): Do not use BP_SYM.
16467         (bcmp): Do not use BP_SYM in weak_alias.
16468         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16469         "bp-asm.h".
16470         (PARMS): Do not use macros from bp-asm.h.
16471         (DEST): Likewise.
16472         (SRC): Likewise.
16473         (LEN): Likewise.
16474         (memcpy): Likewise.  Do not use BP_SYM.
16475         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16476         "bp-asm.h".
16477         (PARMS): Do not use macros from bp-asm.h.
16478         (DEST): Likewise.
16479         (SRC): Likewise.
16480         (LEN): Likewise.
16481         (memmove): Likewise.  Do not use BP_SYM.
16482         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16483         "bp-asm.h".
16484         (PARMS): Do not use macros from bp-asm.h.
16485         (DEST): Likewise.
16486         (SRC): Likewise.
16487         (LEN): Likewise.
16488         (__mempcpy): Likewise.  Do not use BP_SYM.
16489         (mempcpy): Do not use BP_SYM in weak_alias.
16490         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16491         "bp-asm.h".
16492         (PARMS): Do not use macros from bp-asm.h.
16493         (DEST): Likewise.
16494         (LEN): Likewise.
16495         [!BZERO_P] (CHR): Likewise.
16496         (memset): Likewise.  Do not use BP_SYM.
16497         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16498         "bp-asm.h".
16499         (PARMS): Do not use macros from bp-asm.h.
16500         (STR2): Likewise.
16501         (strcmp): Do not use BP_SYM.
16502         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16503         "bp-asm.h".
16504         (PARMS): Do not use macros from bp-asm.h.
16505         (STR): Likewise.
16506         (DELIM): Likewise.
16507         [USE_AS_STRTOK_R] (SAVE): Likewise.
16508         (FUNCTION): Likewise.  Do not use BP_SYM.
16509         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16510         aliases.
16511         (strtok_r): Likewise.
16512         (__GI___strtok_r): Likewise.
16513         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16514         (PARMS): Do not use macros from bp-asm.h.
16515         (S): Likewise.
16516         (SIZE): Likewise.
16517         (__mpn_lshift): Do not use BP_SYM.
16518         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16519         (PARMS): Do not use macros from bp-asm.h.
16520         (STR): Likewise.
16521         (CHR): Likewise.
16522         (__memchr): Do not use BP_SYM.
16523         (memchr): Do not use BP_SYM in weak_alias.
16524         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16525         (PARMS): Do not use macros from bp-asm.h.
16526         (BLK2): Likewise.
16527         (LEN): Likewise.
16528         (memcmp): Do not use BP_SYM.
16529         (bcmp): Do not use BP_SYM in weak_alias.
16530         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16531         (PARMS): Do not use macros from bp-asm.h.
16532         (S1): Likewise.
16533         (SIZE): Likewise.
16534         (__mpn_mul_1): Do not use BP_SYM.
16535         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16536         "bp-asm.h".
16537         (PARMS): Do not use macros from bp-asm.h.
16538         (STR): Likewise.
16539         (CHR): Likewise.
16540         (__rawmemchr): Do not use BP_SYM.
16541         (rawmemchr): Do not use BP_SYM in weak_alias.
16542         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16543         (PARMS): Do not use macros from bp-asm.h.
16544         (S): Likewise.
16545         (SIZE): Likewise.
16546         (__mpn_rshift): Do not use BP_SYM.
16547         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16548         (PARMS): Do not use macros from bp-asm.h.
16549         (SIGMSK): Likewise.
16550         (__sigsetjmp): Likewise.  Do not use BP_SYM.
16551         * sysdeps/i386/start.S: Do not include "bp-sym.h".
16552         (_start): Do not use BP_SYM.
16553         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16554         (PARMS): Do not use macros from bp-asm.h.
16555         (DEST): Likewise.
16556         (SRC): Likewise.
16557         (__stpcpy): Likewise.  Do not use BP_SYM.
16558         (stpcpy): Do not use BP_SYM in weak_alias.
16559         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16560         "bp-asm.h".
16561         (PARMS): Do not use macros from bp-asm.h.
16562         (DEST): Likewise.
16563         (SRC): Likewise.
16564         (LEN): Likewise.
16565         (__stpncpy): Likewise.  Do not use BP_SYM.
16566         (stpncpy): Do not use BP_SYM in weak_alias.
16567         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16568         (PARMS): Do not use macros from bp-asm.h.
16569         (STR): Likewise.
16570         (CHR): Likewise.
16571         (strchr): Likewise.  Do not use BP_SYM.
16572         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16573         "bp-asm.h".
16574         (PARMS): Do not use macros from bp-asm.h.
16575         (STR): Likewise.
16576         (CHR): Likewise.
16577         (__strchrnul): Likewise.  Do not use BP_SYM.
16578         (strchrnul): Do not use BP_SYM in weak_alias.
16579         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16580         "bp-asm.h".
16581         (PARMS): Do not use macros from bp-asm.h.
16582         (STOP): Likewise.
16583         (strcspn): Do not use BP_SYM.
16584         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16585         "bp-asm.h".
16586         (PARMS): Do not use macros from bp-asm.h.
16587         (STR): Likewise.
16588         (STOP): Likewise.
16589         (strpbrk): Likewise.  Do not use BP_SYM.
16590         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16591         "bp-asm.h".
16592         (PARMS): Do not use macros from bp-asm.h.
16593         (STR): Likewise.
16594         (CHR): Likewise.
16595         (strrchr): Likewise.  Do not use BP_SYM.
16596         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16597         (PARMS): Do not use macros from bp-asm.h.
16598         (SKIP): Likewise.
16599         (strspn): Do not use BP_SYM.
16600         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16601         (PARMS): Do not use macros from bp-asm.h.
16602         (STR): Likewise.
16603         (DELIM): Likewise.
16604         (SAVE): Likewise.
16605         (FUNCTION): Likewise.  Do not use BP_SYM.
16606         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16607         aliases.
16608         (strtok_r): Likewise.
16609         (__GI___strtok_r): Likewise.
16610         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16611         (PARMS): Do not use macros from bp-asm.h.
16612         (S1): Likewise.
16613         (S2): Likewise.
16614         (SIZE): Likewise.
16615         (__mpn_sub_n): Do not use BP_SYM.
16616         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16617         "bp-asm.h".
16618         (PARMS): Do not use macros from bp-asm.h.
16619         (S1): Likewise.
16620         (SIZE): Likewise.
16621         (__mpn_submul_1): Do not use BP_SYM.
16622         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16623         <bp-sym.h>.
16624         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16625         and <bp-asm.h>.
16626         (PARMS): Do not use macros from bp-asm.h.
16627         (FLAGS): Likewise.
16628         (PTID): Likewise.
16629         (TLS): Likewise.
16630         (CTID): Likewise.
16631         (__clone): Do not use BP_SYM.
16632         (clone): Do not use BP_SYM in weak_alias.
16633         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16634         and <bp-asm.h>.
16635         (PARMS): Do not use macros from bp-asm.h.
16636         (LEN): Likewise.
16637         (__mmap64): Do not use BP_SYM.
16638         (mmap64): Do not use BP_SYM in weak_alias.
16639         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16640         <bp-sym.h> and <bp-asm.h>.
16641         (PARMS): Do not use macros from bp-asm.h.
16642         (__posix_fadvise64_l64): Do not use BP_SYM.
16643         * sysdeps/unix/sysv/linux/i386/semtimedop.S
16644         (PARMS): Do not use macros from bp-asm.h.
16645         (NSOPS): Likewise.
16646         (semtimedop): Do not use BP_SYM.
16647         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16648         and <bp-asm.h>.
16650 2013-02-21  Allan McRae  <allan@archlinux.org>
16652         * manual/message.texi (Charset conversion in gettext):
16653         Move @end statement to beginning of line.
16655 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16657         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16658         static.
16659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16660         Likewise.
16662         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16663         (denorm): Likewise.
16664         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16665         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16667 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16669         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16670         tail-call to the resolved function if pltexit isn't needed.
16672 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16675         or Y being zero as being unlikely.
16676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16677         Likewise.
16679 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
16681         * manual/nss.texi (System Databases and Name Service Switch):
16682         Remove frobnicate @pxref.
16684 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16686         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16687         __attribute__ ((unused)) to __attribute__ ((__unused__)).
16689 2013-02-20  Petr Machata  <pmachata@redhat.com>
16691         * elf/elf.h (R_ARM_TARGET1): New macro.
16692         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16693         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16694         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16695         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16696         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16697         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16698         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16699         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16700         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16701         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16702         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16703         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16704         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16705         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16706         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16707         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16708         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16709         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16710         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16711         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16712         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16713         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16714         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16715         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16716         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16717         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16718         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16719         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16720         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16721         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16722         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16723         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16724         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16725         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16726         (R_ARM_THM_GOT_BREL12): Likewise.
16727         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16728         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16729         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16730         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16731         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16732         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16733         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16734         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16735         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16737 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16739         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16740         __attribute_used__ to __attribute__ ((unused)).
16742 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16744         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16745         powerpc mpa.c.
16746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16747         comment formatting.
16748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16750 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
16752         [BZ #13550]
16753         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16754         Remove macro.
16755         (ENTER): Remove both macro definitions.
16756         (LEAVE): Likewise.
16757         (CHECK_BOUNDS_LOW): Likewise.
16758         (CHECK_BOUNDS_HIGH): Likewise.
16759         (CHECK_BOUNDS_BOTH): Likewise.
16760         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16761         (RETURN_BOUNDED_POINTER): Likewise.
16762         (RETURN_NULL_BOUNDED_POINTER): Likewise.
16763         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16764         (POP_ERRNO_LOCATION_RETURN): Likewise.
16765         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16766         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16767         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16768         macros.
16769         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16770         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16771         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16772         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16773         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16774         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16775         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16776         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16777         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16778         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16779         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16780         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16781         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16782         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16783         removed macros.
16784         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16785         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16786         macros.
16787         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16788         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16789         * sysdeps/i386/i586/memset.S (memset): Likewise.
16790         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16791         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16792         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16793         macros.
16794         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16795         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16796         Change uses of L(2) to L(out).
16797         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16798         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16799         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16800         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16801         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16802         removed macros.
16803         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16804         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16805         macros.
16806         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16807         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16808         (RETURN): Do not use macro LEAVE.
16809         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16810         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16811         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16812         * sysdeps/i386/i686/memset.S (memset): Likewise.
16813         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16814         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16815         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16816         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16817         Likewise.
16818         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16819         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
16820         L(1_2) and L(1_3) into L(1).
16821         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16822         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16823         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16824         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16825         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16826         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16827         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16828         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16829         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16830         macros.
16831         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16832         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16833         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16834         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16835         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16836         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16837         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16838         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16839         * sysdeps/i386/strcspn.S (strcspn): Likewise.
16840         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16841         * sysdeps/i386/strrchr.S (strrchr): Likewise.
16842         * sysdeps/i386/strspn.S (strspn): Likewise.
16843         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16844         conditional code.
16845         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16846         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16847         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16848         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
16849         L(1_3) into L(1_1).
16850         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16851         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16852         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16853         macros.
16854         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16856 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
16858         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16859         macro.
16861 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16863         * math/atest-exp.c (exp_mpn): Remove ROUND.
16864         * math/atest-exp2.c (exp_mpn): Likewise.
16865         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16867         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16868         * stdlib/tst-tls-atexit-lib.c: Likewise.
16869         * stdlib/tst-tls-atexit.c: Likewise.
16871 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16873         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16874         and __attribute_alloc_size__.
16876 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16878         * include/programs/xmalloc.h: Change __attribute_alloc_size to
16879         __attribute_alloc_size__.
16880         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16881         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16883 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16885         * include/programs/xmalloc.h: New file.
16886         * catgets/gencat.c: Include it.
16887         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16888         * elf/pldd.c: Likewise.
16889         * iconv/iconv_charmap.c: Likewise.
16890         * iconv/iconvconfig.c: Likewise.
16891         * iconv/strtab.c: Likewise.
16892         * locale/programs/locale.c: Likewise.
16893         * locale/programs/localedef.h: Likewise.
16894         * locale/programs/simple-hash.c: Likewise.
16895         * nscd/nscd.h: Likewise.
16896         * nss/makedb.c: Likewise.
16897         * sysdeps/generic/ldconfig.h: Likewise.
16899 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16901         * Versions.def: Add GLIBC_2.18.
16902         * include/link.h (struct link_map): New member l_tls_dtor_count.
16903         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16904         (__call_tls_dtors): Likewise.
16905         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16906         __cxa_thread_atexit_impl.
16907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16908         Likewise.
16909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16910         Likewise.
16911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16912         Likewise.
16913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16914         Likewise.
16915         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16917         Likewise.
16918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16919         Likewise.
16920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16922         Likewise.
16923         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16924         (tests): Add test case tst-tls-atexit.
16925         (modules-names): Add shared library for tst-tls-atexit.
16926         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16927         (GLIBC_PRIVATE): Add __call_tls_dtors.
16928         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16929         for libstdc++.
16930         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16931         * stdlib/tst-tls-atexit.c: New test case.
16932         * stdlib/tst-tls-atexit-lib.c: New test case.
16934         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16936         * elf/Versions (ld): Add _dl_find_dso_for_object.
16937         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16938         * elf/dl-open.c (_dl_find_dso_for_object): New function.
16939         (dl_open_worker): Use _dl_find_dso_for_object.
16940         * elf/dl-sym.c (do_sym): Likewise.
16941         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16943 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16945         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16946         Syntactic changes only.
16947         (_dl_runtime_profile): Do a tail-call to the resolved function.
16949 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
16951         [BZ #13550]
16952         * sysdeps/x86_64/bp-asm.h: Remove file.
16953         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16954         <bp-sym.h> and <bp-asm.h>.
16955         (__clone): Do not use BP_SYM.
16956         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16957         <bp-sym.h> and <bp-asm.h>.
16958         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16959         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16960         "bp-asm.h".
16961         (_setjmp): Do not use BP_SYM.
16962         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16963         "bp-asm.h".
16964         (setjmp): Do not use BP_SYM.
16965         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16966         libc_hidden_def.
16967         (mempcpy): Do not use BP_SYM in weak_alias.
16968         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16969         "bp-asm.h".
16970         (strchr): Do not use BP_SYM.
16971         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16972         "bp-asm.h".
16973         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16974         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16975         (_start): Do not use BP_SYM.
16976         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16977         "bp-asm.h".
16978         (strcat): Do not use BP_SYM.
16979         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16980         "bp-asm.h".
16981         (STRCMP): Do not use BP_SYM.
16982         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16983         "bp-asm.h".
16984         (STRCPY): Do not use BP_SYM.
16985         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16986         "bp-asm.h".
16987         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16988         "bp-asm.h".
16989         (FUNCTION): Do not use BP_SYM.
16990         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16991         weak_alias.
16992         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16994 2013-02-17  Andreas Jaeger  <aj@suse.de>
16996         * time/Versions: Sort entries.
16997         * string/Versions: Likewise.
16998         * resolv/Versions: Likewise.
16999         * posix/Versions: Likewise.
17000         * iconv/Versions: Likewise.
17001         * elf/Versions: Likewise.
17002         * wcsmbs/Versions: Likewise.
17004 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17006         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17007         loop termination condition.
17009         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17010         variable to calculate EZ.
17011         (__sqr): Likewise.
17013         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17014         the lower precision input.
17016 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
17018         [BZ #13550]
17019         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17020         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17021         (run-via-rtld-prefix): Do not handle %-bp tests.
17022         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17023         (all-object-suffixes): Remove .ob.
17024         (bppfx): Remove variable.
17025         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17026         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17027         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17028         [$(build-bounded) = yes] (libtype.ob): Likewise.
17029         * Makerules (elide-routines.ob): Remove variable.
17030         (do-tests-clean): Do not handle *-bp.out.
17031         (common-mostlyclean): Do not handle *-bp and *-bp.out.
17032         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17033         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17034         (tests): Do not include $(tests-bp.out).
17035         (xtests): Do not include $(xtests-bp.out).
17036         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17037         [$(build-bounded) = yes] ($(addprefix
17038         $(objpfx),$(binaries-bounded))): Remove rule.
17039         ($(objpfx)%-bp.out): Remove rule.
17040         * config.make.in (build-bounded): Remove variable.
17041         * crypt/Makefile [$(build-bounded) = yes]
17042         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17043         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17044         append to variable.
17045         [$(build-bounded) = yes] (install-lib): Likewise.
17046         [$(build-bounded) = yes] (generated): Likewise.
17047         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17048         Remove rule.
17049         * intl/Makefile [$(build-bounded) = yes]
17050         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17051         * math/Makefile [$(build-bounded) = yes]
17052         ($(tests:%=$(objpfx)%-bp): Likewise.
17053         * misc/Makefile [$(build-bounded) = yes]
17054         ($(objpfx)tst-tsearch-bp): Likewise.
17055         * nptl/Makeconfig (bounded-thread-library): Remove variable.
17056         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17057         Remove dependency.
17058         * string/Makefile (o-objects.ob): Remove variable.
17059         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17060         (CFLAGS-.ob): Remove variable.
17061         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17062         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17063         both definitions of variable.
17064         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17065         (ASFLAGS-.ob): Remove variable.
17067 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
17069         [BZ #13550]
17070         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17071         Remove __BOUNDED_POINTERS__ from condition.
17072         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17073         * string/bits/string2.h [!__NO_STRING_INLINES &&
17074         !__BOUNDED_POINTERS__]: Likewise.
17075         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17076         Likewise.
17077         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17078         Remove conditional code.
17079         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17080         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17081         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17082         condition.
17084         [BZ #13550]
17085         * csu/libc-start.c: Do not include <bp-sym.h>.
17086         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17087         * elf/dl-open.c: Do not include <bp-sym.h>.
17088         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17089         * math/fegetenv.c: Do not include <bp-sym.h>.
17090         (fegetenv): Do not use BP_SYM in versioned symbols.
17091         * nptl/sysdeps/pthread/bits/libc-lockP.h
17092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17093         <bp-sym.h>.
17094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17095         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17097         (__pthread_mutex_destroy): Likewise.
17098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17099         (__pthread_mutex_lock): Likewise.
17100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17101         (__pthread_mutex_trylock): Likewise.
17102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17103         (__pthread_mutex_unlock): Likewise.
17104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17105         (__pthread_mutexattr_init): Likewise.
17106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17107         (__pthread_mutexattr_destroy): Likewise.
17108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17109         (__pthread_mutexattr_settype): Likewise.
17110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17111         (__pthread_rwlock_init): Likewise.
17112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17113         (__pthread_rwlock_destroy): Likewise.
17114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17115         (__pthread_rwlock_rdlock): Likewise.
17116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17117         (__pthread_rwlock_tryrdlock): Likewise.
17118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17119         (__pthread_rwlock_wrlock): Likewise.
17120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17121         (__pthread_rwlock_trywrlock): Likewise.
17122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17123         (__pthread_rwlock_unlock): Likewise.
17124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17125         (__pthread_key_create): Likewise.
17126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17127         (__pthread_setspecific): Likewise.
17128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17129         (__pthread_getspecific): Likewise.
17130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17131         Likewise.
17132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17133         (_pthread_cleanup_push_defer): Likewise.
17134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17135         (_pthread_cleanup_pop_restore): Likewise.
17136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17137         (pthread_setcancelstate): Likewise.
17138         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17139         <bp-sym.h>.
17140         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17141         (memchr): Do not use BP_SYM in weak_alias.
17142         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17143         (fegetenv): Do not use BP_SYM in versioned symbols.
17144         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17145         (fesetenv): Do not use BP_SYM in versioned symbols.
17146         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17147         (feupdateenv): Do not use BP_SYM in versioned symbols.
17148         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17149         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17150         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17151         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17152         (open64): Do not use BP_SYM in weak_alias.
17153         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17154         (fegetenv): Do not use BP_SYM in versioned symbols.
17155         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17156         (fesetenv): Do not use BP_SYM in versioned symbols.
17157         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17158         (feupdateenv): Do not use BP_SYM in versioned symbols.
17159         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17160         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17161         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17162         (feraiseexcept): Do not use BP_SYM in versioned symbols.
17163         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17164         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17165         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17166         <bp-sym.h>.
17167         (__libc_start_main): Do not use BP_SYM.
17169 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17171         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17172         redundant return line.
17173         (norm): Likewise.
17174         (denorm): Likewise.
17175         (dbl_mp): Likewise.
17176         (sub_magnitudes): Likewise.
17177         (__add): Likewise.
17178         (__sub): Likewise.
17179         (__mul): Likewise.
17180         (__inv): Likewise.
17181         (__dvd): Likewise.
17182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17183         (norm): Likewise.
17184         (denorm): Likewise.
17185         (dbl_mp): Likewise.
17186         (sub_magnitudes): Likewise.
17187         (__add): Likewise.
17188         (__sub): Likewise.
17189         (__mul): Likewise.
17190         (__inv): Likewise.
17191         (__dvd): Likewise.
17193         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17194         instead of __mul.
17195         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17196         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17197         (cc32): Likewise.
17199         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17200         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17202         of __mul for squares.
17203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17204         function
17205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17206         Likewise.
17207         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17208         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17210 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
17212         [BZ #13550]
17213         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17214         code.
17215         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17216         prototype or function definition.  Rename ubp_* variables and
17217         parameters.  Remove argv definitions conditional on
17218         [__BOUNDED_POINTERS__].
17219         * debug/backtrace.c (__backtrace): Do not use __unbounded.
17220         * elf/dl-runtime.c (_dl_fixup): Likewise.
17221         * include/set-hooks.h (RUN_HOOK): Likewise.
17222         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17223         definition.
17224         * string/strcpy.c (strcpy): Do not use __unbounded.
17225         * sysdeps/generic/frame.h (struct layout): Likewise.
17226         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17227         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17228         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17229         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17230         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17231         (__backtrace): Likewise.
17232         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17233         use __ptrvalue.
17234         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17235         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17236         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17237         Likewise.
17238         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17239         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17240         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17241         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17242         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17243         Do not use __unbounded.
17244         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17245         Rename __unboundedrlimits parameter to rlimits in prototype.
17246         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17247         Do not use __unbounded.
17248         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17249         not use __ptrvalue.
17250         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17251         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17252         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17253         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17254         __ptrvalue or __unbounded.
17255         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17256         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17257         use __unbounded.
17258         (__new_msgctl): Do not use __ptrvalue.
17259         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17260         __unbounded.
17261         (__libc_msgrcv): Do not use __ptrvalue.
17262         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17263         startup_info): Do not use __unbounded.
17264         (__libc_start_main): Likewise.  Rename ubp_* variables and
17265         parameters.  Remove argv definitions conditional on
17266         [__BOUNDED_POINTERS__].
17267         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17268         __ptrvalue.
17269         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17270         use __unbounded.
17271         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17272         or __ptrvalue.
17273         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17274         use __unbounded.
17275         (__new_shmctl): Do not use __ptrvalue.
17276         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17277         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17278         Likewise.
17279         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17280         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17281         (__libc_sigaction): Likewise.
17282         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17283         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17284         Likewise.
17285         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17287 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
17289         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17291         * string/mempcpy.c: Implement by calling memcpy.
17293 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17295         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17297         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17298         evaluation.
17300         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17301         values in the mantissa.
17303         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17304         minimize writes to Z.
17305         (sub_magnitudes): Simplify code a bit.
17307 2013-02-12  Roland McGrath  <roland@hack.frob.com>
17309         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17310         from the message.  The linker prefixes all warnings with that already.
17312 2013-02-12  Andreas Schwab  <schwab@suse.de>
17314         [BZ #15078]
17315         * posix/regexec.c (extend_buffers): Add parameter min_len.
17316         (check_matching): Pass minimum needed length.
17317         (clean_state_log_if_needed): Likewise.
17318         (get_subexp): Likewise.
17319         * posix/Makefile (tests): Add bug-regex34.
17320         (bug-regex34-ENV): Define.
17321         * posix/bug-regex34.c: New file.
17323         [BZ #11561]
17324         * posix/regcomp.c (parse_bracket_exp): When looking up collating
17325         elements compare against the byte sequence of it, not its name.
17326         * posix/Makefile (tests): Add bug-regex35.
17327         (bug-regex35-ENV): Define.
17328         * posix/bug-regex35.c: New file.
17330 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17332         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
17333         comment.
17334         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17335         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17336         (CHECK_EOL): Add undef.
17338 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
17340         * bits/stdlib-bsearch.h: New file.
17341         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17342         * stdlib/stdlib.h: Likewise.
17344 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17346         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17347         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17348         declaration.
17349         * manual/search.texi (Array Search Function): Add missing const in
17350         lfind prototype.
17351         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17352         declaration to use rlim_t.
17353         (Basic Scheduling Functions): Remove erroneous const from
17354         sched_getparam prototype.  Remove erroneous * from
17355         sched_get_priority_max and sched_get_priority_min prototypes.
17356         (Resource Usage): Fix summary @comment on vtimes to refer to
17357         sys/vtimes.h rather than vtimes.h.
17358         Add missing *s in vtimes prototype.
17359         (Limits on Resources): Fix ulimit prototype to return long int.
17360         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17361         prototypes to use long int rather than double.
17362         (BSD Random): Fix initstate and setstate to use char *, not void *.
17363         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17364         prototype to make second argument 'struct aiocb64 *const[]'.
17365         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17366         (Status of AIO Operations): Remove erroneous const in aio_return and
17367         aio_return64 prototypes.
17368         (Synchronizing I/O): Fix sync prototype to return void.
17369         * manual/startup.texi (Suboptions): Remove an erroneous const in
17370         getsubopt prototype.
17371         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17372         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17373         use size_t rather than int.
17374         (Scanning All Users): Likewise for getpwent_r.
17375         (Setting Groups): Add missing const to setgroups prototype.
17376         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17377         * manual/socket.texi (Host Names): Fix gethostbyaddr and
17378         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17379         'const void *' rather than 'const char *'.
17380         (Host Address Functions): Likewise for inet_ntop.
17381         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17382         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17383         ssize_t for return value.
17384         (Sending Data): Likewise for send, sendto, sendmsg.
17385         (Socket Option Functions): Add a missing const in setsockopt prototype.
17386         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17387         use wchar_t for the argument.
17388         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17389         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17390         take no arguments.
17391         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17392         double/float/long double for second argument.
17393         Fix return types of significand, significandf, significandl.
17394         * manual/filesys.texi (Setting Permissions): Use mode_t for second
17395         argument in fchmod prototype.
17396         (File Owner): Use uid_t and gid_t in fchown prototype.
17397         (File Times): Add const to utimes, futimes, and lutimes prototypes.
17398         (Making Special Files): Use mode_t and dev_t in mknod prototype.
17399         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17400         use 'const struct dirent **' as argument types to CMP function pointer
17401         argument.
17402         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17403         (File Times): Fix summary magic @comment for struct utimbuf and utime
17404         to refer to utime.h, not time.h.
17405         * manual/string.texi (Argz Functions): Add missing const in
17406         argz_extract and argz_next prototypes.
17407         (Finding Tokens in a String): Likewise for basename.
17408         (String/Array Comparison): Fix typo in wcscasecmp prototype.
17409         (Copying and Concatenation): Fix typo in wmemmove prototype.
17410         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17411         (Signal Stack): Remove erroneous const in sigstack prototype.
17412         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17413         prototype.
17414         (Simple Calendar Time): Likewise for stime.
17415         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17416         prototype.
17417         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17418         say sys/sysctl.h instead.
17419         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17420         and vsyslog prototypes.
17422 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17424         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17425         Remove.
17427 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17429         * misc/sys/mman.h: Fix typo in mremap comment.
17431 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17433         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17434         the '\0' terminator.
17436 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17438         [BZ #13550]
17439         * debug/segfault.c: Don't include <bp-checks.h>.
17440         * sysdeps/generic/bp-checks.h: Remove file.
17441         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17442         (__GETDENTS): Don't use CHECK_N.
17443         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17444         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17445         (__getgroups): Don't use CHECK_N.
17446         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17447         (setgroups): Don't use CHECK_N.
17448         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17449         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17450         (__libc_msgrcv): Don't use CHECK_N.
17451         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17452         (__libc_msgsnd): Don't use CHECK_N.
17453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17454         <bp-checks.h>.
17455         (__libc_pread): Don't use CHECK_N.
17456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17457         include <bp-checks.h>.
17458         (__libc_pread64): Don't use CHECK_N.
17459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17460         include <bp-checks.h>.
17461         (__libc_pwrite): Don't use CHECK_N.
17462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17463         include <bp-checks.h>.
17464         (__libc_pwrite64): Don't use CHECK_N.
17465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17466         <bp-checks.h>.
17467         (__libc_pread): Don't use CHECK_N.
17468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17469         include <bp-checks.h>.
17470         (__libc_pread64): Don't use CHECK_N.
17471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17472         include <bp-checks.h>.
17473         (__libc_pwrite): Don't use CHECK_N.
17474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17475         include <bp-checks.h>.
17476         (__libc_pwrite64): Don't use CHECK_N.
17477         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17478         (do_pread): Don't use CHECK_N.
17479         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17480         (do_pread64): Don't use CHECK_N.
17481         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17482         (do_pwrite): Don't use CHECK_N.
17483         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17484         (do_pwrite64): Don't use CHECK_N.
17485         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17486         (__libc_readv): Don't use CHECK_N.
17487         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17488         (semop): Don't use CHECK_N.
17489         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17490         <bp-checks.h>.
17491         (semtimedop): Don't use CHECK_N.
17492         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17493         (__libc_pread): Don't use CHECK_N.
17494         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17495         <bp-checks.h>.
17496         (__libc_pread64): Don't use CHECK_N.
17497         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17498         <bp-checks.h>.
17499         (__libc_pwrite): Don't use CHECK_N.
17500         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17501         <bp-checks.h>.
17502         (__libc_pwrite64): Don't use CHECK_N.
17503         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17504         <bp-checks.h>.
17505         (__libc_msgrcv): Don't use CHECK_N.
17506         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17507         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
17508         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17509         (__libc_writev): Don't use CHECK_N.
17511 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17513         * string/strcpy.c: Removed unused variable.
17515         * Makeconfig (+sysdep-includes): Define with := rather than =.
17516         Use an existing include/ subdir of each sysdeps dir before it.
17518 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17520         * nscd/connection.c (register_traced_file): Comment function.
17521         [HAVE_INOTIFY] (union __inev): Define.
17522         [HAVE_INOTIFY] (inotify_check_files): New function.
17523         [HAVE_INOTIFY] (clear_db_cache): Likewise.
17524         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17525         clear_db_cache.
17526         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17528 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17530         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17531         loaded if not already and that a failure is permanent.
17533 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17535         [BZ #15006]
17536         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17537         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17539 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17541         [BZ #13550]
17542         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17543         (CHECK_1_NULL_OK): Likewise.
17544         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17545         (__fxstat): Do not use CHECK_1.
17546         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17547         <bp-checks.h>.
17548         (___fxstat64): Do not use CHECK_1.
17549         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17550         <bp-checks.h>.
17551         (__fxstatat): Do not use CHECK_1.
17552         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17553         <bp-checks.h>.
17554         (__fxstatat64): Do not use CHECK_1.
17555         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17556         <bp-checks.h>.
17557         (__fxstat): Do not use CHECK_1.
17558         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17559         <bp-checks.h>.
17560         (__fxstatat): Do not use CHECK_1.
17561         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17562         <bp-checks.h>.
17563         (__getresgid): Do not use CHECK_1.
17564         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17565         <bp-checks.h>.
17566         (__getresuid): Do not use CHECK_1.
17567         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17568         <bp-checks.h>.
17569         (__lxstat): Do not use CHECK_1.
17570         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17571         <bp-checks.h>.
17572         (__old_msgctl): Do not use CHECK_1.
17573         (__new_msgctl): Likewise.
17574         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17575         <bp-checks.h>.
17576         (__new_setrlimit): Do not use CHECK_1.
17577         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17578         <bp-checks.h>.
17579         (__old_shmctl): Do not use CHECK_1.
17580         (__new_shmctl): Likewise.
17581         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17582         <bp-checks.h>.
17583         (__xstat): Do not use CHECK_1.
17584         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17585         (__lxstat): Do not use CHECK_1.
17586         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17587         <bp-checks.h>.
17588         (___lxstat64): Do not use CHECK_1.
17589         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17590         (__old_msgctl): Do not use CHECK_1.
17591         (__new_msgctl): Likewise.
17592         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17593         <bp-checks.h>.
17594         (__gettimeofday): Do not use CHECK_1.
17595         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17596         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17597         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17598         <bp-checks.h>.
17599         (__gettimeofday): Do not use CHECK_1.
17600         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17601         (__old_shmctl): Do not use CHECK_1_NULL_OK.
17602         (__new_shmctl): Do not use CHECK_1.
17603         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17604         <bp-checks.h>.
17605         (do_sigtimedwait): Do not use CHECK_1.
17606         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17607         <bp-checks.h>.
17608         (do_sigwaitinfo): Do not use CHECK_1.
17609         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17610         <bp-checks.h>.
17611         (msgctl): Do not use CHECK_1.
17612         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17613         <bp-checks.h>.
17614         (shmctl): Do not use CHECK_1.
17615         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17616         (ustat): Do not use CHECK_1.
17617         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17618         <bp-checks.h>.
17619         (__fxstat): Do not use CHECK_1.
17620         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17621         <bp-checks.h>.
17622         (__fxstatat): Do not use CHECK_1.
17623         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17624         <bp-checks.h>.
17625         (__lxstat): Do not use CHECK_1.
17626         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17627         <bp-checks.h>.
17628         (__xstat): Do not use CHECK_1.
17629         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17630         (__xstat): Do not use CHECK_1.
17631         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17632         (___xstat64): Do not use CHECK_1.
17634         [BZ #13550]
17635         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17636         definitions.
17637         (CHECK_BOUNDS_HIGH): Likewise.
17638         * string/strcpy.c: Do not include <bp-checks.h>.
17639         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17641 2013-02-07  Roland McGrath  <roland@hack.frob.com>
17643         * nscd/nscd-client.h (__nscd_drop_map_ref):
17644         Add __attribute__ ((unused)).
17645         * nis/nss-nisplus.h (niserr2nss): Likewise.
17647         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17648         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17650         * csu/libc-tls.c (init_static_tls, init_slotinfo):
17651         Remove inline keyword.
17652         * include/rounding-mode.h (round_away): Likewise.
17653         * libio/wfileops.c (adjust_wide_data): Likewise.
17654         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17655         (__m128i_strloadu_tolower): Likewise.
17656         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17657         (__m128i_strloadu_tolower): Likewise.
17658         * time/mktime.c (ydhms_diff): Likewise.
17659         * locale/elem-hash.h (elem_hash): Likewise.
17660         * locale/setlocale.c (setdata): Likewise.
17661         * posix/regex_internal.h (re_string_char_size_at): Likewise.
17662         (re_string_wchar_at): Likewise.
17663         (bitset_not, bitset_merge, bitset_mask): Likewise.
17664         [!(__GNUC__ > 3)] (inline): Remove macro.
17665         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17666         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17667         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17668         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17669         * string/memcmp.c (memcmp_bytes): Likewise.
17670         * locale/programs/locarchive.c (compute_hashval): Likewise.
17671         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17672         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17673         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17674         * nss/getent.c (print_rpc, print_protocols): Likewise.
17675         (print_passwd, print_group, print_aliases): Likewise.
17676         * nis/nss-nisplus.h (niserr2nss): Likewise.
17677         * nscd/connections.c (restart_p): Likewise.
17678         Change return type to bool.
17680 2013-02-05  Roland McGrath  <roland@hack.frob.com>
17682         * Makeconfig (all-Depend-files): Add existing
17683         $(sorted-subdirs:=/Depend) files.
17684         (all-subdirs): Remove nss.
17685         * sysdeps/unix/inet/Subdirs: Add it here instead.
17686         * hesiod/Depend: New file.
17688         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17689         instead of calling alloca.
17691         * io/lseek.c (__lseek): Rename to __libc_lseek.
17692         Define __lseek as an alias.
17694         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17696 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
17698         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17699         else clause and remove check for non-standard endianness.
17701 2013-02-04  David S. Miller  <davem@davemloft.net>
17703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17705 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
17707         [BZ #13550]
17708         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17709         (__ubp_memchr): Remove prototype.
17710         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17711         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17712         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17713         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17714         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17715         Remove alias.
17716         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17717         (__ubp_memchr): Likewise.
17718         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17719         (__ubp_memchr): Likewise.
17720         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17721         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17722         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17723         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17724         CHECK_STRING.
17725         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17726         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17727         (__getcwd): Do not use CHECK_STRING.
17728         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17729         <bp-checks.h>.
17730         (__real_chown): Do not use CHECK_STRING.
17731         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17732         <bp-checks.h>.
17733         (fchownat): Do not use CHECK_STRING.
17734         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17735         CHECK_STRING.
17736         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17737         <bp-checks.h>.
17738         (__lchown): Do not use CHECK_STRING.
17739         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17740         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17741         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17742         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17744         include <bp-checks.h>.
17745         (truncate64): Do not use CHECK_STRING.
17746         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17747         <bp-checks.h>.
17748         (__real_chown): Do not use CHECK_STRING.
17749         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17750         <bp-checks.h>.
17751         (__lchown): Do not use CHECK_STRING.
17752         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17753         <bp-checks.h>.
17754         (__chown): Do not use CHECK_STRING.
17755         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17756         <bp-checks.h>.
17757         (truncate64): Do not use CHECK_STRING.
17758         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17759         Likewise.
17760         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17761         (__xmknod): Do not use CHECK_STRING.
17762         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17763         <bp-checks.h>.
17764         (__xmknodat): Do not use CHECK_STRING.
17765         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17766         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17768 2013-02-04  Andreas Schwab  <schwab@suse.de>
17770         [BZ #14142]
17771         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17772         * include/netdb.h: Likewise for h_errno.
17773         * elf/tst-stackguard1.c: Include <tls.h>.
17775 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
17777         * elf/link.h (struct link_map): Extend the l_addr comment.
17778         * include/link.h (struct link_map): Likewise.
17780 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
17782         [BZ #13550]
17783         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17784         (BOUNDED_1): Remove macro.
17785         * debug/backtrace.c: Don't include <bp-checks.h>.
17786         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17787         (__backtrace): Likewise.
17788         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17789         <bp-checks.h>.
17790         (__backtrace): Don't use BOUNDED_1.
17791         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17792         <bp-checks.h>.
17793         (__backtrace): Don't use BOUNDED_1.
17794         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17795         (__backtrace): Don't use BOUNDED_1.
17796         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17797         (shmat): Don't use BOUNDED_N.
17799 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
17801         [BZ #13550]
17802         * sysdeps/generic/bp-start.h: Remove file.
17803         * csu/libc-start.c: Don't include <bp-start.h>.
17804         (LIBC_START_MAIN): Set up __environ directly instead of using
17805         INIT_ARGV_and_ENVIRON.
17806         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17807         <bp-start.h>.
17809         [BZ #13550]
17810         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17811         definitions.
17812         (CHECK_FCNTL): Likewise.
17813         (CHECK_N_PAGES): Likewise.
17815         [BZ #13550]
17816         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17817         definitions.
17818         (CHECK_SIGSET_NULL_OK): Likewise.
17819         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17820         <bp-checks.h>.
17821         (sigpending): Don't use CHECK_SIGSET.
17822         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17823         <bp-checks.h>.
17824         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17825         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17826         <bp-checks.h>.
17827         (do_sigsuspend): Don't use CHECK_SIGSET.
17828         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17829         use CHECK_SIGSET.
17830         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17831         (do_sigwait): Don't use CHECK_SIGSET.
17832         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17833         use CHECK_SIGSET.
17834         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17835         include <bp-checks.h>.
17836         (sigpending): Don't use CHECK_SIGSET.
17837         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17838         include <bp-checks.h>.
17839         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17840         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17841         <bp-checks.h>.
17842         (sigpending): Don't use CHECK_SIGSET.
17843         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17844         <bp-checks.h>.
17845         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17847         [BZ #13550]
17848         * sysdeps/generic/bp-semctl.h: Remove file.
17849         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17850         <bp-checks.h> and <bp-semctl.h>.
17851         (__old_semctl): Don't use CHECK_SEMCTL.
17852         (__new_semctl): Likewise.
17853         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17854         and <bp-semctl.h>.
17855         (__old_semctl): Don't use CHECK_SEMCTL.
17856         (__new_semctl): Likewise.
17857         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17858         <bp-checks.h> and <bp-semctl.h>.
17859         (__old_semctl): Don't use CHECK_SEMCTL.
17860         (__new_semctl): Likewise.
17861         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17862         <bp-checks.h> and <bp-semctl.h>.
17863         (semctl): Don't use CHECK_SEMCTL.
17865         [BZ #13550]
17866         * Makerules (elide-bp-thunks): Remove variable.
17867         (elide-routines.oS): Don't use $(elide-bp-thunks).
17868         (elide-routines.os): Likewise.
17869         (elide-routines.o): Likewise.
17870         (elide-routines.op): Likewise.
17871         (elide-routines.og): Likewise.
17872         (objects): Don't use $(bp-thunks).
17873         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17874         include.
17875         (common-generated): Do not add s-proto-bp.d.
17876         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17877         (int): Likewise.
17878         (typ): Likewise.
17879         Do not generate makefile rules for bounded-pointer thunks.
17880         * sysdeps/generic/bp-thunks.h: Remove file.
17881         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17882         * sysdeps/unix/s-proto-bp.S: Likewise.
17884         [BZ #15062]
17885         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17886         parts of result separately when argument is not close to line from
17887         -i to i and one part of argument is small.
17888         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17889         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17890         * math/libm-test.inc (cacos_test): Add more tests.
17891         (casin_test): Likewise.
17892         (casinh_test): Likewise.
17893         * sysdeps/i386/fpu/libm-test-ulps: Update.
17894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17896 2013-01-31  David S. Miller  <davem@davemloft.net>
17898         * po/de.po: Update from translation team.
17900 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
17902         * time/tzfile.c: Include stdint.h for SIZE_MAX.
17904 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
17906         * configure.in (_AC_PROG_CC_C89): New definition.
17907         * configure: Regenerate.
17909         * configure.in (AC_PROG_CPP): New definition.
17910         * configure: Regenerate.
17912 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17914         * debug/tst-backtrace.h: New file.
17915         * debug/tst-backtrace2.c: Include tst-backtrace.h.
17916         (ret): Remove variable.
17917         (x): Likewise.
17918         (FAIL): Remove macro.
17919         (NO_INLINE): Likewise.
17920         (fn1): Use match function instead of strstr.
17921         * debug/tst-backtrace3.c: Include tst-backtrace.h.
17922         (ret): Remove variable.
17923         (x): Likewise.
17924         (FAIL): Remove macro.
17925         (NO_INLINE): Likewise.
17926         (fn): Use match function instead of strstr.
17927         * debug/tst-backtrace4.c: Include tst-backtrace.h.
17928         (ret): Remove variable.
17929         (x): Likewise.
17930         (FAIL): Remove macro.
17931         (NO_INLINE): Likewise.
17932         (handle_signal): Use match function instead of strstr.
17933         * debug/tst-backtrace5.c: Include tst-backtrace.h.
17934         (ret): Remove variable.
17935         (x): Likewise.
17936         (FAIL): Remove macro.
17937         (NO_INLINE): Likewise.
17938         (handle_signal): Use match function instead of strstr.
17940 2013-01-23  Roland McGrath  <roland@hack.frob.com>
17942         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17944 2013-01-23  David S. Miller  <davem@davemloft.net>
17946         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17947         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17948         argument of CAS if possible.
17949         * sysdeps/sparc/sparc64/bits/atomic.h
17950         (__arch_compare_and_exchange_val_32_acq): Likewise.
17951         (__arch_compare_and_exchange_val_64_acq): Likewise.
17953 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
17955         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17956         * sysdeps/posix/ulimit.c: ... this.
17957         Include <limits.h>.
17958         * sysdeps/unix/bsd/ulimit.c: Remove file.
17960 2013-01-23  Adam Conrad  <adconrad@0c3.net>
17962         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17963         (LDFLAGS-tst-array5): Likewise.
17965 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17967         [BZ #15036]
17968         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17969         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17970         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17971         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17973 2013-01-21  David S. Miller  <davem@davemloft.net>
17975         * sysdeps/sparc/backtrace.c: New file.
17976         * sysdeps/sparc/sparc32/backtrace.h: New file.
17977         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17978         * sysdeps/sparc/sparc64/backtrace.h: New file.
17979         * sysdeps/sparc/sparc64/backtrace.c: Delete.
17980         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17981         -funwind-tables.
17983 2013-01-21  Andreas Schwab  <schwab@suse.de>
17985         [BZ #15020]
17986         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17987         closed its stdout.
17989 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
17991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17992         "mpa2.h".
17993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17995 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
17996             Mark Mitchell  <mark@codesourcery.com>
17997             Tom de Vries  <tom@codesourcery.com>
17998             Paul Pluzhnikov  <ppluzhnikov@google.com>
18000         * debug/tst-backtrace2.c: New file.
18001         * debug/tst-backtrace3.c: Likewise.
18002         * debug/tst-backtrace4.c: Likewise.
18003         * debug/tst-backtrace5.c: Likewise.
18004         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18005         (CFLAGS-tst-backtrace3.c): Likewise.
18006         (CFLAGS-tst-backtrace4.c): Likewise.
18007         (CFLAGS-tst-backtrace5.c): Likewise.
18008         (LDFLAGS-tst-backtrace2): Likewise.
18009         (LDFLAGS-tst-backtrace3): Likewise.
18010         (LDFLAGS-tst-backtrace4): Likewise.
18011         (LDFLAGS-tst-backtrace5): Likewise.
18012         (tests): Add new tests tst-backtrace2, tst-backtrace3,
18013         tst-backtrace4 and tst-backtrace5.
18015 2013-01-18  Anton Blanchard  <anton@samba.org>
18016             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18018         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18019         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18020         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18021         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18023         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18024         "+r" and remove output regs list as redundant.  Add explicit inline
18025         asm to specify register of return val to work around compiler codegen
18026         bug.  Remove (int) cast on return value.  Add return type parameter to
18027         use in macro so that this macro does not truncate return value for
18028         64-bit values.
18029         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18030         pass to INTERNAL_VSYSCALL_NCS.
18031         (INLINE_VSYSCALL): Add 'long int' as return type to
18032         INTERNAL_VSYSCALL_NCS macro invocation.
18033         (INTERNAL_VSYSCALL): Add 'long int' as return type to
18034         INTERNAL_VSYSCALL_NCS macro invocation.
18035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18037 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18039         [BZ #14496]
18040         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18041         Fix application of SIMD FP exception mask.
18043         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18044         mp_no from a power of two.
18045         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18046         __mpexp_twomm1.  Use __pow_mp.
18048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18049         multiplication.
18051 2013-01-17  David S. Miller  <davem@davemloft.net>
18053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18055 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18057         [BZ #15023]
18058         * include/complex.h: Condition contents on [!_COMPLEX_H].
18059         (__kernel_casinhf): New prototype.
18060         (__kernel_casinh): Likewise.
18061         (__kernel_casinhl): Likewise.
18062         * math/Makefile (libm_calls): Add k_casinh.
18063         * math/k_casinh.c: New file.
18064         * math/k_casinhf.c: Likewise.
18065         * math/k_casinhl.c: Likewise.
18066         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18067         finite nonzero arguments.
18068         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18069         finite nonzero arguments.
18070         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18071         finite nonzero arguments.
18072         * math/s_casinh.c: Do not include <float.h>.
18073         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18074         * math/s_casinhf.c: Do not include <float.h>.
18075         (__casinhf): Move code for finite nonzero arguments to
18076         k_casinhf.c.
18077         * math/s_casinhl.c: Do not include <float.h>.
18078         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18079         redefine.
18080         (__casinhl): Move code for finite nonzero arguments to
18081         k_casinhl.c.
18082         * math/libm-test.inc (cacos_test): Add more tests.
18083         * sysdeps/i386/fpu/libm-test-ulps: Update.
18084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18086 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
18088         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18089         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18090         [!HAVE_MREMAP]: Remove [defined linux] case.
18091         * malloc/arena.c: Do not include <malloc-sysdep.h>.
18093 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18095         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18097 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
18099         * elf/elf.h (R_386_SIZE32): New relocation.
18100         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18101         R_386_SIZE32.
18102         (elf_machine_rela): Likewise.
18103         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18104         R_X86_64_SIZE64 and R_X86_64_SIZE32.
18106 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
18108         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18109         (FP_FAST_FMA): Do not define.
18110         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18111         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18112         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18113         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18114         !_SOFT_FLOAT]: Likewise.
18115         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18116         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18117         value.
18118         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18119         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18120         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18121         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18122         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18123         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18124         file.
18126 2013-01-16  Andreas Schwab  <schwab@suse.de>
18128         [BZ #14327]
18129         * include/stdlib.h (__mktemp): Add declaration.
18130         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18131         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18133 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18135         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18136         definitions.
18137         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18138         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18139         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18140         definitions here.
18141         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18142         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18143         definitions.
18144         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18145         and ONE.
18146         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18147         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18148         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18149         definitions.
18150         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18151         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18152         definitions.
18153         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18155         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18157 2013-01-15  David S. Miller  <davem@davemloft.net>
18159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18160         trunc{,f} to libm-sysdep_routes.
18161         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18163         file.
18164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18166         file.
18167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18168         file.
18169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18171         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18172         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18173         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18174         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18175         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18176         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18179         nearbyint{,f} to libm-sysdep_routes.
18180         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18182         New file.
18183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18184         file.
18185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18186         New file.
18187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18188         file.
18189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18191         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18192         file.
18193         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18194         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18195         file.
18196         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18197         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18198         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18200         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18201         libc_feholdexcept and libc_fesetenv.
18203 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
18205         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18207 2013-01-14  David S. Miller  <davem@davemloft.net>
18209         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18210         (SPARC_ASM_VIS2_IFUNC): Likewise.
18211         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18213         use of 'siam' instruction.
18214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18215         Likewise.
18216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18217         Likewise.
18218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18219         Likewise.
18220         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18221         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18225         file.
18226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18227         file.
18228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18229         file.
18230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18231         file.
18232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18237         new VIS2 routines.
18238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18241         Likewise.
18242         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18243         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18245         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18247         routines to libm-sysdep_routines.
18248         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18251         fdim/fdimf to libm-sysdep_routines.
18252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18253         file.
18254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18256         file.
18257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18260         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18261         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18262         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18263         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18265 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18267         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18268         to optimize copies.
18270         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18275         local variable MPTWO.
18276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18277         Likewise.
18279 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18281         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18282         GLOB_NOESCAPE.
18284 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18286         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18288 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18290         * manual/pattern.texi (glob_t): Document gl_flags.
18291         (glob64_t): Likewise.
18293 2013-01-11  David S. Miller  <davem@davemloft.net>
18295         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18296         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18297         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
18298         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18299         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18300         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18301         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18302         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18303         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18304         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18305         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18306         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18307         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18309         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18310         sparc V9 rather than using V8 code.
18311         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18312         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18314         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18315         Move to...
18316         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18317         Here.
18319 2013-01-11  Roland McGrath  <roland@hack.frob.com>
18321         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18322         not in the main loop.
18323         * configure: Regenerated.
18325 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
18327         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18328         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18329         to just #else.
18330         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
18331         [!__GLIBC_HAVE_LONG_LONG] case.
18332         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18333         condition to just #else.
18334         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18335         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18336         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18337         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18338         unconditional.
18339         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18340         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18341         #elif condition to just #else.
18342         * sysdeps/unix/sysv/linux/sys/sysmacros.h
18343         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18344         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18345         #elif condition to just #else.
18347 2013-01-11  Steve Ellcey  <sellcey@mips.com>
18349         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18350         (EF_MIPS_ARCH_64): Fix value.
18351         (EF_MIPS_ARCH_32R2): New.
18352         (EF_MIPS_ARCH_64R2): New.
18354 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
18356         * Makeconfig (+link-pie-before-libc): New.
18357         (+link-pie-after-libc): Likewise.
18358         (+link-pie-tests): Likewise.
18359         (+link-pie): Rewritten.
18360         (link-before-libc): Remove $(config-LDFLAGS).
18361         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18362         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18363         (config-LDFLAGS): Renamed to ...
18364         (rtld-LDFLAGS): This.
18365         (rtld-tests-LDFLAGS): New macro.
18366         (link-libc-rpath-link): Likewise.
18367         (link-libc-tests-rpath-link): Likewise.
18368         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18369         (link-libc): Prepand $(link-libc-rpath-link).
18370         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18371         (test-program-prefix): New macro.
18372         (test-via-rtld-prefix): Likewise.
18373         (test-program-cmd): Likewise.
18374         (host-test-program-cmd): Likewise.
18375         * Makefile ($(common-objpfx)testrun.sh): Replace
18376         $(run-program-prefix) with $(test-program-prefix).
18377         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18378         $(rtld-LDFLAGS).
18379         ($(common-objpfx)shlib.lds): Likewise.
18380         (build-module-helper): Likewise.
18381         ($(common-objpfx)format.lds): Likewise.
18382         * Rules (binaries-pie-tests): New.
18383         (binaries-pie-notests): Likewise.
18384         (binaries-pie): Rewritten.
18385         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18386         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18387         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18388         (make-test-out): Replace $(host-built-program-cmd) with
18389         $(host-test-program-cmd).
18390         * config.make.in (build-hardcoded-path-in-tests): New variable.
18391         * configure.in (--enable-hardcoded-path-in-tests): New configure
18392         option.
18393         (hardcoded_path_in_tests): New AC_SUBST.
18394         * configure: Regenerated.
18395         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18396         $(built-program-cmd) with $(test-program-cmd).
18397         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18398         (test_program_cmd): This.
18399         * elf/Makefile ($(objpfx)order.out): Run test with
18400         $(test-program-prefix).
18401         ($(objpfx)order2.out): Likewise.
18402         ($(objpfx)tst-initorder.out): Likewise.
18403         ($(objpfx)tst-initorder2.out): Likewise.
18404         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18405         $(test-program-cmd).
18406         ($(objpfx)tst-array1-static.out): Likewise.
18407         ($(objpfx)tst-array2.out): Likewise.
18408         ($(objpfx)tst-array3.out): Likewise.
18409         ($(objpfx)tst-array4.out): Likewise.
18410         ($(objpfx)tst-array5.out): Likewise.
18411         ($(objpfx)tst-array5-static.out): Likewise.
18412         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18413         $(test-program-cmd).
18414         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18415         $(run-program-prefix) with $(test-program-prefix).
18416         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18417         (test_program_prefix): This.
18418         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18419         $(run-program-prefix) with $(test-program-prefix).
18420         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18421         (test_program_prefix): This.
18422         * iconvdata/tst-tables.sh: Likewise.
18423         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18424         $(run-program-prefix) with $(test-program-prefix).
18425         ($(objpfx)tst-translit.out): Likewise.
18426         ($(objpfx)tst-gettext2.out): Likewise.
18427         ($(objpfx)tst-gettext4.out): Likewise.
18428         ($(objpfx)tst-gettext6.out): Likewise.
18429         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18430         (test_program_prefix): This.
18431         * intl/tst-gettext2.sh: Likewise.
18432         * intl/tst-gettext4.sh  Likewise.
18433         * intl/tst-gettext6.sh: Likewise.
18434         * intl/tst-translit.sh: Likewise.
18435         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18436         with $(test-program-cmd).
18437         * libio/Makefile ($(objpfx)test-freopen.out): Replace
18438         $(run-program-prefix) with $(test-program-prefix).
18439         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18440         (test_program_prefix): This.
18441         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18442         $(run-program-prefix) with $(test-program-prefix).
18443         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18444         (test_program_prefix): This.
18445         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18446         * posix/Makefile ($(objpfx)globtest.out): Replace
18447         $(run-via-rtld-prefix) and $(test-wrapper) with
18448         $(test-program-prefix) and $(test-via-rtld-prefix).
18449         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18450         $(test-program-prefix).
18451         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18452         $(host-test-program-cmd).
18453         (tst-spawn-ARGS): Likewise.
18454         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18455         $(test-program-prefix).
18456         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18457         (test_via_rtld_prefix): This.
18458         (test_wrapper): Renamed to ...
18459         (test_program_prefix): This.
18460         (run_program_prefix): Replaced by test_program_prefix.
18461         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18462         (test_program_prefix): This.
18463         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18464         with $(host-test-program-cmd).
18465         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18466         $(run-program-prefix) with $(test-program-prefix).
18467         ($(objpfx)tst-printf.out): Likewise.
18468         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18469         $(test-program-cmd).
18470         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18471         (test_program_prefix): This.
18472         * stdio-common/tst-unbputc.sh: Likewise.
18473         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18474         $(run-program-prefix) with $(test-program-prefix).
18475         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18476         (test_program_prefix): This.
18477         * string/Makefile ($(objpfx)tst-svc.out):  Replace
18478         $(built-program-cmd) with $(test-program-cmd).
18480 2013-01-11  Andreas Jaeger  <aj@suse.de>
18482         [BZ #15003]
18483         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18484         value. Sync with Linux 3.7.
18486 2013-01-10  David S. Miller  <davem@davemloft.net>
18488         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18489         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18490         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18492 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18494         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18495         never set.
18496         * configure: Regenerated.
18498 2013-01-10  David S. Miller  <davem@davemloft.net>
18500         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18501         sparc V9 rather than using V8 code.
18502         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18503         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18505 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18507         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18508         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18509         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18510         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18511         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18512         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18513         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18514         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18515         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18516         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18517         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18518         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18519         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18520         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18521         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18522         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18523         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18524         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18525         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18526         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18527         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18528         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18529         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18530         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18531         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18532         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18533         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18535 2013-01-10  David S. Miller  <davem@davemloft.net>
18537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18539 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18541         * posix/Makefile (tests-static): New variable.
18542         (tests): Add $(tests-static).
18543         (tst-exec-static-ARGS): New variable.
18544         (tst-spawn-static-ARGS): Likewise.
18545         * posix/tst-exec-static.c: New file.
18546         * posix/tst-spawn-static.c: Likewise.
18547         * posix/tst-exec.c: Support run directly.
18548         * posix/tst-spawn.c: Likewise.
18550 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
18552         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18553         long.
18554         * math/bits/mathcalls.h (llrint): Likewise.
18555         (llround): Likewise.
18556         * stdlib/stdlib.h (struct drand48_data): Likewise.
18557         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18558         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18559         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18560         Likewise.
18561         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18562         Likewise.
18563         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18564         (elf_greg_t): Likewise.
18565         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18566         (__jmp_buf): Likewise.
18567         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18568         definitions.
18569         (llrint): Likewise, for all definitions.
18570         (llrintl): Likewise.
18572         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18573         Remove [__GNUC__] condition.
18574         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18575         condition to just [__USE_ISOC99].
18576         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18578 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18580         [BZ #14200]
18581         * sysdeps/unix/sysv/linux/x86/bits/environments.h
18582         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18583         defined.
18584         (_POSIX_V6_ILP32_OFF32): Likewise.
18585         (_XBS5_ILP32_OFF32): Likewise.
18586         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18587         (__ILP32_OFFBIG_LDFLAGS): Likewise.
18589 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18591         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18593         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18594         doubles __mpexp_twomm1.  Adjust usage.
18595         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18596         Remove.
18598 2013-01-10  Andreas Schwab  <schwab@suse.de>
18600         [BZ #14964]
18601         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18602         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18604 2013-01-09  David S. Miller  <davem@davemloft.net>
18606         [BZ #15003]
18607         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18608         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18609         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18610         TCP_FASTOPEN): Define.
18611         (tcp_repair_opt): New structure.
18612         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18613         enum values.
18614         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18615         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18616         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18617         (tcp_cookie_transactions): New structure.
18619 2013-01-09  Anton Blanchard  <anton@samba.org>
18621         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18622         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18623         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18624         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18626 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
18628         * include/features.h (__USE_ANSI): Remove.
18630 2013-01-09  Roland McGrath  <roland@hack.frob.com>
18632         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18634         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18636 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18638         * sysdeps/s390/fpu/libm-test-ulps: Update.
18640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18642         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18643         (__acr): Likewise.
18644         (__cpy): Likewise.
18645         (norm): Likewise.
18646         (denorm): Likewise.
18647         (__mp_dbl): Likewise.
18648         (__dbl_mp): Likewise.
18649         (add_magnitudes): Likewise.
18650         (sub_magnitudes): Likewise.
18651         (__add): Likewise.
18652         (__sub): Likewise.
18653         (__mul): Likewise.
18654         (__inv): Likewise.
18655         (__dvd): Likewise.
18656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18657         (__acr): Likewise.
18658         (__cpy): Likewise.
18659         (norm): Likewise.
18660         (denorm): Likewise.
18661         (__mp_dbl): Likewise.
18662         (__dbl_mp): Likewise.
18663         (add_magnitudes): Likewise.
18664         (sub_magnitudes): Likewise.
18665         (__add): Likewise.
18666         (__sub): Likewise.
18667         (__mul): Likewise.
18668         (__inv): Likewise.
18669         (__dvd): Likewise.
18670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18671         (__acr): Likewise.
18672         (__cpy): Likewise.
18673         (norm): Likewise.
18674         (denorm): Likewise.
18675         (__mp_dbl): Likewise.
18676         (__dbl_mp): Likewise.
18677         (add_magnitudes): Likewise.
18678         (sub_magnitudes): Likewise.
18679         (__add): Likewise.
18680         (__sub): Likewise.
18681         (__mul): Likewise.
18682         (__inv): Likewise.
18683         (__dvd): Likewise.
18685 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
18687         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18688         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18689         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18690         2 && __USE_EXTERN_INLINES]: Likewise.
18692 2013-01-08  Andreas Jaeger  <aj@suse.de>
18694         [BZ# 14985]
18695         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18696         Remove.
18697         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18698         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18700 2013-01-07  Anton Blanchard  <anton@samba.org>
18702         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18703         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18704         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18705         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18706         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18707         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18708         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18709         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18711         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18712         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18713         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18714         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18715         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18716         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18717         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18718         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18719         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18720         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18721         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18722         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18723         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18724         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18725         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18726         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18727         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18728         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18729         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18730         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18731         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18732         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18734         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18735         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18736         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18737         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18738         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18739         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18740         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18741         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18742         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18744         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18746 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
18748         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18749         (__MALLOC_PMT): Likewise.
18750         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18751         [__GNUC__], only on [_LIBC].
18752         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18753         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18754         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18755         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18756         forward declaration.
18757         (realloc_hook_ini): Likewise.
18758         (memalign_hook_ini): Likewise.
18759         (__libc_memalign): Do not use __MALLOC_PMT in variable
18760         declaration.
18761         (__libc_valloc): Likewise.
18762         (__libc_pvalloc): Likewise.
18763         (__libc_calloc): Likewise.
18764         (__posix_memalign): Likewise.
18766         [BZ #14996]
18767         * math/s_casinh.c: Include <float.h>.
18768         (__casinh): Do not do computation with squaring and square root
18769         for large arguments.
18770         * math/s_casinhf.c: Include <float.h>.
18771         (__casinhf): Do not do computation with squaring and square root
18772         for large arguments.
18773         * math/s_casinhl.c: Include <float.h>.
18774         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18775         (__casinhl): Do not do computation with squaring and square root
18776         for large arguments.
18777         * math/libm-test.inc (casin_test): Add more tests.
18778         (casinh_test): Likewise.
18779         * sysdeps/i386/fpu/libm-test-ulps: Update.
18780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18782 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
18784         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18785         (__x86_64_raw_data_cache_size): Likewise.
18786         (__x86_64_data_cache_size_half): Likewise.
18787         (__x86_64_raw_data_cache_size_half): Likewise.
18788         (__x86_64_shared_cache_size): Likewise.
18789         (__x86_64_raw_shared_cache_size): Likewise.
18790         (__x86_64_shared_cache_size_half): Likewise.
18791         (__x86_64_raw_shared_cache_size_half): Likewise.
18792         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18793         to ...
18794         (__x86_data_cache_size): This.
18795         (__x86_64_raw_data_cache_size): Renamed to ...
18796         (__x86_raw_data_cache_size): This.
18797         (__x86_64_data_cache_size_half): Renamed to ...
18798         (__x86_data_cache_size_half): This.
18799         (__x86_64_raw_data_cache_size_half): Renamed to ...
18800         (__x86_raw_data_cache_size_half): This.
18801         (__x86_64_shared_cache_size): Renamed to ...
18802         (__x86_shared_cache_size): This.
18803         (__x86_64_raw_shared_cache_size): Renamed to ...
18804         (__x86_raw_shared_cache_size): This.
18805         (__x86_64_shared_cache_size_half): Renamed to ...
18806         (__x86_shared_cache_size_half): This.
18807         (__x86_64_raw_shared_cache_size_half): Renamed to ...
18808         (__x86_raw_shared_cache_size_half): This.
18809         * sysdeps/x86_64/memcpy.S: Updated.
18810         * sysdeps/x86_64/memset.S: Likewise.
18811         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18812         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18813         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18815 2013-01-04  David S. Miller  <davem@davemloft.net>
18817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18819 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
18821         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18822         1 to avoid redefinition warning.
18823         (__USE_GNU): Don't define.
18824         (init_signaling_nan): Protoize.
18826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18828 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18830         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18832         (__cpymn): Likewise.
18833         (norm): Remove commented code.
18834         (denorm): Likewise.
18835         (__mp_dbl): Likewise.
18836         (__inv): Likewise.
18837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18838         (__cpymn): Likewise.
18839         (norm): Remove commented code.
18840         (denorm): Likewise.
18841         (__mp_dbl): Likewise.
18842         (__inv): Likewise.
18844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18845         mp_no value for 1.0 and 2.0.
18846         (norm): Use RADIXI instead of radixi.d.
18847         (denorm): Likewise.
18848         (__mul): Use 0.0 instead of zero.d.
18849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18850         mp_no value for 1.0 and 2.0.
18851         (norm): Use RADIXI instead of radixi.d.
18852         (denorm): Likewise.
18853         (__mul): Use 0.0 instead of zero.d.
18855 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
18857         [BZ #14994]
18858         * math/s_casinh.c (__casinh): Reduce finite argument to first
18859         quadrant then set signs of results at the end.
18860         * math/s_casinhf.c (__casinhf): Likewise.
18861         * math/s_casinhl.c (__casinhl): Likewise.
18862         * math/libm-test.inc (casin_test): Add more tests.
18863         (casinh_test): Likewise.
18864         * sysdeps/i386/fpu/libm-test-ulps: Update.
18865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18867 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18869         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18871         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18873         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18874         declarations.
18875         (denorm): Likewise.
18876         (__mp_dbl): Likewise.
18877         (__inv): Likewise.
18879         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18880         and adjust the header comment.
18882         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18883         variable name from declaration.
18885 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
18887         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18888         Initialize COMMON_CPUID_INDEX_7 element.
18889         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18890         (CPUID_RTM): Likewise.
18891         (HAS_RTM): Likewise.
18892         (COMMON_CPUID_INDEX_7): New enum.
18894 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
18896         [BZ #14981]
18897         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18898         size is zero, record memory as freed.
18900 2013-01-03  Andreas Jaeger  <aj@suse.de>
18902         * po/ia.po: Add new Interlingua translation.
18904 2012-01-03  Allan McRae  <allan@archlinux.org>
18906         * locale/programs/localedef.c: Fix description of '--posix' flag.
18908 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
18910         * NEWS: Update dates in second copyright notice.
18911         * README: Update copyright dates in example.
18912         * manual/libc.texinfo: Update copyright dates.
18913         * scripts/test-installation.pl: Update copyright date in --version
18914         output.
18916         * hurd/ctty-input.c: Fix copyright notice formatting.
18917         * hurd/ctty-output.c: Likewise.
18918         * hurd/dtable.c: Likewise.
18919         * hurd/hurd-raise.c: Likewise.
18920         * hurd/hurdprio.c: Likewise.
18921         * hurd/msgportdemux.c: Likewise.
18922         * misc/sys/file.h: Likewise.
18923         * misc/sys/ioctl.h: Likewise.
18924         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18925         * sysdeps/mach/hurd/chdir.c: Likewise.
18926         * sysdeps/mach/hurd/fchdir.c: Likewise.
18927         * sysdeps/mach/hurd/rename.c: Likewise.
18928         * sysdeps/mach/hurd/rmdir.c: Likewise.
18929         * sysdeps/mach/hurd/seekdir.c: Likewise.
18930         * sysdeps/mach/hurd/setsid.c: Likewise.
18931         * sysdeps/posix/wait3.c: Likewise.
18933         * All files with FSF copyright notices: Update copyright dates
18934         using scripts/update-copyrights.
18935         * intl/plural.c: Regenerated.
18936         * locale/programs/charmap-kw.h: Likewise.
18937         * locale/programs/locfile-kw.h: Likewise.
18939 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18941         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18942         four values.
18944         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18945         calculation loop and add branch prediction.
18947         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18948         check access beyond bounds of m1np.
18950         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18951         MPTWO.
18952         (__inv): Remove local variable MPTWO to use the global
18953         constant.
18954         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18955         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18956         variable MPTWO.
18957         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18958         MP3HALFS static const.
18960 2013-01-01  David S. Miller  <davem@davemloft.net>
18962         * po/ca.po: Update from translation team.
18964 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
18966         * scripts/update-copyrights: New file.
18967         * Makeconfig: Reformat copyright notice.
18968         * ctype/ctype.h: Likewise.
18969         * debug/swprintf_chk.c: Likewise.
18970         * elf/dl-cache.c: Likewise.
18971         * elf/dl-debug.c: Likewise.
18972         * elf/dl-object.c: Likewise.
18973         * grp/initgroups.c: Likewise.
18974         * hurd/Makefile: Likewise.
18975         * hurd/hurd/signal.h: Likewise.
18976         * hurd/hurdfault.c: Likewise.
18977         * hurd/hurdioctl.c: Likewise.
18978         * hurd/hurdlookup.c: Likewise.
18979         * hurd/intr-msg.c: Likewise.
18980         * iconv/gconv_open.c: Likewise.
18981         * libio/swprintf.c: Likewise.
18982         * locale/lc-ctype.c: Likewise.
18983         * locale/nl_langinfo.c: Likewise.
18984         * mach/Machrules: Likewise.
18985         * mach/Makefile: Likewise.
18986         * malloc/obstack.h: Likewise.
18987         * manual/Makefile: Likewise.
18988         * manual/tsort.awk: Likewise.
18989         * misc/bits/stab.def: Likewise.
18990         * nis/nis_print_group_entry.c: Likewise.
18991         * nis/nis_table.c: Likewise.
18992         * nis/nss_compat/compat-pwd.c: Likewise.
18993         * nis/nss_compat/compat-spwd.c: Likewise.
18994         * po/Makefile: Likewise.
18995         * posix/fnmatch.c: Likewise.
18996         * posix/regex.h: Likewise.
18997         * resolv/Makefile: Likewise.
18998         * resolv/nss_dns/dns-network.c: Likewise.
18999         * resolv/res_hconf.c: Likewise.
19000         * scripts/gen-sorted.awk: Likewise.
19001         * soft-fp/soft-fp.h: Likewise.
19002         * stdio-common/printf.h: Likewise.
19003         * stdlib/monetary.h: Likewise.
19004         * stdlib/random.c: Likewise.
19005         * stdlib/random_r.c: Likewise.
19006         * sysdeps/generic/Makefile: Likewise.
19007         * sysdeps/gnu/Makefile: Likewise.
19008         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19009         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19010         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19011         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19012         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19015         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19016         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19017         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19018         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19019         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19020         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19021         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19022         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19023         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19024         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19025         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19026         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19027         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19028         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19029         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19030         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19031         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19032         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19033         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19034         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19035         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19036         * sysdeps/mach/hurd/errnos.awk: Likewise.
19037         * sysdeps/mach/hurd/fork.c: Likewise.
19038         * sysdeps/mach/hurd/getcwd.c: Likewise.
19039         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19040         * sysdeps/mach/hurd/mmap.c: Likewise.
19041         * sysdeps/mach/hurd/utimes.c: Likewise.
19042         * sysdeps/mach/hurd/xmknod.c: Likewise.
19043         * sysdeps/posix/profil.c: Likewise.
19044         * sysdeps/posix/readdir_r.c: Likewise.
19045         * sysdeps/powerpc/bits/mathdef.h: Likewise.
19046         * sysdeps/powerpc/bits/setjmp.h: Likewise.
19047         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19048         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19050         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19051         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19052         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19054         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19055         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19056         * sysdeps/pthread/lio_listio.c: Likewise.
19057         * sysdeps/sparc/dl-procinfo.h: Likewise.
19058         * sysdeps/unix/i386/sysdep.S: Likewise.
19059         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19060         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19061         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19062         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19064         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19065         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19066         * sysdeps/unix/sysv/linux/speed.c: Likewise.
19067         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19068         * sysdeps/wordsize-32/divdi3.c: Likewise.
19069         * time/sys/time.h: Likewise.
19070         * wcsmbs/Makefile: Likewise.
19072 2013-01-01  David S. Miller  <davem@davemloft.net>
19074         * po/fr.po: Update from translation team.
19076         * catgets/gencat.c: Update copyright year.
19077         * csu/version.c: Likewise.
19078         * debug/catchsegv.sh: Likewise.
19079         * debug/pcprofiledump.c: Likewise.
19080         * debug/xtrace.sh: Likewise.
19081         * elf/ldconfig.c: Likewise.
19082         * elf/ldd.bash.in: Likewise.
19083         * elf/pldd.c: Likewise.
19084         * elf/sotruss.ksh: Likewise.
19085         * elf/sprof.c: Likewise.
19086         * iconv/iconv_prog.c: Likewise.
19087         * iconv/iconvconfig.c: Likewise.
19088         * locale/programs/locale.c: Likewise.
19089         * locale/programs/localedef.c: Likewise.
19090         * login/programs/pt_chown.c: Likewise.
19091         * malloc/memusage.sh: Likewise.
19092         * malloc/memusagestat.c: Likewise.
19093         * malloc/mtrace.pl: Likewise.
19094         * nscd/nscd.c: Likewise.
19095         * nss/getent.c: Likewise.
19096         * nss/makedb.c: Likewise.
19097         * posix/getconf.c: Likewise.
19099 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19101         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19102         numbers.
19104 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
19106         * math/bits/mathcalls.h (modf): Use __nonnull.
19108 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19110         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19111         (split): Use macro CN instead of the bare value.
19112         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19113         could be used.
19114         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19115         instead of the bare value.
19116         (power1): Likewise.
19118 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19120         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19121         __ATAN_TWOM.
19122         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19124         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19125         their values.
19126         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19127         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19128         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19129         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19131 2012-12-28  Andreas Jaeger  <aj@suse.de>
19133         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
19134         values are from Linux 3.7.
19136         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19137         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
19139 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19141         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19142         TRUE case.
19144         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19145         (norm): Likewise.
19146         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19147         variables with preprocessor constants.
19148         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19149         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19150         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19152 2012-12-27  Bruno Haible  <bruno@clisp.org>
19154         [BZ #14317]
19155         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19156         only if needed.
19158 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19160         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19161         and use variable directly.
19162         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19164         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19165         MPONE.
19166         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19167         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19168         variable MPONE.
19169         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19170         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19171         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19172         include directive.  Remove local variable MPONE.
19173         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19174         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19175         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19177 2012-12-25  David S. Miller  <davem@davemloft.net>
19179         * version.h (RELEASE): Set to "development".
19180         (VERSION): Set to "2.17.90".
19181         * NEWS: Add 2.18 section.
19183 2012-12-21  David S. Miller  <davem@davemloft.net>
19185         * po/hr.po: Update from translation team.
19187 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19189         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19191 2012-12-19  Steve Ellcey  <sellcey@mips.com>
19193         * NEWS:  Mention new memcpy for MIPS.
19195 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19197         * manual/contrib.texi (Contributors): Spelling correction.
19199 2012-12-15  David S. Miller  <davem@davemloft.net>
19201         * po/ru.po: Update from translation team.
19203 2012-12-13  David S. Miller  <davem@davemloft.net>
19205         * NEWS: Mention IFUNC testsuite enhancements.
19207         * po/pl.po: Update from translation team.
19208         * po/bg.po: Likewise.
19210         * manual/contrib.texi (Contributors): Update entries for Hongjiu
19211         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
19213 2012-12-11  David S. Miller  <davem@davemloft.net>
19215         * po/sv.po: Update from translation team.
19217         * po/vi.po: Update from translation team.
19219         * po/cs.po: Update from translation team.
19221         * po/de.po: Update from translation team.
19222         * po/eo.po: Likewise.
19223         * po/nl.po: Likewise.
19225 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19227         [BZ #14246]
19228         * manual/argp.texi (Argp Helper Functions): Move node to follow
19229         Argp Parsing State.
19231         [BZ #14872]
19232         * manual/conf.texi (Limits on File System Capacity): Mention if
19233         terminating null is included in the max size.
19235 2012-12-10  Andreas Jaeger  <aj@suse.de>
19237         * po/cs.po: Update from translation team.
19239 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19241         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19242         void pointer and cast to uintptr_t.
19243         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19244         path.
19245         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19246         * sysdeps/s390/s390-64/memset.S: Likewise.
19248 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
19250         [BZ #14833]
19251         * menual/message.texi (Message Translation): Fix typos.
19252         (Helper programs for gettext): Likewise.
19254 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
19256         [BZ #14898]
19257         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19258         Change to -1.
19260 2012-12-07  David S. Miller  <davem@davemloft.net>
19262         * po/libc.pot: Update.
19264 2012-12-07  Richard Henderson  <rth@redhat.com>
19266         [BZ #10114]
19267         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19268         normal/normal case to before the switch.
19269         (_FP_DIV): Likewise.
19271 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
19272             Mike Frysinger  <vapier@gentoo.org>
19274         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19275         check for __NR_fadvise64_64.
19277 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
19279         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19280         0, not just to plain "0" as a statement.
19281         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19282         with cw.
19284 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
19286         * NEWS: Use sourceware.org in Bugzilla URL.
19288 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19291         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19293         * stdio-common/tst-put-error.c (do_test): Add newline to the
19294         padded test to ensure flush.
19296 2012-12-05  Jeff Law  <law@redhat.com>
19298         * sunrpc/etc.rpc (fedfs_admin): Add entry.
19300 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
19302         * README: Don't refer to ports add-on as distributed separately.
19303         Mention AArch64 in list of systems supported in the ports add-on.
19305         * LICENSES: Add more non-FSF copyright and license notices.
19307         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19308         ((unused)).
19310         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19312         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19313         10000 as width of padded output.
19315 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19317         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19319         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19320         variable LX with __attribute__ ((unused)).
19321         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19322         Likewise.
19323         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19324         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19325         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19326         with __attribute__ ((unused)).
19328 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
19330         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19332 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19334         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19335         (CFLAGS-nldbl-acos.c): New variable.
19336         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19337         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19338         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19339         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19340         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19341         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19342         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19343         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19344         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19345         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19346         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19347         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19348         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19349         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19350         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19351         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19352         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19353         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19354         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19355         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19356         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19357         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19358         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19359         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19360         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19361         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19362         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19363         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19364         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19365         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19366         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19367         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19368         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19369         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19370         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19371         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19372         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19373         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19374         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19375         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19376         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19377         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19378         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19379         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19380         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19381         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19382         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19383         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19384         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19385         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19386         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19387         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19388         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19389         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19390         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19391         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19392         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19393         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19394         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19395         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19396         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19397         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19398         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19399         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19400         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19401         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19402         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19403         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19404         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19405         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19406         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19407         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19408         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19409         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19410         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19411         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19412         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19413         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19414         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19415         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19416         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19417         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19418         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19419         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19420         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19421         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19422         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19423         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19424         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19425         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19426         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19427         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19428         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19429         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19430         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19431         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19432         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19435         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19437         [BZ #14914]
19438         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19439         whole low double instead of just low 47 bits when splitting values
19440         into two parts.
19442 2012-12-03  Allan McRae  <allan@archlinux.org>
19444         * manual/stdio.texi (Predefined Printf Handlers): Remove
19445         @hsep and @vsep usage.
19447 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
19449         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19450         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19452 2012-12-03  Jeff Law  <law@redhat.com>
19454         * time/sys/time.h (settimeofday): Do not mark TV argument
19455         as __nonnull.
19457 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
19459         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19460         when currently writing and seek to current position when not.
19461         * libio/Makefile (tests): Remove bug-fclose1.
19462         * libio/bug-fclose1.c: Delete.
19464 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
19466         * manual/arith.texi (feenableexcept): Fix typo.
19467         (fedisableexcept): Likewise.
19469 2012-11-30  Roland McGrath  <roland@hack.frob.com>
19471         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19472         second, differently-typed declaration, rather than a cast.
19474 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19476         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19477         * include/rpc/svc.h: ... here.
19479 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
19481         [BZ #13013]
19482         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19483         depending n and resplen2 to catch cases where answer
19484         equals answerp2.
19486 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
19488         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19489         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19491 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
19493         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19495 2012-11-29  Roland McGrath  <roland@hack.frob.com>
19497         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19499 2012-11-28  Jeff Law  <law@redhat.com>
19501         [BZ #13761]
19502         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19503         dataset_temporary.  Track alloca usage into alloca_used.
19504         If dataset is large allocate and release it via malloc/free.
19506 2012-06-04  Florian Weimer  <fweimer@redhat.com>
19508         [BZ #14197]
19509         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19511 2012-11-28  David S. Miller  <davem@davemloft.net>
19513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19515 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19517         [BZ #14803]
19518         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19519         of pi/2 rounded to nearest to 64 bits.
19520         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19521         nearest to 64 bits.
19522         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19523         bits.
19525 2012-11-28  Jeff Law <law@redhat.com>
19526             Martin Osvald <mosvald@redhat.com>
19528         [BZ #14889]
19529         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19530         * sunrpc/svc.c: Include time.h.
19531         (__svc_accept_failed): New function.
19532         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19533         any reason other than EINTR, call __svc_accept_failed.
19534         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19535         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19537 2012-11-28  Andreas Schwab  <schwab@suse.de>
19539         * scripts/abilist.awk: Also handle indirect functions in .opd
19540         section.
19542 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19544         [BZ #13881]
19545         * sysdeps/x86/fpu/powl_helper.c: New file.
19546         * sysdeps/x86/fpu/Makefile: Likewise.
19547         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19548         (p3): New object.
19549         (__ieee754_powl): Use __powl_helper for finite arguments except
19550         integer exponents below 8.
19551         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19552         (p3): New object.
19553         (__ieee754_powl): Use __powl_helper for finite arguments except
19554         integer exponents below 8.
19555         * math/libm-test.inc (pow_test): Add more tests and enable some
19556         previously disabled tests.
19557         * sysdeps/i386/fpu/libm-test-ulps: Update.
19558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19560 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19561             Carlos O'Donell  <carlos_odonell@mentor.com>
19563         * nss/makedb.c (is_prime): Assert that input is odd and greater
19564         than 4.  Note that fact in a comment too.
19565         (next_prime): Add 4 to input.
19567 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19569         [BZ #11741]
19570         * libio/Makefile (tests): Add test case tst-fwrite-error.
19571         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19572         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19573         * libio/tst-fwrite-error.c: New test case.
19575 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
19577         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19578         before casting to void *.
19579         * include/libc-internal.h (__pointer_type): New macro.
19580         (__integer_if_pointer_type_sub): Likewise.
19581         (__integer_if_pointer_type): Likewise.
19582         (cast_to_integer): Likewise.
19583         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19584         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19585         before casting to atomic64_t.
19586         (atomic_exchange_acq): Likewise.
19587         (__arch_exchange_and_add_body): Likewise.
19588         (__arch_add_body): Likewise.
19589         (atomic_add_negative): Likewise.
19590         (atomic_add_zero): Likewise.
19592 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
19594         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19595         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19596         (add_fdes): Likewise.
19597         (linear_search_fdes): Likewise.
19598         (binary_search_unencoded_fdes): Likewise.
19600 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
19602         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19604 2012-11-24  Adam Conrad  <adconrad@0c3.net>
19606         * configure.in: Autodetect C++ header directories.
19607         * configure: Regenerated.
19609 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
19611         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19613 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
19615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19617 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
19619         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19620         LDBL_MANT_DIG == 106]: Disable some tests.
19621         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19622         Likewise.
19623         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19624         Likewise.
19626         [BZ #14871]
19627         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19628         input for small inputs.  Return +/- pi/2 for large inputs.
19629         * math/libm-test.inc (atan_test): Add more tests.
19631         * sysdeps/generic/unwind-dw2-fde-glibc.c
19632         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19633         __attribute__ ((unused)).
19635         [BZ #14645]
19636         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19637         x * y if x and y are nonzero and z is zero.
19639         [BZ #14811]
19640         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19641         nonzero exponents with absolute value below 0x1p-117 to +/-
19642         0x1p-117.
19644         [BZ #14869]
19645         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19646         up arguments below 2**-450, not just those below 2**-500.
19647         * math/libm-test.inc (hypot_test): Add another test.
19649         [BZ #14868]
19650         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19651         Return a+b for ratio over 2**120, not 2**60.
19652         * math/libm-test.inc (hypot_test): Add another test.
19654         * math/libm-test.inc (clog_test): Use
19655         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19656         (clog10_test): Likewise.
19658         [BZ #6778]
19659         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19661 2012-11-22  Andreas Schwab  <schwab@suse.de>
19663         * sysdeps/i386/fpu/libm-test-ulps: Update.
19665 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
19667         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19668         printf output with newline.
19670 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
19672         [BZ #14865]
19673         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19674         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19675         -z nodlopen, -z initfirst and -z execstack support.
19676         * configure: Regenerated.
19678         * elf/elf.h (DF_1_NODIRECT): New macro.
19679         (DF_1_IGNMULDEF): Likewise.
19680         (DF_1_NOKSYMS): Likewise.
19681         (DF_1_NOHDR): Likewise.
19682         (DF_1_EDITED): Likewise.
19683         (DF_1_NORELOC): Likewise.
19684         (DF_1_SYMINTPOSE): Likewise.
19685         (DF_1_GLOBAUDIT): Likewise.
19686         (DF_1_SINGLETON): Likewise.
19687         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19688         DT_1_SUPPORTED_MASK bits.
19689         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19691 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
19693         * sysdeps/unix/make-syscalls.sh: Document prefixes.
19695 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
19697         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19698         macro.
19700         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19701         (sendmmsg): Move declarations...
19702         * socket/sys/socket.h: ... here.
19703         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19704         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19705         include it from...
19706         * socket/recvmmsg.c: ... this new file.
19707         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19708         (sendmmsg): Rename to __sendmmsg, create weak alias and make
19709         definition of __sendmmsg hidden.
19710         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19711         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19712         Move ENOSYS stub into and include it from...
19713         * socket/sendmmsg.c: ... this new file.
19714         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19715         (sysdep_routines): Move recvmmsg and sendmmsg...
19716         * socket/Makefile (routines): ... here.
19717         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19718         (GLIBC_PRIVATE): Add __sendmmsg.
19719         * include/sys/socket.h (__sendmmsg): Add declarations.
19720         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19721         sendmmsg.
19723 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
19725         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19726         variable I1 with __attribute__ ((unused)).
19727         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19729 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19731         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19732         DUMMY variables with __attribute__ ((unused)).
19734         * bits/byteswap.h: Include <bits/types.h>.
19735         (__bswap_64): Use __uint64_t instead of unsigned long long int.
19737 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19739         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19740         string_t.  Do not manually set errno.
19741         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19742         length with __strnlen.  Make sure to both set errno and return it on
19743         failure.
19745 2012-11-19  David S. Miller  <davem@davemloft.net>
19747         With help from Joseph Myers.
19748         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19749         very large arguments properly.
19750         * math/libm-test.inc (atan_test): New tests.
19751         (atan2_test): New tests.
19752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19755 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19757         [BZ #14856]
19758         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19759         Define to 3.
19761         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19762         [POSIX] (EADDRNOTAVAIL): Likewise.
19763         [POSIX] (EAFNOSUPPORT): Likewise.
19764         [POSIX] (EALREADY): Likewise.
19765         [POSIX] (ECONNABORTED): Likewise.
19766         [POSIX] (ECONNREFUSED): Likewise.
19767         [POSIX] (ECONNRESET): Likewise.
19768         [POSIX] (EDESTADDRREQ): Likewise.
19769         [POSIX] (EDQUOT): Likewise.
19770         [POSIX] (EHOSTUNREACH): Likewise.
19771         [POSIX] (EIDRM): Likewise.
19772         [POSIX] (EISCONN): Likewise.
19773         [POSIX] (ELOOP): Likewise.
19774         [POSIX] (EMULTIHOP): Likewise.
19775         [POSIX] (ENETDOWN): Likewise.
19776         [POSIX] (ENETUNREACH): Likewise.
19777         [POSIX] (ENOBUFS): Likewise.
19778         [POSIX] (ENODATA): Likewise.
19779         [POSIX] (ENOLINK): Likewise.
19780         [POSIX] (ENOMSG): Likewise.
19781         [POSIX] (ENOPROTOOPT): Likewise.
19782         [POSIX] (ENOSR): Likewise.
19783         [POSIX] (ENOSTR): Likewise.
19784         [POSIX] (ENOTCONN): Likewise.
19785         [POSIX] (ENOTSOCK): Likewise.
19786         [POSIX] (EOPNOTSUPP): Likewise.
19787         [POSIX] (EOVERFLOW): Likewise.
19788         [POSIX] (EPROTO): Likewise.
19789         [POSIX] (EPROTONOSUPPORT): Likewise.
19790         [POSIX] (EPROTOTYPE): Likewise.
19791         [POSIX] (ESTALE): Likewise.
19792         [POSIX] (ETIME): Likewise.
19793         [POSIX] (ETXTBSY): Likewise.
19794         [POSIX] (EWOULDBLOCK): Likewise.
19795         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19796         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19797         [POSIX] (SEEK_CUR): Likewise.
19798         [POSIX] (SEEK_END): Likewise.
19799         [POSIX || UNIX98] (mode_t): Do not require.
19800         [POSIX] (off_t): Likewise.
19801         [POSIX] (pid_t): Likewise.
19802         [POSIX] (sys/stat.h): Do not allow header.
19803         [POSIX] (unistd.h): Likewise.
19804         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19805         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19806         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19807         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19808         require.
19809         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19810         sigevent): Specify elements.
19811         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19812         entry.
19813         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19814         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19816         * conform/data/cpio.h-data [POSIX]: Disable whole file.
19817         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19818         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19819         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19820         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19821         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19822         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19823         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19824         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19825         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19826         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19827         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19828         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19829         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19830         Likewise.
19831         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19832         Likewise.
19833         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19834         Likewise.
19835         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19836         Likewise.
19837         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19838         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19839         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19840         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19841         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19842         Specify lower bound on value.
19843         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19844         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19845         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19846         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19847         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19848         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19849         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19850         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19851         value.
19852         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19853         as optional.
19854         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19855         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19856         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19857         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19858         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19859         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19860         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19861         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19862         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19863         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19864         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19865         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19866         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19867         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19868         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19869         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19870         entry.
19871         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19872         optional.
19873         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19874         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19875         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19876         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19877         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19878         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19879         Likewise.
19880         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19881         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19882         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19883         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19884         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
19885         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19886         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19887         as optional.
19888         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19889         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19890         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19891         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19892         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19893         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19894         specify as optional.
19895         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19896         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19897         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19898         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19899         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19900         [XPG3] (NL_LANGMAX): Likewise.
19901         [POSIX || XPG3] (NL_MSGMAX): Likewise.
19902         [POSIX || XPG3] (NL_NMAX): Likewise.
19903         [POSIX || XPG3] (NL_SETMAX): Likewise.
19904         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19905         [XPG3] (NZERO): Likewise.
19906         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19907         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19908         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19909         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19910         (REG_ERANGE): Expect.
19911         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19912         optional-constant.
19913         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19914         Use (void) in prototype.
19915         [POSIX] (*_t): Allow.
19916         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19917         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19918         (WRDE_BADVAL): Expect.
19920         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19921         expect.
19922         [XPG3 || XPG4] (O_RSYNC): Likewise.
19923         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19924         Likewise.
19925         [XPG3 || XPG4] (pthread_sigmask): Likewise.
19926         [XPG3 || XPG4] (sigqueue): Likewise.
19927         [XPG3 || XPG4] (sigtimedwait): Likewise.
19928         [XPG3 || XPG4] (sigwaitinfo): Likewise.
19929         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19930         [XPG3 || XPG4] (vsnprintf): Likewise.
19931         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19932         Likewise.
19933         [XPG3 || XPG4] (blksize_t): Likewise.
19934         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19935         Likewise.
19936         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19937         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19938         [XPG3 || XPG4] (struct itimerspec): Likewise.
19939         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19940         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19941         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19942         [XPG3 || XPG4] (clockid_t): Likewise.
19943         [XPG3 || XPG4] (timer_t): Likewise.
19944         [XPG3 || XPG4] (clock_getres): Likewise.
19945         [XPG3 || XPG4] (clock_gettime): Likewise.
19946         [XPG3 || XPG4] (clock_settime): Likewise.
19947         [XPG3 || XPG4] (nanosleep): Likewise.
19948         [XPG3 || XPG4] (timer_create): Likewise.
19949         [XPG3 || XPG4] (timer_delete): Likewise.
19950         [XPG3 || XPG4] (timer_gettime): Likewise.
19951         [XPG3 || XPG4] (timer_getoverrun): Likewise.
19952         [XPG3 || XPG4] (timer_settime): Likewise.
19953         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19954         [XPG3 || XPG4] (getlogin_r): Likewise.
19955         [XPG3 || XPG4] (pread): Likewise.
19956         [XPG3 || XPG4] (pthread_atfork): Likewise.
19957         [XPG3 || XPG4] (pwrite): Likewise.
19959         [BZ #14835]
19960         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19961         <bits/siginfo.h>.
19963 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19965         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19966         finalizing MALLSTREAM.
19968         * sysdeps/mach/hurd/syncfs.c: New file.
19970 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19972         [BZ #14719]
19973         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19974         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19975         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19976         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19977         (_nss_dns_gethostbyname4_r): Likewise.
19978         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19979         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19981 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
19983         [BZ #13763]
19984         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19986 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
19988         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19989         * elf/cache.c (print_entry): Print ",AArch64" for
19990         FLAG_AARCH64_LIB64
19992         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19993         * elf/cache.c (print_entry): Print ",hard-float" for
19994         FLAG_ARM_LIBHF.
19996 2012-11-18  David S. Miller  <davem@davemloft.net>
19998         With help from Joseph Myers.
19999         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20000         cutoff to 2**-13.
20001         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20002         cutoff to 2**-25.
20003         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20004         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20005         small.
20006         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20007         * math/libm-test.inc (y0_test): New tests.
20008         (y1_test): New tests.
20009         * sysdeps/i386/fpu/libm-test-ulps: Update.
20010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20013 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
20015         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20016         64-bit targets.
20017         * configure: Regenerated.
20019 2012-11-17  David S. Miller  <davem@davemloft.net>
20021         [BZ #14811]
20022         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20023         nonzero exponents with absolute value below 0x1p-128 to +/-
20024         0x1p-128.
20026 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
20028         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20030         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20032         * posix/getconf-speclist.c: New file.
20033         * posix/posix-envs.def: Likewise.
20034         * posix/confstr.c (START_ENV_GROUP): New macro.
20035         (END_ENV_GROUP): Likewise.
20036         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20037         (KNOWN_PRESENT_ENV_STRING): Likewise.
20038         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20039         (UNKNOWN_ENVIRONMENT): Likewise.
20040         (confstr): Include posix-envs.def instead of handling
20041         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20042         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20043         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20044         (END_ENV_GROUP): Likewise.
20045         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20046         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20047         (UNKNOWN_ENVIRONMENT): Likewise.
20048         (__sysconf): Include posix-envs.def instead of handling associated
20049         cases directly here.
20050         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20051         preprocessing getconf-speclist.c rather than running getconf or
20052         generating empty file.
20054 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
20056         * scripts/check-local-headers.sh: Ignore 'mach' headers.
20058 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
20060         [BZ #14672]
20061         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20063 2012-11-16  David S. Miller  <davem@davemloft.net>
20065         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20066         smaller than LDBL_EPSILON/2.0L, just return xm1.
20068 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
20070         * elf/tst-array1.c (init): Set constructor priority to 1000.
20071         (fini): Set destructor priority to 1000.
20072         * elf/tst-array2dep.c: Likewise.
20074 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20076         [BZ #11741]
20077         * libio/fileops.c (_IO_new_file_write): Correctly return error.
20078         (_IO_new_file_xsputn): Also return EOF if none of the input
20079         data was written when overflow failed.
20080         * libio/iopadn.c (_IO_padn): Likewise.
20081         * libio/iowpadn.c (_IO_wpadn): Likewise.
20082         * stdio-common/tst-put-error.c: Add copyright notice.
20083         (do_test): Add case for printing padded string.
20084         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20085         _IO_padn returned error.
20086         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20087         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20088         return EOF.
20090 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20092         * libio/libioP.h: Add comment note that the references to C++
20093         bits are now obsolete.
20095 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20097         * math/libm-test.inc (check_complex): Use asprintf.
20099 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
20101         * debug/pcprofiledump.c (print_version): Update copyright year.
20102         * malloc/memusagestat.c (print_version): Likewise.
20104 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20106         [BZ #14831]
20107         * elf/Makefile (tests): Add tst-audit8.
20108         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20109         ($(objpfx)tst-audit8.out): New target.
20110         (tst-audit8-ENV): New variable.
20111         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20112         audit if l_reloc_result is NULL.
20113         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20114         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20115         * elf/tst-audit8.c: New file.
20117 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20119         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20120         * misc/Makefile (CFLAGS-select.c): Define.
20121         * posix/Makefile (CFLAGS-pause.c): Define.
20123 2012-11-13  David S. Miller  <davem@davemloft.net>
20125         * crypt/Makefile: Move test targets after toplevel Rules
20126         inclusion.  Grab any necessary sysdep routines when linking.
20127         * crypt/md5.c (md5_process_block): Remove define, we will always
20128         name it __md5_process_block.
20129         (md5_finish_ctx): Update md5_process_block call.
20130         (md5_stream): Likewise.
20131         (md5_process_bytes): Likewise.
20132         (md5_process_block): Rename to __md5_process_block and move to ...
20133         * crypt/md5-block.c: ... here.
20134         * crypt/sha256.c (sha256_process_block): Move to ...
20135         * crypt/sha256-block.c: ... here.
20136         * crypt/sha512.c (sha512_process_block): Move to ...
20137         * crypt/sha512-block.c: ... here.
20138         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20139         path.
20140         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20141         * sysdeps/sparc/sparc64/multiarch/Makefile
20142         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20143         crypt subdir.
20144         (localedef-aux): Add md5 crypto assembler when in locale subdir.
20145         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20146         multiarch changes.
20147         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20148         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20149         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20150         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20151         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20152         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20153         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20154         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20155         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20156         file.
20157         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20158         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20159         file.
20160         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20162 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
20164         * timezone/tzselect.ksh: Update from tzcode git revision
20165         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20166         * timezone/zdump.c: Likewise.
20167         * timezone/zic.c: Likewise.
20168         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20169         in TZVERSION setting, not $(PKGVERSION).
20170         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
20171         REPORT_BUGS_TO settings.
20173         [BZ #14838]
20174         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20175         macro.
20177 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20179         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20180         detection to immediately after _FP_ROUND().
20181         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20182         bits are 0.
20184 2012-11-11  David S. Miller  <davem@davemloft.net>
20186         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20187         inttypes.h
20188         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20189         __close rather than their public counterparts.
20191 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
20193         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20194         file.
20195         [UNIX98] (sem_timedwait): Do not expect.
20196         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20197         [XPG4 || UNIX98] (sockatmark): Do not expect.
20198         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20199         (clock_getcpuclockid): Do not expect.
20200         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20201         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20202         Do not expect.
20203         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20204         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20205         [UNIX98] (vwscanf): Likewise.
20206         [UNIX98] (vswscanf): Likewise.
20208 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
20210         * timezone/version.h: Remove file.
20211         * timezone/README: Do not refer to version.h.
20212         * timezone/Makefile ($(objpfx)zic.o): New dependency on
20213         $(objpfx)version.h.
20214         ($(objpfx)zdump.o): Likewise.
20215         ($(objpfx)version.h): New target.
20217         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20218         2012i.
20219         * timezone/README: Don't mention modification to tzselect.ksh.
20220         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20221         work on unmodified tzselect.ksh.  Substitute version numbers in
20222         tzselect.ksh.
20224         * Makefile (format-me): Remove.
20225         (INSTALL): Adjust indentation.  Use commands directly instead of
20226         using $(format-me).
20228         * aclocal.m4 (ACX_PKGVERSION): New macro.
20229         (ACX_BUGURL): Likewise.
20230         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20231         (PKGVERSION): New AC_DEFINE_UNQUOTED.
20232         (REPORT_BUGS_TO): Likewise.
20233         * configure: Regenerated.
20234         * config.h.in (PKGVERSION): New macro.
20235         (REPORT_BUGS_TO): Likewise.
20236         * config.make.in (PKGVERSION): New variable.
20237         (PKGVERSION_TEXI): Likewise.
20238         (REPORT_BUGS_TO): Likewise.
20239         (REPORT_BUGS_TEXI): Likewise.
20240         * Makefile (format-me): Use -I$(common-objpfx)manual.
20241         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20242         ($(common-objpfx)manual/%): New target.
20243         (manual/%): Remove target.
20244         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20245         (print_version): Use PKGVERSION.
20246         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20247         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20248         and REPORT_BUGS_TO.
20249         ($(objpfx)xtrace): Likewise.
20250         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20251         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20252         (print_version): Use PKGVERSION.
20253         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20254         (do_version): Use PKGVERSION.
20255         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20256         REPORT_BUGS_TO.
20257         (common-ldd-rewrite): Likewise.
20258         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20259         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20260         (print_version): Use PKGVERSION.
20261         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20262         * elf/pldd.c (argp_program_bug_address): Remove variable.
20263         (more_help): New function.
20264         (argp): Use more_help.
20265         (print_version): Use PKGVERSION.
20266         * elf/sln.c (main): Use PKGVERSION.
20267         (usage): Use REPORT_BUGS_TO.
20268         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20269         (top level): Use PKGVERSION.
20270         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20271         (print_version): Use PKGVERSION.
20272         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20273         (print_version): Use PKGVERSION.
20274         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20275         (print_version): Use PKGVERSION.
20276         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20277         (print_version): Use PKGVERSION.
20278         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20279         (print_version): Use PKGVERSION.
20280         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20281         (print_version): Use PKGVERSION.
20282         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20283         and BUGURL.
20284         ($(objpfx)memusage): Likewise.
20285         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20286         (do_version): Use PKGVERSION.
20287         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20288         (print_version): Use PKGVERSION.
20289         * malloc/mtrace.pl ($PACKAGE): Remove variable.
20290         ($PKGVERSION): New variable.
20291         ($REPORT_BUGS_TO): Likewise.
20292         (usage): Use $REPORT_BUGS_TO.
20293         (top level): Use $PKGVERSION.
20294         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20295         ($(objpfx)pkgvers.texi): New rule.
20296         ($(objpfx)stamp-pkgvers): Likewise.
20297         * manual/install.texi: Include pkgvers.texi.
20298         (--with-pkgversion): Document new configure option.
20299         (--with-bugurl): Likewise.
20300         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20301         than necessarily for this particular distribution.  Use
20302         REPORT_BUGS_TO for where to report bugs.
20303         * INSTALL: Regenerated.
20304         * manual/libc.texinfo: Include pkgvers.texi.
20305         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20306         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20307         (print_version): Use PKGVERSION.
20308         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20309         (print_version): Use PKGVERSION.
20310         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20311         (print_version): Use PKGVERSION.
20312         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20313         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20314         macro.
20315         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20316         (print_version): Use PKGVERSION.
20317         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20318         (print_version): Use PKGVERSION.
20319         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20320         and PKGVERSION.
20322         * timezone/checktab.awk: Update from tzcode 2012i.
20323         * timezone/ialloc.c: Likewise.
20324         * timezone/private.h: Likewise.
20325         * timezone/scheck.c: Likewise.
20326         * timezone/tzfile.h: Likewise.
20327         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20328         (TZVERSION): Hardcode tzcode version number.
20329         * timezone/zdump.c: Update from tzcode 2012i.
20330         * timezone/zic.c: Likewise.
20331         * timezone/version.h: New file.
20332         * timezone/README: Describe version.h.  Update upstream location.
20334         [BZ #14824]
20335         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20336         (mktemp): Enable declaration.
20337         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20338         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20339         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20340         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20341         Likewise.
20342         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20343         Likewise.
20344         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20345         Likewise.
20346         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20347         Likewise.
20348         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20349         Likewise.
20350         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20351         Likewise.
20353         [BZ #14821]
20354         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20355         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
20356         for copies of such integer values.
20357         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20358         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20360 2012-11-09  Andreas Jaeger  <aj@suse.de>
20362         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20363         definitions and declarations that are provided by
20364         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20366 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20368         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20369         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20370         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20371         definition.
20373 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20375         * elf/elf.h: Update comment before AArch64 relocations.
20377 2012-11-07  David S. Miller  <davem@davemloft.net>
20379         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20380         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20381         (__start_context): Declare.
20382         (__makecontext_ret): Delete.
20383         (__makecontext): Hook up __start_context instead of
20384         __makecontext_ret.
20385         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20386         (sysdep_routines): Add __start_context when in stdlib.
20388 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20390         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20391         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20392         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
20393         hardcoded "nm".
20394         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
20395         (READELF): New variable.  Use it instead of hardcoded "readelf".
20397 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20399         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20400         * sysdeps/x86/Makefile: Here.
20401         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20402         * sysdeps/x86/tst-xmmymm.sh: This.
20404 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20406         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20407         expectations.
20408         [UNIX98] (pthread_barrier_t): Do not expect.
20409         [UNIX98] (pthread_barrierattr_t): Likewise.
20410         [UNIX98] (pthread_spinlock_t): Likewise.
20411         [UNIX98] (pthread_barrier_destroy): Likewise.
20412         [UNIX98] (pthread_barrier_init): Likewise.
20413         [UNIX98] (pthread_barrier_wait): Likewise.
20414         [UNIX98] (pthread_barrierattr_destroy): Likewise.
20415         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20416         [UNIX98] (pthread_barrierattr_init): Likewise.
20417         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20418         [UNIX98] (pthread_getcpuclockid): Likewise.
20419         [UNIX98] (pthread_mutex_timedlock): Likewise.
20420         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20421         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20422         [UNIX98] (pthread_sigmask): Likewise.
20423         [UNIX98] (pthread_spin_destroy): Likewise.
20424         [UNIX98] (pthread_spin_init): Likewise.
20425         [UNIX98] (pthread_spin_lock): Likewise.
20426         [UNIX98] (pthread_spin_trylock): Likewise.
20427         [UNIX98] (pthread_spin_unlock): Likewise.
20428         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20429         Do not expect.
20430         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20431         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20432         [XPG3 || XPG4] (pthread_cond_t): Likewise.
20433         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20434         [XPG3 || XPG4] (pthread_key_t): Likewise.
20435         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20436         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20437         [XPG3 || XPG4] (pthread_once_t): Likewise.
20438         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20439         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20440         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20441         [XPG3 || XPG4] (pthread_t): Likewise.
20443         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20444         not expect.
20445         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20447         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20448         Change function return type to int.
20450         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20451         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20452         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20453         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20454         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20455         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20456         [!POSIX] (posix_madvise): Likewise.
20457         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20458         && !UNIX98].
20459         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20460         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20461         (mode_t): Likewise.
20462         (posix_mem_offset): Likewise.
20463         (posix_typed_mem_get_info): Likewise.
20464         (posix_typed_mem_open): Likewise.
20466         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20467         Change condition to [XOPEN2K8].
20469         * conform/conformtest.pl: Preprocess allow-header data with -x c
20470         instead of from stdin.
20471         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20472         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20473         [C99-based standards] (cerfc): Likewise.
20474         [C99-based standards] (cexp2): Likewise.
20475         [C99-based standards] (cexpm1): Likewise.
20476         [C99-based standards] (clog10): Likewise.
20477         [C99-based standards] (clog1p): Likewise.
20478         [C99-based standards] (clog2): Likewise.
20479         [C99-based standards] (clgamma): Likewise.
20480         [C99-based standards] (ctgamma): Likewise.
20481         [C99-based standards] (cerff): Likewise.
20482         [C99-based standards] (cerfcf): Likewise.
20483         [C99-based standards] (cexp2f): Likewise.
20484         [C99-based standards] (cexpm1f): Likewise.
20485         [C99-based standards] (clog10f): Likewise.
20486         [C99-based standards] (clog1pf): Likewise.
20487         [C99-based standards] (clog2f): Likewise.
20488         [C99-based standards] (clgammaf): Likewise.
20489         [C99-based standards] (ctgammaf): Likewise.
20490         [C99-based standards] (cerfl): Likewise.
20491         [C99-based standards] (cerfcl): Likewise.
20492         [C99-based standards] (cexp2l): Likewise.
20493         [C99-based standards] (cexpm1l): Likewise.
20494         [C99-based standards] (clog10l): Likewise.
20495         [C99-based standards] (clog1pl): Likewise.
20496         [C99-based standards] (clog2l): Likewise.
20497         [C99-based standards] (clgammal): Likewise.
20498         [C99-based standards] (ctgammal): Likewise.
20499         * conform/data/inttypes.h-data [C99-based standards]: Include
20500         stdint.h-data.  Remove all expectations for stdint.h contents.
20501         [C99-based standards] (PRI*): Do not allow.
20502         [C99-based standards] (SCN*): Likewise.
20503         [C99-based standards] (*_t): Likewise.
20504         [C99-based-standards] (PRId8): Expect macro.
20505         [C99-based-standards] (PRIi8): Likewise.
20506         [C99-based-standards] (PRIo8): Likewise.
20507         [C99-based-standards] (PRIu8): Likewise.
20508         [C99-based-standards] (PRIx8): Likewise.
20509         [C99-based-standards] (PRIX8): Likewise.
20510         [C99-based-standards] (SCNd8): Likewise.
20511         [C99-based-standards] (SCNi8): Likewise.
20512         [C99-based-standards] (SCNo8): Likewise.
20513         [C99-based-standards] (SCNu8): Likewise.
20514         [C99-based-standards] (SCNx8): Likewise.
20515         [C99-based-standards] (PRIdLEAST8): Likewise.
20516         [C99-based-standards] (PRIiLEAST8): Likewise.
20517         [C99-based-standards] (PRIoLEAST8): Likewise.
20518         [C99-based-standards] (PRIuLEAST8): Likewise.
20519         [C99-based-standards] (PRIxLEAST8): Likewise.
20520         [C99-based-standards] (PRIXLEAST8): Likewise.
20521         [C99-based-standards] (SCNdLEAST8): Likewise.
20522         [C99-based-standards] (SCNiLEAST8): Likewise.
20523         [C99-based-standards] (SCNoLEAST8): Likewise.
20524         [C99-based-standards] (SCNuLEAST8): Likewise.
20525         [C99-based-standards] (SCNxLEAST8): Likewise.
20526         [C99-based-standards] (PRIdFAST8): Likewise.
20527         [C99-based-standards] (PRIiFAST8): Likewise.
20528         [C99-based-standards] (PRIoFAST8): Likewise.
20529         [C99-based-standards] (PRIuFAST8): Likewise.
20530         [C99-based-standards] (PRIxFAST8): Likewise.
20531         [C99-based-standards] (PRIXFAST8): Likewise.
20532         [C99-based-standards] (SCNdFAST8): Likewise.
20533         [C99-based-standards] (SCNiFAST8): Likewise.
20534         [C99-based-standards] (SCNoFAST8): Likewise.
20535         [C99-based-standards] (SCNuFAST8): Likewise.
20536         [C99-based-standards] (SCNxFAST8): Likewise.
20537         [C99-based-standards] (PRId16): Likewise.
20538         [C99-based-standards] (PRIi16): Likewise.
20539         [C99-based-standards] (PRIo16): Likewise.
20540         [C99-based-standards] (PRIu16): Likewise.
20541         [C99-based-standards] (PRIx16): Likewise.
20542         [C99-based-standards] (PRIX16): Likewise.
20543         [C99-based-standards] (SCNd16): Likewise.
20544         [C99-based-standards] (SCNi16): Likewise.
20545         [C99-based-standards] (SCNo16): Likewise.
20546         [C99-based-standards] (SCNu16): Likewise.
20547         [C99-based-standards] (SCNx16): Likewise.
20548         [C99-based-standards] (PRIdLEAST16): Likewise.
20549         [C99-based-standards] (PRIiLEAST16): Likewise.
20550         [C99-based-standards] (PRIoLEAST16): Likewise.
20551         [C99-based-standards] (PRIuLEAST16): Likewise.
20552         [C99-based-standards] (PRIxLEAST16): Likewise.
20553         [C99-based-standards] (PRIXLEAST16): Likewise.
20554         [C99-based-standards] (SCNdLEAST16): Likewise.
20555         [C99-based-standards] (SCNiLEAST16): Likewise.
20556         [C99-based-standards] (SCNoLEAST16): Likewise.
20557         [C99-based-standards] (SCNuLEAST16): Likewise.
20558         [C99-based-standards] (SCNxLEAST16): Likewise.
20559         [C99-based-standards] (PRIdFAST16): Likewise.
20560         [C99-based-standards] (PRIiFAST16): Likewise.
20561         [C99-based-standards] (PRIoFAST16): Likewise.
20562         [C99-based-standards] (PRIuFAST16): Likewise.
20563         [C99-based-standards] (PRIxFAST16): Likewise.
20564         [C99-based-standards] (PRIXFAST16): Likewise.
20565         [C99-based-standards] (SCNdFAST16): Likewise.
20566         [C99-based-standards] (SCNiFAST16): Likewise.
20567         [C99-based-standards] (SCNoFAST16): Likewise.
20568         [C99-based-standards] (SCNuFAST16): Likewise.
20569         [C99-based-standards] (SCNxFAST16): Likewise.
20570         [C99-based-standards] (PRId32): Likewise.
20571         [C99-based-standards] (PRIi32): Likewise.
20572         [C99-based-standards] (PRIo32): Likewise.
20573         [C99-based-standards] (PRIu32): Likewise.
20574         [C99-based-standards] (PRIx32): Likewise.
20575         [C99-based-standards] (PRIX32): Likewise.
20576         [C99-based-standards] (SCNd32): Likewise.
20577         [C99-based-standards] (SCNi32): Likewise.
20578         [C99-based-standards] (SCNo32): Likewise.
20579         [C99-based-standards] (SCNu32): Likewise.
20580         [C99-based-standards] (SCNx32): Likewise.
20581         [C99-based-standards] (PRIdLEAST32): Likewise.
20582         [C99-based-standards] (PRIiLEAST32): Likewise.
20583         [C99-based-standards] (PRIoLEAST32): Likewise.
20584         [C99-based-standards] (PRIuLEAST32): Likewise.
20585         [C99-based-standards] (PRIxLEAST32): Likewise.
20586         [C99-based-standards] (PRIXLEAST32): Likewise.
20587         [C99-based-standards] (SCNdLEAST32): Likewise.
20588         [C99-based-standards] (SCNiLEAST32): Likewise.
20589         [C99-based-standards] (SCNoLEAST32): Likewise.
20590         [C99-based-standards] (SCNuLEAST32): Likewise.
20591         [C99-based-standards] (SCNxLEAST32): Likewise.
20592         [C99-based-standards] (PRIdFAST32): Likewise.
20593         [C99-based-standards] (PRIiFAST32): Likewise.
20594         [C99-based-standards] (PRIoFAST32): Likewise.
20595         [C99-based-standards] (PRIuFAST32): Likewise.
20596         [C99-based-standards] (PRIxFAST32): Likewise.
20597         [C99-based-standards] (PRIXFAST32): Likewise.
20598         [C99-based-standards] (SCNdFAST32): Likewise.
20599         [C99-based-standards] (SCNiFAST32): Likewise.
20600         [C99-based-standards] (SCNoFAST32): Likewise.
20601         [C99-based-standards] (SCNuFAST32): Likewise.
20602         [C99-based-standards] (SCNxFAST32): Likewise.
20603         [C99-based-standards] (PRId64): Likewise.
20604         [C99-based-standards] (PRIi64): Likewise.
20605         [C99-based-standards] (PRIo64): Likewise.
20606         [C99-based-standards] (PRIu64): Likewise.
20607         [C99-based-standards] (PRIx64): Likewise.
20608         [C99-based-standards] (PRIX64): Likewise.
20609         [C99-based-standards] (SCNd64): Likewise.
20610         [C99-based-standards] (SCNi64): Likewise.
20611         [C99-based-standards] (SCNo64): Likewise.
20612         [C99-based-standards] (SCNu64): Likewise.
20613         [C99-based-standards] (SCNx64): Likewise.
20614         [C99-based-standards] (PRIdLEAST64): Likewise.
20615         [C99-based-standards] (PRIiLEAST64): Likewise.
20616         [C99-based-standards] (PRIoLEAST64): Likewise.
20617         [C99-based-standards] (PRIuLEAST64): Likewise.
20618         [C99-based-standards] (PRIxLEAST64): Likewise.
20619         [C99-based-standards] (PRIXLEAST64): Likewise.
20620         [C99-based-standards] (SCNdLEAST64): Likewise.
20621         [C99-based-standards] (SCNiLEAST64): Likewise.
20622         [C99-based-standards] (SCNoLEAST64): Likewise.
20623         [C99-based-standards] (SCNuLEAST64): Likewise.
20624         [C99-based-standards] (SCNxLEAST64): Likewise.
20625         [C99-based-standards] (PRIdFAST64): Likewise.
20626         [C99-based-standards] (PRIiFAST64): Likewise.
20627         [C99-based-standards] (PRIoFAST64): Likewise.
20628         [C99-based-standards] (PRIuFAST64): Likewise.
20629         [C99-based-standards] (PRIxFAST64): Likewise.
20630         [C99-based-standards] (PRIXFAST64): Likewise.
20631         [C99-based-standards] (SCNdFAST64): Likewise.
20632         [C99-based-standards] (SCNiFAST64): Likewise.
20633         [C99-based-standards] (SCNoFAST64): Likewise.
20634         [C99-based-standards] (SCNuFAST64): Likewise.
20635         [C99-based-standards] (SCNxFAST64): Likewise.
20636         [C99-based-standards] (PRIdMAX): Likewise.
20637         [C99-based-standards] (PRIiMAX): Likewise.
20638         [C99-based-standards] (PRIoMAX): Likewise.
20639         [C99-based-standards] (PRIuMAX): Likewise.
20640         [C99-based-standards] (PRIxMAX): Likewise.
20641         [C99-based-standards] (PRIXMAX): Likewise.
20642         [C99-based-standards] (SCNdMAX): Likewise.
20643         [C99-based-standards] (SCNiMAX): Likewise.
20644         [C99-based-standards] (SCNoMAX): Likewise.
20645         [C99-based-standards] (SCNuMAX): Likewise.
20646         [C99-based-standards] (SCNxMAX): Likewise.
20647         [C99-based-standards] (PRIdPTR): Likewise.
20648         [C99-based-standards] (PRIiPTR): Likewise.
20649         [C99-based-standards] (PRIoPTR): Likewise.
20650         [C99-based-standards] (PRIuPTR): Likewise.
20651         [C99-based-standards] (PRIxPTR): Likewise.
20652         [C99-based-standards] (PRIXPTR): Likewise.
20653         [C99-based-standards] (SCNdPTR): Likewise.
20654         [C99-based-standards] (SCNiPTR): Likewise.
20655         [C99-based-standards] (SCNoPTR): Likewise.
20656         [C99-based-standards] (SCNuPTR): Likewise.
20657         [C99-based-standards] (SCNxPTR): Likewise.
20658         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20659         allow.
20660         * conform/data/stdint.h-data: Update comments to clarify
20661         requirements.
20662         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
20663         type.
20664         [C99-based standards] (INT8_MAX): Likewise.
20665         [C99-based standards] (INT16_MIN): Likewise.
20666         [C99-based standards] (INT16_MAX): Likewise.
20667         [C99-based standards] (INT32_MIN): Likewise.
20668         [C99-based standards] (INT32_MAX): Likewise.
20669         [C99-based standards] (INT64_MIN): Likewise.
20670         [C99-based standards] (INT64_MAX): Likewise.
20671         [C99-based standards] (UINT8_MAX): Likewise.
20672         [C99-based standards] (UINT16_MAX): Likewise.
20673         [C99-based standards] (UINT32_MAX): Likewise.
20674         [C99-based standards] (UINT64_MAX): Likewise.
20675         [C99-based standards] (INT_LEAST8_MIN): Likewise.
20676         [C99-based standards] (INT_LEAST8_MAX): Likewise.
20677         [C99-based standards] (INT_LEAST16_MIN): Likewise.
20678         [C99-based standards] (INT_LEAST16_MAX): Likewise.
20679         [C99-based standards] (INT_LEAST32_MIN): Likewise.
20680         [C99-based standards] (INT_LEAST32_MAX): Likewise.
20681         [C99-based standards] (INT_LEAST64_MIN): Likewise.
20682         [C99-based standards] (INT_LEAST64_MAX): Likewise.
20683         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20684         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20685         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20686         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20687         [C99-based standards] (INT_FAST8_MIN): Likewise.
20688         [C99-based standards] (INT_FAST8_MAX): Likewise.
20689         [C99-based standards] (INT_FAST16_MIN): Likewise.
20690         [C99-based standards] (INT_FAST16_MAX): Likewise.
20691         [C99-based standards] (INT_FAST32_MIN): Likewise.
20692         [C99-based standards] (INT_FAST32_MAX): Likewise.
20693         [C99-based standards] (INT_FAST64_MIN): Likewise.
20694         [C99-based standards] (INT_FAST64_MAX): Likewise.
20695         [C99-based standards] (UINT_FAST8_MAX): Likewise.
20696         [C99-based standards] (UINT_FAST16_MAX): Likewise.
20697         [C99-based standards] (UINT_FAST32_MAX): Likewise.
20698         [C99-based standards] (UINT_FAST64_MAX): Likewise.
20699         [C99-based standards] (INTPTR_MIN): Likewise.
20700         [C99-based standards] (INTPTR_MAX): Likewise.
20701         [C99-based standards] (UINTPTR_MAX): Likewise.
20702         [C99-based standards] (INTMAX_MIN): Likewise.
20703         [C99-based standards] (INTMAX_MAX): Likewise.
20704         [C99-based standards] (UINTMAX_MAX): Likewise.
20705         [C99-based standards] (PTRDIFF_MIN): Likewise.
20706         [C99-based standards] (PTRDIFF_MAX): Likewise.
20707         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20708         [C99-based standards] (SIZE_MAX): Likewise.
20709         [C99-based standards] (WCHAR_MAX): Likewise.
20710         [C99-based standards] (WINT_MAX): Likewise.
20711         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
20712         constraint on value.
20713         [C99-based standards] (WCHAR_MIN): Likewise.
20714         [C99-based standards] (WINT_MIN): Likewise.
20715         [C99-based standards] (*_t): Allow.
20716         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20717         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20718         Include math.h-data and complex.h-data.  Remove all expectations
20719         of math.h and complex.h contents.
20720         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20721         at end of line.
20722         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20723         (struct tm): Expect tag.
20724         [C99-based-standards] (wcstof): Expect function.
20725         [C99-based-standards] (wcstold): Likewise.
20726         [C99-based-standards] (wcstoll): Likewise.
20727         [C99-based-standards] (wcstoull): Likewise.
20728         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20729         macro-int-constant.  Specify type.
20730         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
20731         constraint on value.
20732         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20733         Specify type.
20734         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20735         Specify value.
20736         [ISO C standards]: Do not allow headers.
20737         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20738         wcs[abcdefghijklmnopqrstuvwxyz]*.
20739         [ISO C standards] (*_t): Do not allow.
20740         * conform/data/wctype.h-data [C99-based standards] (iswblank):
20741         Expect function.
20742         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20743         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20744         Specify type.
20745         [ISO C standards]: Do not allow headers.
20746         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20747         is[abcdefghijklmnopqrstuvwxyz]*.
20748         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20749         to[abcdefghijklmnopqrstuvwxyz]*.
20750         [ISO C standards] (*_t): Do not allow.
20751         * conform/data/stdalign.h-data: New file.
20752         * conform/data/stdbool.h-data: Likewise.
20753         * conform/data/stdnoreturn.h-data: Likewise.
20755 2012-11-07  Roland McGrath  <roland@hack.frob.com>
20757         [BZ #14815]
20758         * manual/filesys.texi (Directory Entries): Typo fix.
20759         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20761 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20763         * elf/elf.h (EM_AARCH64): New macro.
20764         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20765         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20766         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20767         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20768         (R_AARCH64_TLSDESC): Likewise.
20769         (NT_ARM_TLS): Likewise.
20770         (NT_ARM_HW_BREAK): Likewise.
20771         (NT_ARM_HW_WATCH): Likewise.
20773 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20775         [BZ #14811]
20776         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20777         (__ieee754_powl): Saturate nonzero exponents with absolute value
20778         below 0x1p-79 to +/- 0x1p-79.
20779         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20780         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20781         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20782         nonzero exponents with absolute value below 0x1p-32 to +/-
20783         0x1p-32.
20784         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20785         (__ieee754_powl): Saturate nonzero exponents with absolute value
20786         below 0x1p-79 to +/- 0x1p-79.
20787         * math/libm-test.inc (pow_test): Add more tests.
20789 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20791         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20792         _dl_s390_cap_flags with kernel. Increase string length.
20793         (_dl_s390_platforms): Add z196 and zEC12.
20795 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20797         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20798         Change XOPEN21K to XOPEN2K.
20800 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
20802         * string/memmove.c: Use memcpy when possible.
20804 2012-11-06  Andreas Jaeger  <aj@suse.de>
20806         * po/eo.po: Update from translation team.
20808 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
20810         [BZ #14793]
20811         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20812         exponent and small x and y exponents, scale x or y up.  Increase
20813         by 2 the exponent used in scaling up.
20814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20815         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20816         * math/libm-test.inc (fma_test): Add more tests.
20817         (fma_test_towardzero): Likewise.
20818         (fma_test_downward): Likewise.
20819         (fma_test_upward): Likewise.
20821 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
20823         [BZ #14805]
20824         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20825         fenv_t *.
20827         [BZ #14801]
20828         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20829         namespace for names of struct fields.
20830         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20831         fenv_t fields.
20832         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20833         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20835 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20837         [BZ #3665]
20838         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20840 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20842         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20843         PTR_DEMANGLE.
20845         [BZ #5246]
20846         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20847         PTR_DEMANGLE.
20849 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
20851         [BZ #14797]
20852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20853         definitely overflow as x * y not x * y + z.
20854         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20855         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20856         * math/libm-test.inc (fma_test): Add more tests.
20857         (fma_test_towardzero): Likewise.
20858         (fma_test_downward): Likewise.
20859         (fma_test_upward): Likewise.
20861 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20863         [BZ #157]
20865         * include/stub-tag.h: Remove file.
20866         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20867         '#include' of it.
20868         * manual/maint.texi (Porting): Don't reference it.
20869         * Makerules ($(objpfx)stubs): Likewise.
20870         * dirent/closedir.c: Don't include <stub-tag.h>.
20871         * dirent/dirfd.c: Likewise.
20872         * dirent/fdopendir.c: Likewise.
20873         * dirent/getdents.c: Likewise.
20874         * dirent/getdents64.c: Likewise.
20875         * dirent/opendir.c: Likewise.
20876         * dirent/readdir.c: Likewise.
20877         * dirent/readdir64.c: Likewise.
20878         * dirent/readdir64_r.c: Likewise.
20879         * dirent/readdir_r.c: Likewise.
20880         * dirent/rewinddir.c: Likewise.
20881         * dirent/seekdir.c: Likewise.
20882         * dirent/telldir.c: Likewise.
20883         * gmon/profil.c: Likewise.
20884         * grp/setgroups.c: Likewise.
20885         * inet/if_index.c: Likewise.
20886         * io/access.c: Likewise.
20887         * io/chdir.c: Likewise.
20888         * io/chmod.c: Likewise.
20889         * io/chown.c: Likewise.
20890         * io/close.c: Likewise.
20891         * io/dup.c: Likewise.
20892         * io/dup2.c: Likewise.
20893         * io/dup3.c: Likewise.
20894         * io/euidaccess.c: Likewise.
20895         * io/faccessat.c: Likewise.
20896         * io/fchdir.c: Likewise.
20897         * io/fchmod.c: Likewise.
20898         * io/fchmodat.c: Likewise.
20899         * io/fchown.c: Likewise.
20900         * io/fchownat.c: Likewise.
20901         * io/fcntl.c: Likewise.
20902         * io/flock.c: Likewise.
20903         * io/fstatfs.c: Likewise.
20904         * io/fstatfs64.c: Likewise.
20905         * io/fstatvfs.c: Likewise.
20906         * io/fstatvfs64.c: Likewise.
20907         * io/futimens.c: Likewise.
20908         * io/fxstat.c: Likewise.
20909         * io/fxstat64.c: Likewise.
20910         * io/fxstatat.c: Likewise.
20911         * io/fxstatat64.c: Likewise.
20912         * io/getcwd.c: Likewise.
20913         * io/isatty.c: Likewise.
20914         * io/lchmod.c: Likewise.
20915         * io/lchown.c: Likewise.
20916         * io/link.c: Likewise.
20917         * io/linkat.c: Likewise.
20918         * io/lseek.c: Likewise.
20919         * io/lseek64.c: Likewise.
20920         * io/lxstat64.c: Likewise.
20921         * io/mkdir.c: Likewise.
20922         * io/mkdirat.c: Likewise.
20923         * io/mkfifo.c: Likewise.
20924         * io/mkfifoat.c: Likewise.
20925         * io/open.c: Likewise.
20926         * io/open64.c: Likewise.
20927         * io/openat.c: Likewise.
20928         * io/openat64.c: Likewise.
20929         * io/pipe.c: Likewise.
20930         * io/pipe2.c: Likewise.
20931         * io/poll.c: Likewise.
20932         * io/posix_fadvise.c: Likewise.
20933         * io/posix_fadvise64.c: Likewise.
20934         * io/posix_fallocate.c: Likewise.
20935         * io/posix_fallocate64.c: Likewise.
20936         * io/read.c: Likewise.
20937         * io/readlink.c: Likewise.
20938         * io/readlinkat.c: Likewise.
20939         * io/rmdir.c: Likewise.
20940         * io/sendfile.c: Likewise.
20941         * io/sendfile64.c: Likewise.
20942         * io/statfs.c: Likewise.
20943         * io/statfs64.c: Likewise.
20944         * io/statvfs.c: Likewise.
20945         * io/statvfs64.c: Likewise.
20946         * io/symlink.c: Likewise.
20947         * io/symlinkat.c: Likewise.
20948         * io/ttyname.c: Likewise.
20949         * io/ttyname_r.c: Likewise.
20950         * io/umask.c: Likewise.
20951         * io/unlink.c: Likewise.
20952         * io/unlinkat.c: Likewise.
20953         * io/utime.c: Likewise.
20954         * io/utimensat.c: Likewise.
20955         * io/write.c: Likewise.
20956         * io/xmknod.c: Likewise.
20957         * io/xmknodat.c: Likewise.
20958         * io/xstat.c: Likewise.
20959         * io/xstat64.c: Likewise.
20960         * login/getpt.c: Likewise.
20961         * login/grantpt.c: Likewise.
20962         * login/unlockpt.c: Likewise.
20963         * math/e_acoshl.c: Likewise.
20964         * math/e_acosl.c: Likewise.
20965         * math/e_asinl.c: Likewise.
20966         * math/e_atan2l.c: Likewise.
20967         * math/e_atanhl.c: Likewise.
20968         * math/e_coshl.c: Likewise.
20969         * math/e_expl.c: Likewise.
20970         * math/e_fmodl.c: Likewise.
20971         * math/e_gammal_r.c: Likewise.
20972         * math/e_hypotl.c: Likewise.
20973         * math/e_j0l.c: Likewise.
20974         * math/e_j1l.c: Likewise.
20975         * math/e_jnl.c: Likewise.
20976         * math/e_lgammal_r.c: Likewise.
20977         * math/e_log10l.c: Likewise.
20978         * math/e_log2l.c: Likewise.
20979         * math/e_logl.c: Likewise.
20980         * math/e_powl.c: Likewise.
20981         * math/e_rem_pio2l.c: Likewise.
20982         * math/e_sinhl.c: Likewise.
20983         * math/e_sqrtl.c: Likewise.
20984         * math/fclrexcpt.c: Likewise.
20985         * math/fedisblxcpt.c: Likewise.
20986         * math/feenablxcpt.c: Likewise.
20987         * math/fegetenv.c: Likewise.
20988         * math/fegetexcept.c: Likewise.
20989         * math/fegetround.c: Likewise.
20990         * math/feholdexcpt.c: Likewise.
20991         * math/fesetenv.c: Likewise.
20992         * math/fesetround.c: Likewise.
20993         * math/feupdateenv.c: Likewise.
20994         * math/fgetexcptflg.c: Likewise.
20995         * math/fraiseexcpt.c: Likewise.
20996         * math/fsetexcptflg.c: Likewise.
20997         * math/ftestexcept.c: Likewise.
20998         * math/k_cosl.c: Likewise.
20999         * math/k_rem_pio2l.c: Likewise.
21000         * math/k_sinl.c: Likewise.
21001         * math/k_tanl.c: Likewise.
21002         * math/s_asinhl.c: Likewise.
21003         * math/s_atanl.c: Likewise.
21004         * math/s_cbrtl.c: Likewise.
21005         * math/s_erfl.c: Likewise.
21006         * math/s_expm1l.c: Likewise.
21007         * math/s_log1pl.c: Likewise.
21008         * math/s_tanhl.c: Likewise.
21009         * misc/acct.c: Likewise.
21010         * misc/brk.c: Likewise.
21011         * misc/chflags.c: Likewise.
21012         * misc/chroot.c: Likewise.
21013         * misc/fchflags.c: Likewise.
21014         * misc/fgetxattr.c: Likewise.
21015         * misc/flistxattr.c: Likewise.
21016         * misc/fremovexattr.c: Likewise.
21017         * misc/fsetxattr.c: Likewise.
21018         * misc/fsync.c: Likewise.
21019         * misc/ftruncate.c: Likewise.
21020         * misc/futimes.c: Likewise.
21021         * misc/futimesat.c: Likewise.
21022         * misc/getdomain.c: Likewise.
21023         * misc/getdtsz.c: Likewise.
21024         * misc/gethostid.c: Likewise.
21025         * misc/gethostname.c: Likewise.
21026         * misc/getloadavg.c: Likewise.
21027         * misc/getpagesize.c: Likewise.
21028         * misc/getsysstats.c: Likewise.
21029         * misc/getxattr.c: Likewise.
21030         * misc/gtty.c: Likewise.
21031         * misc/ioctl.c: Likewise.
21032         * misc/lgetxattr.c: Likewise.
21033         * misc/listxattr.c: Likewise.
21034         * misc/llistxattr.c: Likewise.
21035         * misc/lremovexattr.c: Likewise.
21036         * misc/lsetxattr.c: Likewise.
21037         * misc/lutimes.c: Likewise.
21038         * misc/madvise.c: Likewise.
21039         * misc/mincore.c: Likewise.
21040         * misc/mlock.c: Likewise.
21041         * misc/mlockall.c: Likewise.
21042         * misc/mmap.c: Likewise.
21043         * misc/mprotect.c: Likewise.
21044         * misc/msync.c: Likewise.
21045         * misc/munlock.c: Likewise.
21046         * misc/munlockall.c: Likewise.
21047         * misc/munmap.c: Likewise.
21048         * misc/preadv.c: Likewise.
21049         * misc/preadv64.c: Likewise.
21050         * misc/ptrace.c: Likewise.
21051         * misc/pwritev.c: Likewise.
21052         * misc/pwritev64.c: Likewise.
21053         * misc/readv.c: Likewise.
21054         * misc/reboot.c: Likewise.
21055         * misc/remap_file_pages.c: Likewise.
21056         * misc/removexattr.c: Likewise.
21057         * misc/revoke.c: Likewise.
21058         * misc/select.c: Likewise.
21059         * misc/setdomain.c: Likewise.
21060         * misc/setegid.c: Likewise.
21061         * misc/seteuid.c: Likewise.
21062         * misc/sethostid.c: Likewise.
21063         * misc/sethostname.c: Likewise.
21064         * misc/setregid.c: Likewise.
21065         * misc/setreuid.c: Likewise.
21066         * misc/setxattr.c: Likewise.
21067         * misc/sstk.c: Likewise.
21068         * misc/stty.c: Likewise.
21069         * misc/swapoff.c: Likewise.
21070         * misc/swapon.c: Likewise.
21071         * misc/sync.c: Likewise.
21072         * misc/syncfs.c: Likewise.
21073         * misc/syscall.c: Likewise.
21074         * misc/truncate.c: Likewise.
21075         * misc/ualarm.c: Likewise.
21076         * misc/usleep.c: Likewise.
21077         * misc/ustat.c: Likewise.
21078         * misc/utimes.c: Likewise.
21079         * misc/vhangup.c: Likewise.
21080         * misc/writev.c: Likewise.
21081         * posix/_exit.c: Likewise.
21082         * posix/alarm.c: Likewise.
21083         * posix/execve.c: Likewise.
21084         * posix/fexecve.c: Likewise.
21085         * posix/fork.c: Likewise.
21086         * posix/fpathconf.c: Likewise.
21087         * posix/getaddrinfo.c: Likewise.
21088         * posix/getegid.c: Likewise.
21089         * posix/geteuid.c: Likewise.
21090         * posix/getgid.c: Likewise.
21091         * posix/getgroups.c: Likewise.
21092         * posix/getlogin.c: Likewise.
21093         * posix/getlogin_r.c: Likewise.
21094         * posix/getpgid.c: Likewise.
21095         * posix/getpid.c: Likewise.
21096         * posix/getppid.c: Likewise.
21097         * posix/getresgid.c: Likewise.
21098         * posix/getresuid.c: Likewise.
21099         * posix/getsid.c: Likewise.
21100         * posix/getuid.c: Likewise.
21101         * posix/glob64.c: Likewise.
21102         * posix/nanosleep.c: Likewise.
21103         * posix/pathconf.c: Likewise.
21104         * posix/pause.c: Likewise.
21105         * posix/posix_madvise.c: Likewise.
21106         * posix/pread.c: Likewise.
21107         * posix/pread64.c: Likewise.
21108         * posix/pwrite.c: Likewise.
21109         * posix/pwrite64.c: Likewise.
21110         * posix/sched_getaffinity.c: Likewise.
21111         * posix/sched_getp.c: Likewise.
21112         * posix/sched_gets.c: Likewise.
21113         * posix/sched_primax.c: Likewise.
21114         * posix/sched_primin.c: Likewise.
21115         * posix/sched_rr_gi.c: Likewise.
21116         * posix/sched_setaffinity.c: Likewise.
21117         * posix/sched_setp.c: Likewise.
21118         * posix/sched_sets.c: Likewise.
21119         * posix/sched_yield.c: Likewise.
21120         * posix/setgid.c: Likewise.
21121         * posix/setlogin.c: Likewise.
21122         * posix/setpgid.c: Likewise.
21123         * posix/setresgid.c: Likewise.
21124         * posix/setresuid.c: Likewise.
21125         * posix/setsid.c: Likewise.
21126         * posix/setuid.c: Likewise.
21127         * posix/sleep.c: Likewise.
21128         * posix/spawni.c: Likewise.
21129         * posix/sysconf.c: Likewise.
21130         * posix/times.c: Likewise.
21131         * posix/wait.c: Likewise.
21132         * posix/wait3.c: Likewise.
21133         * posix/wait4.c: Likewise.
21134         * posix/waitpid.c: Likewise.
21135         * resolv/gai_sigqueue.c: Likewise.
21136         * resource/getpriority.c: Likewise.
21137         * resource/getrlimit.c: Likewise.
21138         * resource/getrusage.c: Likewise.
21139         * resource/nice.c: Likewise.
21140         * resource/setpriority.c: Likewise.
21141         * resource/setrlimit.c: Likewise.
21142         * resource/ulimit.c: Likewise.
21143         * rt/aio_cancel.c: Likewise.
21144         * rt/aio_fsync.c: Likewise.
21145         * rt/aio_read.c: Likewise.
21146         * rt/aio_sigqueue.c: Likewise.
21147         * rt/aio_suspend.c: Likewise.
21148         * rt/aio_write.c: Likewise.
21149         * rt/clock_getres.c: Likewise.
21150         * rt/clock_gettime.c: Likewise.
21151         * rt/clock_nanosleep.c: Likewise.
21152         * rt/clock_settime.c: Likewise.
21153         * rt/lio_listio.c: Likewise.
21154         * rt/mq_close.c: Likewise.
21155         * rt/mq_getattr.c: Likewise.
21156         * rt/mq_notify.c: Likewise.
21157         * rt/mq_open.c: Likewise.
21158         * rt/mq_receive.c: Likewise.
21159         * rt/mq_send.c: Likewise.
21160         * rt/mq_setattr.c: Likewise.
21161         * rt/mq_timedreceive.c: Likewise.
21162         * rt/mq_timedsend.c: Likewise.
21163         * rt/mq_unlink.c: Likewise.
21164         * rt/shm_open.c: Likewise.
21165         * rt/shm_unlink.c: Likewise.
21166         * rt/timer_create.c: Likewise.
21167         * rt/timer_delete.c: Likewise.
21168         * rt/timer_getoverr.c: Likewise.
21169         * rt/timer_gettime.c: Likewise.
21170         * rt/timer_settime.c: Likewise.
21171         * setjmp/__longjmp.c: Likewise.
21172         * setjmp/setjmp.c: Likewise.
21173         * signal/kill.c: Likewise.
21174         * signal/killpg.c: Likewise.
21175         * signal/raise.c: Likewise.
21176         * signal/sigaction.c: Likewise.
21177         * signal/sigaltstack.c: Likewise.
21178         * signal/sigblock.c: Likewise.
21179         * signal/sigignore.c: Likewise.
21180         * signal/sigintr.c: Likewise.
21181         * signal/signal.c: Likewise.
21182         * signal/sigpause.c: Likewise.
21183         * signal/sigpending.c: Likewise.
21184         * signal/sigqueue.c: Likewise.
21185         * signal/sigreturn.c: Likewise.
21186         * signal/sigset.c: Likewise.
21187         * signal/sigsetmask.c: Likewise.
21188         * signal/sigstack.c: Likewise.
21189         * signal/sigsuspend.c: Likewise.
21190         * signal/sigtimedwait.c: Likewise.
21191         * signal/sigvec.c: Likewise.
21192         * signal/sigwait.c: Likewise.
21193         * signal/sigwaitinfo.c: Likewise.
21194         * signal/sysv_signal.c: Likewise.
21195         * socket/accept.c: Likewise.
21196         * socket/accept4.c: Likewise.
21197         * socket/bind.c: Likewise.
21198         * socket/connect.c: Likewise.
21199         * socket/getpeername.c: Likewise.
21200         * socket/getsockname.c: Likewise.
21201         * socket/getsockopt.c: Likewise.
21202         * socket/isfdtype.c: Likewise.
21203         * socket/listen.c: Likewise.
21204         * socket/recv.c: Likewise.
21205         * socket/recvfrom.c: Likewise.
21206         * socket/recvmsg.c: Likewise.
21207         * socket/send.c: Likewise.
21208         * socket/sendmsg.c: Likewise.
21209         * socket/sendto.c: Likewise.
21210         * socket/setsockopt.c: Likewise.
21211         * socket/shutdown.c: Likewise.
21212         * socket/sockatmark.c: Likewise.
21213         * socket/socket.c: Likewise.
21214         * socket/socketpair.c: Likewise.
21215         * stdio-common/ctermid.c: Likewise.
21216         * stdio-common/cuserid.c: Likewise.
21217         * stdio-common/remove.c: Likewise.
21218         * stdio-common/rename.c: Likewise.
21219         * stdio-common/renameat.c: Likewise.
21220         * stdio-common/tempname.c: Likewise.
21221         * stdlib/getcontext.c: Likewise.
21222         * stdlib/makecontext.c: Likewise.
21223         * stdlib/setcontext.c: Likewise.
21224         * stdlib/swapcontext.c: Likewise.
21225         * stdlib/system.c: Likewise.
21226         * streams/fattach.c: Likewise.
21227         * streams/fdetach.c: Likewise.
21228         * streams/getmsg.c: Likewise.
21229         * streams/getpmsg.c: Likewise.
21230         * streams/putmsg.c: Likewise.
21231         * streams/putpmsg.c: Likewise.
21232         * sysdeps/unix/bsd/getpt.c: Likewise.
21233         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21234         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21235         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21237         Likewise.
21238         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21239         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21240         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21241         * sysvipc/msgctl.c: Likewise.
21242         * sysvipc/msgget.c: Likewise.
21243         * sysvipc/msgrcv.c: Likewise.
21244         * sysvipc/msgsnd.c: Likewise.
21245         * sysvipc/semctl.c: Likewise.
21246         * sysvipc/semget.c: Likewise.
21247         * sysvipc/semop.c: Likewise.
21248         * sysvipc/semtimedop.c: Likewise.
21249         * sysvipc/shmat.c: Likewise.
21250         * sysvipc/shmctl.c: Likewise.
21251         * sysvipc/shmdt.c: Likewise.
21252         * sysvipc/shmget.c: Likewise.
21253         * termios/tcdrain.c: Likewise.
21254         * termios/tcflow.c: Likewise.
21255         * termios/tcflush.c: Likewise.
21256         * termios/tcgetattr.c: Likewise.
21257         * termios/tcgetpgrp.c: Likewise.
21258         * termios/tcsendbrk.c: Likewise.
21259         * termios/tcsetattr.c: Likewise.
21260         * termios/tcsetpgrp.c: Likewise.
21261         * time/adjtime.c: Likewise.
21262         * time/clock.c: Likewise.
21263         * time/getitimer.c: Likewise.
21264         * time/gettimeofday.c: Likewise.
21265         * time/setitimer.c: Likewise.
21266         * time/settimeofday.c: Likewise.
21267         * time/stime.c: Likewise.
21268         * time/time.c: Likewise.
21270 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
21272         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21273         /usr/old/bin.
21275         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21276         instead of spaces.
21277         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21279 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
21281         [BZ #14796]
21282         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21283         FE_TONEAREST before applying Dekker multiplication and Knuth
21284         addition.  Clear inexact exceptions and check for exact zero
21285         results afterwards.
21286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21287         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21288         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21289         * math/libm-test.inc (fma_test): Add more tests.
21290         (fma_test_towardzero): Likewise.
21291         (fma_test_downward): Likewise.
21292         (fma_test_upward): Likewise.
21293         * sysdeps/generic/math_private.h (default_libc_fesetround): New
21294         function.
21295         (libc_fesetround): New macro.
21296         (libc_fesetroundf): Likewise.
21297         (libc_fesetroundl): Likewise.
21298         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21299         function.
21300         (libc_fesetround_387): Likewise.
21301         (libc_fesetroundf): New macro.
21302         (libc_fesetround): Likewise.
21303         (libc_fesetroundl): Likewise.
21304         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21305         function.
21306         (libc_fesetroundf): New macro.
21307         (libc_fesetround): Likewise.
21308         (libc_fesetroundl): Likewise.
21309         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21310         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21311         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21312         libm_hidden_ver.
21313         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21314         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21315         libm_hidden_def.
21316         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21317         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21318         libm_hidden_ver.
21319         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21320         libm_hidden_def.
21322         [BZ #3439]
21323         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21324         integer constant usable in #if and use that to give value to enum
21325         constant.
21326         (FE_DIVBYZERO): Likewise.
21327         (FE_UNDERFLOW): Likewise.
21328         (FE_OVERFLOW): Likewise.
21329         (FE_INVALID): Likewise.
21330         (FE_INVALID_SNAN): Likewise.
21331         (FE_INVALID_ISI): Likewise.
21332         (FE_INVALID_IDI): Likewise.
21333         (FE_INVALID_ZDZ): Likewise.
21334         (FE_INVALID_IMZ): Likewise.
21335         (FE_INVALID_COMPARE): Likewise.
21336         (FE_INVALID_SOFTWARE): Likewise.
21337         (FE_INVALID_SQRT): Likewise.
21338         (FE_INVALID_INTEGER_CONVERSION): Likewise.
21339         (FE_TONEAREST): Likewise.
21340         (FE_TOWARDZERO): Likewise.
21341         (FE_UPWARD): Likewise.
21342         (FE_DOWNWARD): Likewise.
21343         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21344         (FE_DIVBYZERO): Likewise.
21345         (FE_OVERFLOW): Likewise.
21346         (FE_UNDERFLOW): Likewise.
21347         (FE_INEXACT): Likewise.
21348         (FE_TONEAREST): Likewise.
21349         (FE_DOWNWARD): Likewise.
21350         (FE_UPWARD): Likewise.
21351         (FE_TOWARDZERO): Likewise.
21352         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21353         (FE_UNDERFLOW): Likewise.
21354         (FE_OVERFLOW): Likewise.
21355         (FE_DIVBYZERO): Likewise.
21356         (FE_INVALID): Likewise.
21357         (FE_TONEAREST): Likewise.
21358         (FE_TOWARDZERO): Likewise.
21359         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21360         (FE_OVERFLOW): Likewise.
21361         (FE_UNDERFLOW): Likewise.
21362         (FE_DIVBYZERO): Likewise.
21363         (FE_INEXACT): Likewise.
21364         (FE_TONEAREST): Likewise.
21365         (FE_TOWARDZERO): Likewise.
21366         (FE_UPWARD): Likewise.
21367         (FE_DOWNWARD): Likewise.
21368         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21369         (FE_DIVBYZERO): Likewise.
21370         (FE_OVERFLOW): Likewise.
21371         (FE_UNDERFLOW): Likewise.
21372         (FE_INEXACT): Likewise.
21373         (FE_TONEAREST): Likewise.
21374         (FE_DOWNWARD): Likewise.
21375         (FE_UPWARD): Likewise.
21376         (FE_TOWARDZERO): Likewise.
21378 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
21380         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21382 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
21384         * scripts/cross-test-ssh.sh (command): Use newlines to separate
21385         commands.  Quote $PWD.
21386         (blacklist_exports): Don't use remove_newlines.  Replace "declare
21387         -x" by "export".
21388         (remove_newlines): Remove.
21390 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
21392         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21393         * stdlib/stdlib.h (atof): Moved to ...
21394         * include/bits/stdlib-float.h: Here.  New file.
21395         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21396         * stdlib/bits/stdlib-float.h: New file.
21397         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21398         -mno-sse -mno-mmx.
21399         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21400         <xmmintrin.h>.
21402 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21404         * conform/conformtest.pl (@headers): Add fenv.h.
21405         * conform/data/fenv.h-data: New file.
21406         * include/fenv.h [_ISOMAC]: Disable all contents of file except
21407         include of <math/fenv.h>.
21409         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21410         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21411         && !UNIX98].  Enables tests for XOPEN2K8.
21412         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21413         POSIX2008]: Likewise.
21415         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21416         (struct rusage): Do not expect type or its members.
21418         [BZ #3439]
21419         * math/math.h (FP_NAN): Define macro to integer constant usable in
21420         #if and use that to give value to enum constant.
21421         (FP_INFINITE): Likewise.
21422         (FP_ZERO): Likewise.
21423         (FP_SUBNORMAL): Likewise.
21424         (FP_NORMAL): Likewise.
21426 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
21428         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21429         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21430         arguments.
21432 2012-11-02  Roland McGrath  <roland@hack.frob.com>
21434         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21435         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21436         autoconf-time if not.
21437         * configure.in: Remove AC_PREREQ.
21439 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21441         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21442         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21443         of the internal implementation.
21445 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21447         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21448         except include of <misc/sys/syslog.h>.
21450 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21453         function returns with a NULL context exit with zero.
21455 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21457         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21459 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
21461         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21462         (run_program_cmd): This.
21463         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21464         (tst_langinfo): New variable.  Use it.
21466 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
21468         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21469         floating point opcodes.
21471 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21473         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21474         variable.
21476         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21478         * sysdeps/mach/hurd/powerpc: Remove directory.
21479         * sysdeps/mach/powerpc: Likewise.
21481 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21483         * scripts/check-local-headers.sh: Ignore c++ headers.
21485 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21487         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21488         __libc_cleanup_region_start argument.
21490 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
21492         [BZ #14784]
21493         [BZ #14785]
21494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21495         x * y using scaling, not as x * y + z.
21496         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21497         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21498         * math/libm-test.inc (fma_test): Add more tests.
21499         (fma_test_towardzero): Likewise.
21500         (fma_test_downward): Likewise.
21501         (fma_test_upward): Likewise.
21503 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21505         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21507 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21509         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21510         New variable.
21512 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
21514         * rt/tst-shm.c (worker): Correct checking for mmap failure.
21516 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21519         Fix sort order.
21520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21521         Likewise.
21523 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21526         Fix the order of the list for glibc 2.17.
21527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21528         Likewise.
21530 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21534 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21536         [BZ #14610]
21537         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21538         for low part of x being zero before using __atanl (y).
21539         * math/libm-test.inc (atan2_test): Add another test.
21541         * manual/install.texi (Configuring and compiling): Document
21542         general use of test-wrapper and test-wrapper-env.
21543         * INSTALL: Regenerated.
21545         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21546         (__fma): Do not extract and scale down low bits on after-rounding
21547         systems when result rounded to normal precision would have normal
21548         exponent.
21549         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21550         (__fmal): Do not extract and scale down low bits on after-rounding
21551         systems when result rounded to normal precision would have normal
21552         exponent.
21553         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21554         (__fmal): Do not extract and scale down low bits on after-rounding
21555         systems when result rounded to normal precision would have normal
21556         exponent.
21557         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21558         macro.
21559         (fma_test): Add more tests.
21560         (fma_test_towardzero): Likewise.
21561         (fma_test_downward): Likewise.
21562         (fma_test_upward): Likewise.
21564 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
21566         * sysdeps/i386/tininess.h: Renamed to ...
21567         * sysdeps/x86/tininess.h: This.
21568         * sysdeps/x86_64/tininess.h: Removed.
21570 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21572         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21573         input.  Use $(build-program-cmd).
21574         ($(objpfx)tst-array1-static.out): Likewise.
21575         ($(objpfx)tst-array2.out): Likewise.
21576         ($(objpfx)tst-array3.out): Likewise.
21577         ($(objpfx)tst-array4.out): Likewise.
21578         ($(objpfx)tst-array5.out): Likewise.
21579         ($(objpfx)tst-array5-static.out): Likewise.
21581 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
21583         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21584         if defined.
21586         * nss/nsswitch.h (nss_interface_function): Provide new
21587         macro for use with NSS functions.
21588         * grp/initgroups.c: Use new macro.
21589         * nss/getXXbyYY.c: Likewise.
21590         * nss/getXXbyYY_r.c: Likewise.
21591         * nss/getXXent.c: Likewise.
21592         * nss/getXXent_r.c: Likewise.
21593         * sysdeps/posix/getaddrinfo.c: Likewise.
21595 2012-10-30  Andreas Jaeger  <aj@suse.de>
21597         * po/ru.po: Update Russion translation from translation project.
21599 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21601         [BZ #14152]
21602         [BZ #14783]
21603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21604         result and shift together with sticky bit instead of replicating
21605         round-to-nearest rounding.
21606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21607         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21608         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
21609         missing underflow exceptions.
21610         (fma_test_towardzero): Add more tests.
21611         (fma_test_downward): Likewise.
21612         (fma_test_upward): Likewise.
21614         [BZ #14047]
21615         * sysdeps/generic/tininess.h: New file.
21616         * sysdeps/i386/tininess.h: Likewise.
21617         * sysdeps/sh/tininess.h: Likewise.
21618         * sysdeps/x86_64/tininess.h: Likewise.
21619         * stdlib/tst-strtod-underflow.c: Likewise.
21620         * stdlib/tst-tininess.c: Likewise.
21621         * stdlib/strtod_l.c: Include <tininess.h>.
21622         (round_and_return): Do not set errno for exact underflow cases.
21623         Force an underflow exception when setting errno for underflow.
21624         Determine underflow based on rounding to normal precision if
21625         TININESS_AFTER_ROUNDING.
21626         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21627         ERANGE for exact underflow cases.
21628         * stdlib/Makefile (tests): Add tst-tininess and
21629         tst-strtod-underflow.
21630         ($(objpfx)tst-tininess): Use $(link-libm).
21631         ($(objpfx)tst-strtod-underflow): Likewise.
21633 2012-10-30  Andreas Jaeger  <aj@suse.de>
21635         [BZ#14767]
21636         * elf/Makefile (tests): Remove conditional for have-initfini-array
21637         since this is now always required and the variable does not exist
21638         anymore.
21639         (tests-static): Likewise.
21640         (modules-names): Likewise.
21642         * po/eo.po: Add Esperanto translation from translation project.
21644         * elf/tst-array1.c (fini_array): Make writeable so that it can be
21645         merged with constructor/destructor.
21646         (init_array): Likewise.
21647         * elf/tst-array2dep.c (fini_array): Likewise.
21648         (init_array): Likewise.
21650 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
21652         * manual/message.texi: Delete @cartouche tags.
21654 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
21656         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21657         EOPNOTSUPP.
21658         * sysdeps/mach/hurd/fsync.c: Likewise.
21660         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21661         [_POSIX_REALTIME_SIGNALS]: Change condition to
21662         [_POSIX_REALTIME_SIGNALS > 0].
21664 2012-10-27  Andreas Jaeger  <aj@suse.de>
21666         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21667         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21668         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21669         [__WORDSIZE != 64]: Likewise.
21671 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
21673         *  iconvdata/tst-table.sh: Remove ${SHELL}.
21674         *  iconvdata/tst-tables.sh: Likewise.
21676 2012-10-25  David S. Miller  <davem@davemloft.net>
21678         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21679         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21680         of strtoull.
21682         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21683         ifunc-impl-list.c
21684         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21685         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21686         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21687         file.
21689 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21691         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21692         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21693         __getdirentries.
21695 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21696             Jim Blandy  <jimb@codesourcery.com>
21698         * scripts/cross-test-ssh.sh: New file.
21699         * manual/install.texi (Configuring and compiling): Document use of
21700         cross-test-ssh.sh.
21701         * INSTALL: Regenerated.
21703 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
21705         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21706         EOPNOTSUPP.
21708 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21710         * Makeconfig (run-program-prefix): Fix comment.
21712 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21713             Jim Blandy  <jimb@codesourcery.com>
21715         * Makeconfig (test-wrapper): New variable,
21716         (test-wrapper-env): Likewise.
21717         [$(cross-compiling) = yes && $(test-wrapper) != ""]
21718         (run-built-tests): Define to yes.
21719         (run-program-prefix): Use $(test-wrapper).
21720         (built-program-cmd): Likewise.
21721         * Rules (make-test-out): Use $(test-wrapper-env) and
21722         $(host-built-program-cmd).
21723         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21724         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21725         tst-pathopt.sh.
21726         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21727         $(test-wrapper-env) to tst-rtld-load-self.sh.
21728         ($(objpfx)order2.out): Use $(test-wrapper).
21729         ($(objpfx)tst-initorder.out): Likewise.
21730         ($(objpfx)tst-initorder2.out): Likewise.
21731         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21732         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21733         (test_wrapper_env): New variable.  Use it to run ld.so.
21734         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21735         Use it to run ld.so.
21736         (test_wrapper_env): Likewise.
21737         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21738         $(test-wrapper) to run-iconv-test.sh.
21739         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21740         (ICONV): Use $test_wrapper.
21741         * posix/Makefile ($(objpfx)globtest.out): Pass
21742         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21743         globtest.sh, not $(run-program-prefix).
21744         * posix/globtest.sh (run_via_rtld_prefix): New variable.
21745         (test_wrapper): Likewise.
21746         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
21747         set together with run_via_rtld_prefix.
21748         (run_program_prefix): Define in terms of test_wrapper and
21749         run_via_rtld_prefix.
21751 2012-10-24  Roland McGrath  <roland@hack.frob.com>
21753         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21754         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21755         Targets removed.
21757         [BZ #14743]
21758         * include/time.h: Remove librt_hidden_proto (clock_gettime).
21759         Declare __clock_getres, __clock_gettime, __clock_settime,
21760         __clock_nanosleep, and __clock_getcpuclockid.
21761         * rt/clock_gettime.c: Define __clock_gettime as an alias.
21762         Remove librt_hidden_def (clock_gettime).
21763         * sysdeps/unix/clock_gettime.c: Likewise.
21764         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21765         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21766         * rt/clock_getres.c: Define __clock_getres as an alias.
21767         * sysdeps/posix/clock_getres.c: Likewise.
21768         * rt/clock_settime.c: Define __clock_settime as an alias.
21769         * sysdeps/unix/clock_settime.c: Likewise.
21770         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21771         * sysdeps/unix/clock_nanosleep.c: Likewise.
21772         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21773         * rt/clock-compat.c: New file.
21774         * rt/Makefile (librt-routines): Add clock-compat and move
21775         $(clock-routines) to ...
21776         (routines): ... here, new variable.
21777         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21778         Don't add get_clockfreq here.
21779         * rt/Versions (libc: GLIBC_2.17): New version set.
21780         Add clock_* symbols here.
21781         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
21782         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21783         (GLIBC_2.17): Add clock_* symbols.
21784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21786         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21788         Likewise.
21789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21790         Likewise.
21791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21795         * NEWS: Mention the move.
21797         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21798         Use __open, __read, __close rather than their public counterparts.
21799         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21800         (__get_clockfreq_via_cpuinfo): Likewise.
21801         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21802         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21804         * config.h.in (HAVE_IFUNC): New #undef.
21805         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21806         was successful.
21807         * configure: Regenerated.
21809 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21811         * configure.in: Move READELF check to start of file.
21812         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21813         libc_cv_asm_gnu_indirect_function in the process.
21814         * configure: Regenerated.
21816 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21818         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21819         send the output to /dev/null.
21820         (libc_cv_cc_with_libunwind): Likewise.
21821         (libc_cv_as_noexecstack): Likewise.
21822         * configure: Regenerate.
21824 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21826         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21828         * posix/globtest.sh (TMPDIR): Do not set.
21829         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21830         (testout): Likewise.
21832 2012-10-24  Andreas Jaeger  <aj@suse.de>
21834         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21835         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21836         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21837         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21838         posix_fadvise64, posix_fallocate64.
21840         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21841         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21842         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21843         Likewise.
21844         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21845         Likewise.
21846         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21848         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21849         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21850         <bits/fcntl-linux.h>.
21851         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21854         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21855         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21856         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21857         [__WORDSIZE != 64]: Likewise.
21859 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21861         * Makeconfig (run-built-tests): New variable.
21862         * Rules [$(cross-compiling) = yes]: Change condition to
21863         [$(run-built-tests) = no].
21864         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21865         to [$(run-built-tests) = yes].
21866         * elf/Makefile [$(cross-compiling) = no]: Likewise
21867         * grp/Makefile [$(cross-compiling) = no]: Likewise.
21868         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21869         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21870         * intl/Makefile [$(cross-compiling) = no]: Likewise.
21871         * io/Makefile [$(cross-compiling) = no]: Likewise.
21872         * libio/Makefile [$(cross-compiling) = no]: Likewise.
21873         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21874         * misc/Makefile [$(cross-compiling) = no]: Likewise.
21875         * posix/Makefile [$(cross-compiling) = no]: Likewise.
21876         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21877         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21878         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21879         * string/Makefile [$(cross-compiling) = no]: Likewise.
21881         * posix/Makefile ($(objpfx)globtest.out): Pass
21882         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21883         $(rtld-installed-name).
21884         * posix/globtest.sh (elf_objpfx): Remove variable.
21885         (rtld_installed_name): Likewise.
21886         (library_path): Likewise.
21887         (run_program_prefix): New variable.  Use for running globtest
21888         binary.
21890 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
21891             Joseph Myers  <joseph@codesourcery.com>
21893         * Makeconfig (host-built-program-cmd): New variable.
21894         * elf/Makefile (tst-stackguard1-ARGS): Use
21895         $(host-built-program-cmd).
21896         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21897         (tst-spawn-ARGS): Likewise.
21898         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21900 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21901             Jim Blandy  <jimb@codesourcery.com>
21903         * Makeconfig (run-via-rtld-prefix): New variable.
21904         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21905         (built-program-cmd): Likewise.
21907 2012-10-22  Andreas Jaeger  <aj@suse.de>
21909         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21910         __O_RSYNC if it exists, otherwise to O_SYNC.
21912 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
21913             Joseph Myers  <joseph@codesourcery.com>
21915         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21916         /dev/null.
21917         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21918         from /dev/null
21919         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21920         /dev/null.
21922 2012-10-22  Andreas Jaeger  <aj@suse.de>
21924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21925         Define always.
21926         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21929         bits/fcntl-linux.h.
21931         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21932         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21934         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21935         to __O_LARGEFILE.
21936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21937         to __O_LARGEFILE.
21939 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
21940             Joseph Myers  <joseph@codesourcery.com>
21942         * config.make.in (NM): New variable.
21944 2012-10-21  Andreas Jaeger  <aj@suse.de>
21946         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21947         definitions and declarations that are provided by
21948         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21950 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21952         [BZ #14683]
21953         * elf/Makefile (tests-static): Add tst-leaks1-static.
21954         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21955         ($(objpfx)tst-leaks1-static): New rule.
21956         ($(objpfx)tst-leaks1-static-mem): Likewise.
21957         (tst-leaks1-static-ENV): New macro.
21958         * elf/dl-open.c (dl_open_worker): Check the main application
21959         only if SHARED is defined.
21960         * elf/tst-leaks1-static.c: New file.
21962 2012-10-20  Andreas Jaeger  <aj@suse.de>
21964         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21965         generic values for Linux.
21966         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21967         and declarations that are provided by <bits/fcntl-linux.h> and
21968         include <bits/fcntl-linux.h>.
21969         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21970         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21972 2012-10-20  Roland McGrath  <roland@hack.frob.com>
21974         * io/fcntl.h: Move include of <bits/types.h> to the top and
21975         include it unconditionally.
21977 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21979         * wcsmbs/Makefile (tests-ifunc): New variable.
21980         (tests): Add $(tests-ifunc).
21981         * wcsmbs/test-wcschr-ifunc.c: New file.
21982         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21983         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21984         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21985         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21986         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21988         * string/Makefile (tests-ifunc): New variable.
21989         (tests): Add $(tests-ifunc).
21990         * string/test-memccpy.c (TEST_NAME): New macro.
21991         * string/test-memchr.c (TEST_NAME): Likewise.
21992         * string/test-memcmp.c (TEST_NAME): Likewise.
21993         * string/test-memcpy.c (TEST_NAME): Likewise.
21994         * string/test-memmem.c (TEST_NAME): Likewise.
21995         * string/test-memmove.c (TEST_NAME): Likewise.
21996         * string/test-memset.c (TEST_NAME): Likewise.
21997         * string/test-rawmemchr.c (TEST_NAME): Likewise.
21998         * string/test-stpcpy.c (TEST_NAME): Likewise.
21999         * string/test-stpncpy.c (TEST_NAME): Likewise.
22000         * string/test-strcasecmp.c (TEST_NAME): Likewise.
22001         * string/test-strcasestr.c (TEST_NAME): Likewise.
22002         * string/test-strcat.c (TEST_NAME): Likewise.
22003         * string/test-strchr.c (TEST_NAME): Likewise.
22004         * string/test-strcmp.c(TEST_NAME): Likewise.
22005         * string/test-strcpy.c (TEST_NAME): Likewise.
22006         * string/test-strcspn.c (TEST_NAME): Likewise.
22007         * string/test-strlen.c (TEST_NAME): Likewise.
22008         * string/test-strncasecmp.c (TEST_NAME): Likewise.
22009         * string/test-strncmp.c (TEST_NAME): Likewise.
22010         * string/test-strncpy.c (TEST_NAME): Likewise.
22011         * string/test-strnlen.c (TEST_NAME): Likewise.
22012         * string/test-strpbrk.c (TEST_NAME): Likewise.
22013         * string/test-strrchr.c (TEST_NAME): Likewise.
22014         * string/test-strspn.c (TEST_NAME): Likewise.
22015         * string/test-strstr.c (TEST_NAME): Likewise.
22016         * string/test-bcopy-ifunc.c: New file.
22017         * string/test-bzero-ifunc.c: Likewise.
22018         * string/test-memccpy-ifunc.c: Likewise.
22019         * string/test-memchr-ifunc.c: Likewise.
22020         * string/test-memcmp-ifunc.c: Likewise.
22021         * string/test-memcpy-ifunc.c: Likewise.
22022         * string/test-memmem-ifunc.c: Likewise.
22023         * string/test-memmove-ifunc.c: Likewise.
22024         * string/test-mempcpy-ifunc.c: Likewise.
22025         * string/test-memset-ifunc.c: Likewise.
22026         * string/test-rawmemchr-ifunc.c: Likewise.
22027         * string/test-stpcpy-ifunc.c: Likewise.
22028         * string/test-stpncpy-ifunc.c: Likewise.
22029         * string/test-strcasecmp-ifunc.c: Likewise.
22030         * string/test-strcasestr-ifunc.c: Likewise.
22031         * string/test-strcat-ifunc.c: Likewise.
22032         * string/test-strchr-ifunc.c: Likewise.
22033         * string/test-strchrnul-ifunc.c: Likewise.
22034         * string/test-strcmp-ifunc.c: Likewise.
22035         * string/test-strcpy-ifunc.c: Likewise.
22036         * string/test-strcspn-ifunc.c: Likewise.
22037         * string/test-strlen-ifunc.c: Likewise.
22038         * string/test-strncasecmp-ifunc.c: Likewise.
22039         * string/test-strncat-ifunc.c: Likewise.
22040         * string/test-strncmp-ifunc.c: Likewise.
22041         * string/test-strncpy-ifunc.c: Likewise.
22042         * string/test-strnlen-ifunc.c: Likewise.
22043         * string/test-strpbrk-ifunc.c: Likewise.
22044         * string/test-strrchr-ifunc.c: Likewise.
22045         * string/test-strspn-ifunc.c: Likewise.
22046         * string/test-strstr-ifunc.c: Likewise.
22048         * debug/Makefile (tests-ifunc): New variable.
22049         (tests): Add $(tests-ifunc).
22050         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22051         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22052         * debug/test-stpcpy_chk-ifunc.c: New file.
22053         * debug/test-strcpy_chk-ifunc.c: Likewise.
22055 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22057         [BZ #13601]
22058         * elf/dl-load.c (open_verify): Retry read if the entire ELF
22059         header is not read in.
22061 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
22063         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
22064         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
22065         directly.  Pass built executable to script as
22066         $(built-program-cmd).
22067         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
22068         $testprogram without using LD_LIBRARY_PATH and $ldso.
22070         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22071         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22072         $(rtld-installed-name).
22073         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22074         (rtld_installed_name): Likewise.
22075         (library_path): Likewise.
22076         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
22077         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22078         $(run-program-prefix) to tst-tables.sh.
22079         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
22080         it to run tst-table-from and tst-table-to.
22081         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22082         Pass it to tst-table.sh.
22083         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22084         $(run-program-prefix) to tst-gettext.sh.
22085         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22086         tst-translit.sh.
22087         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22088         tst-gettext2.sh.
22089         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
22090         to run tst-gettext.
22091         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
22092         to run tst-gettext2.
22093         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
22094         to run tst-translit.
22095         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22096         $(run-program-prefix) to tst-mtrace.sh.
22097         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
22098         to run tst-mtrace.
22099         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22100         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22101         $(rtld-installed-name).
22102         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22103         (rtld_installed_name): Likewise.
22104         (run_program_prefix): New variable.  Use it to run wordexp-test.
22106         * Makeconfig (ARCH): Remove all definitions.
22107         (machine): Likewise.
22108         [ARCH]: Remove conditional code.
22109         [!objdir]: Give error.
22110         [!objdir] (objpfx): Remove.
22111         [!objdir] (common-objpfx): Likewise.
22112         [!objdir] (common-objdir): Likewise.
22113         * configure.in (config_makefile): Remove.  Hardcode Makefile in
22114         AC_CONFIG_FILES call.
22115         * configure: Regenerated.
22117         [BZ #13888]
22118         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22119         or TMPDIR.
22120         (testout): Likewise.
22122         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22123         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22124         $(rtld-installed-name).
22125         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22126         (rtld_installed_name): Likwise.
22127         (runit): Remove function.
22128         (run_getconf): New variable,  Use it for running getconf binary.
22130 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
22132         [BZ #14716]
22133         * string/test-memmem.c (check_result): New function.
22134         (do_one_test): Use it.
22135         (check1): New function.
22136         (test_main): Use it.
22138 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
22140         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22142 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
22144         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22145         (_G_LSEEK64): Likewise.
22146         (_G_MMAP64): Likewise.
22147         (_G_FSTAT64): Likewise.
22148         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22149         (_G_LSEEK64): Likewise.
22150         (_G_MMAP64): Likewise.
22151         (_G_FSTAT64): Likewise.
22152         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22153         unconditional.  Call __mmap64 directly.
22154         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22155         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
22156         __lseek64 directly.
22157         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22158         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
22159         __mmap64 directly.
22160         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22161         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22162         __lseek64 directly.
22163         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22164         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
22165         __lseek64 directly.
22166         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22167         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
22168         __lseek64 directly.
22169         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22170         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
22171         __fxstat64 directly.
22172         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22173         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22174         unconditional.
22175         (freopen64) [!_G_OPEN64]: Remove conditional code.
22176         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22177         unconditional.
22178         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22179         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22180         unconditional.
22181         (ftello64) [!_G_LSEEK64]: Remove conditional code.
22182         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22183         unconditional.
22184         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22185         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22186         unconditional.
22187         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22188         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22189         unconditional.
22190         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22191         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22192         unconditional.
22193         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22194         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22195         unconditional.
22196         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22198 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22200         [BZ #12140]
22201         * manual/memory.texi (Malloc Tunable Parameters): Add note
22202         about free list pointers overwriting some perturb bytes.
22203         Wording suggested by Roland McGrath.
22205 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
22207         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22208         (lgamma_test): Likewise.
22209         (tgamma_test): Likewise.
22211 2012-10-16  Florian Weimer  <fweimer@redhat.com>
22213         [BZ #14700]
22214         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22215         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22217 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
22219         * NEWS: Mention BZ #14716.
22220         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22221         when removing AVAILABLE1_USES_J macro.
22223 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
22225         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22226         (__bswap_64): __uint64_t for unsigned 64-bit int.
22228 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
22230         * include/string.h (memmem): Declare libc hidden alias.
22231         * string/memmem.c (memmem): Define libc hidden alias.
22232         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22233         __read, __close instead of open, read, close.
22235 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
22237         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22238         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22239         global and hidden.
22240         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22241         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22242         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22243         Likewise.
22244         (__rawmemchr_sse2): Likewise.
22245         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22246         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22247         (__strchr_sse2): Likewise.
22248         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22249         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22250         (__strcasecmp_sse2): Likewise.
22251         (__strncasecmp_sse2): Likewise.
22252         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22253         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22254         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22255         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22256         (__strrchr_sse2): Likewise.
22257         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22258         ifunc-impl-list.c.
22259         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22260         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22261         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22262         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22263         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22264         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22265         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22266         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22267         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22268         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22269         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22270         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22271         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22272         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22273         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22274         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22275         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22276         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22277         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22278         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22279         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22280         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22281         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22282         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22283         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22284         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22285         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22286         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22287         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22288         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22290         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22291         global and hidden.
22292         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22293         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22294         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22295         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22296         Likewise.
22297         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22298         Likewise.
22299         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22300         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22301         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22302         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22303         ifunc-impl-list.c.
22304         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22305         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22306         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22307         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22308         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22309         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22310         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22311         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22312         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22313         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22314         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22315         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22316         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22317         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22318         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22319         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22320         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22321         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22322         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22323         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22324         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22325         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22326         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22327         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22328         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22329         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22330         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22331         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22332         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22333         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22334         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22335         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22336         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22337         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22338         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22339         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22340         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22341         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22342         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22343         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22344         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22346         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22347         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22348         * include/ifunc-impl-list.h: New file.
22349         * misc/ifunc-impl-list.c: Likewise.
22350         * misc/Makefile (routines): Add ifunc-impl-list.
22351         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22352         * string/test-string.h: Include <ifunc-impl-list.h>.
22353         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22354         impl_array): New variables.
22355         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22356         are defined.
22357         (test_init): Call __libc_ifunc_impl_list to initialize
22358         func_list if TEST_IFUNC and TEST_NAME are defined.
22360         * string/Makefile (strop-tests): Add bcopy and bzero.
22361         * string/test-bcopy.c: New file.
22362         * string/test-bzero.c: Likewise.
22363         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22364         defined.
22365         * string/test-memset.c: Support bzero test if TEST_BZERO is
22366         defined.
22367         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22368         __libc_memmove.
22369         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22370         __libc_memset.
22371         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22372         of memset.
22374 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
22376         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22377         * configure: Regenerated.
22379         * Makeconfig (+link-static-before-libc): Don't include
22380         $(link-static-libc).
22382         * libio/libio.h (_IO_pos_t): Remove.
22384 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22386         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
22387         McGrath.
22389 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22391         * crypt/crypt-entry.c: Include fips-private.h.
22392         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22393         * crypt/md5c-test.c (main): Tolerate disabled MD5.
22394         * sysdeps/unix/sysv/linux/fips-private.h: New file.
22395         * sysdeps/generic/fips-private.h: New file, dummy fallback.
22397 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22399         * crypt/crypt-private.h: Include stdbool.h.
22400         (_ufc_setup_salt_r): Return bool.
22401         * crypt/crypt-entry.c: Include errno.h.
22402         (__crypt_r): Return NULL with EINVAL for bad salt.
22403         * crypt/crypt_util.c (bad_for_salt): New.
22404         (_ufc_setup_salt_r): Check that salt is long enough and within
22405         the specified alphabet.
22406         * crypt/badsalttest.c: New file.
22407         * crypt/Makefile (tests): Add it.
22408         ($(objpfx)badsalttest): New.
22410 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
22412         * NEWS: Add entry for BZ #14602.
22414 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22416         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22417         type-generic.
22418         * math/libm-test.inc: Update comment listing what functions and
22419         macros are tested.
22420         (isgreater_test): New function.
22421         (isgreaterequal_test): Likewise.
22422         (isless_test): Likewise.
22423         (islessequal_test): Likewise.
22424         (islessgreater_test): Likewise.
22425         (isunordered_test): Likewise.
22426         (main): Call the new functions.
22428 2012-10-09  Roland McGrath  <roland@hack.frob.com>
22430         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22431         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22432         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22433         * sysdeps/i386/configure: Regenerated.
22434         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22435         * sysdeps/mach/configure: Regenerated.
22436         * sysdeps/mach/hurd/configure: Regenerated.
22437         * sysdeps/powerpc/configure: Regenerated.
22438         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22439         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22440         * sysdeps/s390/s390-32/configure: Regenerated.
22441         * sysdeps/s390/s390-64/configure: Regenerated.
22442         * sysdeps/sh/configure: Regenerated.
22443         * sysdeps/sparc/configure: Regenerated.
22444         * sysdeps/unix/sysv/linux/configure: Regenerated.
22445         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22446         * sysdeps/x86_64/configure: Regenerated.
22448         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22449         defined.  Don't check if MAP is NULL.
22451 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22453         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22454         (_G_stat64): Likewise.
22455         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22456         (_G_stat64): Likewise.
22457         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22458         instead of struct _G_stat64.
22459         * libio/fileops.c (mmap_remap_check): Likewise.
22460         (decide_maybe_mmap): Likewise.
22461         (_IO_new_file_seekoff): Likewise.
22462         (_IO_file_stat): Likewise.
22463         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22464         _G_off64_t.
22465         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22466         instead of struct _G_stat64.
22467         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22469 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
22471         [BZ #14602]
22472         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22473         Replace with ...
22474         (CHECK_EOL): New macro.
22475         (two_way_short_needle): Check beginning of haystack for EOL.  Use
22476         CHECK_EOL.
22477         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22478         Replace with CHECK_EOL.
22479         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22480         Replace with CHECK_EOL.
22482 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
22484         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22485         type-generic.
22486         * math/libm-test.inc: Update comment listing what functions and
22487         macros are tested.
22488         (finite_test): New function.
22489         (isinf_test): Likewise.
22490         (isnan_test): Likewise.
22491         (fpclassify_test): Test subnormal input.
22492         (isfinite_test): Likewise.
22493         (isnormal_test): Likewise.
22494         (main): Call the new functions.
22496 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
22498         [BZ #14660]
22499         * Makerules (%.dynsym): Force C locale when running
22500         $(OBJDUMP) --dynamic-syms.
22502 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
22504         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22505         <stdint.h>.
22507 2012-10-06  David S. Miller  <davem@davemloft.net>
22509         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22510         upper 32-bits of the length value in %o2 since we use branch-on-register
22511         tests which consider the entire 64-bit register.
22513 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
22515         * string/test-strstr.c (check2): Add a test for page boundary.
22517 2012-10-05  David S. Miller  <davem@davemloft.net>
22519         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22520         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22521         file.
22522         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22523         sysdep_routines.
22524         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22525         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22526         and bzero when HWCAP_SPARC_CRYPTO is present.
22528 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
22530         [BZ #14602]
22531         * string/test-strstr.c (check2): New function.
22532         (test_main): Call check2.
22534         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22535         and bug-strchr1.
22536         * string/bug-strcasestr1.c (do_test): Moved to ...
22537         * string/test-strcasestr.c (check1): Here.  New function.
22538         (do_one_test): Break out result checking code into ...
22539         (check_result): This.  New function.
22540         (do_one_test): Call check_result.
22541         (test_main): Call check1.
22542         * string/bug-strchr1.c (do_test): Moved to ...
22543         * string/test-strchr.c (check1): Here.  New function.
22544         (do_one_test): Break out result checking code into ...
22545         (check_result): This.  New function.
22546         (do_one_test): Call check_result.
22547         (test_main): Call check1.
22548         * string/bug-strstr1.c (main): Moved to ...
22549         * string/test-strstr.c (check1): Here.  New function.
22550         (do_one_test): Break out result checking code into ...
22551         (check_result): This.  New function.
22552         (do_one_test): Call check_result.
22553         (test_main): Call check1.
22554         * string/bug-strcasestr1.c: Removed.
22555         * string/bug-strchr1.c: Likewise.
22556         * string/bug-strstr1.c: Likewise.
22558         * elf/Makefile (dl-routines): Add hwcaps.
22559         * elf/dl-support.c (_dl_important_hwcaps): Removed.
22560         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22561         (_dl_important_hwcaps): Moved to ...
22562         * elf/dl-hwcaps.c: Here.  New file.
22563         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22565         [BZ #14557]
22566         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22567         if IS_IN_rtld isn't defined.
22569         * elf/dl-support.c (_dl_sysinfo_map): New.
22570         Include "get-dynamic-info.h" and "setup-vdso.h".
22571         (_dl_non_dynamic_init): Call setup_vdso.
22572         * elf/dynamic-link.h: Don't include <assert.h>.
22573         (elf_get_dynamic_info): Moved to ...
22574         * elf/get-dynamic-info.h: Here.  New file.
22575         * elf/dynamic-link.h: Include "get-dynamic-info.h".
22576         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22577         * elf/setup-vdso.h: Here.  New file.
22578         * elf/rtld.c: Include "setup-vdso.h".
22579         (dl_main): Call setup_vdso.
22581 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
22583         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22584         creal in comment listing functions tested.  List finite, isinf,
22585         isnan, isless, islessequal, isgreater, isgreaterequal,
22586         islessgreater, isunordered, lgamma_r and pow10 as functions and
22587         macros not tested.  Mention which functions not tested are aliases
22588         for other functions.  Fix typo.  Note that signs of NaNs are not
22589         tested.
22591         * scripts/config.guess: Update from config.git.
22592         * scripts/config.sub: Likewise.
22594 2012-10-04  Roland McGrath  <roland@hack.frob.com>
22596         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22597         * misc/madvise.c (madvise): Renamed to __madvise.
22598         Make madvise a weak alias.
22599         * include/sys/mman.h: Declare __madvise.
22600         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22601         * sysdeps/unix/syscalls.list
22602         (madvise): Make __madvise the strong name, and madvise a weak alias.
22603         * sysdeps/unix/sysv/linux/syscalls.list
22604         (madvise, mmap): Remove redundant entries.
22605         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22606         * malloc/malloc.c (mtrim): Likewise.
22607         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22609 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22611         * sysdeps/mach/hurd/dl-cache.c: File removed.
22612         * config.h.in (USE_LDCONFIG): New #undef.
22613         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22614         * configure: Regenerated.
22615         * elf/Makefile (dl-routines): Add dl-cache only under
22616         [$(use-ldconfig) = yes].
22617         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22618         cache on [USE_LDCONFIG].
22619         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22620         [USE_LDCONFIG].
22621         * elf/rtld.c (dl_main): Likewise.
22623 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
22625         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22626         _SC_LEVEL4_CACHE_LINESIZE.
22628 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22630         * sysdeps/unix/bsd/confstr.h: File removed.
22632 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
22634         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22635         sys/sdt-config.h.
22637 2012-10-02  Roland McGrath  <roland@hack.frob.com>
22639         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22640         Make 'mapoff' field ElfW(Off) rather than off_t.
22642 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
22644         * nscd/Makefile: Remove nscd-cflags and all its users.
22645         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22646         (CFLAGS-nonlib): Add compiler flags for nscd modules.
22648         [BZ #10631]
22649         * malloc.c (malloc_printerr): Clarify error message.
22651 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
22653         [BZ #14648]
22654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22655         Set bit_FMA_Usable if FMA is supported.
22656         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22657         macro.
22658         (bit_FMA4_Usable): Updated.
22659         (index_FMA_Usable): New macro.
22660         (CPUID_FMA): Likewise
22661         (HAS_FMA): Defined with bit_FMA_Usable.
22663 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22665         * bits/types.h (__swblk_t): Type removed.
22666         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22667         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22668         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22669         (__SWBLK_T_TYPE): Likewise.
22670         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22671         (__SWBLK_T_TYPE): Likewise.
22672         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22673         (__SWBLK_T_TYPE): Likewise.
22674         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22675         (__SWBLK_T_TYPE): Likewise.
22677 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
22678             Honza Horak <hhorak@redhat.com>
22680         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22681         (xdr_mapname): Use YPMAXMAP as maxsize.
22682         (xdr_peername): Use YPMAXPEER as maxsize.
22683         (xdr_keydat): Use YPAXRECORD as maxsize.
22684         (xdr_valdat): Use YPMAXRECORD as maxsize.
22686 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22688         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22690         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22691         * csu/init-first.c: ... here.
22692         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22693         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22694         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22695         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22696         * sysdeps/i386/init-first.c: File removed.
22697         * sysdeps/sh/init-first.c: File removed.
22699 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
22701         [BZ #14645]
22702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22703         if x * y might underflow to zero and z is zero.
22704         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22705         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22706         * math/libm-test.inc (min_subnorm_value): New variable.
22707         (fma_test): Add more tests.
22708         (fma_test_towardzero): Likewise.
22709         (fma_test_downward): Likewise
22710         (fma_test_upward): Likewise.
22711         (initialize): Set min_subnorm_value.
22713 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
22715         [BZ #14638]
22716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22717         0 + 0.
22718         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22719         mode for addition resulting in exact zero.
22720         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22721         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22722         exact 0 + 0.
22723         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22724         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22725         * math/libm-test.inc (fma_test): Add more tests.
22726         (fma_test_towardzero): New function.
22727         (fma_test_downward): Likewise.
22728         (fma_test_upward): Likewise.
22729         (main): Call the new functions.
22731 2012-09-28  David S. Miller  <davem@davemloft.net>
22733         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22735 2012-09-28  Roland McGrath  <roland@hack.frob.com>
22737         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22738         instead of SIGALRM.
22740         * sysdeps/gnu/_G_config.h: Moved to ...
22741         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22742         * sysdeps/mach/hurd/_G_config.h: Moved to ...
22743         * sysdeps/generic/_G_config.h: ... here.
22745         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
22747         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22749         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22750         Conditionalize target on [libnss_test1.so-version].
22752         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22754         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22755         (elfobjdir): Move out of conditionals.
22757         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22758         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22759         (__nss_lookup_function): Conditionalize label remove_from_tree on
22760         [!DO_STATIC_NSS || SHARED], matching its only use.
22762 2012-09-28  David S. Miller  <davem@davemloft.net>
22764         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22765         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22766         file.
22767         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22768         sysdep_routines.
22769         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22770         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22771         when HWCAP_SPARC_CRYPTO is present.
22773 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22775         * io/tst-mknodat.c: Create a FIFO instead of a socket.
22777 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
22779         [BZ #6530]
22780         * stdio-common/vfprintf.c (process_string_arg): Revert
22781         2000-07-22 change.
22783 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
22785         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22786         for testcase.
22787         * stdio-common/tst-sprintf.c: Include <locale.h>
22788         (main): Test sprintf's handling of incomplete multibyte
22789         characters.
22791 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
22793         * elf/dl-runtime.c (VERSYMIDX): Removed.
22794         * elf/dl-version.c (VERSYMIDX): Likewise.
22795         * elf/do-rel.h (VERSYMIDX): Likewise.
22796         (VALIDX): Likewise.
22797         * elf/dynamic-link.h (VERSYMIDX): Likewise.
22798         * elf/rtld.c (VALIDX): Likewise.
22799         (ADDRIDX): Likewise.
22800         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22801         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22802         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22803         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22804         (VALIDX): Likewise.
22805         (ADDRIDX): Likewise.
22807 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22809         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22811 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
22813         [BZ #11438]
22814         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22815         to global scope.
22816         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22817         addresses are in the same scope as 192.0.2/24.
22818         * posix/gai.conf: Document new scope table defaults.
22820 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22822         [BZ #5298]
22823         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22824         for ftell.  Compute offsets from write pointers instead.
22825         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22827 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22829         [BZ #14543]
22830         * libio/Makefile (tests): New test case tst-fseek.
22831         * libio/tst-fseek.c: New test case to verify that fseek/ftell
22832         combination works in wide mode.
22833         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22834         state when the external buffer state changes.
22836 2012-09-27  David S. Miller  <davem@davemloft.net>
22838         [BZ #14376]
22839         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22840         pass reloc->r_addend in as the 'high' argument to
22841         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22845 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22847         * rt/tst-aio2.c: Include <pthread.h>.
22848         * rt/tst-aio3.c: Likewise.
22850 2012-09-27  Steve Ellcey  <sellcey@mips.com>
22852         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22854 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
22856         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22857         contents on [SHARED].
22859 2012-09-26  Marek Polacek  <polacek@redhat.com>
22861         [BZ #14530]
22862         [BZ #13741]
22863         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22864         for C++ and GCC <4.3 as well as for non GCC compilers.
22866 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22870 2012-09-25  Roland McGrath  <roland@hack.frob.com>
22872         * Makefile.in (all, install): Declare with .PHONY.
22873         Reported by Michael Hope <michael.hope@linaro.org>.
22875 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22877         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22878         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22879         system header.
22880         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22881         Likewise.
22882         (sydep_routines): Add the new and the internal functions.
22883         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22884         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22886         (GLIBC_2.17): Add the new function.
22887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22888         (GLIBC_2.17): Likewise.
22889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22890         (GLIBC_2.17): Likewise.
22891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22892         (GLIBC_2.17): Likewise.
22893         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22895 2012-09-25  Alan Modra  <amodra@gmail.com>
22897         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22898         Add release barrier before setting once_control to say
22899         initialisation is done.  Add hints on lwarx.  Use macro in
22900         place of isync.
22901         (clear_once_control): Add release barrier.
22903 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22905         [BZ #13629]
22906         * math/s_clog.c (__clog): Handle more values close to |z| = 1
22907         specially.
22908         * math/s_clog10.c (__clog10): Likewise.
22909         * math/s_clog10f.c (__clog10f): Likewise.
22910         * math/s_clog10l.c (__clog10l): Likewise.
22911         * math/s_clogf.c (__clogf): Likewise.
22912         * math/s_clogl.c (__clogl): Likewise.
22913         * math/Makefile (libm-calls): Add x2y2m1.
22914         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22915         (__x2y2m1): Likewise.
22916         (__x2y2m1l): Likewise.
22917         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22918         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22919         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22920         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22921         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22922         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22923         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22924         * sysdeps/i386/fpu/libm-test-ulps: Update.
22925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22927         [BZ #14621]
22928         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22929         int as type of variable DEPTH.
22930         (glob): Use size_t instead of int as type of variables NEWCOUNT
22931         and OLD_PATHC.
22933 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22935         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22936         Add s_sincosf-sse2.
22937         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22938         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22939         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22940         macros for using routine as __sincosf_ia32.
22941         Use macro for function declaration and weak_alias.
22942         * sysdeps/i386/fpu/libm-test-ulps: Update.
22944         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22945         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22947         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22948         subnormal argument.
22949         * math/s_cexpf.c (__cexpf): Likewise.
22950         * math/s_csinf.c (__csinf): Likewise.
22951         * math/s_csinhf.c (__csinhf): Likewise.
22952         * math/s_ctanf.c (__ctanf): Likewise.
22953         * math/s_ctanhf.c (__ctanhf): Likewise.
22954         * math/s_ccosh.c (__ccoshf): Likewise.
22955         * math/s_cexp.c (__cexpl): Likewise.
22956         * math/s_csin.c (__csin): Likewise.
22957         * math/s_csinh.c (__csinh): Likewise.
22958         * math/s_ctan.c (__ctan): Likewise.
22959         * math/s_ctanh.c (ctanh): Likewise.
22960         * math/s_ccoshl.c (__ccoshl): Likewise.
22961         * math/s_cexpl.c (__cexpl): Likewise.
22962         * math/s_csinl.c (__csinl): Likewise.
22963         * math/s_csinhl.c (__csinhl): Likewise.
22964         * math/s_ctanl.c (__ctanl): Likewise.
22965         * math/s_ctanhl.c (__ctanhl): Likewise.
22967 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22969         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22970         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22971         (_IO_off_t): Define to __off_t, not _G_off_t.
22972         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22973         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22974         (_IO_wint_t): Define to wint_t, not _G_wint_t.
22975         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22976         type of __dummy and __dummy2 fields.
22977         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22978         (_G_ssize_t): Likewise.
22979         (_G_off_t): Likewise.
22980         (_G_pid_t): Likewise.
22981         (_G_uid_t): Likewise.
22982         (_G_wchar_t): Likewise.
22983         (_G_wint_t): Likewise.
22984         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22985         (_G_ssize_t): Likewise.
22986         (_G_off_t): Likewise.
22987         (_G_pid_t): Likewise.
22988         (_G_uid_t): Likewise.
22989         (_G_wchar_t): Likewise.
22990         (_G_wint_t): Likewise.
22991         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22992         (_G_ssize_t): Likewise.
22993         (_G_off_t): Likewise.
22994         (_G_pid_t): Likewise.
22995         (_G_uid_t): Likewise.
22996         (_G_wchar_t): Likewise.
22997         (_G_wint_t): Likewise.
22999 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23001         * malloc/arena.c: Include malloc-sysdep.h.
23002         (shrink_heap): Use check_may_shrink_heap to decide if madvise
23003         is sufficient to shrink the heap or an unmap is needed.
23004         * sysdeps/generic/malloc-sysdep.h: New file.  Define
23005         new function check_may_shrink_heap.
23006         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
23007         new function check_may_shrink_heap.
23009 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23011         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23012         comments.
23014 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
23016         * catgets/test-gencat.sh: Add "set -e".
23017         * elf/tst-pathopt.sh: Likewise.
23018         * grp/tst_fgetgrent.sh: Likewise.
23019         * iconvdata/run-iconv-test.sh: Likewise.
23020         * intl/tst-gettext.sh: Likewise.
23021         * intl/tst-gettext2.sh: Likewise.
23022         * intl/tst-gettext4.sh: Likewise.
23023         * intl/tst-gettext6.sh: Likewise.
23024         * intl/tst-translit.sh: Likewise.
23025         * io/ftwtest-sh: Likewise.
23026         * libio/test-freopen.sh: Likewise.
23027         * malloc/tst-mtrace.sh: Likewise.
23028         * posix/globtest.sh: Likewise.
23029         * posix/tst-getconf.sh: Likewise.
23030         * posix/wordexp-tst.sh: Likewise.
23031         * stdio-common/tst-printf.sh: Likewise.
23032         * stdio-common/tst-unbputc.sh: Likewise.
23033         * stdlib/tst-fmtmsg.sh: Likewise.
23034         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23035         * catgets/Makefile: Do not specify -e option when running
23036         testsuite shell scripts.
23037         * elf/Makefile: Likewise.
23038         * grp/Makefile: Likewise.
23039         * iconvdata/Makefile: Likewise.
23040         * intl/Makefile: Likewise.
23041         * io/Makefile: Likewise.
23042         * libio/Makefile: Likewise.
23043         * malloc/Makefile: Likewise.
23044         * posix/Makefile: Likewise.
23045         * stdio-common/Makefile: Likewise.
23046         * stdlib/Makefile: Likewise.
23047         * sysdeps/x86_64/Makefile: Likewise.
23049         * io/ftwtest-sh: Add copyright header.
23050         * posix/globtest.sh: Likewise.
23051         * posix/tst-getconf.sh: Likewise.
23052         * posix/wordexp-tst.sh: Likewise.
23053         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23055 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
23057         [BZ #13679]
23058         * Makeconfig (+link): Defined as $(+link-static) if
23059         $(build-shared) isn't yes.
23060         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23061         isn't yes.
23062         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23064         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23066         [BZ #14562]
23067         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23068         new chunk size with MALLOC_ALIGN_MASK.
23070 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
23072         [BZ #5044]
23073         * stdio-common/printf_fphex.c: Include <stdbool.h> and
23074         <rounding-mode.h>.
23075         (__printf_fphex): Determine rounding using get_rounding_mode and
23076         round_away.
23077         * stdio-common/tst-printf-round.c (struct hex_test): New
23078         structure.
23079         (hex_tests): New variable.
23080         (test_hex_in_one_mode): New function.
23081         (do_test): Also run tests for hex float output.
23083 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
23085         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23086         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23087         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23088         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23089         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23090         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23091         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23092         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23094 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
23096         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23097         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23098         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23099         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23101 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
23103         [BZ #14579]
23104         * elf/rtld.c (dl_main): Limit the check for self loading to normal
23105         mode only.
23106         * elf/tst-rtld-load-self.sh: New test.
23107         * elf/Makefile: Run it.
23109 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
23111         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23112         (tst-writev-ENV): Remove.
23113         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23115 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
23117         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23119 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
23121         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23122         unconditional.
23123         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23124         Likewise.
23125         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23126         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23127         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23128         Likewise.
23130 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
23132         [BZ #14587]
23133         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23134         * config.make.in (have-cpp-asm-debuginfo): Removed.
23135         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23136         * configure: Regenerated.
23138 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
23140         [BZ #5044]
23141         * stdio-common/printf_fp.c: Include <stdbool.h> and
23142         <rounding-mode.h>.
23143         (___printf_fp): Determine rounding using get_rounding_mode and
23144         round_away.
23145         * stdio-common/tst-printf-round.c: New file.
23146         * stdio-common/Makefile (tests): Add tst-printf-round.
23147         (link-libm): New variable.
23148         ($(objpfx)tst-printf-round): Depend in $(link-libm).
23150 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
23152         [BZ #14576]
23153         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23154         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23155         Likewise.
23156         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23157         Likewise.
23159 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
23161         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23162         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23163         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23164         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23166 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
23168         [BZ #14518]
23169         * include/rounding-mode.h: New file.
23170         * sysdeps/generic/get-rounding-mode.h: Likewise.
23171         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23172         * stdlib/strtod_l.c: Include <rounding-mode.h>.
23173         (MAX_VALUE): New macro.
23174         (MIN_VALUE): Likewise.
23175         (overflow_value): New function.
23176         (underflow_value): Likewise.
23177         (round_and_return): Use overflow_value and underflow_value to
23178         determine return values in overflow and underflow cases.  Use
23179         round_away to determine rounding depending on rounding mode.
23180         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23181         determine return values in overflow and underflow cases.
23182         * stdlib/tst-strtod-round.c: Include <fenv.h>.
23183         (struct test_results): New structure.
23184         (struct test): Use struct test_results to store expected results
23185         for all rounding modes.
23186         (TEST): Include expected results for all rounding modes.
23187         (test_in_one_mode): New function.
23188         (do_test): Use test_in_one_mode to compute and check results.
23189         Check results for all rounding modes.
23190         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23191         $(link-libm).
23193 2012-12-09  Allan McRae  <allan@archlinux.org>
23195         * sysdeps/i386/fpu/libm-test-ulps: Update
23197 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
23199         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23200         (_G_int32_t): Likewise.
23201         (_G_uint16_t): Likewise.
23202         (_G_uint32_t): Likewise.
23203         (_G_HAVE_BOOL): Likewise.
23204         (_G_HAVE_ATEXIT): Likewise.
23205         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23206         (_G_HAVE_IO_FILE_OPEN): Likewise.
23207         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23208         (_G_int32_t): Likewise.
23209         (_G_uint16_t): Likewise.
23210         (_G_uint32_t): Likewise.
23211         (_G_HAVE_BOOL): Likewise.
23212         (_G_HAVE_ATEXIT): Likewise.
23213         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23214         (_G_HAVE_IO_FILE_OPEN): Likewise.
23215         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23216         (_G_int32_t): Likewise.
23217         (_G_uint16_t): Likewise.
23218         (_G_uint32_t): Likewise.
23219         (_G_HAVE_BOOL): Likewise.
23220         (_G_HAVE_ATEXIT): Likewise.
23221         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23222         (_G_HAVE_IO_FILE_OPEN): Likewise.
23224 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
23226         * csu/libc-tls.c: Update copyright years.
23228 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
23230         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23231         [!_G_USING_THUNKS]: Remove conditional code.
23232         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23233         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23235         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23236         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23237         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23238         (_G_VTABLE_LABEL_PREFIX): Likewise.
23239         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23240         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23241         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23242         (_G_VTABLE_LABEL_PREFIX): Likewise.
23243         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23244         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23245         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23246         (_G_VTABLE_LABEL_PREFIX): Likewise.
23247         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23249 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
23251         * libio/Makefile: Include ../Makeconfig before tests.
23252         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23253         only if $(build-shared) is yes.
23255         * iconv/gconv_db.c: Update copyright years.
23257 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23259         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23260         unwind info if defined PIC. Fix special cases description.
23261         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23263         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23264         DP_HI_MASK entry.
23265         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23267 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
23269         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23271         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23272         is NULL.
23274         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23275         (LDLIBS-tst-chk4): This.
23276         (LDFLAGS-tst-chk5): Renamed to ...
23277         (LDLIBS-tst-chk5): This.
23278         (LDFLAGS-tst-chk6): Renamed to ...
23279         (LDLIBS-tst-chk6): This.
23280         (LDFLAGS-tst-lfschk4): Renamed to ...
23281         (LDLIBS-tst-lfschk4): This.
23282         (LDFLAGS-tst-lfschk5): Renamed to ...
23283         (LDLIBS-tst-lfschk5): This.
23284         (LDFLAGS-tst-lfschk6): Renamed to ...
23285         (LDLIBS-tst-lfschk6): This.
23287         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23288         on $(common-objpfx)soversions.mk.
23290 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
23292         [BZ #10014]
23293         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23294         example host name.
23296 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23298         * malloc/arena.c (arena_get_retry): New function that gets
23299         another arena for the caller to try its request on.
23300         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23301         current arena cannot fulfill the request.
23302         (__libc_memalign): Likewise.
23303         (__libc_memalign): Likewise.
23304         (__libc_pvalloc): Likewise.
23305         (__libc_calloc): Likewise.
23307 2012-09-05  John Tobey  <john.tobey@gmail.com>
23309         [BZ #13542]
23310         * manual/arith.texi (Operations on Complex): Fix description
23311         of carg branch cut.
23313 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23315         [BZ #10014]
23316         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23317         host name.
23319         [BZ #10038]
23320         * manual/memory.texi (Memory): Make order of menu items match
23321         order of sections.
23323 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23325         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23326         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
23327         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23329 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23331         * csu/libc-tls.c (static_dtv): Renamed to ...
23332         (_dl_static_dtv): This.  Make it global.
23333         (_dl_initial_dtv): Removed.
23334         (__libc_setup_tls): Updated.
23335         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23336         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23337         DL_INITIAL_DTV.
23339 2012-09-06  Petr Machata  <pmachata@redhat.com>
23341         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23342         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23343         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23344         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23346 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23348         [BZ #14545]
23349         * csu/libc-tls.c (_dl_initial_dtv): New variable.
23350         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23351         freeing dtv[-1].
23353 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23355         [BZ #14544]
23356         * Makeconfig (link-static-before-libc): Replace $(+prector)
23357         with $(+prectorT).
23358         (link-static-after-libc): Replace $(+postctor) with
23359         $(+postctorT).
23360         (link-bounded): Replace $(+prector)/$(+postctor) with
23361         $(+prectorT)/$(+postctorT).
23362         (+prectorT): New macro.
23363         (+postctorT): Likewise.
23365 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23367         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23368         (round_str): Handle values above the maximum for IBM long double
23369         as inexact.
23370         * stdlib/tst-strtod-round.c (tests): Regenerated.
23372 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23374         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23375         assembler flag.
23376         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23377         zarch_nohighgprs around the zarch optimized routines.
23378         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23379         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23380         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23381         for zarch.
23383 2012-09-05  David S. Miller  <davem@davemloft.net>
23385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23387         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23388         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23389         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23390         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23391         entries.
23393 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23395         * malloc/arena.c: Fold copyright years.
23396         * malloc/mcheck.c, malloc/memusage.c: Likewise.
23398 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23400         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23402 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23404         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
23406 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23408         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23409         change internal state upon failure.
23411 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23413         * malloc/mcheck.c (mcheck_check_all): Fix typo.
23414         * malloc/memusage.c (mmap): Likewise.
23415         (mmap64, mremap): Likewise.  Adjust name in comment.
23417 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23419         * libio/fileops.c: Fix typos in comments.
23420         * libio/oldfileops.c: Likewise.
23421         * libio/wfileops.c: Likewise.
23423 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23425         [BZ #1349]
23426         * malloc/Makefile (tests): Add tst-malloc-usable test case.
23427         (tst-malloc-usable-ENV): Set environment for test case.
23428         * malloc/hooks.c (malloc_check_get_size): New function to get
23429         requested size.
23430         * malloc/malloc.c (musable): Use malloc_check_get_size.
23431         * malloc/tst-malloc-usable.c: New test case.
23433 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23435         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23437 2012-09-05  Allan McRae  <allan@archlinux.org>
23439         [BZ #13966]
23440         * configure.in (CXX_SYSINCLUDES): Use compiler output to
23441         determine header location.
23442         * configure: Regenerated.
23444 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23446         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23447         float format.
23448         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23449         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23450         format.
23451         (test): Regenerate.
23453 2012-09-04  David S. Miller  <davem@davemloft.net>
23455         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23456         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23457         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23459 2012-09-04  Florian Weimer  <fweimer@redhat.com>
23461         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23462         failures.
23464         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23466 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
23468         [BZ #9914]
23469         * libio/iogetdelim.c: Include <limits.h>.
23470         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23471         + len + 1 would overflow.
23473 2012-09-03  Andreas Jaeger  <aj@suse.de>
23475         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23476         * sysdeps/i386/fpu/libm-test-ulps: Update.
23478 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23480         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23481         Add s_sinf-sse2, s_conf-sse2.
23483         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23484         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23485         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23486         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23488         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23489         for using routine as __sinf_ia32.
23490         Use macro for function declaration and weak_alias.
23491         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23492         for using routine as __cosf_ia32.
23493         Use macro for function declaration and weak_alias.
23495         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23496         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23498         * sysdeps/x86_64/fpu/s_sinf.S: New file.
23499         * sysdeps/x86_64/fpu/s_cosf.S: New file.
23500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23502         * math/libm-test.inc (cos_test): Add more test cases.
23503         (sin_test): Likewise.
23504         (sincos_test): Likewise.
23506 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23508         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23509         (IFUNC_RESOLVE): Make pointers to the specialized implementations
23510         hidden.
23511         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23513 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
23515         [BZ #14538]
23516         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23517         first element of the GOT.
23518         (elf_machine_load_address): Return the difference between
23519         the runtime address of _DYNAMIC and elf_machine_dynamic ().
23521 2012-09-01  Allan McRae  <allan@archlinux.org>
23523         [BZ #13412]
23524         * configure.in (AWK): Require gawk version 3.0 or later.
23525         * configure: Regenerated.
23527 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
23529         * sysdeps/unix/sysv/linux/kernel-features.h
23530         (__ASSUME_POSIX_CPU_TIMERS): Remove.
23531         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23532         [__NR_clock_getres]: Make code unconditional.
23533         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23534         (clock_getcpuclockid): Remove code left unreachable by removal of
23535         conditionals.
23536         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23537         code unconditional.
23538         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23539         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23540         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23541         Make code unconditional.
23542         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23543         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23544         * sysdeps/unix/sysv/linux/clock_settime.c
23545         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23546         conditional code.
23547         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23548         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23550 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
23552         [BZ #14476]
23553         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23554         scripts/test-installation.pl.
23556         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23557         and $ld_so_version if it is set.
23559 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23561         [BZ #14516]
23562         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23563         failure if reading from procfs failed.
23564         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23566 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23568         * sysdeps/unix/sysv/linux/kernel-features.h
23569         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23570         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23571         Remove conditional code.
23572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23573         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23574         Remove conditional code.
23575         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23576         * sysdeps/unix/sysv/linux/i386/fxstat.c
23577         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23578         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23579         * sysdeps/unix/sysv/linux/i386/fxstatat.c
23580         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23581         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23582         * sysdeps/unix/sysv/linux/i386/lxstat.c
23583         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23584         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23585         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23586         Remove conditional code.
23587         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23588         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23589         Remove conditional code.
23590         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23591         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23592         <kernel-features.h>.
23593         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23594         Remove.
23595         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23596         Remove conditional code.
23597         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23598         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23599         Remove conditional.
23601 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
23603         [BZ #5400]
23604         * NEWS: Add fixed bug number.
23606 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23608         [BZ #14519]
23609         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23610         underflowing exponent in case of negative sign.
23611         * stdlib/tst-strtod-round-data: Add more tests.
23612         * stdlib/tst-strtod-round.c (tests): Regenerated.
23614         [BZ #3479]
23615         * stdlib/strtod_l.c (NDIG): Remove.
23616         (HEXNDIG): Likewise.
23617         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23618         smallest representable value.
23619         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23620         lie within an exact representation of 1/2 ulp of the result.
23621         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23622         unconditionally.
23623         (TENS_P9_IDX): Define unconditionally.
23624         (TENS_P9_SIZE): Likewise.
23625         (TENS_P10_IDX): Likewise.
23626         (TENS_P10_SIZE): Likewise.
23627         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23628         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23629         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23630         entries for 10^2^13 and 10^2^14.
23631         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23632         (TENS_P13_IDX): Define.
23633         (TENS_P13_SIZE): Likewise.
23634         (TENS_P14_IDX): Likewise.
23635         (TENS_P14_SIZE): Likewise.
23636         (_fpioconst_pow10): Change array size to
23637         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
23638         unconditional.
23639         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23640         1024]: Add entries for 10^2^13 and 10^2^14.
23641         [LAST_POW10 > _LAST_POW10]: Remove #error.
23642         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23643         (_fpioconst_pow10): Change array size to
23644         FPIOCONST_POW10_ARRAY_SIZE.
23645         * stdlib/gen-fpioconst.c: New file.
23646         * stdlib/gen-tst-strtod-round.c: Likewise.
23647         * stdlib/tst-strtod-round-data: Likewise.
23648         * stdlib/tst-strtod-round.c: Likewise.
23649         * stdlib/Makefile (tests): Add tst-strtod-round.
23651         [BZ #14459]
23652         * stdlib/strtod_l.c: Include <stdint.h>.
23653         (NDEBUG): Do not define.
23654         (round_and_return): Change EXPONENT parameter to type intmax_t.
23655         Rearrange calculations to avoid internal overflow possibilities.
23656         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23657         Rearrange calculations to avoid internal overflow possibilities.
23658         Assert that number fits inside MPNSIZE limbs.
23659         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23660         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
23661         calculations and add assertions to avoid internal overflow
23662         possibilities.  Add casts to avoid signed/unsigned operations.
23663         * stdlib/tst-strtod-overflow.c: New file.
23664         * stdlib/Makefile (tests): Add tst-strtod-overflow.
23666 2012-08-25  Marek Polacek  <polacek@redhat.com>
23668         * time/time.h: Fix some typos in comments.
23670 2012-08-23  Roland McGrath  <roland@hack.frob.com>
23672         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23673         * posix/tst-rfc3484-2.c: Likewise.
23674         * posix/tst-rfc3484-3.c: Likewise.
23676 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
23678         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23679         (EF_ARM_ABI_FLOAT_HARD): Likewise.
23681 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
23683         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23684         #include of fxstatat64.c.
23686 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23688         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23689         * shadow/getspent_r.c: Likewise.
23690         * shadow/getspnam.c: Likewise.
23691         * shadow/getspnam_r.c: Likewise.
23692         * gshadow/getsgent.c: Likewise.
23693         * gshadow/getsgent_r.c: Likewise.
23694         * gshadow/getsgnam.c: Likewise.
23695         * gshadow/getsgnam_r.c: Likewise.
23696         * inet/getnetbyad.c: Likewise.
23697         * inet/getnetbyad_r.c: Likewise.
23698         * inet/getnetbynm.c: Likewise.
23699         * inet/getnetbynm_r.c: Likewise.
23700         * inet/getnetent.c: Likewise.
23701         * inet/getnetent_r.c: Likewise.
23702         * inet/getproto.c: Likewise.
23703         * inet/getproto_r.c: Likewise.
23704         * inet/getprtent.c: Likewise.
23705         * inet/getprtent_r.c: Likewise.
23706         * inet/getprtname.c: Likewise.
23707         * inet/getprtname_r.c: Likewise.
23708         * inet/getrpcbyname.c: Likewise.
23709         * inet/getrpcbyname_r.c: Likewise.
23710         * inet/getrpcbynumber.c: Likewise.
23711         * inet/getrpcbynumber_r.c: Likewise.
23712         * inet/getrpcent.c: Likewise.
23713         * inet/getrpcent_r.c: Likewise.
23714         * inet/getaliasent.c: Likewise.
23715         * inet/getaliasent_r.c: Likewise.
23716         * inet/getaliasname.c: Likewise.
23717         * inet/getaliasname_r.c: Likewise.
23718         * nscd/getgrgid_r.c: Likewise.
23719         * nscd/getgrnam_r.c: Likewise.
23720         * nscd/gethstbyad_r.c: Likewise.
23721         * nscd/gethstbynm3_r.c: Likewise.
23722         * nscd/getpwnam_r.c: Likewise.
23723         * nscd/getpwuid_r.c: Likewise.
23724         * nscd/getsrvbynm_r.c: Likewise.
23725         * nscd/getsrvbypt_r.c: Likewise.
23726         * nscd/gai.c: Likewise.
23728         * configure.in (build_nscd): New substituted variable, set
23729         by --disable-build-nscd and defaults to $use_nscd.
23730         * configure: Regenerated.
23731         * config.make.in (build-nscd): New substituted variable.
23732         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23733         Change conditional to require [$(build-nscd) = yes] as well.
23734         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23736         [BZ# 13696]
23737         * configure.in (use_nscd): New substituted variable, set by
23738         --disable-nscd.  If enabled, define USE_NSCD.
23739         * configure: Regenerated.
23740         * config.h.in: Add USE_NSCD.
23741         * config.make.in (use-nscd): New substituted variable.
23742         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23743         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23744         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23745         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23746         (CFLAGS-getgrnam_r.c): Likewise.
23747         (CFLAGS-initgroups.c): Likewise.
23748         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23749         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23750         Variables removed.
23751         * inet/getnetgrent_r.c
23752         (nscd_setnetgrent): New function, broken out of ...
23753         (setnetgrent): ... here.  Call it.
23754         (innetgr): Conditionalize nscd bits on [USE_NSCD].
23755         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23756         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23757         * nscd/Makefile (routines, aux): Move definitions after include of
23758         Makeconfig.  Conditionalize on [$(use-nscd) != no].
23759         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23760         Conditionalize on [USE_NSCD].
23761         (is_nscd, nscd_init_cb): Likewise.
23762         (nss_load_library): Conditionalize init callback on [USE_NSCD].
23763         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23764         * nss/nss_db/db-init.c: Likewise.
23765         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23766         [USE_NSCD].
23767         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23768         (make_request): Use it.
23769         (cache_valid_p): New function.
23770         (__check_pf): Use it.
23771         * NEWS: Add item for --disable-nscd.
23773 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
23775         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23776         to support sed >= 4.2.1-20-ga9bf076.
23777         * configure: Regenerated.
23779 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23781         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23782         Conditionalize whole body on [IREL].
23784 2012-08-22  Jeff Law <law@redhat.com>
23786         [BZ #14505]
23787         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23788         if the family is PF_UNSPEC.
23790 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
23792         * Makerules (lib-version): Rename from V.
23793         (install-lib-nosubdir): Change V to lib-version.
23795 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
23797         [BZ #14252]
23798         * powerpc32/power6/wcschr.c: New file.
23799         * powerpc32/power6/wcscpy.c: New file.
23800         * powerpc32/power6/wcsrchr.c: New file.
23801         * powerpc64/power6/wcschr.c: New file.
23802         * powerpc64/power6/wcscpy.c: New file.
23803         * powerpc64/power6/wcsrchr.c: New file.
23805 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23807         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23808         (two_way_short_needle): Use it.
23809         * string/strstr.c (AVAILABLE1_USES_J): Define.
23810         * string/strcasestr.c: Likewise.
23812         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23813         array references.
23814         * string/strcasestr.c (TOLOWER): Make side-effect safe.
23816         [BZ #11607]
23817         * NEWS: Add an entry.
23818         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23819         define their defaults.
23820         (two_way_short_needle): Detect end-of-string on-the-fly.
23821         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23822         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23823         * string/bug-strcasestr1.c: New test.
23824         * string/Makefile: Run it.
23826 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23828         [BZ #11607]
23829         * string/str-two-way.h (two_way_short_needle): Optimize matching of
23830         the first character.
23832 2012-08-21  Roland McGrath  <roland@hack.frob.com>
23834         * csu/elf-init.c (__libc_csu_irel): Function removed.
23835         * csu/libc-start.c (apply_irel): New function.
23836         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23838 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
23840         * sysdeps/unix/sysv/linux/kernel-features.h
23841         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23842         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23843         <kernel-features.h>.
23844         [__NR_fadvise64_64]: Make code unconditional.
23845         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23846         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23847         !__NR_fadvise64_64)]: Likewise.
23848         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23849         !__NR_fadvise64_64))]: Likewise.
23850         [__NR_fadvise64]: Make code unconditional.
23851         [!__NR_fadvise64]: Remove conditional code.
23852         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23853         <kernel-features.h>.
23854         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23855         unconditional.
23856         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23857         conditional code.
23858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23859         not include <kernel-features.h>.
23860         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23861         unconditional.
23862         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23863         conditional code.
23864         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23865         include <kernel-features.h>.
23866         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23867         unconditional.
23868         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23869         conditional code.
23871 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
23873         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23874         slight instruction rearrangements per scrollpipe analysis.
23875         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23877 2012-08-20  Roland McGrath  <roland@hack.frob.com>
23879         * manual/syslog.texi (syslog; vsyslog, closelog):
23880         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23881         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23883         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23884         DSOCAPS to match condition on defining it.
23886 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
23888         * sysdeps/unix/sysv/linux/kernel-features.h
23889         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23891         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23892         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23894         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23895         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23897         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23898         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23900         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23901         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23903         * sysdeps/unix/sysv/linux/kernel-features.h
23904         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23905         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23906         unconditional.
23907         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23908         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23909         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23910         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23911         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23912         Make code unconditional.
23913         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23914         (__mmap64) [!__NR_mmap2]: Likewise.
23915         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23916         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23917         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23918         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23919         [__NR_mmap2]: Make code unconditional.
23920         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23921         (__mmap64) [!__NR_mmap2]: Likewise.
23923 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23925         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23927 2012-08-18  Andreas Jaeger  <aj@suse.de>
23929         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23931 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23933         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23934         * include/unistd.h (__have_sock_cloexec): Likewise.
23935         (__have_pipe2): Likewise.
23936         (__have_dup3): Likewise.
23938 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23940         [BZ #9685]
23941         * include/unistd.h (__have_pipe2): Change define into an extern int.
23942         (__have_dup3): Likewise.
23943         * socket/have_sock_cloexec.c: Include fcntl.h.
23944         (__have_pipe2): New variable.
23945         (__have_dup3): Likewise.
23947 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
23949         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23951 2012-08-17  Marek Polacek  <polacek@redhat.com>
23953         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23954         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23956 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23958         * configure.in: Add AC_SUBST for sysheaders.
23959         * configure: Regenerated.
23960         * config.make.in (sysheaders): New substituted variable.
23962         * sysdeps/unix/mkfifo.c: Moved ...
23963         * sysdeps/posix/mkfifo.c: ... here.
23964         * sysdeps/unix/mkfifoat.c: Moved ...
23965         * sysdeps/posix/mkfifoat.c: ... here.
23967         * sysdeps/unix/utime.c: Moved ...
23968         * sysdeps/posix/utime.c: ... here.
23970         * sysdeps/unix/time.c: Moved ...
23971         * sysdeps/posix/time.c: ... here.
23972         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23973         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23975         * sysdeps/unix/nice.c: Moved ...
23976         * sysdeps/posix/nice.c: ... here.
23978         * sysdeps/unix/alarm.c: Moved ...
23979         * sysdeps/posix/alarm.c: ... here.
23981         * intl/Makefile ($(codeset_mo)): Depend on the input file.
23983 2012-08-17  Jeff Law <law@redhat.com>
23985         * intl/Makefile (codeset_mo): New variable.
23986         ($(codeset_mo)): New target.
23987         (tst-codeset.out): Depend on that.  Remove explicit rule.
23988         (tst-gettext3.out, tst-gettext5.out): Likewise.
23989         (LOCPATH-ENV, tst-codeset-ENV): New variables.
23990         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23991         * intl/tst-codeset.sh: Remove.
23992         * intl/tst-gettext3.sh: Likewise.
23993         * intl/tst-gettext5.sh: Likewise.
23995 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23997         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
23998         * sysdeps/unix/syscalls.list: ... here.
24000         * sysdeps/posix/getaddrinfo.c
24001         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24002         (gaiconf_init, gaiconf_reload): Use them.
24003         [!_STATBUF_ST_NSEC]
24004         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24005         Define using time_t rather than struct timespec.
24007         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24008         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24009         Macros removed.
24010         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24011         [!NO_THREADS].
24012         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24013         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24014         Likewise.
24016         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24017         __libc_cleanup_push argument.
24019         * bits/param.h: New file.
24020         * misc/sys/param.h: New file.
24021         * include/sys/param.h: New file.
24022         * misc/Makefile (headers): Add bits/param.h.
24023         * sysdeps/generic/sys/param.h: File removed.
24024         * sysdeps/unix/sysv/linux/bits/param.h: New file.
24025         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24026         * sysdeps/mach/hurd/bits/param.h: New file.
24027         * sysdeps/mach/hurd/sys/param.h: File removed.
24029         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24030         last change.
24032         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24033         [_IO_MTSAFE_IO].
24034         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24035         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24036         New macros.
24038         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24039         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24040         rather than -D_IO_MTSAFE_IO conditionally.
24041         * stdio-common/Makefile (CPPFLAGS): Likewise.
24042         * wcsmbs/Makefile (CPPFLAGS): Likewise.
24043         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24044         Use $(libio-mtsafe).
24045         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24046         of -D_IO_MTSAFE_IO.
24047         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24048         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24049         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24050         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24051         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24052         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24053         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24054         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24055         (CFLAGS-fread_u_chk.c): Likewise.
24056         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24057         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24058         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24059         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24060         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24061         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24062         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24063         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24064         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24066         * libio/Makefile: Test [$(libc-reentrant) = yes]
24067         instead of [$(filter %REENTRANT, $(defines)) nonempty].
24069         * Makeconfig
24070         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24071         * sysdeps/pthread/configure: File removed.
24072         * sysdeps/pthread/Makeconfig: New file.
24073         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24074         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24076 2012-08-16  Gary Benson  <gbenson@redhat.com>
24078         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24079         unmapping the first object in a namespace.
24081 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24083         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24084         (__internal_setnetgrent): ... this.  Add internal_function to
24085         definition.  Add libc_hidden_def.
24086         (setnetgrent): Update caller.
24087         (internal_endnetgrent): Renamed to ...
24088         (__internal_endnetgrent): ... this.  Add internal_function to
24089         definition.  Add libc_hidden_def.
24090         (endnetgrent): Update caller.
24091         (internal_getnetgrent_r): Renamed to ...
24092         (__internal_getnetgrent_r): ... this.  Add internal_function to
24093         definition.  Add libc_hidden_def.
24094         (__getnetgrent_r): Update caller.
24095         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
24097 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24099         * stdlib/longlong.h: Update from GCC.
24101 2012-08-16  Roland McGrath  <roland@hack.frob.com>
24103         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24104         on _QL, which is set by umul_ppmm but never used.
24105         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24106         variables, which are set by GMP macros but never used.
24107         * stdio-common/_itowa.c (_itowa): Likewise.
24108         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24109         * stdlib/mod_1.c (mpn_mod_1): Likewise.
24111 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
24113         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24114         struct La_sh_regs is not constant.
24115         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24116         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24117         and struct La_sparc64_regs are not constant.
24119 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
24121         * sysdeps/unix/sysv/linux/kernel-features.h
24122         (__ASSUME_POSIX_TIMERS): Remove.
24123         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24124         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24125         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24126         Make code unconditional.
24127         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24128         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24129         Make code unconditional.
24130         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24131         * sysdeps/unix/sysv/linux/clock_nanosleep.c
24132         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24133         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24134         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24135         Make code unconditional.
24136         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24137         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24138         (__libc_missing_posix_timers): Remove.
24140 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24142         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24143         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24145         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24147         * elf/dl-sym.c: Include <stdlib.h>.
24149         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24150         constants, which avoids warnings in 32-bit builds.
24152         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24153         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24155         * misc/lseek.c: File moved to ...
24156         * io/lseek.c: ... here.
24158         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24160         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24161         shifting LEN more than 31 bits at once.
24163 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24165         [BZ #14195]
24166         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24167         segmentation fault for a case of two empty input strings.
24168         * string/test-strncasecmp.c (check1): Renamed to...
24169         (bz12205): ...this.
24170         (bz14195): Add new testcase for two empty input strings and N > 0.
24171         (test_main): Call new testcase, adapt for renamed function.
24173 2012-08-15  Andreas Jaeger  <aj@suse.de>
24175         [BZ #14090]
24176         * crypt/md5test2.c: New test, based on test supplied by Serge
24177         Belyshev <belyshev@depni.sinp.msu.ru>.
24178         * crypt/Makefile (xtests): Add md5test-giant..
24179         * crypt/Makefile ($(objpfx)md5test-giant): Add.
24181 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
24183         [BZ #14090]
24184         * crypt/md5.c (md5_process_block): Don't assume the buffer
24185         length is less than 2**32.
24186         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24187         length is less than 2**64.
24189 2012-08-15  Roland McGrath  <roland@hack.frob.com>
24191         * string/str-two-way.h: Include <sys/param.h>.
24192         (MAX): Macro removed.
24194         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24195         Move #define and #undef of memmove to just before and after
24196         including <string.h>.
24198         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24199         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24200         and after including <string.h>.  Move declarations of
24201         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24202         to before #include "string/memmove.c".
24204         * include/dirent.h: Declare __getdirentries.
24206         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24207         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24209 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
24211         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24212         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24213         * sysdeps/i386/configure: Regenerated.
24214         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24215         STABS_CURRENT_FILE, and STABS_FUN.
24216         (END): Remove call to STABS_FUN_END.
24217         (STABS_CURRENT_FILE1): Delete.
24218         (STABS_CURRENT_FILE): Likewise.
24219         (STABS_FUN): Likewise.
24220         (STABS_FUN_END): Likewise.
24221         (STABS_FUN2): Likewise.
24222         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24223         * sysdeps/x86_64/configure: Regenerated.
24225 2012-08-14  Roland McGrath  <roland@hack.frob.com>
24227         * elf/dl-open.c: Include <atomic.h>.
24228         * elf/dl-lookup.c: Likewise.
24230 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
24232         * sysdeps/unix/sysv/linux/kernel-features.h
24233         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24234         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24235         unconditionally.
24236         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24237         unconditionally.
24238         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24239         condition on __ASSUME_CLONE_THREAD_FLAGS.
24241 2012-08-14  Andreas Jaeger  <aj@suse.de>
24243         * sysdeps/i386/fpu/libm-test-ulps: Update.
24245 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
24247         * include/atomic.h (atomic_exchange_and_add): Split into ...
24248         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24249         New atomic macros.
24251 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
24253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24255 2012-08-13  Jeff Law <law@redhat.com>
24257         * manual/stdio.texi (snprintf): Clarify handling of the trailing
24258         null byte in the output string.
24260 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
24262         * sysdeps/unix/sysv/linux/kernel-features.h
24263         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24264         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24265         (__ASSUME_ARG_MAX_STACK_BASED): Define.
24266         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24267         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24268         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
24269         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24271 2012-08-09  Jeff Law <law@redhat.com>
24273         [BZ #13939]
24274         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24275         When avoid_arena is set, don't retry in the that arena.  Pick the
24276         next one, whatever it might be.
24277         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24278         (arena_lock): Pass in new parameter to arena_get2.
24279         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24280         arena_get2.
24281         (__libc_malloc): Unify retrying after main arena failure with
24282         __libc_memalign version.
24283         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24285 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24287         [BZ #14166]
24288         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24289         to __redirect_strstr.
24290         (__strstr_sse42): Use typeof __redirect_strstr.
24291         (__strstr_ia32): Likewise.
24292         (__libc_strstr): New prototype.
24293         (strstr): Renamed to ...
24294         (__libc_strstr): This.
24295         (strstr): New strong alias of __libc_strstr.
24296         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24297         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24298         __redirect_time.
24299         Include <time.h>.
24300         (__libc_time): New prototype.
24301         (time_ifunc): Replace time with __libc_time.
24302         (time): New strong alias and hidden definition of __libc_time.
24303         (__GI_time): Remove strong alias.
24304         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24305         Include <stddef.h>.
24306         (memmove): Redefined to __redirect_memmove.
24307         (__memmove_sse2): Use typeof __redirect_memmove.
24308         (__memmove_ssse3): Likewise.
24309         (__memmove_ssse3_back): Likewise.
24310         (__libc_memmove): New prototype.
24311         (memmove): Renamed to ...
24312         (__libc_memmove): This.
24313         (memmove): New strong alias of __libc_memmove.
24315 2012-08-08  Mark Salter  <msalter@redhat.com>
24317         * elf/elf.h
24318         (R_MN10300_TLS_GD): Define.
24319         (R_MN10300_TLS_LD): Likewise.
24320         (R_MN10300_TLS_LDO): Likewise.
24321         (R_MN10300_TLS_GOTIE): Likewise.
24322         (R_MN10300_TLS_IE): Likewise.
24323         (R_MN10300_TLS_LE): Likewise.
24324         (R_MN10300_TLS_DTPMOD): Likewise.
24325         (R_MN10300_TLS_DTPOFF): Likewise.
24326         (R_MN10300_TLS_TPOFF): Likewise.
24327         (R_MN10300_SYM_DIFF): Likewise.
24328         (R_MN10300_ALIGN): Likewise.
24329         (R_MN10300_NUM): Update.
24331 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
24333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24334         Remove.
24336 2012-08-08  Roland McGrath  <roland@hack.frob.com>
24338         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24340         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24341         sysdeps/unix -> sysdeps/posix move.
24342         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24344 2012-08-07      Allan McRae     <allan@archlinux.org>
24346         [BZ #14303]
24347         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24348         (SUNOS_CPP): Likewise.
24349         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24350         not found.
24351         (open_input): Call CPP using execvp.
24353 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24355         * sysdeps/unix/sysv/linux/kernel-features.h
24356         (__ASSUME_PROT_GROWSUPDOWN): Remove.
24357         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24358         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24359         (__ASSUME_WAITID_SYSCALL): Likewise.
24360         * sysdeps/unix/sysv/linux/dl-execstack.c
24361         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24362         code unconditional.
24363         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24364         conditional code.
24365         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24366         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24367         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24368         code.
24369         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24370         unconditional.
24371         [__ASSUME_WAITID_SYSCALL]: Likewise.
24372         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24374 2012-08-07  Roland McGrath  <roland@hack.frob.com>
24376         * sysdeps/unix/closedir.c: Renamed to ...
24377         * sysdeps/posix/closedir.c: ... here.
24378         * sysdeps/unix/dirfd.c: Renamed to ...
24379         * sysdeps/posix/dirfd.c: ... here.
24380         * sysdeps/unix/dirstream.h: Renamed to ...
24381         * sysdeps/posix/dirstream.h: ... here.
24382         * sysdeps/unix/fdopendir.c: Renamed to ...
24383         * sysdeps/posix/fdopendir.c: ... here.
24384         * sysdeps/unix/opendir.c: Renamed to ...
24385         * sysdeps/posix/opendir.c: ... here.
24386         * sysdeps/unix/readdir.c: Renamed to ...
24387         * sysdeps/posix/readdir.c: ... here.
24388         * sysdeps/unix/readdir_r.c: Renamed to ...
24389         * sysdeps/posix/readdir_r.c: ... here.
24390         * sysdeps/unix/rewinddir.c: Renamed to ...
24391         * sysdeps/posix/rewinddir.c: ... here.
24392         * sysdeps/unix/seekdir.c: Renamed to ...
24393         * sysdeps/posix/seekdir.c: ... here.
24394         * sysdeps/unix/telldir.c: Renamed to ...
24395         * sysdeps/posix/telldir.c: ... here.
24396         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24397         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24398         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24399         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24401         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24402         * bits/fcntl.h: ... here.
24404         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24405         not 0.
24406         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24407         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24408         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24409         (struct flock): Move l_start, l_len to the beginning.
24410         Use __pid_t for l_pid.
24411         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24412         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24413         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24414         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24415         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24416         [__USE_LARGEFILE64] (struct flock64): New type.
24417         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24419         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24420         * bits/dirent.h: ... here.
24422         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24423         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24425 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24427         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24428         Change from 2.6.0 to 2.6.16.
24429         * sysdeps/unix/sysv/linux/configure: Regenerated.
24430         * sysdeps/unix/sysv/linux/kernel-features.h
24431         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24432         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24433         version.
24434         (__ASSUME_UTIMES): Likewise.
24435         (__ASSUME_CLONE_STOPPED): Remove.
24436         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24437         architectures, not kernel version.
24438         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24439         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24440         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24441         (__ASSUME_WAITID_SYSCALL): Likewise.
24442         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24443         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24444         * README: State 2.6.16 as minimum Linux kernel version.  Do not
24445         refer to older versions.
24447 2012-08-06  Roland McGrath  <roland@hack.frob.com>
24449         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24450         Define alphasort64 as an alias.
24451         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24452         Define versionsort64 as an alias.
24453         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24454         Define scandir64 as an alias.
24455         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24456         Define scandirat64 as an alias.
24457         * dirent/alphasort64.c (alphasort64):
24458         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24459         * dirent/versionsort64.c: Likewise.
24460         * dirent/scandir64.c: Likewise.
24461         * dirent/scandirat64.c: Likewise.
24462         * sysdeps/wordsize-64/alphasort.c: File removed.
24463         * sysdeps/wordsize-64/alphasort64.c: File removed.
24464         * sysdeps/wordsize-64/scandir.c: File removed.
24465         * sysdeps/wordsize-64/scandir64.c: File removed.
24466         * sysdeps/wordsize-64/scandirat.c: File removed.
24467         * sysdeps/wordsize-64/scandirat64.c: File removed.
24468         * sysdeps/wordsize-64/versionsort.c: File removed.
24469         * sysdeps/wordsize-64/versionsort64.c: File removed.
24470         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24471         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24472         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24473         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24474         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24475         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24476         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24477         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24479         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24481         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24482         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24483         [defined __arch64__ || defined __sparcv9]
24484         (__INO_T_MATCHES_INO64_T): New macro.
24485         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24486         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24487         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24488         * sysdeps/unix/sysv/linux/bits/dirent.h
24489         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24490         (_DIRENT_MATCHES_DIRENT64): New macro.
24492         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24493         Define lockf64 as an alias.
24494         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24495         Define fseeko64 as an alias.
24496         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24497         Define ftello64 as an alias.
24498         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24499         Define _IO_fgetpos64 and fgetpos64 as aliases.
24500         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24501         Define _IO_fsetpos64 and fsetpos64 as aliases.
24502         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24503         Conditionalize body on this.
24504         * libio/fseeko64.c: Likewise.
24505         * libio/ftello64.c: Likewise.
24506         * libio/iofgetpos64.c: Likewise.
24507         * libio/iofsetpos64.c: Likewise.
24508         * sysdeps/wordsize-64/lockf.c: File removed.
24509         * sysdeps/wordsize-64/lockf64.c: File removed.
24510         * sysdeps/wordsize-64/fseeko.c: File removed.
24511         * sysdeps/wordsize-64/fseeko64.c: File removed.
24512         * sysdeps/wordsize-64/ftello.c: File removed.
24513         * sysdeps/wordsize-64/ftello64.c: File removed.
24514         * sysdeps/wordsize-64/iofgetpos.c: File removed.
24515         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24516         * sysdeps/wordsize-64/iofsetpos.c: File removed.
24517         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24518         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24519         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24520         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24521         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24522         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24523         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24524         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24525         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24526         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24527         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24529         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24530         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24531         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24532         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24533         [defined __arch64__ || defined __sparcv9]
24534         (__OFF_T_MATCHES_OFF64_T): New macro.
24535         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24536         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24537         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24538         (__OFF_T_MATCHES_OFF64_T): New macro.
24540 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24542         * stdlib/secure-getenv.c (__secure_getenv): Replace
24543         GLIBC_2_16 with GLIBC_2_17.
24545 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24547         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24548         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24550 2012-08-03  David S. Miller  <davem@davemloft.net>
24552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24554 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24557         Remove.
24558         (__ASSUME_CORRECT_SI_PID): Likewise.
24559         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24560         (__ASSUME_TMPFS_NAME): Likewise.
24561         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24562         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24563         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24564         (HAVE_AUX_SECURE): Make definition unconditional.
24565         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24566         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24568 2012-08-03  Roland McGrath  <roland@hack.frob.com>
24570         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24571         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24572         * sysdeps/mach/hurd/eloop-threshold.h: New file.
24573         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24574         __eloop_threshold instead of SYMLOOP_MAX.
24576         * sysdeps/generic/eloop-threshold.h: New file.
24577         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24578         of MAXSYMLINKS.
24579         * elf/chroot_canon.c (chroot_canon): Likewise.
24581 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24583         [BZ #13717]
24584         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24585         Change to 2.6.0 everywhere.
24586         * sysdeps/unix/sysv/linux/configure: Regenerated.
24587         * sysdeps/unix/sysv/linux/kernel-features.h
24588         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24589         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24590         kernel versions.
24591         (__ASSUME_POSIX_TIMERS): Define unconditionally.
24592         (__ASSUME_FUTEX_REQUEUE): Remove.
24593         (__ASSUME_STATFS64): Define unconditionally.
24594         (__ASSUME_AT_SECURE): Likewise.
24595         (__ASSUME_CORRECT_SI_PID): Likewise.
24596         (__ASSUME_TGKILL): Define without depending on kernel version for
24597         i386.
24598         (__ASSUME_UTIMES): Likewise.
24599         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24600         kernel version.
24601         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24602         (__ASSUME_TMPFS_NAME): Likewise.
24603         * README: Update reference to Linux kernel versions.
24605 2012-08-02  Marek Polacek  <polacek@redhat.com>
24607         [BZ# 14150]
24608         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
24609         libc_cv_asm_type_prefix with %.
24610         * configure: Regenerated.
24611         * include/libc-symbols.h: Remove comment about
24612         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24613         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24614         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24615         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24616         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24617         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24618         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24619         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24620         * elf/tst-unique2mod1.c: Likewise.
24621         * elf/tst-unique1mod2.c: Likewise.
24622         * elf/tst-unique1mod1.c: Likewise.
24623         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24624         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24625         Replace ASM_TYPE_DIRECTIVE with .type.
24626         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24627         * sysdeps/i386/sysdep.h: Likewise.
24628         * sysdeps/x86_64/sysdep.h: Likewise.
24629         * sysdeps/sh/sysdep.h: Likewise.
24630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24631         Do not define ASM_TYPE_DIRECTIVE.
24632         * sysdeps/powerpc/sysdep.h: Likewise.
24633         * sysdeps/powerpc/powerpc32/sysdep.h:
24634         Replace ASM_TYPE_DIRECTIVE with .type.
24635         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24636         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24637         * sysdeps/i386/fpu/e_powf.S: Likewise.
24638         * sysdeps/i386/fpu/e_expl.S: Likewise.
24639         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24640         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24641         * sysdeps/i386/fpu/e_pow.S: Likewise.
24642         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24643         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24644         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24645         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24646         * sysdeps/i386/fpu/e_log2.S: Likewise.
24647         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24648         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24649         * sysdeps/i386/fpu/e_powl.S: Likewise.
24650         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24651         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24652         * sysdeps/i386/fpu/e_logl.S: Likewise.
24653         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24654         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24655         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24656         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24657         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24658         * sysdeps/i386/fpu/e_log.S: Likewise.
24659         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24660         * sysdeps/i386/fpu/e_logf.S: Likewise.
24661         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24662         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24663         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24664         * sysdeps/i386/fpu/e_log10.S: Likewise.
24665         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24666         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24667         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24668         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24669         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24670         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24671         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24672         * sysdeps/i386/i686/strtok.S: Likewise.
24673         * sysdeps/i386/i386-mcount.S: Likewise.
24674         * sysdeps/i386/strtok.S: Likewise.
24675         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24676         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24677         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24678         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24679         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24680         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24681         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24682         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24683         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24684         * sysdeps/x86_64/_mcount.S: Likewise.
24685         * sysdeps/x86_64/strtok.S: Likewise.
24686         * sysdeps/sh/_mcount.S: Likewise.
24688 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24690         * libio/iofopen.c: Include <fcntl.h>.
24691         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24692         (_IO_fopen64, fopen64): Define as aliases.
24693         * libio/iofopen64.c: Include <fcntl.h>.
24694         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24695         Conditionalize body on this.
24696         * sysdeps/wordsize-64/iofopen.c: File removed.
24697         * sysdeps/wordsize-64/iofopen64.c: File removed.
24699 2012-08-01  Marek Polacek  <polacek@redhat.com>
24701         * libc/Makeconfig: Use elf in place of binfmt-subdir.
24702         Use dlfcn directly instead of a variable.
24703         (binfmt-subdir): Do not define.
24704         (dlfcn): Likewise.
24706 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
24708         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24709         Remove all definitions.
24710         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24711         <kernel-features.h>.
24712         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24713         (miss_F_GETOWN_EX): Remove all definitions.
24714         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24715         macro definition.
24716         [!__ASSUME_FCNTL64]: Remove conditional code.
24717         [__ASSUME_FCNTL64]: Make code unconditional.
24718         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24719         <kernel-features.h>.
24720         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24721         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24722         (lockf64) [__NR_fcntl64]: Make code unconditional.
24723         (lockf64) [__ASSUME_FCNTL64]: Likewise.
24725         * sysdeps/unix/sysv/linux/kernel-features.h
24726         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24727         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24728         Make code unconditional.
24729         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24730         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24732         [__NR_vfork]: Make code unconditional.
24733         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24734         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24736         [__NR_vfork]: Make code unconditional.
24737         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24738         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24740 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24742         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24743         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24745         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24746         Define mkstemp64 as an alias.
24747         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24748         Define mkstemps64 as an alias.
24749         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24750         Define mkostemp64 as an alias.
24751         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24752         Define mkostemps64 as an alias.
24753         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24754         Conditionalize body on this.
24755         * misc/mkostemp64.c: Likewise.
24756         * misc/mkostemps64.c: Likewise.
24757         * misc/mkstemps64.c: Likewise.
24758         * sysdeps/wordsize-64/mkstemp64.c: File removed.
24759         * sysdeps/wordsize-64/mkostemp64.c: File removed.
24760         * sysdeps/wordsize-64/mkostemp.c: File removed.
24761         * sysdeps/wordsize-64/mkstemp.c: File removed.
24762         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24763         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24764         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24765         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24767         [BZ #14138]
24768         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24769         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24770         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24771         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24773         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24774         compat_symbol macros from <shlib-compat.h> rather than the underlying
24775         default_symbol_version and symbol_version macros, so that DEFAULT
24776         lines in shlib-versions are respected.
24777         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24779 2012-08-01  Florian Weimer  <fweimer@redhat.com>
24781         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24782         Declare with warn_unused_result.
24783         (setgid, setregid, setegid, setresgid): Likewise.
24784         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24785         Likewise.
24786         * WUR-REPORT: Remove set*id functions.
24788 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
24790         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24792 2012-07-31  Roland McGrath  <roland@hack.frob.com>
24794         [BZ #10191]
24795         * include/sys/socket.h (__libc_accept, __libc_accept4):
24796         Add attribute_hidden.
24797         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24799         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24800         use of PTR_MANGLE.
24801         * inet/getnetgrent_r.c (setup): Likewise.
24803         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24805 2012-07-31  David S. Miller  <davem@davemloft.net>
24807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24809 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
24811         [BZ #13629]
24812         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24813         value between 1.0 and 2.0 and smaller part has absolute value less
24814         than 1.0.
24815         * math/s_clog10.c (__clog10): Likewise.
24816         * math/s_clog10f.c (__clog10f): Likewise.
24817         * math/s_clog10l.c (__clog10l): Likewise.
24818         * math/s_clogf.c (__clogf): Likewise.
24819         * math/s_clogl.c (__clogl): Likewise.
24820         * math/libm-test.inc (clog_test): Add more tests.
24821         (clog10_test): Likewise.
24822         * sysdeps/i386/fpu/libm-test-ulps: Update.
24823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24825 2012-07-31  Florian Weimer  <fweimer@redhat.com>
24827         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24828         Exit with zero in case no suitable GID is found, and write a
24829         message to standard error.
24831 2012-07-30  Roland McGrath  <roland@hack.frob.com>
24833         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24834         rather than to 1.
24835         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24836         (MAXPATHLEN): Removed.
24837         (NOGROUP, NODEV): New macros.
24838         (setbit, clrbit, isset, isclr): New macros.
24839         (howmany, roundup, powerof2): New macros.
24840         (DEV_BSIZE): New macro.
24842         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24843         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24845         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24846         definition on [!__NO_LONG_DOUBLE_MATH].
24848         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24849         PTR_MANGLE and PTR_DEMANGLE.
24851         * socket/accept4.c (accept4): Rename to __libc_accept4.
24852         Define accept4 as a weak alias.
24854         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24855         on [_DIRENT_HAVE_D_TYPE].
24856         * io/ftw.c (ftw_dir): Likewise.
24858         * io/xmknod.c (__xmknod): Don't check PATH for being null.
24860         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24862         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24863         Use the BSD numbers rather than the arbitrary ones we had.
24864         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24865         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24866         (SIGXCPU, SIGXFSZ): New macros.
24867         (_NSIG): Now 32.
24869         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24870         initializer on [_LIBC_REENTRANT].
24872         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24873         definitions inside [_POSIX_MAPPED_FILES].
24875         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24877         * dirent/opendir.c: Include <fcntl.h>.
24879         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24880         (__libc_getspecific): Likewise.
24881         (__libc_key_create): Likewise.
24883         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24884         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24885         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24886         (tmpfile64): Define as alias.
24887         * sysdeps/wordsize-64/tmpfile.c: File removed.
24888         * sysdeps/wordsize-64/tmpfile64.c: File removed.
24889         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24890         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24892         * stdio-common/vfscanf.c: Include <stdbool.h>.
24893         * nss/makedb.c: Likewise.
24894         * stdio-common/_i18n_number.h: Likewise.
24895         * argp/argp-help.c: Likewise.
24896         * posix/wordexp.c: Likewise.
24897         * sysdeps/posix/spawni.c: Likewise.
24898         * nss/nss_files/files-initgroups.c: Likewise.
24899         * stdio-common/reg-modifier.c: Include <stdlib.h>.
24900         * nss/nss_files/files-initgroups.c: Likewise.
24901         * nss/nss_db/db-netgrp.c: Likewise.
24902         * nss/nss_db/db-initgroups.c: Likewise.
24903         * io/fchmodat.c: Include <sys/stat.h>.
24905         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24906         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24908         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24909         [HAVE_MMAP].
24911         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24912         Add multiple inclusion protection.
24914 2012-07-27  David S. Miller  <davem@davemloft.net>
24916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24918 2012-07-27  Gary Benson  <gbenson@redhat.com>
24920         [BZ #14298]
24921         * elf/rtld.c: Include <stap-probe.h>.
24922         (dl_main): Added static probes "init_start" and "init_complete".
24923         * elf/dl-load.c: Include <stap-probe.h>.
24924         (lose): Take new parameter "nsid".
24925         Added static probe "map_failed".
24926         (_dl_map_object_from_fd): Pass namespace id to lose.
24927         Added static probe "map_start".
24928         (open_verify): Pass namespace id to lose.
24929         * elf/dl-open.c: Include <stap-probe.h>.
24930         (dl_open_worker) Added static probes "map_complete", "reloc_start"
24931         and "reloc_complete".
24932         * elf/dl-close.c: Include <stap-probe.h>.
24933         (_dl_close_worker): Added static probes "unmap_start" and
24934         "unmap_complete".
24935         * elf/rtld-debugger-interface.txt: New file documenting the above.
24937 2012-07-26  Roland McGrath  <roland@hack.frob.com>
24939         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24940         rather than a string variable.
24941         * sunrpc/rpc_main.c (h_output): Likewise.
24942         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24944 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
24946         * inet/check_native.c: New file.
24948 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
24950         [BZ #13629]
24951         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24952         if larger part has absolute value 1.0.
24953         * math/s_clog10.c (__clog10): Likewise.
24954         * math/s_clog10f.c (__clog10f): Likewise.
24955         * math/s_clog10l.c (__clog10l): Likewise.
24956         * math/s_clogf.c (__clogf): Likewise.
24957         * math/s_clogl.c (__clogl): Likewise.
24958         * math/libm-test.inc (clog_test): Add more tests.
24959         (clog10_test): Likewise.
24960         * sysdeps/i386/fpu/libm-test-ulps: Update.
24961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24963         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24964         (pltexit): Likewise.
24965         (La_regs): Likewise.
24966         (La_retval): Likewise.
24967         (int_retval): Likewise.
24968         Update #error for removed macros to refer only to definitions in
24969         tst-audit.h.
24970         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24971         macro.
24972         (pltexit): Likewise.
24973         (La_regs): Likewise.
24974         (La_retval): Likewise.
24975         (int_retval): Likewise.
24976         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24977         macro.
24978         (pltexit): Likewise.
24979         (La_regs): Likewise.
24980         (La_retval): Likewise.
24981         (int_retval): Likewise.
24982         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24983         macro.
24984         (pltexit): Likewise.
24985         (La_regs): Likewise.
24986         (La_retval): Likewise.
24987         (int_retval): Likewise.
24988         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24989         macro.
24990         (pltexit): Likewise.
24991         (La_regs): Likewise.
24992         (La_retval): Likewise.
24993         (int_retval): Likewise.
24994         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24995         macro.
24996         (pltexit): Likewise.
24997         (La_regs): Likewise.
24998         (La_retval): Likewise.
24999         (int_retval): Likewise.
25000         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25001         macro.
25002         (pltexit): Likewise.
25003         (La_regs): Likewise.
25004         (La_retval): Likewise.
25005         (int_retval): Likewise.
25006         * sysdeps/generic/tst-audit.h: Update comment to refer only to
25007         macro definitions in tst-audit.h.
25008         * sysdeps/i386/tst-audit.h: New file.
25009         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25010         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25011         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25012         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25013         * sysdeps/sh/tst-audit.h: Likewise.
25014         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25015         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25016         * sysdeps/x86_64/tst-audit.h: Likewise.
25018 2012-07-26  Andreas Jaeger  <aj@suse.de>
25020         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25021         ptrace.
25023         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25024         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25025         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25026         PTRACE_O_MASK.
25027         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25028         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25029         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25031         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25032         value.
25034         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25035         _sigsys.
25036         (si_call_addr, si_syscall, si_arch): Define new macro.
25037         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25038         _sigsys.
25039         (si_call_addr, si_syscall, si_arch): Define new marcro.
25040         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25041         _sigsys.
25042         (si_call_addr, si_syscall, si_arch): Define new macro.
25043         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25044         _sigsys.
25045         (si_call_addr, si_syscall, si_arch): Define new macro.
25047 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25049         [BZ #13717]
25050         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25051         Change to 2.4.21 where previously 2.4.1.
25052         * sysdeps/unix/sysv/linux/configure: Regenerated.
25053         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25054         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25055         Linux kernel version.
25056         (__ASSUME_STD_AUXV): Remove.
25057         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25058         kernel version.
25059         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25060         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25061         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25062         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25063         (__ASSUME_NETLINK_SUPPORT): Likewise.
25064         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25065         (__no_netlink_support): Remove conditional definition.
25066         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25067         Remove.
25068         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25069         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25070         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25071         (if_nameindex_ioctl): Remove.
25072         (if_nameindex_netlink): Do not handle __no_netlink_support.
25073         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25074         code.
25075         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25076         Remove conditional code.
25077         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25078         code.
25079         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25080         unconditional.
25081         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25082         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25083         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25084         Remove.
25085         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25086         [!__ASSUME_STD_AUXV]: Remove conditional code.
25087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25088         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25089         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25091         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25092         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25093         code.
25094         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25096         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25097         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25098         conditional code.
25099         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25101         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25102         code.
25103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25104         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25105         conditional code.
25106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25107         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25108         code unconditional.
25109         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25110         conditional code.
25111         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25112         unconditional.
25113         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25114         conditional code.
25115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25116         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25117         unconditional.
25118         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25119         conditional code.
25120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25121         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25122         code unconditional.
25123         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25124         conditional code.
25125         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25126         unconditional.
25127         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25128         conditional code.
25129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25130         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25131         code unconditional.
25132         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25133         conditional code.
25134         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25135         unconditional.
25136         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25137         conditional code.
25139 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
25141         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25142         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25143         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25144         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25145         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25146         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25147         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25148         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25149         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25150         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25151         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25152         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25153         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25154         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25155         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25156         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25157         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25158         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25159         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25161         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25162         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25163         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25165 2012-07-25  Florian Weimer  <fweimer@redhat.com>
25167         * Versions.def: Add GLIBC_2.17.
25168         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25169         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25170         Introduce __libc_secure_getenv.
25171         * stdlib/Versions (2.17): Add secure_getenv
25172         (GLIBC_PRIVATE): Add __libc_secure_getenv.
25173         * stdlib/secure-getenv.c: Rename __secure_getenv to
25174         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
25175         symbol __secure_getenv for GLIBC_2.0.
25176         * stdlib/tst-secure-getenv.c: New.
25177         * stdlib/Makefile (tests): Add testcase.
25178         * manual/startup.texi (Environment Access): Document
25179         secure_getenv.
25180         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25181         __libc_secure_getenv.
25182         * inet/ruserpass.c (ruserpass): Likewise.
25183         * malloc/mtrace.c (mtrace): Likewise.
25184         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25185         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25186         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25187         * sysdeps/posix/tempname.c: Likewise.  Evaluate
25188         HAVE_SECURE_GETENV.
25189         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25190         __secure_getenv to __libc_secure_getenv.
25191         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25193         Likewise.
25194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25195         Likewise.
25196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25198         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25204 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
25206         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25207         (struct La_i86_retval): Likewise.
25208         (struct La_x86_64_regs): Likewise.
25209         (struct La_x86_64_retval): Likewise.
25210         (struct La_x32_regs): Likewise.
25211         (struct La_x32_retval): Likewise.
25212         (struct La_ppc32_regs): Likewise.
25213         (struct La_ppc32_retval): Likewise.
25214         (struct La_ppc64_regs): Likewise.
25215         (struct La_ppc64_retval): Likewise.
25216         (struct La_sh_regs): Likewise.
25217         (struct La_sh_retval): Likewise.
25218         (struct La_s390_32_regs): Likewise.
25219         (struct La_s390_32_retval): Likewise.
25220         (struct La_s390_64_regs): Likewise.
25221         (struct La_s390_64_retval): Likewise.
25222         (struct La_sparc32_regs): Likewise.
25223         (struct La_sparc32_retval): Likewise.
25224         (struct La_sparc64_regs): Likewise.
25225         (struct La_sparc64_retval): Likewise.
25226         (struct audit_ifaces): Remove architecture-specific pltenter and
25227         pltexit members.
25228         * sysdeps/i386/ldsodefs.h: New file.
25229         * sysdeps/powerpc/ldsodefs.h: Likewise.
25230         * sysdeps/s390/ldsodefs.h: Likewise.
25231         * sysdeps/sh/ldsodefs.h: Likewise.
25232         * sysdeps/sparc/ldsodefs.h: Likewise.
25233         * sysdeps/x86_64/ldsodefs.h: Likewise.
25235 2012-07-25  Marek Polacek  <polacek@redhat.com>
25237         [BZ #6808]
25238         * math/libm-test.inc (yn_test): Add another test.
25239         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25240         to ERANGE when the result is +-Inf.
25241         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25242         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25243         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25244         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25246 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
25248         * conform/data/time.h-data (NULL): Use macro-constant.  Require
25249         equal to 0.
25250         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
25251         clock_t.
25252         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
25254 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
25256         * configure.in <sysdeps resolving>: Correct printing
25257         Implies_before.
25258         * configure: Regenerate.
25260 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
25262         * math/w_ilogb.c: Include <limits.h>.
25263         * math/w_ilogbl.c: Likewise.
25265 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25267         * manual/lang.texi (__va_copy): Document primarily as ISO C99
25268         va_copy.  Document allowing for unavailable va_copy only as
25269         pre-C99 compatibility.
25270         * manual/string.texi (Copying and Concatenation): Use va_copy
25271         instead of __va_copy in concat example.
25273 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
25275         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25276         (__sendto): Use create_address_port.  Initialize APORT and deallocate
25277         it if not null.
25279         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25280         with O_NOLINK passed to __file_name_lookup.
25282         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25283         with O_NOLINK passed to __file_name_lookup.
25285         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25286         negative N or less than NGIDS.
25288         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25289         type to string_t.  Set ERANGE as errno and return it if NAME is not big
25290         enough.  Use memcpy instead of strncpy.
25292 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25294         * elf/Makefile (check-data): Remove.
25295         (localplt.data): New vpath directive.
25296         ($(objpfx)check-localplt.out): Use localplt.data from vpath
25297         instead of $(check-data).
25298         * scripts/data/localplt-generic.data: Move to ...
25299         * sysdeps/generic/localplt.data: ... here.
25300         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25301         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25302         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25304         ... here.
25305         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25307         ... here.
25308         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25310         ... here.
25311         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25313         ... here.
25314         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25316         ... here.
25317         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25319         ... here.
25321 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25323         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25324         PPC32 and PPC64 files.
25325         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25326         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25328 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25330         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25331         __makecontext_ret to ...
25332         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25333         ... here and call exit if uc_link is NULL.  New file.
25334         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25335         __makecontext_ret.S.
25336         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25337         __makecontext_ret to ...
25338         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25339         ... here and call exit if uc_link is NULL.  New file.
25340         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25341         __makecontext_ret.S.
25343 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25345         * elf/elf.h (R_390_IRELATIVE): New definition.
25346         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25347         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
25348         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25349         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25350         (elf_machine_lazy_rel): Likewise.
25351         * sysdeps/s390/dl-irel.h: New file.
25352         * sysdeps/s390/s390-64/memcpy.S: New asm code.
25353         * sysdeps/s390/s390-64/memset.S: New asm code.
25354         * sysdeps/s390/s390-64/memcmp.S: New asm code.
25355         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25356         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25357         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25358         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25359         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25360         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25361         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25362         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25363         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25364         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25365         * sysdeps/s390/s390-32/memcpy.S: New asm code.
25366         * sysdeps/s390/s390-32/memset.S: New asm code.
25367         * sysdeps/s390/s390-32/memcmp.S: New asm code.
25369 2012-07-17  Marek Polacek  <polacek@redhat.com>
25371         [BZ #14349]
25372         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25373         * sysdeps/s390/s390-64/configure.in: Likewise.
25374         * sysdeps/sparc/configure.in: Likewise.
25375         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25376         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25377         * sysdeps/i386/configure.in: Likewise.
25378         * sysdeps/x86_64/configure.in: Likewise.
25379         * sysdeps/sh/configure.in: Likewise.
25380         * sysdeps/s390/s390-32/configure: Regenerated.
25381         * sysdeps/s390/s390-64/configure: Likewise.
25382         * sysdeps/x86_64/configure: Likewise.
25383         * sysdeps/sh/configure: Likewise.
25384         * sysdeps/powerpc/powerpc64/configure: Likewise.
25385         * sysdeps/powerpc/powerpc32/configure: Likewise.
25386         * sysdeps/sparc/configure: Likwise.
25387         * sysdeps/i386/configure: Likewise.
25389         * elf/dl-open.c: Comment fixes.
25391 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
25393         * Makefile [CXX] (check-data): Remove.
25394         [CXX] (c++-types.data): New vpath directive.
25395         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25396         vpath.  Do not allow for C++ type data being missing.
25397         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25398         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25399         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25400         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25401         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25402         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25403         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25405         ... here.
25406         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25408         ... here.
25409         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25411         ... here.
25412         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25414         ... here.
25415         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25417         ... here.
25418         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25420         ... here.
25421         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25423         ... here.
25424         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25427         * elf/tls-macros.h (TLS_LE): Move architecture-specific
25428         definitions to architecture-specific files.
25429         (TLS_IE): Likewise.
25430         (TLS_LD): Likewise.
25431         (TLS_GD): Likewise.
25432         * sysdeps/i386/tls-macros.h: New file.
25433         * sysdeps/powerpc/tls-macros.h: Likewise.
25434         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25435         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25436         * sysdeps/sh/tls-macros.h: Likewise.
25437         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25438         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25439         * sysdeps/x86_64/tls-macros.h: Likewise.
25441 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25443         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25444         zero value for regular exit case.
25446         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25447         (__start_context): Preserve zero value for regular exit case.
25449 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25450             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25452         * manual/setjmp.texi (setcontext): Clarify normal process
25453         termination when uc_link is the null pointer.
25454         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25455         exit call.
25457 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
25459         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25460         preprocessor.  Test for each exception mask separately.
25462 2012-07-16  Andreas Jaeger  <aj@suse.de>
25464         * po/ru.po: Update from translation team.
25466 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
25468         * conform/data/string.h-data (NULL): Use macro-constant.  Require
25469         equal to 0.
25470         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25471         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25472         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25473         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25474         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25476 2012-07-13  Andreas Jaeger  <aj@suse.de>
25478         * po/fr.po: Update from translation team.
25480 2012-07-12  Marek Polacek  <polacek@redhat.com>
25482         [BZ #14173]
25483         * math/libm-test.inc (yn_test): Add test for BZ #14173.
25484         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25485         loop condition.
25487 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
25489         [BZ #13717]
25490         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25491         Change to 2.4.1 where previously 2.4.0.
25492         * sysdeps/unix/sysv/linux/configure: Regenerated.
25493         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25494         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25495         version.
25496         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25497         (__ASSUME_AT_CLKTCK): Remove.
25498         (__ASSUME_AT_PAGESIZE): Likewise.
25499         (__ASSUME_AT_XID): Likewise.
25500         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25501         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25502         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25503         unconditionally.
25504         (HAVE_AUX_PAGESIZE): Likewise.
25505         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25506         [__ASSUME_AT_CLKTCK]: Make code unconditional.
25507         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25509 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
25511         [BZ #14307]
25512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25513         the temporary buffer used to invoke __gethostbyname2_r,
25514         __gethostbyaddr_r and gethostbyname4_r to make room for struct
25515         host_data / struct gaih_addrtuple.
25516         * resolv/nss_dns/dns-host.c (global scope): Move definition of
25517         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25518         header file nss/nsswitch.h.
25519         * nss/nsswitch.h (global scope): Add definition of implementation
25520         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25521         resolv/nss_dns/dns-host.c).
25523 2012-07-11  Andreas Jaeger  <aj@suse.de>
25525         * po/fr.po: Update from translation team.
25527         * po/sv.po: Update from translation team
25528         * po/fr.po: Another update from translation team.
25530 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25532         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25533         for subnormals or multiply small sinh result by itself.
25534         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25537 2012-07-11  David S. Miller  <davem@davemloft.net>
25539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25541 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
25543         [BZ #14347]
25544         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25545         (INTERNAL_MARK): Shift it here.
25547 2012-07-10  Marek Polacek  <polacek@redhat.com>
25549         [BZ #14151]
25550         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
25551         libc_cv_asm_global_directive with .globl.
25552         * configure: Regenerated.
25553         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25554         with .globl.
25555         * sysdeps/i386/configure: Regenerated.
25556         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25557         with .globl.
25558         * sysdeps/x86_64/configure: Regenerated.
25559         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25560         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25561         * elf/tst-unique2mod2.c: Likewise.
25562         * elf/tst-unique2mod1.c: Likewise.
25563         * elf/tst-unique1mod2.c: Likewise.
25564         * elf/tst-unique1mod1.c: Likewise.
25565         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25566         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25567         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25568         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25569         * sysdeps/mach/sysdep.h: Likewise.
25570         * sysdeps/i386/sysdep.h: Likewise.
25571         * sysdeps/i386/i386-mcount.S: Likewise.
25572         * sysdeps/x86_64/_mcount.S: Likewise.
25573         * sysdeps/x86_64/sysdep.h: Likewise.
25574         * sysdeps/sh/_mcount.S: Likewise.
25575         * sysdeps/sh/sysdep.h: Likewise.
25576         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25577         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25578         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25579         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25580         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25581         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25582         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25583         * locale/localeinfo.h: Likewise.
25584         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25585         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25587 2012-07-09  Roland McGrath  <roland@hack.frob.com>
25589         [BZ #14336]
25590         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25591         system".
25592         * manual/message.texi (The Uniforum approach): Likewise.
25593         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25594         (glibc iconv Implementation): Likewise.
25596 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
25598         [BZ #14337]
25599         * math/s_clog.c (__clog): Avoid scaling a value down where that
25600         could result in underflow.
25601         * math/s_clog10.c (__clog10): Likewise.
25602         * math/s_clog10f.c (__clog10f): Likewise.
25603         * math/s_clog10l.c (__clog10l): Likewise.
25604         * math/s_clogf.c (__clogf): Likewise.
25605         * math/s_clogl.c (__clogl): Likewise.
25606         * math/libm-test.inc (clog_test): Add more tests.
25607         (clog10_test): Likewise.
25608         * sysdeps/i386/fpu/libm-test-ulps: Update.
25609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25611 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
25613         [BZ #14283]
25614         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25615         by 7 not 8 to examine high bit of fractional part.
25617         [BZ #14042]
25618         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25619         for call to __mcount_internal.
25620         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25621         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25622         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25624 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
25626         [BZ #14154]
25627         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25628         approximation for values within 0x1p-13f of an odd multiple of
25629         pi/4.
25630         * math/libm-test.inc (tan_test): Do not allow spurious underflow
25631         exception.  Add more tests.
25632         * sysdeps/i386/fpu/libm-test-ulps: Update.
25634         [BZ #6778]
25635         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25636         inputs and return -1 for them.  Do not check for +Inf in case not
25637         reachable for +Inf.
25638         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25639         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25640         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25641         and return -1 for them.  Do not check for +Inf in case not
25642         reachable for +Inf.
25643         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25644         define.
25645         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25646         and return -1 for them.  Do not check for +Inf in case not
25647         reachable for +Inf.
25648         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
25649         spurious underflow.
25650         * sysdeps/i386/fpu/libm-test-ulps: Update.
25651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25653 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
25655         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25657 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
25659         [BZ #14157]
25660         [BZ #14331]
25661         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25662         could result in spurious underflow.  Scale down values above
25663         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25664         * math/s_csqrtf.c (__csqrtf): Likewise.
25665         * math/s_csqrtl.c (__csqrtl): Likewise.
25666         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
25667         spurious underflow.
25668         * sysdeps/i386/fpu/libm-test-ulps: Update.
25669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25671 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
25673         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25674         xopen-msg.sed.
25675         * catgets/xopen-msg.awk: New file.
25676         * catgets/xopen-msg.sed: Removed.
25678         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25679         po2text.sed.
25680         * intl/po2test.awk: New file.
25681         * intl/po2test.sed: Removed.
25683 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
25685         [BZ #14328]
25686         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25687         or multiply small sinh result by itself.
25688         * math/s_ctanf.c (__ctanf): Likewise.
25689         * math/s_ctanh.c (__ctanh): Likewise.
25690         * math/s_ctanhf.c (__ctanhf): Likewise.
25691         * math/s_ctanhl.c (__ctanhl): Likewise.
25692         * math/s_ctanl.c (__ctanl): Likewise.
25693         * math/libm-test.inc (ctan_test_tonearest): New function.
25694         (ctan_test_towardzero): Likewise.
25695         (ctan_test_downward): Likewise.
25696         (ctan_test_upward): Likewise.
25697         (ctanh_test_tonearest): Likewise.
25698         (ctanh_test_towardzero): Likewise.
25699         (ctanh_test_downward): Likewise.
25700         (ctanh_test_upward): Likewise.
25701         (main): Call these new functions.
25702         * sysdeps/i386/fpu/libm-test-ulps: Update.
25703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25705 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
25707         * .gitignore: Delete /ports entry.
25709 2012-07-03  Andreas Jaeger  <aj@suse.de>
25711         * po/bg.po: Update from translation team.
25712         * po/cs.po: Likewise.
25713         * po/de.po: Likewise.
25714         * po/hr.po: Likewise.
25715         * po/nl.pl: Likewise.
25716         * po/pl.po: Likewise.
25717         * po/vi.po: Likewise.
25719 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
25721         * Makeconfig [!+link] (+link-before-libc): New variable.
25722         [!+link] (+link-after-libc): Likewise.
25723         [!+link] (+link-tests): Likewise.
25724         [!+link] (+link): Define in terms of $(+link-before-libc) and
25725         $(+link-after-libc).
25726         [!+link-static] (+link-static-before-libc): New variable.
25727         [!+link-static] (+link-static-after-libc): Likewise.
25728         [!+link-static] (+link-static-tests): Likewise.
25729         [!+link-static] (+link-static): Define in terms of
25730         $(+link-static-before-libc) and $(+link-static-after-libc).
25731         [build-shared] (link-libc-before-gnulib): New variable.
25732         [build-shared] (link-libc-tests): Likewise.
25733         [build-shared] (link-libc): Define in terms of
25734         $(link-libc-before-gnulib).
25735         [!build-shared] (link-libc-tests): New variable.
25736         (link-libc-static-tests): New variable.
25737         [!gnulib] (gnulib-arch): New variable.
25738         [!gnulib] (gnulib-tests): Likewise.
25739         [!gnulib] (static-gnulib-arch): Likewise.
25740         [!gnulib] (static-gnulib-tests): Likewise.
25741         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
25742         Define with "=" instead of ":=".
25743         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
25744         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
25745         * Rules (binaries-all-notests): New variable.
25746         (binaries-all-tests): Likewise.
25747         (binaries-static-notests): Likewise.
25748         (binaries-static-tests): Likewise.
25749         (binaries-all): Define using $(binaries-all-notests) and
25750         $(binaries-all-tests).
25751         (binaries-static): Define using $(binaries-static-notests) and
25752         $(binaries-static-tests).
25753         (binaries-shared-tests): New variable.
25754         (binaries-shared-notests): Likewise.
25755         (binaries-shared): Remove variable.
25756         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25757         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25758         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25759         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25760         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25761         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25762         * elf/Makefile (sln-modules): New variable.
25763         (extra-objs): Add $(sln-modules:=.o).
25764         (ldconfig-modules): Add static-stubs.
25765         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25766         * elf/static-stubs.c: New file.
25768         [BZ #14283]
25769         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25770         by 7 not 8 to examine high bit of fractional part.  Use volatile
25771         variables when splitting into final array of floats if
25772         __FLT_EVAL_METHOD__ != 0.
25773         * math/libm-test.inc (cos_test): Add another test.
25774         (sin_test): Likewise.
25775         * sysdeps/i386/fpu/libm-test-ulps: Update.
25777         [BZ #14273]
25778         * math/libm-test.inc (cosh_test): Add more tests.
25780         * version.h (RELEASE): Set to "development".
25781         (VERSION): Set to "2.16.90".
25783 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
25785         * NEWS: Update copyright. Remove last-updated date.
25786         Mention math library bug fixes and timezone data changes.
25787         * README: Mention GNU/Hurd, x32, and HPPA support status.
25789 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
25791         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25793 2012-06-27  Andreas Jaeger  <aj@suse.de>
25795         * manual/contrib.texi (Contributors): Add Samuel Thibault.
25797 2012-06-25  Andreas Jaeger  <aj@suse.de>
25799         * sysdeps/s390/fpu/libm-test-ulps: Update.
25801 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
25802             Thomas Schwinge  <thomas@codesourcery.com>
25804         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25805         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25806         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25807         fanotify_mark.
25809 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
25811         * sysdeps/mach/start.c: Remove file.
25812         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25813         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25814         * sysdeps/sh/init-first.c: Likewise.
25816         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25817         registers for frame unwinding purposes, add CFI directives.
25818         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25819         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25820         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25821         Likewise.
25823         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25824         __fortify_fail returning.
25825         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25827         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25828         sysdeps/sh/____longjmp_chk.S.
25829         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25830         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25831         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25832         (gen-as-const-headers): Append sigaltstack-offsets.sym.
25834         * sysdeps/sh/abort-instr.h: New file.
25835         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25836         process in case exit returns.
25838         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25839         initialize the GOT register before use.
25841         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25842         calculation of ARGC > 4.
25844         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25845         meaningful names to some local labels.
25847 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25848             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25850         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25851         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25852         (__arch_compare_and_exchange_val_16_acq): Likewise.
25853         (__arch_compare_and_exchange_val_32_acq): Likewise.
25854         (atomic_exchange_and_add): Fix gUSA sequence.
25855         (atomic_add): Likewise.
25856         (atomic_add_negative): Likewise.
25857         (atomic_add_zero): Likewise.
25858         (atomic_bit_test_set): Likewise.
25860 2012-06-22  Andreas Schwab  <schwab@redhat.com>
25862         [BZ #13579]
25863         * include/link.h (struct link_map): Add l_free_initfini.
25864         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25865         l_initfini.
25866         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25867         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25868         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25869         set.
25871 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
25873         * configure.in: Use AC_LANG_SOURCE.
25874         * configure: Regenerate.
25876 2012-06-22  Roland McGrath  <roland@hack.frob.com>
25878         * configure.in (libc_cv_localstatedir): New substituted variable.
25879         * configure: Regenerated.
25880         * config.make.in (localstatedir): New variable, substituted from
25881         libc_cv_localstatedir.
25882         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25883         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25884         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25885         * sysdeps/gnu/configure: Regenerated.
25887 2012-06-21  Jeff Law  <law@redhat.com>
25889         [BZ #14277]
25890         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25891         free.  Simplify list management for _LIBC case.
25893 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
25895         [BZ #14273]
25896         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25897         Clear sign bit of 64-bit integer value before comparing against
25898         overflow value.
25900         * sysdeps/mach/configure: Regenerated.
25902 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
25904         [BZ #14278]
25905         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25907 2012-06-21  Jeff Law  <law@redhat.com>
25909         [BZ #13882]
25910         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
25911         uint16_t for elements in the "seen" array to avoid char overflows.
25912         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25913         * elf/dl-open.c (dl_open_worker): Likewise.
25915 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
25917         * scripts/list-sources.sh: Scan PORTS for translations.
25918         * po/libc.pot: Regenerated.
25920 2012-06-21  Andreas Jaeger  <aj@suse.de>
25922         [BZ #12194]
25923         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25924         warning.
25925         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25926         * bits/byteswap-16.h (__bswap_16): Likewise.
25927         * bits/byteswap.h (__bswap_constant_16): Likewise.
25929 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
25931         [BZ #14117]
25932         * sysdeps/i386/fpu_control.h: Removed.
25933         * sysdeps/x86_64/fpu_control.h: Moved to ...
25934         * sysdeps/x86/fpu_control.h: Here.
25936         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25937         (_FPU_SETCW): Likewise.
25939 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
25941         [BZ #14117]
25942         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25943         * sysdeps/x86/fpu/bits/mathinline.h: This.
25944         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25946         [BZ #14050]
25947         [BZ #14117]
25948         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25949         functions if __x86_64__ is defined.
25951 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
25953         * string/endian.h: Add !__ASSEMBLER__ condition for including
25954         conversion interfaces.
25956 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
25958         [BZ #14241]
25959         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25960         of ABS(x) in calculating zero to negative powers other than odd
25961         integers.
25962         * math/libm-test.inc (pow_test): Add more tests.
25964 2012-06-15  Andreas Jaeger  <aj@suse.de>
25966         * manual/contrib.texi (Contributors): Update entry of Liubov
25967         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25968         Machado Filho.
25970 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
25972         * string/string.h: Add __wur to GNU version of strerror_r.
25974 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
25976         [BZ #14229]
25977         * string/Makefile (tests): Add tst-strtok_r.
25978         * string/tst-strtok_r.c: New file.
25979         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25980         RAX_LP/RDX_LP on SAVE_PTR.
25982 2012-06-14  Roland McGrath  <roland@hack.frob.com>
25984         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25986 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
25988         * libm_test.inc (csqrt_test): Allow more spurious underflow
25989         exceptions.
25990         (j0_test): Likewise.
25991         (j1_test): Likewise.
25992         (y0_test): Likewise.
25993         (y1_test): Likewise.
25995 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
25997         * po/Makefile (libc.pot): Use UTF-8 charset.
25999 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
26001         [BZ #14210]
26002         Suppress sign-conversion warning from FD_SET.
26003         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26004         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26005         not unsigned long int.
26006         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26008 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
26010         [BZ #14050]
26011         [BZ #14117]
26012         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26013         __extern_always_inline instead of __extern_inline.
26014         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26015         (__signbit): Likewise.
26016         (__signbitl): Support C++ namespace.
26017         (lrintf): New inline function.
26018         (lrint): Likewise.
26019         (llrintf): Likewise.
26020         (llrint): Likewise.
26021         (fmaxf): Likewise.
26022         (fmax): Likewise.
26023         (fminf): Likewise.
26024         (fmin): Likewise.
26025         (rint): Likewise.
26026         (rintf): Likewise.
26027         (ceil): Likewise.
26028         (ceilf): Likewise.
26029         (floor): Likewise.
26030         (floorf): Likewise.
26031         (nearbyint): Likewise.
26032         (nearbyintf): Likewise.
26034 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
26036         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26037         non-default versions.
26039 2012-06-11  Roland McGrath  <roland@hack.frob.com>
26041         [BZ #14218]
26042         * manual/argp.texi (Argp): Reword argp_parse description slightly.
26044 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
26046         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26047         (FE_UPWARD, FE_DOWNWARD): Don't define.
26048         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26049         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26051         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26052         reading it.
26053         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26054         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26056 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26058         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26059         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26060         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26061         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26063 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
26065         [BZ #14117]
26066         * sysdeps/i386/fpu/bits/fenv.h: Removed.
26067         * sysdeps/i386/fpu/Implies: New file.
26068         * sysdeps/x86_64/fpu/Implies: Likewise.
26069         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26070         * sysdeps/x86/fpu/bits/fenv.h: This.
26072         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26073         __SSE_MATH__.
26075 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26077         [BZ #14134]
26078         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26079         character 0xffff that matches the last element of the
26080         conversion table.
26082 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26084         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26085         fmodl commit.
26087 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26089         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26090         values higher than 25.6283.
26092 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26094         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26095         subnormal exponent extraction and add some __builtin_expect.
26096         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26097         Fix for subnormal mantissa calculation.
26099 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
26101         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26102         cpu2 is -1 and errno is not ENOSYS.
26104 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
26106         [BZ #14117]
26107         * sysdeps/i386/i486/bits/string.h: Renamed to ...
26108         * sysdeps/x86/bits/string.h: This.
26109         * sysdeps/x86_64/bits/string.h: Removed.
26111         * sysdeps/i386/i486/bits/string.h: Define inline functions only
26112         if not compiling for x86-64, but compiling for >= i486.
26114         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26115         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26117         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26118         New macro from Linux kernel 3.4.0.
26119         (FP_XSTATE_MAGIC2): Likewise.
26120         (FP_XSTATE_MAGIC2_SIZE): Likewise.
26121         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26122         (struct _fpx_sw_bytes): New struct.
26123         (struct _xsave_hdr): Likewise.
26124         (struct _ymmh_state): Likewise.
26125         (struct _xstate): Likewise.
26127         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26128         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26129         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26130         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26131         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26132         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26134         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26135         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26136         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26137         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26138         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26139         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26141 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26143         [BZ #13743]
26144         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26145         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26146         (sysdep_headers): Include sys/platform/ppc.h.
26147         * sysdeps/powerpc/test-gettimebase.c: Test for
26148         __ppc_get_timebase() to catch future ISA opcode/insn changes.
26149         * manual/Makefile (appendices): Include platform.texi.
26150         * manual/contrib.texi (Contributors): Update @node pointers.
26151         * manual/maint.texi (Maintenance): Likewise.
26152         (Platform): New node.
26153         * manual/platform.texi: New file.  Document the new features.
26155 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26156             Jakub Jelinek  <jakub@redhat.com>
26158         [BZ #14188]
26159         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26160         where __builtin_expect is unavailable.
26162 2012-06-03  David S. Miller  <davem@davemloft.net>
26164         * stdlib/longlong.h: Updated from GCC.
26166 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
26168         [BZ #14042]
26169         * sysdeps/powerpc/powerpc32/mcount.c: New file.
26170         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26171         __mcount_internal.
26172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26173         (GLIBC_2.16): Likewise.
26175 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26177         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26179 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26182         (default-abi): New variable.
26183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26184         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26185         variable.
26186         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26187         Likewise.
26188         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26189         Likewise.
26190         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26191         Likewise.
26193         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26194         definition.  Document in comment.
26196 2012-06-01  David S. Miller  <davem@davemloft.net>
26198         * stdlib/longlong.h: Updated from GCC.
26200 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26202         [BZ #14117]
26203         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26204         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26205         sys/debugreg.h sys/io.h here.
26206         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26207         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26208         sys/io.h.
26209         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26210         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26211         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26212         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26213         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26214         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26216         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26217         Define only if __x86_64__ is defined.
26219 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
26221         [BZ #14048]
26222         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26223         Use int64_t for variable i.
26224         * math/libm-test.inc (fmod_test): Add more tests.
26226         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26227         z computation is not scheduled after fetestexcept.
26228         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26229         Use math_force_eval instead of asm to ensure calculation scheduled
26230         before exception test.
26231         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26232         Ensure a1 + u.d computation is not scheduled after fetestexcept.
26234 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
26236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26237         computation is not scheduled after fetestexcept.
26239 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
26241         [BZ #14117]
26242         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26243         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26245 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26247         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26248         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26250 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26252         [BZ #14117]
26253         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26254         <bits/wordsize.h>.
26255         (__WCHAR_MIN): Support __WORDSIZE == 64.
26256         (__WCHAR_MAX): Likewise.
26258         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26259         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26261         [BZ #14183]
26262         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26263         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26265         [BZ #14117]
26266         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26267         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26269         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26270         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26272         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26273         Defined to 1 if __x86_64__ isn't defined.
26274         (_STAT_VER_LINUX_OLD): New.
26275         (st_atime): Remove duplicate.
26276         (st_mtime): Likewise.
26277         (st_ctime): Likewise.
26279 2012-05-31  David S. Miller  <davem@davemloft.net>
26281         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26282         entries.
26284 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
26286         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26287         gen-libm-test.pl.
26289         [BZ #14132]
26290         * elf/dl-reloc.c: Include <_itoa.h>.
26291         (_dl_reloc_bad_type): Remove use of INTUSE.
26292         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26293         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26294         * stdio-common/psiginfo.c (psiginfo): Likewise.
26295         * stdio-common/psignal.c (psignal): Likewise.
26296         * string/strsignal.c (strsignal): Likewise.
26297         * include/signal.h (_sys_siglist): Declare hidden proto.
26298         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
26299         INTVARDEF with libc_hidden_data_def.
26300         * stdio-common/itoa-udigits.c: Likewise.
26301         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26302         (_itoa_lower_digits_internal): Remove declaration.
26303         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26304         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26305         (_sys_sigabbrev_internal): Remove aliases.
26306         (_sys_siglist): Define hidden alias.
26308 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
26310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26311         bits/sysctl.h.
26313 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26315         [BZ #14117]
26316         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26317         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26319         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26320         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26321         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26322         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26323         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26324         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26326         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26327         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26328         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26330         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26331         with __addr.
26332         (insw): Likewise.
26333         (insl): Likewise.
26334         (outsb): Likewise.
26335         (outsw): Likewise.
26336         (outsl): Likewise.
26338         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26339         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26340         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26342         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26343         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26344         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26345         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26346         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26347         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26349         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26350         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26352         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26353         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26355         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26356         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26357         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26359         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26360         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26361         to ...
26362         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26364         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26365         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26366         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26368         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26369         for x86-64.
26370         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26372 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
26374         * math/math.h (M_El): Use two more decimal places.
26375         (M_LOG2El): Likewise.
26376         (M_LOG10El): Likewise.
26377         (M_LN2l): Likewise.
26378         (M_LN10l): Likewise.
26379         (M_PIl): Likewise.
26380         (M_PI_2l): Likewise.
26381         (M_PI_4l): Likewise.
26382         (M_1_PIl): Likewise.
26383         (M_2_PIl): Likewise.
26384         (M_2_SQRTPIl): Likewise.
26385         (M_SQRT2l): Likewise.
26386         (M_SQRT1_2l): Likewise.
26388 2012-05-31  David S. Miller  <davem@davemloft.net>
26390         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26391         values between float registers.
26392         * sysdeps/sparc/sparc64/memset.S: Likewise.
26393         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26395 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
26397         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26398         -D_FORTIFY_SOURCE=1.
26399         (CPPFLAGS-tst-longjmp_chk.c): Define.
26400         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26401         (CPPFLAGS-tst-longjmp_chk2.c): Define.
26402         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26403         CFLAGS-tst-wchar-h.c.
26405 2012-05-31  Marek Polacek  <polacek@redhat.com>
26407         [BZ #14132]
26408         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26409         __endmntent_internal): Remove declaration.
26410         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26411         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26412         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26414 2012-05-30  David S. Miller  <davem@davemloft.net>
26416         * sysdeps/sparc/sparc32/soft-fp/q_util.c
26417         (___Q_simulate_exceptions): Use real FP ops rather than writing
26418         into the %fsr.
26419         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26420         Likewise.
26422 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26424         [BZ #14117]
26425         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26426         * sysdeps/x86/bits/xtitypes.h: This.
26428         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26429         * sysdeps/x86/bits/wordsize.h: This.
26431         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26432         * sysdeps/x86/bits/huge_vall.h: This.
26434         * sysdeps/i386/bits/select.h: Removed.
26435         * sysdeps/x86_64/bits/select.h: Renamed to ...
26436         * sysdeps/x86/bits/select.h: This.
26438         * sysdeps/i386/bits/setjmp.h: Removed.
26439         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26440         * sysdeps/x86/bits/setjmp.h: This.
26442         * sysdeps/i386/bits/mathdef.h: Removed.
26443         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26444         * sysdeps/x86/bits/mathdef.h: This.
26446 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
26448         [BZ #14132]
26449         * include/sys/socket.h (__connect_internal)
26450         (__libc_sa_len_internal): Remove declaration.
26451         (__connect, __libc_sa_len): Declare hidden_proto.
26452         (SA_LEN): Remove use of INTUSE.
26453         * socket/connect.c: Add libc_hidden_def.
26454         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26455         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26456         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26457         alias.
26458         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26459         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26460         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26461         of adding _internal alias.
26463 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26465         [BZ #14117]
26466         * sysdeps/i386/bits/link.h: Removed.
26467         * sysdeps/i386/bits/linkmap.h: Likewise.
26468         * sysdeps/x86_64/bits/link.h: Renamed to ...
26469         * sysdeps/x86/bits/link.h: This.
26470         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26471         * sysdeps/x86/bits/linkmap.h: This.
26473         * sysdeps/i386/bits/endian.h: Removed.
26474         * sysdeps/x86_64/bits/endian.h: Renamed to ...
26475         * sysdeps/x86/bits/endian.h: This.
26477         * sysdeps/i386/bits/byteswap.h: Removed.
26478         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26479         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26480         * sysdeps/x86/bits/byteswap.h: This.
26481         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26482         * sysdeps/x86/bits/byteswap-16.h: This.
26483         * sysdeps/i386/Implies: Add x86.
26484         * sysdeps/x86_64/Implies: Likewise.
26486 2012-05-30  David S. Miller  <davem@davemloft.net>
26488         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26489         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26490         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26491         (FP_TRAPPING_EXCEPTIONS): Define.
26492         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26493         (FP_TRAPPING_EXCEPTIONS): Define.
26494         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26495         subnormals only when inexact has been signalled or underflow
26496         exceptions are enabled.
26497         (_FP_PACK_CANONICAL): Likewise.
26499 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26501         [BZ #14183]
26502         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26503         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26505 2012-05-30  Richard Henderson  <rth@twiddle.net>
26507         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26508         with #ifndef NOT_IN_libc.
26510         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
26511         marked to avoid plt entry.
26513 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26515         [BZ #14112]
26516         * Makeconfig (default-abi): New macro.
26517         (abi-includes): Likewise.
26518         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
26519         $(abi-$(default-abi)-lib-soname) for soname if defined.
26520         ($(common-objpfx)gnu/lib-names.stmp): Generate from
26521         abi-variants.
26522         * Makefile (installed-stubs): Likewise.
26523         * include/stubs-biarch.h: Removed.
26524         * scripts/lib-names.awk: Only handle one library at a time.
26525         * scripts/soversions.awk: Remove WORDSIZE support.
26526         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26527         entries.
26528         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26529         Removed.
26530         (syscall-list-default-condition): Likewise.
26531         (syscall-list-default-condition): Likewise.
26532         (syscall-list-includes): Likewise.
26533         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26534         syscall-list-* with abi-*.  Handle undefined abi-variants.
26535         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26536         * sysdeps/unix/sysv/linux/i386/Implies: New file.
26537         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26538         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26539         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26540         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26541         Removed.
26542         (syscall-list-32-options): Likewise.
26543         (syscall-list-32-condition): Likewise.
26544         (syscall-list-64-options): Likewise.
26545         (syscall-list-64-condition): Likewise.
26546         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26547         macro.
26548         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26549         Renamed to ...
26550         (abi-*): This.
26551         (abi-64-ld-soname): New macro.
26552         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26553         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26554         Renamed to ...
26555         (abi-*): This.
26556         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26557         * sysdeps/x86_64/x32/shlib-versions: Likewise.
26559 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
26561         * sysdeps/unix/sysv/linux/kernel-features.h
26562         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26563         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26564         include <kernel-features.h>.
26565         [!__NR_ftruncate64]: Remove conditional code.
26566         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26567         [__NR_ftruncate64]: Make code unconditional.
26568         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26569         * sysdeps/unix/sysv/linux/truncate64.c: Do not
26570         include <kernel-features.h>.
26571         [!__NR_ftruncate64]: Remove conditional code.
26572         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26573         [__NR_ftruncate64]: Make code unconditional.
26574         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26576         include <kernel-features.h>.
26577         [!__NR_ftruncate64]: Remove conditional code.
26578         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26579         [__NR_ftruncate64]: Make code unconditional.
26580         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26582         include <kernel-features.h>.
26583         [!__NR_ftruncate64]: Remove conditional code.
26584         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26585         [__NR_ftruncate64]: Make code unconditional.
26586         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26588         * configure.in (libc_cv_fpie): Weaken to a compile test using
26589         LIBC_TRY_CC_OPTION.
26590         * configure: Regenerated.
26592 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26598         Refreshed.
26599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26605         Refreshed.
26607 2012-05-27  David S. Miller  <davem@davemloft.net>
26609         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26610         (___Q_zero): New.
26611         (__Q_simulate_exceptions): Return void.  Change to simulate
26612         exceptions by writing into the %fsr.
26613         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26614         (__Qp_handle_exceptions): Likewise.
26615         (numbers): Delete.
26616         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26617         __Qp_handle_exceptions.
26618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26619         __Qp_handle_exceptions.
26620         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26621         as unused and give dummy FP_RND_NEAREST initializer.
26622         (FP_INHIBIT_RESULTS): Define.
26623         (___Q_simulate_exceptions): Update declaration.
26624         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26625         formatting.
26626         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26627         as unused and give dummy FP_RND_NEAREST initializer.
26628         (__Qp_handle_exceptions): Update declaration.
26629         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26630         formatting.
26632 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
26634         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26635         the temporary FPU control word.
26636         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26637         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26638         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26639         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26640         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26641         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26642         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26643         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26644         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26645         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26646         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26648 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26650         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26651         fields.
26653 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
26655         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26656         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26657         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26658         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26659         Likewise.
26660         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26661         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26662         Likewise.
26664 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
26666         * po/h.po: Update from translation team.
26668 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
26670         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26672         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26673         handling of denormals.
26674         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26675         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26676         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26677         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26678         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26679         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26680         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26681         Likewise.
26683 2012-05-26  Marek Polacek  <polacek@redhat.com>
26685         [BZ #14152]
26686         * math/libm-test.inc (fma_test): Don't always expect underflow
26687         exception.
26689 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26691         [BZ #12416]
26692         * elf/tst-execstack.c: Include stackinfo.h.
26693         (do_test): Adjust test case to ensure that pthread_getattr_np
26694         behaviour remains the same after marking stack executable.
26696 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26698         * sysdeps/unix/sysv/linux/kernel-features.h
26699         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26700         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26701         kernel-features.h.
26702         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26703         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26704         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26705         kernel-features.h.
26706         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26707         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26709 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
26711         * configure.in: Define the default includes to being none.
26712         * configure: Regenerated.
26714 2012-05-25  Roland McGrath  <roland@hack.frob.com>
26716         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26717         * sysdeps/x86_64/setjmp.S: Likewise.
26718         * sysdeps/i386/bsd-setjmp.S: Likewise.
26719         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26720         * sysdeps/i386/setjmp.S: Likewise.
26721         * sysdeps/i386/__longjmp.S: Likewise.
26722         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26723         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26725         * include/stap-probe.h: New file.
26726         * configure.in: Handle --enable-systemtap.
26727         * configure: Regenerated.
26728         * config.h.in (USE_STAP_PROBE): New #undef.
26729         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26730         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26731         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26733 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26735         [BZ #13717]
26736         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26737         to 2.4.0 where earlier.
26738         * sysdeps/unix/sysv/linux/configure: Regenerated.
26739         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26740         <kernel-features.h>.
26741         [__ASSUME_32BITUIDS]: Make code unconditional.
26742         [!__ASSUME_32BITUIDS]: Remove conditional code.
26743         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26744         <kernel-features.h>.
26745         [__ASSUME_32BITUIDS]: Make code unconditional.
26746         [!__ASSUME_32BITUIDS]: Remove conditional code.
26747         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26748         [__ASSUME_32BITUIDS]: Make code unconditional.
26749         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26750         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26751         <kernel-features.h>.
26752         [__ASSUME_32BITUIDS]: Make code unconditional.
26753         [!__ASSUME_32BITUIDS]: Remove conditional code.
26754         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26755         <kernel-features.h>.
26756         [__ASSUME_32BITUIDS]: Make code unconditional.
26757         [!__ASSUME_32BITUIDS]: Remove conditional code.
26758         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26759         <kernel-features.h>.
26760         [__ASSUME_32BITUIDS]: Make code unconditional.
26761         [!__ASSUME_32BITUIDS]: Remove conditional code.
26762         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26763         <kernel-features.h>.
26764         [__ASSUME_32BITUIDS]: Make code unconditional.
26765         [!__ASSUME_32BITUIDS]: Remove conditional code.
26766         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26767         <kernel-features.h>.
26768         [__ASSUME_32BITUIDS]: Make code unconditional.
26769         [!__ASSUME_32BITUIDS]: Remove conditional code.
26770         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26771         <kernel-features.h>.
26772         [__ASSUME_32BITUIDS]: Make code unconditional.
26773         [!__ASSUME_32BITUIDS]: Remove conditional code.
26774         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26775         <kernel-features.h>.
26776         [__ASSUME_32BITUIDS]: Make code unconditional.
26777         [!__ASSUME_32BITUIDS]: Remove conditional code.
26778         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26779         <kernel-features.h>.
26780         [__ASSUME_32BITUIDS]: Make code unconditional.
26781         [!__ASSUME_32BITUIDS]: Remove conditional code.
26782         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26783         <kernel-features.h>.
26784         [__ASSUME_32BITUIDS]: Make code unconditional.
26785         [!__ASSUME_32BITUIDS]: Remove conditional code.
26786         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26787         <kernel-features.h>.
26788         [__ASSUME_32BITUIDS]: Make code unconditional.
26789         [!__ASSUME_32BITUIDS]: Remove conditional code.
26790         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26791         <kernel-features.h>.
26792         [__NR_setresgid] (__setresgid): Do not declare.
26793         [__ASSUME_32BITUIDS]: Make code unconditional.
26794         [!__ASSUME_32BITUIDS]: Remove conditional code.
26795         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26796         <kernel-features.h>.
26797         [__NR_setresuid] (__setresuid): Do not declare.
26798         [__ASSUME_32BITUIDS]: Make code unconditional.
26799         [!__ASSUME_32BITUIDS]: Remove conditional code.
26800         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.c: Do not include
26825         <kernel-features.h>.
26826         [__ASSUME_32BITUIDS]: Make code unconditional.
26827         [!__ASSUME_32BITUIDS]: Remove conditional code.
26828         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26829         <kernel-features.h>.
26830         [__ASSUME_32BITUIDS]: Make code unconditional.
26831         [!__ASSUME_32BITUIDS]: Remove conditional code.
26832         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26833         <kernel-features.h>.
26834         [__ASSUME_32BITUIDS]: Make code unconditional.
26835         [!__ASSUME_32BITUIDS]: Remove conditional code.
26836         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26837         <kernel-features.h>.
26838         [__ASSUME_32BITUIDS]: Make code unconditional.
26839         [!__ASSUME_32BITUIDS]: Remove conditional code.
26840         * sysdeps/unix/sysv/linux/kernel-features.h
26841         (__ASSUME_SETRESUID_SYSCALL): Remove.
26842         (__ASSUME_SETRESGID_SYSCALL): Likewise.
26843         (__ASSUME_32BITUIDS): Likewise.
26844         (__ASSUME_LDT_WORKS): Likewise.
26845         (__ASSUME_O_DIRECTORY): Likewise.
26846         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26847         architecture but not kernel version.
26848         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26849         (__ASSUME_MMAP2_SYSCALL): Likewise.
26850         (__ASSUME_STAT64_SYSCALL): Likewise.
26851         (__ASSUME_IPC64): Likewise.
26852         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26853         <kernel-features.h>.
26854         [__ASSUME_32BITUIDS]: Make code unconditional.
26855         [!__ASSUME_32BITUIDS]: Remove conditional code.
26856         * sysdeps/unix/sysv/linux/opendir.c: Do not include
26857         <kernel-features.h>.
26858         [__ASSUME_O_DIRECTORY]: Make code unconditional.
26859         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26860         132096]: Remove conditional code.
26861         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26862         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
26871         <kernel-features.h>.
26872         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26873         unconditional.
26874         (__setresgid): Do not declare.
26875         [__ASSUME_32BITUIDS]: Make code unconditional.
26876         [!__ASSUME_32BITUIDS]: Remove conditional code.
26877         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26878         <kernel-features.h>.
26879         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26880         unconditional.
26881         (__setresuid): Do not declare.
26882         [__ASSUME_32BITUIDS]: Make code unconditional.
26883         [!__ASSUME_32BITUIDS]: Remove conditional code.
26884         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26885         <kernel-features.h>.
26886         [__ASSUME_32BITUIDS]: Make code unconditional.
26887         [!__ASSUME_32BITUIDS]: Remove conditional code.
26888         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26889         <kernel-features.h>.
26890         [__ASSUME_32BITUIDS]: Make code unconditional.
26891         [!__ASSUME_32BITUIDS]: Remove conditional code.
26893 2012-05-25  Richard Henderson  <rth@twiddle.net>
26895         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26896         dl_hwcap to ifunc resolver.
26897         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26898         elf_ifunc_invoke.
26899         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26900         dl_hwcap to ifunc resolver.
26901         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26903 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26905         [BZ #14153]
26906         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26907         for |x| <= 2**-26, not 2**-57.
26908         * math/libm-test.inc (acos_test): Do not allow spurious underflow
26909         exception.
26911 2012-05-24  Jeff Law  <law@redhat.com>
26913         * stdio-common/Makefile (tests): Add bug25.
26914         * stdio-common/bug25.c: New test.
26916 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26918         [BZ #13576]
26919         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26920         multiple of MALLOC_ALIGNMENT in size.
26921         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26923 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26925         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26926         Require >= 256.
26927         (FILENAME_MAX): Use macro-int-constant.
26928         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
26929         (_IOFBF): Use macro-int-constant.
26930         (_IOLBF): Likewise.
26931         (_IONBF): Likewise.
26932         (SEEK_CUR): Likewise.
26933         (SEEK_END): Likewise.
26934         (SEEK_SET): Likewise.
26935         (TMP_MAX): Likewise.
26936         (EOF): Use macro-int-constant.  Require < 0.
26937         (NULL): Use macro-constant.  Require == 0.
26938         (stdin): Require type to be FILE *.
26939         (stdout): Likewise.
26940         (stderr): Likewise.
26941         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26942         macro-int-constant.
26943         (EXIT_SUCCESS): Likewise.
26944         (NULL): Use macro-constant.  Require == 0.
26945         (RAND_MAX): Use macro-int-constant.
26946         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26947         [C99-based standards] (strtof): Require function.
26948         [C99-based standards] (strtold): Likewise.
26949         [C99-based standards] (strtoll): Likewise.
26950         [C99-based standards] (strtoull): Likewise.
26951         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26952         [ISO || ISO99 || ISO11] (limits.h): Likewise.
26953         [ISO || ISO99 || ISO11] (math.h): Likewise.
26954         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26955         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26956         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26958 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
26960         [BZ #14132]
26961         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26962         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26963         * intl/dgettext.c (DCGETTEXT): Likewise.
26964         * intl/gettext.c (DCGETTEXT): Likewise.
26965         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26966         * posix/regex_internal.h (gettext): Likewise.
26967         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26968         Remove declaration.
26969         * include/argz.h (__argz_count_internal)
26970         (__argz_stringify_internal): Remove declaration.
26971         (__argz_count, __argz_stringify): Declare hidden proto.
26972         * intl/dcgettext.c: Remove use of INTDEF.
26973         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26974         * string/argz-stringify.c: Likewise.
26975         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26976         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26977         Declare hidden proto.
26978         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26979         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26980         Declare hidden proto.
26981         * include/stdio.h (__asprintf_internal): Don't declare.
26982         (__asprintf): Don't define as macro.  Declare hidden proto.
26983         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26984         (__fsetlocking): Declare hidden proto.
26985         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26986         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26987         hidden proto.
26988         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26989         (_IO_setlinebuf): Remove use of INTUSE.
26990         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26991         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26992         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26993         Remove declaration.
26994         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26995         (_IO_do_flush): Remove use of INTUSE.
26996         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26997         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26998         (_IO_adjust_column, _IO_least_wmarker)
26999         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27000         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27001         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27002         (_IO_default_doallocate, _IO_wdefault_doallocate)
27003         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27004         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27005         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27006         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27007         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27008         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27009         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27010         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27011         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27012         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27013         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27014         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27015         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27016         proto.
27017         (_IO_flush_all_internal, _IO_adjust_column_internal)
27018         (_IO_default_uflow_internal, _IO_default_finish_internal)
27019         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27020         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27021         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27022         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27023         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27024         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27025         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27026         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27027         (_IO_file_close_internal, _IO_file_close_it_internal)
27028         (_IO_file_underflow_internal, _IO_file_overflow_internal)
27029         (_IO_file_init_internal, _IO_file_attach_internal)
27030         (_IO_file_fopen_internal, _IO_file_read_internal)
27031         (_IO_file_sync_internal, _IO_file_seek_internal)
27032         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27033         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27034         (_IO_str_underflow_internal, _IO_str_overflow_internal)
27035         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27036         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27037         (_IO_list_all_internal, _IO_link_in_internal)
27038         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27039         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27040         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27041         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27042         (_IO_do_write_internal, _IO_padn_internal)
27043         (_IO_getline_info_internal, _IO_getline_internal)
27044         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27045         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27046         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27047         (_IO_vfscanf_internal, _IO_vfprintf_internal)
27048         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27049         (_IO_init_internal, _IO_un_link_internal): Don't declare.
27050         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27051         with libc_hidden_ver, remove use of INTUSE.
27052         * libio/genops.c: Likewise.
27053         * libio/freopen.c: Likewise.
27054         * libio/freopen64.c: Likewise.
27055         * libio/iofclose.c: Likewise.
27056         * libio/iofdopen.c: Likewise.
27057         * libio/iofflush.c: Likewise.
27058         * libio/iofflush_u.c: Likewise.
27059         * libio/iofgets.c: Likewise.
27060         * libio/iofgets_u.c: Likewise.
27061         * libio/iofopen.c: Likewise.
27062         * libio/iofopncook.c: Likewise.
27063         * libio/iofread.c: Likewise.
27064         * libio/iofread_u.c: Likewise.
27065         * libio/ioftell.c: Likewise.
27066         * libio/iofwrite.c: Likewise.
27067         * libio/iogetline.c: Likewise.
27068         * libio/iogets.c: Likewise.
27069         * libio/iogetwline.c: Likewise.
27070         * libio/iopadn.c: Likewise.
27071         * libio/iopopen.c: Likewise.
27072         * libio/ioseekoff.c: Likewise.
27073         * libio/ioseekpos.c: Likewise.
27074         * libio/iosetbuffer.c: Likewise.
27075         * libio/iosetvbuf.c: Likewise.
27076         * libio/ioungetc.c: Likewise.
27077         * libio/ioungetwc.c: Likewise.
27078         * libio/iovdprintf.c: Likewise.
27079         * libio/iovsprintf.c: Likewise.
27080         * libio/iovsscanf.c: Likewise.
27081         * libio/memstream.c: Likewise.
27082         * libio/obprintf.c: Likewise.
27083         * libio/oldfileops.c: Likewise.
27084         * libio/oldiofclose.c: Likewise.
27085         * libio/oldiofdopen.c: Likewise.
27086         * libio/oldiofopen.c: Likewise.
27087         * libio/oldiopopen.c: Likewise.
27088         * libio/oldstdfiles.c: Likewise.
27089         * libio/putc.c: Likewise.
27090         * libio/setbuf.c: Likewise.
27091         * libio/setlinebuf.c: Likewise.
27092         * libio/stdfiles.c: Likewise.
27093         * libio/strops.c: Likewise.
27094         * libio/vasprintf.c: Likewise.
27095         * libio/vscanf.c: Likewise.
27096         * libio/vsnprintf.c: Likewise.
27097         * libio/vswprintf.c: Likewise.
27098         * libio/wfiledoalloc.c: Likewise.
27099         * libio/wfileops.c: Likewise.
27100         * libio/wgenops.c: Likewise.
27101         * libio/wmemstream.c: Likewise.
27102         * libio/wstrops.c: Likewise.
27103         * libio/__fpurge.c: Likewise.
27104         * libio/__fsetlocking.c: Likewise.
27105         * assert/assert.c: Likewise.
27106         * debug/fgets_chk.c: Likewise.
27107         * debug/fgets_u_chk.c: Likewise.
27108         * debug/fread_chk.c: Likewise.
27109         * debug/fread_u_chk.c: Likewise.
27110         * debug/gets_chk.c: Likewise.
27111         * debug/obprintf_chk.c: Likewise.
27112         * debug/vasprintf_chk.c: Likewise.
27113         * debug/vdprintf_chk.c: Likewise.
27114         * debug/vsnprintf_chk.c: Likewise.
27115         * debug/vsprintf_chk.c: Likewise.
27116         * malloc/mtrace.c: Likewise.
27117         * misc/error.c: Likewise.
27118         * misc/syslog.c: Likewise.
27119         * stdio-common/asprintf.c: Likewise.
27120         * stdio-common/fxprintf.c: Likewise.
27121         * stdio-common/getw.c: Likewise.
27122         * stdio-common/isoc99_fscanf.c: Likewise.
27123         * stdio-common/isoc99_scanf.c: Likewise.
27124         * stdio-common/isoc99_vfscanf.c: Likewise.
27125         * stdio-common/isoc99_vscanf.c: Likewise.
27126         * stdio-common/isoc99_vsscanf.c: Likewise.
27127         * stdio-common/printf-prs.c: Likewise.
27128         * stdio-common/printf_fp.c: Likewise.
27129         * stdio-common/printf_fphex.c: Likewise.
27130         * stdio-common/printf_size.c: Likewise.
27131         * stdio-common/putw.c: Likewise.
27132         * stdio-common/scanf.c: Likewise.
27133         * stdio-common/sprintf.c: Likewise.
27134         * stdio-common/tmpfile.c: Likewise.
27135         * stdio-common/vfprintf.c: Likewise.
27136         * stdio-common/vfscanf.c: Likewise.
27137         * stdlib/strfmon_l.c: Likewise.
27138         * sunrpc/openchild.c: Likewise.
27139         * sunrpc/xdr_stdio.c: Likewise.
27140         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27141         * sysdeps/mach/hurd/tmpfile.c: Likewise.
27143 2012-05-24  Roland McGrath  <roland@hack.frob.com>
27145         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27147         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27148         in the third column, to generate for the shared library an IFUNC
27149         that uses _dl_vdso_vsym.
27150         * Makerules (COMPILE.c, compile-stdin.c): New variables.
27151         * Makeconfig (object-suffixes-noshared): New variable.
27153         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27154         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27155         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27156         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27158         [BZ #14132]
27159         * include/sys/time.h (__gettimeofday): Remove macro.
27160         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27161         * time/gettimeofday.c (__gettimeofday): Remove #undef.
27162         Remove INTDEF.
27163         (__gettimeofday): Add libc_hidden_def.
27164         (gettimeofday): Add libc_hidden_weak.
27165         * sysdeps/mach/gettimeofday.c: Likewise.
27166         * sysdeps/posix/gettimeofday.c: Likewise.
27167         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27168         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27170         (__gettimeofday_internal): Remove strong_alias.
27171         (__gettimeofday): Add libc_hidden_def.
27172         (gettimeofday): Add libc_hidden_weak.
27173         * sysdeps/unix/syscalls.list (gettimeofday):
27174         Remove __gettimeofday_internal alias.
27176 2012-05-24  Daniel Jacobowitz  <drow@false.org>
27177             H.J. Lu  <hongjiu.lu@intel.com>
27179         [BZ #12495]
27180         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27181         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27182         (largebin_index_32_big): New.
27183         (largebin_index): Use it for 16-byte alignment.
27184         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
27185         correction with front_misalign.
27187 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
27189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27191         Likewise.
27192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27193         Likewise.
27194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27195         Likewise.
27196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27197         Likewise.
27198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27199         Likewise.
27200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27201         Likewise.
27202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27203         Likewise.
27204         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27205         Likewise.
27206         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27207         Likewise.
27208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27209         Likewise.
27210         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27211         Likewise.
27212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27213         Likewise.
27215         * scripts/data/c++-types-x32-linux-gnu.data: New file.
27216         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27218 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
27220         [BZ #10846]
27221         [BZ #14036]
27222         * math/libm-test.inc (exp_test): Add test from bug 14036.
27223         (pow_test): Add test from bug 10846.
27225         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27226         and other flags.
27227         (special_function): Do not include flags in test name.
27228         (parse_args): Likewise.
27229         * sysdeps/i386/fpu/libm-test-ulps: Update.
27230         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27231         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27232         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27235         * math/gen-libm-test.pl (%beautify): Add entries for underflow
27236         exceptions.
27237         * math/libm-test.inc ("Philosophy"): Update comment about
27238         exception testing.
27239         (UNDERFLOW_EXCEPTION): New macro.
27240         (UNDERFLOW_EXCEPTION_OK): Likewise.
27241         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27242         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27243         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27244         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27245         (INVALID_EXCEPTION_OK): Update value.
27246         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27247         (OVERFLOW_EXCEPTION_OK): Likewise.
27248         (IGNORE_ZERO_INF_SIGN): Likewise.
27249         (test_exceptions): Handle underflow exceptions.
27250         (acos_test): Update for underflow exception expectations.
27251         (cexp_test): Likewise.
27252         (clog_test): Likewise.
27253         (clog10_test): Likewise.
27254         (csqrt_test): Likewise.
27255         (ctan_test): Likewise.
27256         (ctanh_test): Likewise.
27257         (exp_test): Likewise.
27258         (exp10_test): Likewise.
27259         (exp2_test): Likewise.
27260         (expm1_test): Likewise.
27261         (fma_test): Likewise.
27262         (j0_test): Likewise.
27263         (jn_test): Likewise.
27264         (nexttoward_test): Likewise.
27265         (pow_test): Likewise.
27266         (scalbn_test): Likewise.
27267         (scalbln_test): Likewise.
27268         (tan_test): Likewise.
27269         (y1_test): Likewise.
27270         * sysdeps/i386/fpu/libm-test-ulps: Update.
27271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27273 2012-05-23  David S. Miller  <davem@davemloft.net>
27275         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27276         (__libc_sigaction): Remove unused local variables.
27278 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27280         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27282 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
27284         mktime: avoid signed integer overflow
27285         * time/mktime.c (__mktime_internal): Do not mishandle the case
27286         where diff == INT_MIN.
27288         mktime: simplify computation of average
27289         * time/mktime.c (ranged_convert): Use new time_t_avg function
27290         instead of rolling our own (probably-slower) code.
27292         mktime: do not assume signed right shift propagates sign bit
27293         * time/mktime.c (isdst_differ): New static function.
27294         (__mktime_internal): No need to normalize tm_isdst now.
27295         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27296         tm_isdst values.
27298         mktime: merge another wrapv change from gnulib
27299         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27300         from some compilers.
27302         mktime: remove incorrect attempt at unusual arithmetics
27303         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27304         The code didn't really work on such machines anyway.
27305         (TYPE_MINIMUM): Assume two's complement.
27306         (twos_complement_arithmetic): Verify that long_int and time_t
27307         are two's complement (or unsigned, in the latter case).
27309         mktime: check signed shifts on long_int and time_t, too
27310         * time/mktime.c (SHR): Check that shifts work as desired
27311         on the types long_int and time_t too, as SHR is used on
27312         such types.
27314         mktime: do not assume 'long' is wide enough
27315         * time/mktime.c (verify): Move decl up.
27316         (long_int): New type.
27317         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27318         to remove assumption in the code that 'long' is wide enough to
27319         store year values.  This assumption is not true on x32 and on
27320         some non-glibc platforms.
27322         mktime: merge wrapv change from gnulib
27323         * time/mktime.c (WRAPV): New macro.
27324         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27325         (guess_time_tm, __mktime_internal): Do not assume that signed
27326         integer overflow wraps around; modern compilers generate code
27327         where this assumption is no longer valid.
27329 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27331         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27332         Replace "jmp L(pseudo_end)" with "ret".
27333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27334         Likewise.
27336 2012-05-23  Andreas Jaeger  <aj@suse.de>
27338         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27339         * sysdeps/unix/sysv/linux/poll.c: Remove file.
27341 2012-05-23  Andreas Jaeger  <aj@suse.de>
27342             Maximilian Attems  <max@stro.at>
27344         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27345         New macros.
27347 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27349         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27350         code so that pseudo_end is just ret and the stack pointer is
27351         correct also for static library in error case.
27353 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
27355         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27356         move to syscalls.list.
27357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27362         * manual/install.texi (Running make install): Do not mention Linux
27363         kernel version for which pt_chown is not needed.
27364         (Linux): Do not mention problems with nscd with 2.0 kernels.
27365         * INSTALL: Regenerated.
27367 2012-05-23  Andreas Jaeger  <aj@suse.de>
27369         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27370         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27371         macro.
27372         * sysdeps/unix/sysv/linux/s390/bits/mman.h
27373         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27374         * sysdeps/unix/sysv/linux/sh/bits/mman.h
27375         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27376         * sysdeps/unix/sysv/linux/i386/bits/mman.h
27377         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27378         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27379         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27380         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27381         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27382         * sysdeps/unix/sysv/linux/bits/in.h
27383         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27385 2012-05-22  Roland McGrath  <roland@hack.frob.com>
27387         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27388         (PREPARE_VERSION): Just use assert instead, it will be elided
27389         under [NDEBUG] anyway.
27391 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27393         * sysdeps/unix/sysv/linux/Makefile: Include
27394         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27395         (sysdep_routines): Remove sysctl.
27396         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27397         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27398         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27399         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27400         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27402 2012-05-22  Andreas Jaeger  <aj@suse.de>
27404         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27405         that pseudo_end is just ret and the stack pointer is correct also
27406         for static library in error case.
27408 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
27410         [BZ #14122]
27411         * nss/nsswitch.c (defconfig_entries): New variable.
27412         (__nss_database_lookup): Don't leak defconfig entries.
27413         (nss_parse_service_list): Don't leak on error paths.
27414         (free_database_entries): New function.
27415         (free_defconfig): New function.
27416         (free_mem): Move common code to free_database_entries.
27418 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27420         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27421         Add arch_prctl.
27422         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27424         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27425         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27426         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27427         New macro.
27428         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27429         (INTERNAL_SYSCALL_TYPES): Likewise.
27430         (LOAD_ARGS_TYPES_[1-6]): Likewise.
27431         (LOAD_REGS_TYPES_[1-6]): Likewise.
27432         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27433         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27435 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27437         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27438         copysignl for GLIBC_2_0.
27439         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27440         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27441         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27442         logbl for GLIBC_2_0.
27443         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27444         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27446 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27448         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27449         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27451         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27452         Use "neg %eax".
27454         * time/mktime.c: Update copyright years.
27456 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
27458         mktime: merge comment-quoting-style change from gnulib
27459         * time/mktime.c: Quote 'like this' in comments.
27460         The GNU coding standards suggest that we no longer quote `like this',
27461         as "`" and "'" are typically rendered asymmetrically nowadays.
27462         The typical gnulib style is to quote 'like this' when quoting
27463         code, and "like this" when quoting English.
27465         * time/mktime.c (compile-command): Add "-I.".
27467         mktime: merge mktime-internal.h change from gnulib
27468         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27470         mktime: merge time_r change from gnulib
27471         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27473         mktime: merge DEBUG change from gnulib
27474         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27475         case system <time.h> has a #define.
27477         mktime: merge <sys/types.h> change from gnulib
27478         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27479         since <time.t> is now guaranteed to define time_t.
27481         mktime: merge HAVE_CONFIG_H change from gnulib
27482         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27484 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27486         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27487         Use "neg %eax".
27489         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27490         __rlim_t cast.
27491         (struct rusage): Use anonymous union to pad each field to
27492         __syscall_slong_t.
27494 2012-05-21  David S. Miller  <davem@davemloft.net>
27496         * Makefules (o-iterator): Remove .s cases.
27497         (compile-command.s): Delete.
27498         (COMPILE.s): Delete.
27499         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27501 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
27503         * configure.in (libc_cv_predef_stack_protector): Only consider
27504         "foobar" and "__stack_chk_fail" lines in libc_undefs.
27505         * configure: Regenerated.
27507 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27510         New macro.  Use R*LP on int and pointer.
27511         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27512         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27513         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27514         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27516         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27517         [__WORDSIZE_TIME64_COMPAT32] instead of
27518         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27519         (struct utmp): Likewise.
27520         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27521         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27522         Renamed to ...
27523         (__WORDSIZE_TIME64_COMPAT32): This.
27524         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27525         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27526         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27527         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27528         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27529         (__WORDSIZE_TIME64_COMPAT32): New macro.
27531 2012-05-21  Andreas Jaeger  <aj@suse.de>
27533         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27534         only if [SHARED]. Add prototype for __wcschr_ia32.
27536 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27538         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27539         of %rbp unmolested in the jmp_buf while mangling the low bits.
27540         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27541         unmolested high bits of %rbp while demangling the low bits.
27542         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27544 2012-05-21  Andreas Jaeger  <aj@suse.de>
27546         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27547         * sunrpc/svc_simple.c: Use it for registerrpc.
27548         * sunrpc/xcrypt.c: Use it for passwd2des.
27550         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27552 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27554         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27555         Don't define if [__SYSCALL_WORDSIZE != 32].
27556         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27557         New macro.
27559 2012-05-21  Bruno Haible  <bruno@clisp.org>
27560             Andreas Jaeger  <aj@suse.de>
27562         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27563         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27564         inptr and inend for must_buffer_ch.
27565         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27566         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27567         * stdio-common/Makefile (tests): Remove bug15.
27568         (bug15-ENV): Remove macro.
27569         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27570         anymore.
27572 2012-05-19  Andreas Jaeger  <aj@suse.de>
27573             Roland McGrath  <roland@hack.frob.com>
27575         * manual/contrib.texi: Completely rewritten. It contains now an
27576         alphabetical list of contributors and their contributions.
27578 2012-05-21  Richard Henderson  <rth@twiddle.net>
27580         * misc/getauxval.c (__getauxval): Use unsigned long int.
27581         * misc/sys/auxv.h: Include <sys/cdefs.h>.
27582         (getauxval): Use unsigned long int.
27584 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27586         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27588 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27590         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27591         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27592         __alignof__ (long double).
27594 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27598 2012-05-20  Richard Henderson  <rth@twiddle.net>
27600         * misc/getauxval.c: New file.
27601         * misc/sys/auxv.h: New file.
27602         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27603         (routines): Add getauxval.
27604         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27605         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27606         * elf/dl-sysdep.c (_dl_auxv): Remove.
27607         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27608         * elf/dl-support.c (_dl_auxv): New variable.
27609         (_dl_aux_init): Initialize it.
27610         * manual/startup.texi (Auxiliary Vector): New node.
27611         * sysdeps/generic/bits/hwcap.h: New file.
27612         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27613         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
27614         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27615         * sysdeps/sparc/sysdep.h: ... here.  Include it.
27616         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27617         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27619         Update.
27620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27623         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27625         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27629 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27633 2012-05-19  David S. Miller  <davem@davemloft.net>
27635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27637 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27639         [BZ #14123]
27640         * math/s_ccosh.c: Include <float.h>
27641         (__ccosh): Avoid internal overflow calculating sinh and cosh
27642         values before multiplying by sin and cos values.
27643         * math/s_ccoshf.c: Likewise.
27644         * math/s_ccoshl.c: Likewise.
27645         * math/s_csin.c: Likewise.
27646         * math/s_csinf.c: Likewise.
27647         * math/s_csinl.c: Likewise.
27648         * math/s_csinh.c: Likewise.
27649         * math/s_csinhf.c: Likewise.
27650         * math/s_csinhl.c: Likewise.
27651         * math/libm-test.inc (ccos_test): Add more tests.
27652         (ccosh_test): Likewise.
27653         (csin_test): Likewise.
27654         (csinh_test): Likewise.
27655         * sysdeps/i386/fpu/libm-test-ulps: Update.
27656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27658 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
27660         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27661         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27663         * sysdeps/x86_64/x32/_itoa.h: Add comment.
27665 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27667         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27668         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27669         * sysdeps/powerpc/soft-fp/Versions: Likewise.
27670         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27671         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27672         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27673         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27674         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27675         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27676         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27677         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27678         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27679         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27680         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27681         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27682         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27683         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27684         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27685         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27686         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27687         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27688         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27689         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27690         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27691         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27692         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27693         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27694         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27695         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27696         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27697         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27699 2012-05-18  Andreas Jaeger  <aj@suse.de>
27701         * csu/.gitignore: Delete.
27703 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27705         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27706         (timex): Use __syscall_slong_t.
27708 2012-05-18  Andreas Jaeger  <aj@suse.de>
27709             Carlos O'Donell  <carlos_odonell@mentor.com>
27711         * manual/install.texi (Configuring and compiling): Update
27712         description about files modified in the source directory.
27713         * INSTALL: Regenerated.
27715 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27717         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27718         value.  Use "or" to set return value to -1.
27719         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27720         negate return value.
27722 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27724         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27725         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27726         failure if the compiler has Graphite support disabled.
27727         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27728         Likewise.
27729         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27730         CFLAGS-memmove.c): Likewise.
27731         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27732         Likewise.
27734 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27736         * sysdeps/x86_64/x32/_itoa.h: New file.
27738         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27739         getdents system call only if kernel and user dirents have the
27740         same d_ino and d_off.
27742         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27743         LLONG_MAX != LONG_MAX.
27744         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27745         (_fitoa_word): Likewise.
27747         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27748         years.
27749         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27750         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27751         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27753         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27754         include <bits/wordsize.h>.  Check __x86_64__ instead of
27755         __WORDSIZE.
27756         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27757         if __x86_64__ is defined.  Use anonymous union on fpstate.
27759         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27760         anonymous union.
27762 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
27764         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27765         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27766         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27767         Refer to _rtld_local_ro instead of _rtld_global_ro.
27768         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27769         Likewise.
27770         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27771         Likewise.
27772         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27773         Likewise.
27774         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27775         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27776         of _rtld_global, and rtld_progname instead of _dl_argv[0].
27778         * sysdeps/powerpc/powerpc32/dl-machine.c
27779         (__elf_machine_runtime_setup) [PROF]: Don't reference
27780         _dl_prof_resolve.
27782 2012-05-18  Andreas Jaeger  <aj@suse.de>
27784         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27785         function only available for GCCs before 3.4 since GCC 3.4
27786         introduced a builtin.
27787         (lrint): Likewise.
27788         (llrintf): Likewise.
27789         (llrint): Likewise.
27790         (fmaxf): Likewise.
27791         (fmax): Likewise.
27792         (fminf): Likewise.
27793         (fmin): Likewise.
27794         (rint): Likewise.
27795         (rintf): Likewise.
27796         (nearbyint): Likewise.
27797         (nearbyintf): Likewise.
27798         (ceil): Likewise.
27799         (ceilf): Likewise.
27800         (floor): Likewise.
27801         (floorf): Likewise.
27803 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27805         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27806         on both fields and cast pointer to __syscall_ulong_t.
27808         * bits/types.h (__fsword_t): New type.
27809         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27810         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27811         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27812         (__FSWORD_T_TYPE): Likewise.
27813         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27814         (__FSWORD_T_TYPE): Likewise.
27815         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27816         (__FSWORD_T_TYPE): Likewise.
27817         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27818         (__FSWORD_T_TYPE): Likewise.
27819         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27820         __SWORD_TYPE with __fsword_t.
27821         (statfs64): Likewise.
27823 2012-05-17  David S. Miller  <davem@davemloft.net>
27825         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27827 2012-05-17  Andreas Jaeger  <aj@suse.de>
27829         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27830         warning.
27832 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27834         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27836 2012-05-17  Andreas Jaeger  <aj@suse.de>
27838         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27839         when it is used.
27841 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27843         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27845 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27847         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27848         * sysdeps/x86_64/tst-mallocalign1.c: New file.
27850 2012-05-17  Andreas Jaeger  <aj@suse.de>
27851             Carlos O'Donell  <carlos_odonell@mentor.com>
27853         [BZ #14059]
27854         * sysdeps/x86_64/multiarch/init-arch.h
27855         (bit_YMM_Usable): Rename to...
27856         (bit_AVX_Usable): ... this.
27857         (bit_FMA4_Usable): New macro.
27858         (bit_XMM_state): New macro.
27859         (bit_YMM_state): New macro.
27860         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27861         [__ASSEMBLER__] (index_AVX_Usable): ... this.
27862         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27863         (CPUID_OSXSAVE): New macro.
27864         (CPUID_AVX): New macro.
27865         (CPUID_FMA4): New macro.
27866         (index_YMM_Usable): Rename to...
27867         (index_AVX_Usable): ... this.
27868         (HAS_AVX): Use HAS_ARCH_FEATURE.
27869         (HAS_FMA4): Likewise.
27870         (HAS_YMM_USABLE): Remove.
27871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27872         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27873         are present.
27874         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27875         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27876         * sysdeps/x86_64/multiarch/Makefile: Likewise.
27877         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27878         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27880 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27882         * math/libm-test.c: Support platforms without multiple rounding modes.
27883         * math/bug-nextafter.c: Support platforms without FP exceptions.
27884         * math/bug-nexttoward.c: Likewise.
27885         * math/test-fenv.c: Likewise.
27886         * math/test-misc.c: Likewise.
27887         * stdlib/bug-getcontext.c: Likewise.
27889 2012-05-17  Andreas Jaeger  <aj@suse.de>
27891         * manual/examples/search.c (critter_cmp): Change signature to
27892         avoid warnings.
27893         * manual/string.texi (Collation Functions): Likewise.
27895 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27897         * bits/types.h: Fold copyright years.
27898         * bits/typesizes.h: Likewise.
27899         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27900         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27901         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27903         * time/time.h: Likewise.
27905 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
27907         [BZ #208]
27908         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27909         in instead of returning them.  Return void.
27910         (__libc_mallinfo): Accumulate over all arenas.
27911         (__malloc_stats): Adjust for change in int_mallinfo interface.
27913 2012-05-16  Roland McGrath  <roland@hack.frob.com>
27915         [BZ #10375]
27916         * configure.in (NM): Add AC_CHECK_TOOL for it.
27917         (libc_extra_cflags): New substituted variable.
27918         Check for -fstack-protector being used implicitly.
27919         * configure: Regenerated.
27920         * config.make.in (config-extra-cflags): New variable,
27921         gets @libc_extra_cflags@.
27922         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27924         [BZ #10375]
27925         * configure.in: Check for _FORTIFY_SOURCE being predefined.
27926         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27927         * configure: Regenerated.
27928         * config.make.in (CPPUNDEFS): New substituted variable.
27929         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27930         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27931         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27933 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27935         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27936         (mq_attr): Use __syscall_slong_t.
27938 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27940         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27941         Check __x86_64__ instead of __WORDSIZE.
27942         (_STAT_VER_LINUX): Likewise.
27943         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
27944         __syscall_ulong_t and __syscall_slong_t.
27945         (stat64): Likewise.
27947 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27949         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27951 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27953         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27955 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27957         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27958         __syscall_ulong_t.
27960         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27961         include <bits/wordsize.h>.  Check __x86_64__ instead of
27962         __WORDSIZE.
27963         (greg_t): Use "__extension__ long long int" if __x86_64__ is
27964         defined.
27965         (mcontext_t): Replace "unsigned long" with "unsigned long long".
27967         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27968         include <bits/wordsize.h>.  Check __x86_64__ instead of
27969         __WORDSIZE.
27970         (user_regs_struct): Use "__extension__ unsigned long long"
27971         instead of "unsigned long" if __x86_64__ is defined.
27972         (user): Likewise.  Pad after pointer field if __ILP32__ is
27973         defined.
27975 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
27977         * configure.in (makeinfo): Require version 4.5 or later.  Allow
27978         versions 5 to 9.
27979         * configure: Regenerated.
27980         * manual/install.texi (texinfo): Increase version requirement to
27981         4.5 or later.
27982         * INSTALL: Regenerated.
27984         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27986 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27988         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27990         * sysdeps/x86_64/x32/ffs.c: New file.
27992         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27993         __syscall_ulong_t.
27994         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27995         defined.  Use __syscall_ulong_t.
27996         (shminfo): Use __syscall_ulong_t.
27997         (shm_info): Likewise.
27999         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28000         __syscall_ulong_t.
28002         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28003         <bits/wordsize.h>.
28004         (msgqnum_t): Use __syscall_ulong_t.
28005         (msglen_t): Likewise.
28006         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
28007         __syscall_ulong_t.
28009         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28010         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28012         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28014         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28015         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28017         * sysvipc/sys/msg.h (msgbuf): Replace long int with
28018         __syscall_slong_t.
28020         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28021         include <bits/wordsize.h>.  Check __x86_64__ instead of
28022         __WORDSIZE.
28024         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28025         "unsigned long long int" if __x86_64__ is defined.
28026         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28028         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28029         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
28030         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28032         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28033         <stdint.h>.
28034         (GET_PC): Cast to uintptr_t first.
28035         (GET_FRAME): Likewise.
28036         (GET_STACK): Likewise.
28038         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28039         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28040         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28041         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28042         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28043         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28044         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28045         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28046         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28047         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28048         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28049         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28050         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28051         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28052         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28053         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28054         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28055         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28056         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28057         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28058         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28059         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28060         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28061         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28062         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28063         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28064         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28065         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28066         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28068 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
28070         * Makerules (+depfiles): Also collect depfiles from .oS in
28071         $(extra-objs).
28072         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28073         .oS, $(libnldbl-routines)).
28075         * Makerules (native-compile-mkdep-flags): Define.
28076         * sunrpc/Makefile (extra-objs): Add $(addprefix
28077         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28078         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28079         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
28080         calling $(make-target-directory).
28082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28084         * bits/types.h (__snseconds_t): Removed.
28085         * time/time.h (struct timespec): Replace __snseconds_t with
28086         __syscall_slong_t.
28087         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28088         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28089         Likewise.
28090         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28091         (__SNSECONDS_T_TYPE): Likewise.
28092         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28093         (__SNSECONDS_T_TYPE): Likewise.
28094         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28095         (__SNSECONDS_T_TYPE): Likewise.
28097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28099         * sysdeps/mach/hurd/bits/typesizes.h
28100         (__SYSCALL_SLONG_TYPE): New macro.
28101         (__SYSCALL_ULONG_TYPE): Likewise.
28103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28105         * bits/types.h (__syscall_slong_t): New type.
28106         (__syscall_ulong_t): Likewise.
28108         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28109         (__SYSCALL_ULONG_TYPE): Likewise.
28110         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28111         (__SYSCALL_SLONG_TYPE): Likewise.
28112         (__SYSCALL_ULONG_TYPE): Likewise.
28113         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28114         (__SYSCALL_SLONG_TYPE): Likewise.
28115         (__SYSCALL_ULONG_TYPE): Likewise.
28116         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28117         (__SYSCALL_SLONG_TYPE): Likewise.
28118         (__SYSCALL_ULONG_TYPE): Likewise.
28120 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28122         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28123         Add sigaltstack-offsets.sym.
28124         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28125         <sigaltstack-offsets.h>.
28126         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
28127         longjmp_msg pointer.
28128         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
28129         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28130         signal stack.
28131         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28133 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28135         * elf/stackguard-macros.h: Remove file.
28136         * sysdeps/generic/stackguard-macros.h: New file.
28137         * sysdeps/i386/stackguard-macros.h: Likewise.
28138         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28139         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28140         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28141         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28142         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28143         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28144         * sysdeps/x86_64/stackguard-macros.h: Likewise.
28145         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28146         <elf/stackguard-macros.h>.
28148         [BZ #14109]
28149         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28150         __aligned__ in attribute.
28151         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28152         (gregset_t): Likewise.
28154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28156         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28157         * sysdeps/x86_64/64/Implies-after: Here.  New file.
28158         * sysdeps/x86_64/x32/Implies-after: New file.
28160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28162         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28163         and access return value for _dl_profile_fixup.  Use R10_LP to
28164         load frame size.
28166 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28168         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28172         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28173         * sysdeps/x86_64/x32/sysdep.h: New file.
28175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28177         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28178         * sysdeps/x86_64/setjmp.S: Likewise.
28180 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28182         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28183         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28184         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28185         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28186         remove unused global constant.
28188 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
28190         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28191         include of <not-cancel.h>.
28193 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28195         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28197 2012-05-15  Jeff Law  <law@redhat.com>
28198             Andreas Jaeger  <aj@suse.de>
28200         [BZ #13594]
28201         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28202         out from...
28203         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28204         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28205         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28206         code changing __hst_map_handle.map.
28208 2012-05-15  Roland McGrath  <roland@hack.frob.com>
28210         * configure.in (sysnames): Look for Implies-before and Implies-after
28211         files.
28212         * configure: Regenerated.
28214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28216         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28217         8-byte data alignment with LP_SIZE alignment.
28219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28221         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28222         into R10_LP.
28224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28226         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28228 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28230         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28231         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28232         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28233         Likewise.
28234         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28238         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28239         (stackinfo_sub_sp): Likewise.
28241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28243         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28244         RAX_LP.
28246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28248         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28249         into R*_LP.
28251 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28253         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28254         sizes into R*_LP.
28256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28258         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28260 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28262         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28263         into R11_LP and load __x86_64_shared_cache_size_half into
28264         R8_LP.
28266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28268         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28269         R8_LP.
28271 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28273         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28274         logb for POWER7.
28275         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28276         logbf for POWER7.
28277         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28278         logbl for POWER7.
28279         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28280         powerpc32/power7/fpu/s_logb.c via #include.
28281         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28282         powerpc32/power7/fpu/s_logbf.c via #include.
28283         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28284         powerpc32/power7/fpu/s_logbl.c via #include.
28286 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28288         * README.libm: Remove file.
28290 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28292         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28293         count for x32.  Use R*_LP and omit operand-size suffix.
28295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28297         * shlib-versions: Move x86_64-.*-linux.* entries to ...
28298         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
28299         * sysdeps/x86_64/x32/shlib-versions: New file.
28301 2012-05-14  Roland McGrath  <roland@hack.frob.com>
28303         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28304         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28305         Use _dl_fatal_printf instead.
28307 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28309         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28310         set if not set by the user.  Do not allow for being unset.
28311         * sysdeps/unix/sysv/linux/configure: Regenerated.
28313 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28315         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28316         the `q' suffix from lea and replace .quad with ASM_ADDR.
28318 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28321         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
28322         instead of $17.
28323         (PTR_DEMANGLE): Likewise.
28325 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28327         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28328         (LP_OP): Likewise.
28329         (ASM_ADDR): Likewise.
28330         (RAX_LP): Likewise.
28331         (RBP_LP): Likewise.
28332         (RBX_LP): Likewise.
28333         (RCX_LP): Likewise.
28334         (RDI_LP): Likewise.
28335         (RSI_LP): Likewise.
28336         (RSP_LP): Likewise.
28337         (R8_LP): Likewise.
28338         (R9_LP): Likewise.
28339         (R10_LP): Likewise.
28340         (R10_LP): Likewise.
28341         (R11_LP): Likewise.
28342         (R12_LP): Likewise.
28343         (R13_LP): Likewise.
28344         (R14_LP): Likewise.
28345         (R15_LP): Likewise.
28347 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28349         * sysdeps/x86_64/x32/dl-machine.h: New file.
28351 2012-05-14  Andreas Jaeger  <aj@suse.de>
28353         * manual/Makefile (subdir): Remove export of subdir.
28354         (all): Remove target.
28355         (.PHONY): Remove all from list.
28356         (mkinstalldirs): Remove.
28357         (.PHONY): Remove installdirs from list.
28358         ($(inst_infodir)/libc.info): Use make-target-directory.
28359         (installdirs): Remove.
28360         (subdir_%): Remove.
28361         (glibc-targets): Remove.
28362         (lib): Remove.
28363         (stubs): Remove.
28364         ($(objpfx)stubs ../po/manual.pot): Remove.
28365         ($(objpfx)stamp%): Remove.
28366         (make-target-directory): Remove.
28367         (subdir_install): Remove.
28368         (routines): Remove.
28369         (aux): Remove.
28370         (sources): Remove.
28371         (objects): Remove.
28372         (headers): Remove.
28374         [BZ #13750]
28375         * manual/.gitignore: Remove, it's not needed anymore.
28376         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28377         all files in it.
28378         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28379         directory.
28380         (texis): Renamed to $(objpfx)texis.
28381         (texis-path): New, contains path to generated files.
28382         (chapters.%): Use texis-path for complete path, add extra argument
28383         libc-texinfo.sh.
28384         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28385         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28386         (summary,texi, stamp-summary): Use complete path of
28387         files. Generate files in build dir.
28388         (dir-add.texi): Build in build dir.
28389         (libm-err.texi,stamp-libm-err): Likewise.
28390         (version.texi, stamp-version): Likewise.
28391         (.%c.texi): Likewise.
28392         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28393         (mostlyclean): Remove target.
28394         (realclean): Remove target.
28395         (generated): Add new variable with contents from mostlyclean and
28396         realclean, remove entries duplicated in common-mostlyclean, add
28397         stamp-libm-err and stamp-version.
28398         (generated-dirs): Add libc directory.
28399         ($(inst_infodir)/libc.info): Install files from build dir.
28401         * manual/install.texi (Configuring and compiling): Adjust since
28402         the info files are not part of the tar ball anymore.
28404 2012-05-14  Andreas Jaeger  <aj@suse.de>
28406         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28407         variable.
28409 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28411         [BZ #13717]
28412         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28413         to 2.2.0 where earlier.
28414         * sysdeps/unix/sysv/linux/configure: Regenerated.
28415         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28416         Remove conditional code.
28417         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28418         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28419         Remove conditional code.
28420         [!__NR_lchown]: Likewise.
28421         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28422         [__NR_lchown]: Likewise.
28423         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28424         comment referencing __ASSUME_LCHOWN_SYSCALL.
28425         * sysdeps/unix/sysv/linux/i386/sigaction.c
28426         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28427         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28428         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28429         Remove conditional code.
28430         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28431         (__protocol_available): Remove #if 0 code.
28432         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28433         conditional code.
28434         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28435         * sysdeps/unix/sysv/linux/kernel-features.h
28436         (__ASSUME_GETCWD_SYSCALL): Don't define.
28437         (__ASSUME_REALTIME_SIGNALS): Likewise.
28438         (__ASSUME_PREAD_SYSCALL): Likewise.
28439         (__ASSUME_PWRITE_SYSCALL): Likewise.
28440         (__ASSUME_POLL_SYSCALL): Likewise.
28441         (__ASSUME_LCHOWN_SYSCALL): Likewise.
28442         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28443         non-SPARC.
28444         (__ASSUME_SIOCGIFNAME): Don't define.
28445         (__ASSUME_MSG_NOSIGNAL): Likewise.
28446         (__ASSUME_SENDFILE): Define unconditionally.
28447         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28448         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28449         conditional code.
28450         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28451         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28452         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28453         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28454         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28455         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28456         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28458         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28459         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28461         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28462         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28464         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28465         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28467         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28468         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28470         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28471         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28473         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28474         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28476         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28477         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28479         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28480         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28481         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28482         Remove conditional code.
28483         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28484         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28485         Remove conditional code.
28486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28487         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28488         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28489         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28490         Remove conditional code.
28491         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28492         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28493         Remove conditional code.
28494         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28495         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28496         Remove conditional code.
28497         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28498         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28499         Remove conditional code.
28500         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28501         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28502         Remove conditional code.
28503         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28504         * sysdeps/unix/sysv/linux/sh/pwrite64.c
28505         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28506         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28507         * sysdeps/unix/sysv/linux/sigaction.c
28508         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28509         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28510         * sysdeps/unix/sysv/linux/sigpending.c
28511         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28512         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28513         * sysdeps/unix/sysv/linux/sigprocmask.c
28514         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28515         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28516         * sysdeps/unix/sysv/linux/sigsuspend.c
28517         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28518         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28519         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28520         (__libc_missing_rt_sigs): Remove.
28521         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28522         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28523         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28524         Remove conditional code.
28525         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28526         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28527         return 1.
28528         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28529         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28530         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28531         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28533 2012-05-14  Andreas Jaeger  <aj@suse.de>
28535         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28536         it's not used in glibc.
28537         (__coshm1): Likewise.
28538         (__acosh1p): Likewise.
28539         (__sgn): Likewise.
28541         * manual/string.texi (Copying and Concatenation): Add missing
28542         variable in concat example.
28543         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28545 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28547         [BZ #14103]
28548         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28549         __builtin_clzl with __builtin_clzll.
28551 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28553         [BZ #14104]
28554         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28555         libc_freeres_ptr.
28557 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28559         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28560         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28561         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28562         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28564 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
28566         * NEWS: Update ia64 info.
28568 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
28570         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28571         used as bcopy.
28573 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
28575         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28576         * sysdeps/unix/syscalls.list (dup3): Likewise.
28577         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28578         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28580 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28582         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28583         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28585 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28587         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28588         thread pointer.
28589         (TLS_IE): Use mov/add instead of movq/addq to load thread
28590         pointer.
28591         (TLS_GD_PREFIX): New.
28592         (TLS_GD): Use it.
28594 2012-05-11  David S. Miller  <davem@davemloft.net>
28596         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28597         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28598         (_FPU_SETCW): Likewise.
28600 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28602         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28603         is 32-byte aligned.
28605 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
28607         [BZ #11837]
28608         * iconvdata/gb18030.c: Update tables.
28609         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
28610         characters specially.
28611         (BODY for TO_LOOP): Add encoding of missing ranges.
28613 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
28615         [BZ #13673]
28616         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28617         * sysdeps/mach/hurd/dup3.c: Likewise.
28618         * sysdeps/mach/hurd/readlinkat.c: Likewise.
28619         * sysdeps/powerpc/memmove.c:: Likewise.
28621 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28623         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28624         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28626 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28628         * elf/elf.h (R_X86_64_RELATIVE64): New.
28629         (R_X86_64_NUM): Updated.
28630         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28631         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
28632         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28633         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28634         tst-quad1pie tst-quad2pie
28635         (modules-names): Add tst-quadmod1 tst-quadmod2.
28636         ($(objpfx)tst-quad1): New dependency.
28637         ($(objpfx)tst-quad2): Likewise.
28638         ($(objpfx)tst-quad1pie): Likewise.
28639         ($(objpfx)tst-quad2pie): Likewise.
28640         * sysdeps/x86_64/tst-quad1.c: New file.
28641         * sysdeps/x86_64/tst-quad1pie.c: New file.
28642         * sysdeps/x86_64/tst-quad2.c: Likewise.
28643         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28644         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28645         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28646         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28647         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28649 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28651         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28652         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28653         * streams/stropts.h (t_scalar_t): Define type.
28655         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28656         (_PATH_PRESERVE): Set to "/var/lib".
28657         (_PATH_RWHODIR): Set to "/var/spool/rwho".
28659         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28660         instead of int.
28662         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28663         if __dir_mkfile succeeded.
28665         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28666         checking for _hurd_dtablesize.  Unlock it right after having
28667         finished _hurd_dtable allocation.
28669 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28671         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28672         * sysdeps/mach/hurd/configure: Regenerated.
28673         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28674         special-casing to...
28675         * sysdeps/gnu/configure.in: ... this new file.
28676         * sysdeps/unix/sysv/linux/configure: Regenerated.
28677         * sysdeps/gnu/configure: New generated file.
28679         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28680         for Linux: use nsec instead of usec, as well as:
28681         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28682         members of type struct timespec.
28683         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28684         New macros.
28685         (struct stat64): Likewise.
28686         (_STATBUF_ST_NSEC): New macro.
28687         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28689         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28690         __strtoul_internal rather than strtoul.
28692 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28694         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28695         and reject them.
28697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28699         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28700         which preserves existing values.
28701         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28703 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28705         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28706         TIMEOUT values.  Return EINVAL for NFDS values either negative or
28707         greater than FD_SETSIZE.
28709 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28711         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28712         allocated, call __vm_protect to finish enabling the existing space, and
28713         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28714         allocate the remainder.
28716 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28718         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28719         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
28721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28723         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28724         sysdeps/mach/hurd/readlink.c.
28726         * posix/tst-sysconf.c (posix_options): Only use
28727         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28728         _POSIX_SYNCHRONIZED_IO when they are defined
28729         * sysdeps/mach/hurd/bits/posix_opt.h:
28730         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28731         (_XOPEN_REALTIME): Undefine macro.
28732         (_XOPEN_REALTIME_THREADS): Undefine macro.
28733         (_XOPEN_SHM): Undefine macro.
28734         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28735         macro to -1.
28736         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28737         macro to -1.
28738         (_POSIX_ASYNC_IO): Undefine macro.
28739         (_POSIX_PRIORITIZED_IO): Undefine macro.
28740         (_POSIX_SPIN_LOCKS): Define macro to -1.
28742         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28743         SA_NODEFER, SA_RESETHAND.
28744         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28745         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28746         F_DUPFD_CLOEXEC.
28748 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28750         * elf/Makefile (pldd-modules): Define unconditionally.
28752 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28754         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28756 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28758         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28759         Return ENOENT when name is empty.
28760         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28762 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28764         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28766         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28768 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28770         Fix mlock in all cases except non-readable pages.
28771         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28772         instead of VM_PROT_ALL as parameter to __vm_wire function.
28774         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28775         (__mkdir): When path is `/', just fail with EEXIST.
28776         * sysdeps/mach/hurd/mkdirat.c: Likewise.
28778 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28780         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28781         <sys/uio.h> (for writev).
28782         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28783         and <sys/param.h> (for MIN).
28785 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28787         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28788         REQUESTED_TIME.  Properly set the remaining time and return EINTR
28789         if interrupted.
28791 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28793         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28794         Depend on against $(link-rpcuserlibs).
28796 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28798         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28799         (__libc_stack_end): Do not use attribute_relro.
28800         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28801         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28802         to libthread-provided value.
28803         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28804         attribute_relro.
28806 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28808         [BZ #3748]
28809         * bits/libc-lock.h (__libc_once_get): New macro.
28810         * sysdeps/mach/bits/libc-lock.h: Likewise.
28811         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28812         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28813         instead of using implementation details.
28815         * libio/fileops.c: Unconditionally include <kernel-features.h>.
28816         * libio/freopen.c: Likewise.
28817         * libio/freopen64.c: Likewise.
28818         * misc/syslog.c: Likewise.
28819         * nscd/connections.c: Likewise.
28820         * nscd/netgroupcache.c: Likewise.
28821         * sysdeps/posix/getcwd.c: Likewise.
28823 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28825         * math/w_ilogbf.c: Add #include <limits.h>.
28827 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28829         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28830         path instead of returning without unlocking.
28832         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28833         immediate-write ioctls.
28834         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28838         * sysdeps/mach/hurd/i386/init-first.c (init): Use
28839         __builtin_frame_address instead of making assumptions about the
28840         location of the return address relative to DATA.  Force early load of
28841         the return address.
28842         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28843         __builtin_frame_address.
28845         dup3 for GNU Hurd.
28846         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28847         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
28848         implement dup3 and do some further code clean-ups.
28849         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28850         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28852 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28854         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28856         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28857         HURD_CRITICAL_END around holding _hurd_dtable_lock.
28858         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28859         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28860         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28861         d->port.lock.
28863         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28864         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
28865         when handler == SIG_ERR, not when handler != SIG_ERR.
28867 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28869         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28870         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28871         definitions.
28873         accept4 for GNU Hurd.
28874         * include/sys/socket.h (__libc_accept4): New prototype.
28875         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
28876         to implement __libc_accept4.
28877         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28878         __libc_accept4.
28879         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28881         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28882         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28883         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28884         signal-defines.sym.
28886 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28888         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28890 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28892         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28893         assertion on O_CLOEXEC flag.
28894         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28895         * hurd/intern-fd.c: Likewise.
28896         * hurd/port2fd.c: Likewise.
28898 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28900         [BZ #3906]
28901         * bits/in.h (IPV6_PKTINFO): Define new macro.
28902         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28904 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28906         [BZ #13954]
28907         [BZ #13955]
28908         [BZ #13956]
28909         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28910         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28911         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28912         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28913         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28914         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28915         * math/libm-test.inc (logb_test) : Additional logb tests.
28917 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
28918             Andreas Jaeger  <aj@suse.de>
28920         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28921         * configure: Regenerated.
28922         * config.h.in (LINK_OBSOLETE_RPC): New macro.
28923         * config.make.in (link-obsolete-rpc): New substituted variable.
28924         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28925         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28926         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28927         (shared-only-routines): Don't set it under [link-obsolete-rpc],
28928         so that libc.a contains the symbols.
28929         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28930         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28931         * sunrpc/auth_none.c: Likewise.
28932         * sunrpc/auth_unix.c: Likewise.
28933         * sunrpc/authdes_prot.c: Likewise.
28934         * sunrpc/authuxprot.c: Likewise.
28935         * sunrpc/clnt_gen.c: Likewise.
28936         * sunrpc/clnt_perr.c: Likewise.
28937         * sunrpc/clnt_raw.c: Likewise.
28938         * sunrpc/clnt_simp.c: Likewise.
28939         * sunrpc/clnt_tcp.c: Likewise.
28940         * sunrpc/clnt_udp.c: Likewise.
28941         * sunrpc/clnt_unix.c: Likewise.
28942         * sunrpc/des_crypt.c: Likewise.
28943         * sunrpc/des_soft.c: Likewise.
28944         * sunrpc/get_myaddr.c: Likewise.
28945         * sunrpc/key_call.c: Likewise.
28946         * sunrpc/key_prot.c: Likewise.
28947         * sunrpc/netname.c: Likewise.
28948         * sunrpc/pm_getmaps.c: Likewise.
28949         * sunrpc/pm_getport.c: Likewise.
28950         * sunrpc/pmap_clnt.c: Likewise.
28951         * sunrpc/pmap_prot.c: Likewise.
28952         * sunrpc/pmap_prot2.c: Likewise.
28953         * sunrpc/pmap_rmt.c: Likewise.
28954         * sunrpc/publickey.c: Likewise.
28955         * sunrpc/rpc_cmsg.c: Likewise.
28956         * sunrpc/rpc_common.c: Likewise.
28957         * sunrpc/rpc_dtable.c: Likewise.
28958         * sunrpc/rpc_prot.c: Likewise.
28959         * sunrpc/rpc_thread.c: Likewise.
28960         * sunrpc/rtime.c: Likewise.
28961         * sunrpc/svc.c: Likewise.
28962         * sunrpc/svc_auth.c: Likewise.
28963         * sunrpc/svc_raw.c: Likewise.
28964         * sunrpc/svc_run.c: Likewise.
28965         * sunrpc/svc_tcp.c: Likewise.
28966         * sunrpc/svc_udp.c: Likewise.
28967         * sunrpc/svc_unix.c: Likewise.
28968         * sunrpc/svcauth_des.c: Likewise.
28969         * sunrpc/xcrypt.c: Likewise.
28970         * sunrpc/xdr.c: Likewise.
28971         * sunrpc/xdr_array.c: Likewise.
28972         * sunrpc/xdr_float.c: Likewise.
28973         * sunrpc/xdr_intXX_t.c: Likewise.
28974         * sunrpc/xdr_mem.c: Likewise.
28975         * sunrpc/xdr_rec.c: Likewise.
28976         * sunrpc/xdr_ref.c: Likewise.
28977         * sunrpc/xdr_sizeof.c: Likewise.
28978         * sunrpc/xdr_stdio.c: Likewise.
28980 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28982         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28983         change.  Update copyright years.
28985 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28987         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28989 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
28990             Joseph Myers  <joseph@codesourcery.com>
28991             Paul Pluzhnikov  <ppluzhnikov@google.com>
28993         [BZ #14012]
28994         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28995         requiring rpcgen.
28996         [cross-compiling] (extra-libs): Likewise.
28997         [cross-compiling] (extra-libs-others): Likewise.
28998         [cross-compiling] (librpcsvc-routines): Likewise.
28999         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29000         [cross-compiling] (omit-deps): Likewise.
29001         (sunrpc-CPPFLAGS): New variable.
29002         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29003         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29004         (cross-rpcgen-objs): New variable.
29005         (extra-objs): Append $(cross-rpcgen-objs).
29006         ($(cross-rpcgen-objs)): New rule.
29007         ($(objpfx)cross-rpcgen): Likewise.
29008         (rpcgen-cmd): Define to use $(built-program-file).  Expand
29009         comment.
29010         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29011         ($(objpfx)x%.stmp): Likewise.
29012         * sunrpc/proto.h [IS_IN_build] (_): Define.
29013         [IS_IN_build] (_libc_intl_domainname): Likewise.
29015 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
29017         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29018         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29019         and R_X86_64_TPOFF64.
29021 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
29023         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29024         sysdeps/unix/sysv/syscalls.list.
29025         (stime): Likewise.
29026         (utime): Likewise.
29027         * sysdeps/unix/sysv/syscalls.list: Remove file.
29029 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
29031         [BZ #3440]
29032         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29033         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29034         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29035         (__LC_IDENTIFICATION): Make these macros useful in #if
29036         expressions, as required by C99.
29038 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
29040         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29041         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
29042         after this.
29044 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
29046         * stdlib/longlong.h: Updated from GCC.
29048 2012-05-09  Andreas Jaeger  <aj@suse.de>
29050         * nscd/nscd.c (run_modes): Make named enum, reorder so that
29051         default is first entry.
29052         (run_mode): Set type.
29053         (main): Remove informal message about syslog.
29054         (options): Fix typo.
29056         [BZ #14053]
29057         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29058         to asm.
29059         (lrint): Likewise.
29060         (llrintf): Likewise.
29061         (llrint): Likewise.
29062         (rint): Likewise.
29063         (rintf): Likewise.
29064         (nearbyint): Likewise.
29065         (nearbyintf): Likewise.
29067 2012-05-09  Andreas Jaeger  <aj@suse.de>
29068             Pedro Alves  <palves@redhat.com>
29070         * nscd/nscd.c (run_mode): Use enum.
29071         (main): Cleanup coding style issue.
29073 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
29074             Andreas Jaeger  <aj@suse.de>
29076         * nscd/nscd.c (go_background): Replaced with...
29077         (run_mode): ... this.
29078         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29079         (options): Add -F --foreground.
29080         (main): Implement it.
29081         (parse_opt): Parse it.
29083 2012-05-09  Andreas Jaeger  <aj@suse.de>
29085         [BZ #14083]
29086         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29087         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29088         -Wconversion warning.
29089         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29090         Likewise.
29092 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
29094         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
29095         == 0.
29096         (LC_ALL): Use macro-int-constant.
29097         (LC_COLLATE): Likewise.
29098         (LC_CTYPE): Likewise.
29099         (LC_MESSAGES): Likewise.
29100         (LC_MONETARY): Likewise.
29101         (LC_NUMERIC): Likewise.
29102         (LC_TIME): Likewise.
29103         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29104         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29105         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29106         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29107         Specify type.
29108         [C99-based standards] (float_t): Expect type.
29109         [C99-based standards] (double_t): Expect type.
29110         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
29111         type.
29112         [C99-based standards] (HUGE_VALL): Likewise.
29113         [C99-based standards] (INFINITY): Likewise.
29114         [C99-based standards] (NAN): Likewise.
29115         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29116         [C99-based standards] (FP_NAN): Likewise.
29117         [C99-based standards] (FP_NORMAL): Likewise.
29118         [C99-based standards] (FP_SUBNORMAL): Likewise.
29119         [C99-based standards] (FP_ZERO): Likewise.
29120         [C99-based standards] (FP_FAST_FMA): Use
29121         optional-macro-int-constant.  Specify type.  Require == 1.
29122         [C99-based standards] (FP_FAST_FMAF): Likewise.
29123         [C99-based standards] (FP_FAST_FMAL): Likewise.
29124         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29125         [C99-based standards] (FP_ILOGBNAN): Likewise.
29126         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29127         Specify type.
29128         [C99-based standards] (MATH_ERREXCEPT): Likewise.
29129         [C99-based standards] (math_errhandling): Specify type.
29130         [ISO99 || ISO11] (signgam): Do not allow.
29131         [non-C99-based standards] (copysignf): Do not allow.
29132         [non-C99-based standards] (exp2f): Likewise.
29133         [non-C99-based standards] (log2f): Likewise.
29134         [non-C99-based standards] (modff): Allow.
29135         [non-C99-based standards] (erff): Do not allow.
29136         [non-C99-based standards] (erfcf): Likewise.
29137         [non-C99-based standards] (gammaf): Likewise.
29138         [non-C99-based standards] (hypotf): Likewise.
29139         [non-C99-based standards] (j0f): Likewise.
29140         [non-C99-based standards] (j1f): Likewise.
29141         [non-C99-based standards] (jnf): Likewise.
29142         [non-C99-based standards] (lgammaf): Likewise.
29143         [non-C99-based standards] (tgammaf): Likewise.
29144         [non-C99-based standards] (y0f): Likewise.
29145         [non-C99-based standards] (y1f): Likewise.
29146         [non-C99-based standards] (ynf): Likewise.
29147         [non-C99-based standards] (isnanf): Likewise.
29148         [non-C99-based standards] (acoshf): Likewise.
29149         [non-C99-based standards] (asinhf): Likewise.
29150         [non-C99-based standards] (atanhf): Likewise.
29151         [non-C99-based standards] (cbrtf): Likewise.
29152         [non-C99-based standards] (expm1f): Likewise.
29153         [non-C99-based standards] (ilogbf): Likewise.
29154         [non-C99-based standards] (log1pf): Likewise.
29155         [non-C99-based standards] (logbf): Likewise.
29156         [non-C99-based standards] (nextafterf): Likewise.
29157         [non-C99-based standards] (remainderf): Likewise.
29158         [non-C99-based standards] (rintf): Likewise.
29159         [non-C99-based standards] (scalbf): Likewise.
29160         [non-C99-based standards] (copysignl): Likewise.
29161         [non-C99-based standards] (exp2l): Likewise.
29162         [non-C99-based standards] (log2l): Likewise.
29163         [non-C99-based standards] (modfl): Allow.
29164         [non-C99-based standards] (erfl): Do not allow.
29165         [non-C99-based standards] (erfcl): Likewise.
29166         [non-C99-based standards] (gammal): Likewise.
29167         [non-C99-based standards] (hypotl): Likewise.
29168         [non-C99-based standards] (j0l): Likewise.
29169         [non-C99-based standards] (j1l): Likewise.
29170         [non-C99-based standards] (jnl): Likewise.
29171         [non-C99-based standards] (lgammal): Likewise.
29172         [non-C99-based standards] (tgammal): Likewise.
29173         [non-C99-based standards] (y0l): Likewise.
29174         [non-C99-based standards] (y1l): Likewise.
29175         [non-C99-based standards] (ynl): Likewise.
29176         [non-C99-based standards] (isnanl): Likewise.
29177         [non-C99-based standards] (acoshl): Likewise.
29178         [non-C99-based standards] (asinhl): Likewise.
29179         [non-C99-based standards] (atanhl): Likewise.
29180         [non-C99-based standards] (cbrtl): Likewise.
29181         [non-C99-based standards] (expm1l): Likewise.
29182         [non-C99-based standards] (ilogbl): Likewise.
29183         [non-C99-based standards] (log1pl): Likewise.
29184         [non-C99-based standards] (logbl): Likewise.
29185         [non-C99-based standards] (nextafterl): Likewise.
29186         [non-C99-based standards] (remainderl): Likewise.
29187         [non-C99-based standards] (rintl): Likewise.
29188         [non-C99-based standards] (scalbl): Likewise.
29189         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29190         [non-C99-based standards] (FP_*): Do not allow.
29191         [C99-based standards] (FP_*): Change to
29192         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29193         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29194         allow.
29195         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29196         (SIG_ERR): Likewise.
29197         [X/Open-based standards] (SIG_HOLD): Likewise.
29198         (SIG_IGN): Likewise.
29199         (SIGABRT): Use macro-int-constant.  Specify type.  Require
29200         positive value.
29201         (SIGFPE): Likewise.
29202         (SIGILL): Likewise.
29203         (SIGINT): Likewise.
29204         (SIGSEGV): Likewise.
29205         (SIGTER): Likewise.
29206         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29207         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29208         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29209         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29210         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29211         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29212         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29213         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29214         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29215         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29216         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29217         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29218         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29219         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29220         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29221         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29222         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29223         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29224         [X/Open-based standards] (SIGTRAP): Likewise.
29225         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29226         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29227         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29228         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29229         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29230         allow.
29232 2012-05-08  Ian Wienand  <ianw@vmware.com>
29234         [BZ #14080]
29235         * time/tzset.c (__tzset_parse_tz): Update default rules for
29236         daylight time changes in the Energy Policy Act of 2005.
29238 2012-05-09  Andreas Jaeger  <aj@suse.de>
29240         [BZ #13983]
29241         * elf/ldconfig.c (parse_conf): Change string to make clear that
29242         ldconfig only issued a warning if ld.so.conf does not exist.
29244 2012-05-08  David S. Miller  <davem@davemloft.net>
29246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29247         movxtod instead of popping the value on the stack.
29249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29251 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
29253         * config.h.in: Add HAVE_ARM_PCS_VFP.
29255 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
29257         [BZ #13979]
29258         * include/features.h: Warn if user requests __FORTIFY_SOURCE
29259         checking but the checks are disabled for any reason.
29261 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
29263         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29264         and ELF64_R_TYPE with ELFW(R_TYPE).
29266 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
29268         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29269         (ulimit): Likewise.
29271         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29272         (settimeofday): Likewise.
29274 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
29276         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
29277         a struct th_u2 inside the union, and move tu_block/tu_code into
29278         a new th_u3 union of tu_block/tu_code inside of that.  Move
29279         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
29280         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
29281         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29282         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29283         (th_stuff): Change to th_u1.tu_stuff.
29284         (th_data): Define.
29285         (th_msg): Change to th_u1.th_u2.tu_data.
29287 2012-05-07  David S. Miller  <davem@davemloft.net>
29289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29291         [BZ #14074]
29292         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29293         (SETUP_PIC_REG): Use it.
29294         (SETUP_PIC_REG_LEAF): Use it.
29296 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
29298         [BZ #13885]
29299         [BZ #13923]
29300         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29301         USE_AS_EXPM1L.
29302         (EXPL_FINITE): Likewise.
29303         (FLDLOG): Likewise.
29304         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29305         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29306         e_expl.S.
29307         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29308         USE_AS_EXPM1L.
29309         (EXPL_FINITE): Likewise.
29310         (FLDLOG): Likewise.
29311         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29312         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29313         e_expl.S.
29314         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
29315         test of -max_value argument for long double.
29316         * sysdeps/i386/fpu/libm-test-ulps: Update.
29317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29319 2012-05-06  David S. Miller  <davem@davemloft.net>
29321         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29322         quad soft-float symbols whose references which are compiler
29323         generated.
29324         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29326 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
29328         [BZ #13884]
29329         [BZ #13914]
29330         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29331         USE_AS_EXP10L.
29332         (EXPL_FINITE): Likewise.
29333         (FLDLOG): Likewise.
29334         (c0): Likewise.
29335         (c1): Likewise.
29336         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29337         Adjust comments for base varying.
29338         (__expl_finite): Change alias to EXPL_FINITE.
29339         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29340         e_expl.S.
29341         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29342         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29343         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29344         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29345         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29346         USE_AS_EXP10L.
29347         (EXPL_FINITE): Likewise.
29348         (FLDLOG): Likewise.
29349         (c0): Likewise.
29350         (c1): Likewise.
29351         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29352         Adjust comments for base varying.
29353         (__expl_finite): Change alias to EXPL_FINITE.
29354         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
29355         tests for bugs.
29356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29358         [BZ #14064]
29359         * math/libm-test.inc (check_float_internal): Correct ulp
29360         calculation for subnormal expected results.
29362 2012-05-06  Andreas Jaeger  <aj@suse.de>
29364         * Makeconfig (+math-flags): New, set to -frounding-math.
29365         (+cflags): Add +math-flags so that all of glibc gets compiled with
29366         it.
29368         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29370 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
29372         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29373         Disable one test.
29375         [BZ #13787]
29376         [BZ #13922]
29377         [BZ #14036]
29378         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29379         (__ieee754_expl): Allow for and saturate large arguments.
29380         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29381         (u_threshold): Likewise.
29382         (__exp): Call __ieee754_exp before checking for overflow and
29383         underflow.
29384         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29385         (u_threshold): Likewise.
29386         (__expf): Call __ieee754_expf before checking for overflow and
29387         underflow.
29388         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29389         (u_threshold): Likewise.
29390         (__expl): Call __ieee754_expl before checking for overflow and
29391         underflow.
29392         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29393         (__ieee754_expl): Allow for and saturate large arguments.
29394         * math/libm-test.inc (exp_test): Add another test.  Do not allow
29395         missing overflow exception on overflow.
29396         (expm1_test): Do not allow missing overflow exception on overflow.
29398         * sysdeps/i386/fpu/e_expl.c: Move to ...
29399         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
29400         rather than using inline asm.
29401         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29402         * sysdeps/x86_64/fpu/e_expl.S: Copy from
29403         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29405         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29406         (nice): Likewise.
29407         (poll): Likewise.
29408         (signal): Likewise.
29409         (time): Likewise.
29410         (times): Likewise.
29412 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29414         * sysdeps/unix/syscalls.list (adjtime): Add entry from
29415         sysdeps/unix/common/syscalls.list.
29416         (fchmod): Likewise.
29417         (fchown): Likewise.
29418         (ftruncate): Likewise.
29419         (getrusage): Likewise.
29420         (gettimeofday): Likewise.
29421         (setpgid): Likewise.
29422         (setregid): Likewise.
29423         (setreuid): Likewise.
29424         (sigaction): Likewise.
29425         (truncate): Likewise.
29426         (vhangup): Likewise.
29427         * sysdeps/unix/common/syscalls.list: Remove file.
29428         * sysdeps/unix/bsd/Implies: Don't include unix/common.
29429         * sysdeps/unix/sysv/linux/Implies: Likewise.
29431 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
29433         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29435         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29436         Moved to ...
29437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29438         Here.
29439         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29440         to ...
29441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29442         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29443         to ...
29444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29445         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29446         to ...
29447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29448         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29449         to ...
29450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29451         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29452         to ...
29453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29454         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29455         to ...
29456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29457         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29458         to ...
29459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29460         Here.
29461         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29462         to ...
29463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29464         Here.
29465         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29466         to ...
29467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29468         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29469         Moved to ...
29470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29471         Here.
29472         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29473         to ...
29474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29476 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29478         * sysdeps/unix/common/bits/dirent.h: Remove file.
29479         * sysdeps/unix/common/bits/fcntl.h: Likewise.
29481         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29482         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29483         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29484         * sysdeps/unix/bsd/isatty.c: Likewise.
29485         * sysdeps/unix/bsd/tcdrain.c: Likewise.
29486         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29487         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29489 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29491         [BZ #13563]
29492         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29493         long double comparison inaccuracies.
29494         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29497 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
29499         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29500         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29502 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29504         [BZ #14049]
29505         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29506         nonzero digits before rounding a hex value.
29507         * stdlib/tst-strtod.c (tests): Add another test.
29509 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29511         * sysdeps/s390/fpu/libm-test-ulps: Update.
29513 2012-05-03  Andreas Jaeger  <aj@suse.de>
29515         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29516         does not get optimized out.
29517         (malloc_opt_barrier): New.
29519 2012-05-03  Andreas Jaeger  <aj@suse.de>
29520             Roland McGrath  <roland@hack.frob.com>
29522         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29523         intermediate file deletion.
29524         (generated): Add .symlist files.
29526 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
29528         [BZ #13775]
29529         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29530         Redirect under this condition.
29531         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29532         [__USE_GNU] (__dprintf_chk): Not under this condition.
29533         [__USE_GNU] (__vdprintf_chk): Likewise.
29534         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29535         under this condition.
29536         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29537         [__USE_XOPEN2K8] (dprintf): Define under this condition.
29538         [__USE_XOPEN2K8] (vdprintf): Likewise.
29539         [__USE_GNU] (__dprintf_chk): Not under this condition.
29540         [__USE_GNU] (__vdprintf_chk): Likewise.
29541         [__USE_GNU] (dprintf): Likewise.
29542         [__USE_GNU] (vdprintf): Likewise.
29544 2012-05-03  Roland McGrath  <roland@hack.frob.com>
29546         * elf/Makefile (common-generated): Set this instead of generated for
29547         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
29548         $(all-built-dso)-derived lists.
29550 2012-05-03  Andreas Jaeger  <aj@suse.de>
29552         * sysdeps/i386/fpu/libm-test-ulps: Update.
29554         * FAQ: Removed.
29555         * FAQ.in: Likewise.
29556         * scripts/gen-FAQ.pl: Likewise.
29557         * manual/install.texi (Installation): Point to online location of
29558         FAQ.
29559         * Makefile (files-for-dist): Remove FAQ.
29560         (FAQ): Remove.
29562 2012-05-02  Allan McRae  <allan@archlinux.org>
29564         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29565         (LDFLAGS-reldepmod5.so): Likewise.
29566         (LDFLAGS-reldep6mod1.so): Likewise.
29567         (LDFLAGS-reldep6mod4.so): Likewise.
29568         (LDFLAGS-reldep8mod3.so): Likewise.
29569         (LDFLAGS-unload4mod1.so): Likewise.
29570         (LDFLAGS-unload4mod2.so): Likewise.
29571         (LDFLAGS-tst-initorder): Likewise.
29572         (LDFLAGS-tst-initordera2.so): Likewise.
29573         (LDFLAGS-tst-initordera3.so): Likewise.
29574         (LDFLAGS-tst-initordera4.so): Likewise.
29575         (LDFLAGS-tst-initorderb2.so): Likewise.
29576         (LDFLAGS-noload): Likewise.
29577         (LDFLAGS-next): Likewise.
29578         (LDFLAGS-order2mod1.so): Likewise.
29579         (LDFLAGS-order2mod2.so): Likewise.
29580         (LDFLAGS-tst-initorder2): Likewise.
29581         (LDFLAGS-tst-initorder2a.so): Likewise.
29582         (LDFLAGS-tst-initorder2b.so): Likewise.
29583         (LDFLAGS-tst-initorder2c.so): Likewise.
29584         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29586 2012-05-02  David S. Miller  <davem@davemloft.net>
29588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29590 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29592         [BZ #14055]
29593         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29595 2012-05-02  Andreas Jaeger  <aj@suse.de>
29597         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29598         since we manipulate rounding mode.
29599         (CPPFLAGS-test-idouble.c): Likewise.
29600         (CPPFLAGS-test-ifloat.c): Likewise.
29601         (CFLAGS-test-ldouble.c): Likewise.
29602         (CFLAGS-test-double.c): Likewise.
29603         (CFLAGS-test-float.c): Likewise.
29604         (CFLAGS-test-misc.c): Likewise.
29605         (CFLAGS-test-test-fenv.c): Likewise.
29607 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29609         [BZ #2550]
29610         [BZ #2570]
29611         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29612         comparisons to determine direction to adjust input.
29614 2012-05-01  Roland McGrath  <roland@hack.frob.com>
29616         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29617         output to the target.
29619         * scripts/localplt.awk: New file.
29620         * elf/Makefile ($(objpfx)check-localplt): Target removed.
29621         (check-localplt-CFLAGS): Variable removed.
29622         ($(all-built-dso:=.jmprel)): New static pattern rule.
29623         (generated): Add those targets.
29624         (localplt-built-dso): New variable.
29625         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29627         * elf/check-localplt.c: File removed.
29629         * scripts/check-execstack.awk: New file.
29630         * elf/Makefile ($(objpfx)check-execstack): Target removed.
29631         (check-execstack-CFLAGS): Variable removed.
29632         ($(objpfx)check-execstack.h): Target removed.
29633         ($(objpfx)execstack-default): New target.
29634         (generated): Add that instead of check-execstack.h.
29635         ($(all-built-dso:=.phdr)): New static pattern rule.
29636         (generated): Add those targets.
29637         * elf/check-execstack.c: File removed.
29639         * scripts/check-textrel.awk: New file.
29640         * elf/Makefile ($(objpfx)check-textrel): Target removed.
29641         (check-textrel-CFLAGS): Variable removed.
29642         (all-built-dso): Use := to define.o
29643         ($(all-built-dso:=.dyn)): New static pattern rule.
29644         (generated): Add those targets.
29645         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29646         * config.make.in (READELF): New substituted variable.
29647         * elf/check-textrel.c: File removed.
29649 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29651         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29652         allow.
29653         * conform/data/ctype.h-data [C99-based standards] (isblank):
29654         Expect function.
29655         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29656         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29657         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29658         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29659         Specify type.  Require positive value.
29660         (EILSEQ): Likewise.
29661         (ERANGE): Likewise.
29662         [ISO || POSIX] (EILSEQ): Do not expect.
29663         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29664         Specify type.  Require positive value.
29665         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29666         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29667         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29668         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29669         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29670         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29671         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29672         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29673         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29674         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29675         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29676         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29677         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29678         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29679         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29680         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29681         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29682         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29683         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29684         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29685         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29686         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29687         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29688         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29689         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29690         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29691         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29692         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29693         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29694         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29695         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29696         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29697         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29698         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29699         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29700         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29701         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29702         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29703         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29704         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29705         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29706         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29707         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29708         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29709         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29710         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29711         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29712         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29713         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29714         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29715         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29716         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29717         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29718         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29719         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29720         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29721         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29722         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29723         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29724         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29725         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29726         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29727         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29728         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29729         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29730         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29731         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29732         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29733         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29734         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29735         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29736         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29737         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29738         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29739         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29740         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29741         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29742         Require >= 2.
29743         (FLT_ROUNDS): Expect as macro, not constant.
29744         (FLT_MANT_DIG): Use macro-int-constant.
29745         (DBL_MANT_DIG): Likewise.
29746         (LDBL_MANT_DIG): Likewise.
29747         (FLT_DIG): Likewise.
29748         (DBL_DIG): Likewise.
29749         (LDBL_DIG): Likewise.
29750         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
29751         (DBL_MIN_EXP): Likewise.
29752         (LDBL_MIN_EXP): Likewise.
29753         (FLT_MAX_EXP): Use macro-int-constant.
29754         (DBL_MAX_EXP): Likewise.
29755         (LDBL_MAX_EXP): Likewise.
29756         (FLT_MAX_10_EXP): Likewise.
29757         (DBL_MAX_10_EXP): Likewise.
29758         (LDBL_MAX_10_EXP): Likewise.
29759         (FLT_MAX): Use macro-constant.
29760         (DBL_MAX): Likewise.
29761         (LDBL_MAX): Likewise.
29762         (FLT_EPSILON): Use macro-constant.  Give upper bound.
29763         (DBL_EPSILON): Likewise.
29764         (LDBL_EPSILON): Likewise.
29765         (FLT_MIN): Likewise.
29766         (DBL_MIN): Likewise.
29767         (LDBL_MIN): Likewise.
29768         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29769         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29770         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29771         [ISO11] (FLT_HAS_SUBNORM): Likewise.
29772         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29773         [ISO11] (DBL_DECIMAL_DIG): Likewise.
29774         [ISO11] (FLT_DECIMAL_DIG): Likewise.
29775         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29776         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29777         [ISO11] (FLT_TRUE_MIN): Likewise.
29778         [ISO11] (LDBL_TRUE_MIN): Likewise.
29779         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29780         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29781         (SCHAR_MIN): Use macro-int-constant.  Specify type.
29782         (SCHAR_MAX): Likewise.
29783         (UCHAR_MAX): Likewise.
29784         (CHAR_MIN): Likewise.
29785         (CHAR_MAX): Likewise.
29786         (MB_LEN_MAX): Use macro-int-constant.
29787         (SHRT_MIN): Use macro-int-constant.  Specify type.
29788         (SHRT_MAX): Likewise.
29789         (USHRT_MAX): Likewise.
29790         (INT_MAX): Likewise.
29791         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
29792         bound negative.
29793         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29794         bound with "U".
29795         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29796         bound with "L".
29797         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
29798         bound negative.  Suffix upper bound with "L".
29799         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29800         bound with "UL".
29801         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29802         Specify type.
29803         [C99-based standards] (LLONG_MAX): Likewise.
29804         [C99-based standards] (ULLONG_MAX): Likewise.
29805         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
29806         == 0.
29807         [ISO11] (max_align_t): Require type.
29808         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29810         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29811         from $CFLAGS, without defining away __attribute__ calls.
29812         (checknamespace): Use $CFLAGS_namespace.
29814         * conform/conformtest.pl (@keywords): Only include C99 keywords
29815         for standards based on C99 or C11.
29817         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29818         Disable tests.
29819         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29820         UNIX98]: Likewise.
29822         * conform/conformtest.pl: Handle "macro-int-constant" and test for
29823         usability of symbols in #if.
29825         * conform/conformtest.pl: If macro or constant types start
29826         "promoted:", expect the symbol to be of the following type
29827         promoted by the integer promotions.
29829         * conform/conformtest.pl: Parse all "constant" and "macro" lines
29830         in one place.  Also handle "macro-constant".
29832         * conform/conformtest.pl: Only accept expected macro values with
29833         "==".  Parse all "macro" lines in one place.
29834         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29836         * conform/conformtest.pl: Handle braced types on "constant" lines
29837         instead of handling "typed-constant".
29838         * conform/data/signal.h-data: Use "constant" instead of
29839         "typed-constant".
29841         * conform/conformtest.pl: Handle "optional-" at start of lines in
29842         one place rather than duplicating several cases.  Handle each
29843         format of "macro" line with initial "optional-".
29845         * conform/conformtest.pl: Only accept expected constant or
29846         optional-constant values with "==".  Parse all "constant" lines in
29847         one place.  Parse all "optional-constant" lines in one place.
29848         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29849         * conform/data/fmtmsg.h-data: Likewise.
29850         * conform/data/netinet/in.h-data: Likewise.
29851         * conform/data/tar.h-data: Likewise.
29852         * conform/data/limits.h-data: Use "==" form on "constant" and
29853         "optional-constant" lines.
29855         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29856         Use -std=c99 for XOPEN2K.
29857         (@knownproblems): Remove.
29858         (newtoken): Don't check %isknown.
29860         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29861         Do not expect macro.
29862         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29863         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29864         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29865         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29866         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29867         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29868         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29869         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29870         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29871         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29872         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29873         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29874         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29875         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29876         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29877         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29878         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29879         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29880         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29881         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29882         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29883         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29884         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29885         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29886         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29887         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29888         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29889         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29890         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29891         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29892         [XPG3] (acosh): Likewise.
29893         [XPG3] (asinh): Likewise.
29894         [XPG3] (atanh): Likewise.
29895         [XPG3] (cbrt): Likewise.
29896         [XPG3] (expm1): Likewise.
29897         [XPG3] (ilogb): Likewise.
29898         [XPG3] (log1p): Likewise.
29899         [XPG3] (logb): Likewise.
29900         [XPG3] (nextafter): Likewise.
29901         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29902         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29903         [XPG3] (remainder): Likewise.
29904         [XPG3] (rint): Likewise.
29905         [XPG3 || XPG4 || UNIX98] (round): Likewise.
29906         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29907         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29908         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29909         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29910         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29911         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29912         [UNIX98 || XOPEN2K] (scalb): Expect.
29913         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29914         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29915         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29916         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29917         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29918         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29919         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29920         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29921         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29922         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29923         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29924         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29925         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29926         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29927         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29928         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29929         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29930         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29931         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29932         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29933         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29934         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29935         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29936         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29937         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29938         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29939         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29940         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29941         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29942         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29943         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29944         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29945         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29946         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29947         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29948         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29949         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29950         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29951         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29952         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29953         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29954         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29955         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29956         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29957         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29958         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29959         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29960         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29961         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29962         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29963         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29964         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29965         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29966         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29967         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29968         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29969         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29970         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29971         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29972         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29973         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29974         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29975         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29976         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29977         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29978         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29979         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29980         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29981         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29982         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29983         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29984         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29985         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29986         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29987         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29988         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29989         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29990         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29991         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29992         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29993         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29994         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29995         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29996         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29997         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29998         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29999         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30000         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30001         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30002         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30003         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30004         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30005         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30006         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30007         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30008         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30009         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30010         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30011         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30012         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30013         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30014         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30015         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30016         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30017         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30018         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30019         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30020         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30021         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30022         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30023         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30024         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30025         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30026         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30027         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30028         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30029         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30030         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30031         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30032         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30033         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30034         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30035         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30036         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30037         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30038         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30039         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30040         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30041         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30042         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30043         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30044         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30045         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30046         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30047         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30048         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30049         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30051         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30052         _XOPEN_SOURCE_EXTENDED for XPG4.
30054         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30056         * Makeconfig (localtime): Remove variable.
30057         (inst_localtime-file): Likewise.
30059 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30062         Update.
30063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30064         Update.
30065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30066         Update.
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30068         Update.
30069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30070         Update.
30071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30072         Update.
30073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30074         Update.
30075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30076         Update.
30077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30078         Update.
30080 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
30082         [BZ #2550]
30083         [BZ #2570]
30084         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30085         comparisons to determine direction to adjust input.
30086         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30087         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30088         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30089         Likewise.
30090         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30091         Likewise.
30092         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30093         Likewise.
30094         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30095         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30096         Likewise.
30097         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30098         Likewise.
30099         * math/libm-test.inc (nexttoward_test): Add more tests.
30101 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30103         [BZ #14040]
30104         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30105         in version GLIBC_2.1, not GLIBC_2.0.
30106         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30107         Likewise.
30109 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
30111         [BZ #13942]
30112         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30113         (1 - x) * (1 + x).
30114         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30115         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30116         * math/libm-test.inc (acos_test): Add more tests.
30117         (asin_test): Likewise.
30118         * sysdeps/i386/fpu/libm-test-ulps: Update.
30119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30121         [BZ #14034]
30122         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30123         of square root.
30124         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30125         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30126         * math/libm-test.inc (acos_test_tonearest): New function.
30127         (acos_test_towardzero): Likewise.
30128         (acos_test_downward): Likewise.
30129         (acos_test_upward): Likewise.
30130         (asin_test_tonearest): Likewise.
30131         (asin_test_towardzero): Likewise.
30132         (asin_test_downward): Likewise.
30133         (asin_test_upward): Likewise.
30134         (main): Call the new functions.
30135         * sysdeps/i386/fpu/libm-test-ulps: Update.
30136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30138         [BZ #13884]
30139         [BZ #13924]
30140         * math/e_exp10.c: Include <float.h>.
30141         (__ieee754_exp10): Handle underflow here rather than multiplying
30142         large negative argument by M_LN10.
30143         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30144         of __ieee754_expf.
30145         * math/e_exp10l.c: Include <float.h>.
30146         (__ieee754_exp10l): Handle underflow here rather than multiplying
30147         large negative argument by M_LN10l.
30148         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
30149         spurious overflow exception on underflow.
30151 2012-04-29  Marek Polacek  <polacek@redhat.com>
30153         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30154         (__fortify_function): New macro.
30155         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30156         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30157         __extern_always_inline.
30158         * libio/bits/stdio2.h: Likewise.
30159         * libio/bits/stdio.h: Likewise.
30160         * string/string.h: Likewise.
30161         * string/bits/string3.h: Likewise.
30162         * include/stdio.h: Likewise.
30163         * stdlib/bits/stdlib.h: Likewise.
30164         * stdlib/stdlib.h: Likewise.
30165         * rt/bits/mqueue2.h: Likewise.
30166         * rt/mqueue.h: Likewise.
30167         * posix/bits/unistd.h: Likewise.
30168         * posix/unistd.h: Likewise.
30169         * io/bits/poll2.h: Likewise.
30170         * io/bits/fcntl2.h: Likewise.
30171         * io/fcntl.h: Likewise.
30172         * io/sys/poll.h: Likewise.
30173         * misc/bits/syslog.h: Likewise.
30174         * misc/bits/syslog-ldbl.h: Likewise.
30175         * misc/sys/syslog.h: Likewise.
30176         * socket/bits/socket2.h: Likewise.
30177         * socket/sys/socket.h: Likewise.
30178         * debug/tst-chk1.c: Likewise.
30179         * wcsmbs/bits/wchar2.h: Likewise.
30180         * wcsmbs/bits/wchar-ldbl.h: Likewise.
30181         * wcsmbs/wchar.h: Likewise.
30183 2012-04-29  Andreas Jaeger  <aj@suse.de>
30185         * Makerules (tests): Remove enable-check-abi protection.
30186         (check-abi-warn): Remove.
30187         (check-abi-%): Remove check-abi-warn usage.
30189         * configure.in: Remove check-abi configure option.
30190         * configure: Regenerated.
30191         * config.make.in (enable-check-abi): Remove.
30193 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
30195         [BZ #14033]
30196         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30197         double functions to double *_finite functions.
30199         [BZ #13941]
30200         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30201         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30202         LDBL_MIN_EXP.
30203         * stdio-common/Makefile (tests): Add tst-sprintf3.
30204         * stdio-common/tst-sprintf3.c: New file.
30206         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30207         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30209 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30211         * conform/conformtest.pl: Remove duplicate typed-constant
30212         handling.
30214 2012-04-28  David S. Miller  <davem@davemloft.net>
30216         * Makerules (%.abilist): Add vpath on sysdep_dirs.
30217         (check-abi-%): Remove AWK script prerequisite and explicit
30218         abilist directory.
30219         (check-abi): Rewrite to just diff the symlist with the abilist.
30220         (config-tls, config-abi-config): Delete, no longer used.
30221         (update-abi-%): Remove AWK script and explicit abilist directory.
30222         (update-abi): Rewrite to simply compare and conditionally copy the
30223         symlist and the sysdep abilist file.  Remove update-abi-config
30224         checks.
30225         * abilist/ld.abilist: Remove.
30226         * abilist/libBrokenLocale.abilist: Remove.
30227         * abilist/libanl.abilist: Remove.
30228         * abilist/libcrypt.abilist: Remove.
30229         * abilist/libdl.abilist: Remove.
30230         * abilist/librt.abilist: Remove.
30231         * abilist/libthread_db.abilist: Remove.
30232         * abilist/libutil.abilist: Remove.
30233         * scripts/extract-abilist.awk: Remove.
30234         * scripts/merge-abilist.awk: Remove.
30235         * sysdeps/generic/libcidn.abilist: New file.
30236         * sysdeps/generic/libnss_compat.abilist: New file.
30237         * sysdeps/generic/libnss_db.abilist: New file.
30238         * sysdeps/generic/libnss_dns.abilist: New file.
30239         * sysdeps/generic/libnss_files.abilist: New file.
30240         * sysdeps/generic/libnss_hesiod.abilist: New file.
30241         * sysdeps/generic/libnss_nis.abilist: New file.
30242         * sysdeps/generic/libnss_nisplus.abilist: New file.
30243         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30244         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30245         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30246         file.
30247         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30248         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30249         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30250         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30251         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30252         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30253         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30254         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30255         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30256         file.
30257         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30258         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30259         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30260         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30261         file.
30262         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30263         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30264         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30265         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30266         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30267         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30268         file.
30269         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30270         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30271         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30272         file.
30273         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30275         New file.
30276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30277         New file.
30278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30279         New file.
30280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30281         New file.
30282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30283         New file.
30284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30285         New file.
30286         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30287         New file.
30288         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30289         New file.
30290         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30291         New file.
30292         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30293         New file.
30294         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30295         New file.
30296         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30297         New file.
30298         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30299         New file.
30300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30301         file.
30302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30303         New file.
30304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30305         New file.
30306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30307         file.
30308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30309         New file.
30310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30311         New file.
30312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30313         file.
30314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30315         New file.
30316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30317         New file.
30318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30319         New file.
30320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30321         New file.
30322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30323         New file.
30324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30325         New file.
30326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30328         file.
30329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30330         New file.
30331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30332         file.
30333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30334         file.
30335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30336         file.
30337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30338         file.
30339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30340         file.
30341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30342         New file.
30343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30344         file.
30345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30346         file.
30347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30348         New file.
30349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30350         file.
30351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30353         file.
30354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30355         New file.
30356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30357         file.
30358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30359         file.
30360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30361         file.
30362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30363         file.
30364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30365         file.
30366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30367         New file.
30368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30369         file.
30370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30371         file.
30372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30373         New file.
30374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30375         file.
30376         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30377         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30378         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30379         file.
30380         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30381         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30382         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30383         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30384         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30385         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30386         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30387         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30388         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30389         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30392         file.
30393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30394         New file.
30395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30396         file.
30397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30398         file.
30399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30400         file.
30401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30402         file.
30403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30404         file.
30405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30406         New file.
30407         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30408         New file.
30409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30410         file.
30411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30412         New file.
30413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30414         file.
30415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30417         file.
30418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30419         New file.
30420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30421         file.
30422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30423         file.
30424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30425         file.
30426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30427         file.
30428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30429         file.
30430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30431         New file.
30432         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30433         New file.
30434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30435         file.
30436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30437         New file.
30438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30439         file.
30441 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30443         * conform/conformtest.pl: Fix typo in handling typed-constant from
30444         allow-header.
30446 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30448         * README: Cut down references to pre-2.6 Linux kernels and
30449         Linuxthreads.  Update lists of configurations in libc and ports
30450         and sort alphabetically.  Say "or newer" with Linux kernel version
30451         requirements.
30453         * config.h.in [IS_IN_build]: Allow compiling without optimization.
30455 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30457         [BZ #887]
30458         * math/libm-test.inc (logb_test_downward): New test to expose
30459         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30460         rounding mode.
30462 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30464         [BZ #14027]
30465         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30466         to be done.
30467         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30468         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30470 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
30472         * sysdeps/unix/i386/brk.S: Remove file.
30473         * sysdeps/unix/i386/dl-brk.S: Likewise.
30474         * sysdeps/unix/i386/pipe.S: Likewise.
30475         * sysdeps/unix/i386/sigreturn.S: Likewise.
30476         * sysdeps/unix/i386/syscall.S: Likewise.
30477         * sysdeps/unix/i386/vfork.S: Likewise.
30478         * sysdeps/unix/i386/wait.S: Likewise.
30480         * sysdeps/unix/common/tcsendbrk.c: Move to ...
30481         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30483         * configure.in (arm*-none*): Do not allow without
30484         --enable-hacker-mode.
30485         (netbsd*): Remove case setting base_os.
30486         (386bsd*): Likewise.
30487         (freebsd*): Likewise.
30488         (bsdi*): Likewise.
30489         (osf*): Likewise.
30490         (sunos*): Likewise.
30491         (ultrix*): Likewise.
30492         (newsos*): Likewise.
30493         (dynix*): Likewise.
30494         (*bsd*): Likewise.
30495         (sysv*): Likewise.
30496         (isc*): Likewise.
30497         (esix*): Likewise.
30498         (sco*): Likewise.
30499         (minix*): Likewise.
30500         (irix4*): Likewise.
30501         (irix6*): Likewise.
30502         (solaris[2-9]*): Likewise.
30503         (none): Likewise.
30504         * configure: Regenerated.
30506 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30508         [BZ #11521]
30509         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30510         overflow or cancellation in calculating denominator.
30511         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30512         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30513         down expression to avoid unexpected rounding in newer GCCs.
30514         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30516 2012-04-26  David S. Miller  <davem@davemloft.net>
30518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30519         long-double compat symbols.
30520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30534 2012-04-25  David S. Miller  <davem@davemloft.net>
30536         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30537         HWCAP_* values only after the memory barriers have been defined.
30538         (atomic_full_barrier): Define.
30539         (atomic_read_barrier): Define.
30540         (atomic_write_barrier): Define.
30542 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30544         * shlib-versions: Add libgcc_s version information.
30545         * sysdeps/generic/libgcc_s.h: Remove.
30546         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30547         libgcc_s.h.
30548         * sysdeps/gnu/unwind-resume.c: Likewise.
30549         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30551 2012-04-25  David S. Miller  <davem@davemloft.net>
30553         * sysdeps/unix/sparc/brk.S: Delete.
30554         * sysdeps/unix/sparc/dl-brk.S: Delete.
30555         * sysdeps/unix/sparc/pipe.S: Delete.
30556         * sysdeps/unix/sparc/sysdep.S: Delete.
30557         * sysdeps/unix/sparc/sysdep.h: Delete.
30558         * sysdeps/unix/sparc/vfork.S: Delete.
30559         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30560         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30561         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30562         ret_ERRVAL, r0, r1, MOVE): Define.
30563         (JUMPTARGET): Remove.
30564         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30565         sysdeps/unix/sparc/sysdep.h
30566         (ENTRY, END): Remove.
30567         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30569 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
30571         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30572         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30573         -DIS_IN_build.
30575         * timezone/README: Update upstream location and email address for
30576         tzcode and tzdata.
30577         * timezone/zdump.c: Update from tzcode 2012b.
30578         * timezone/zic.c: Likewise.
30580         * configure.in (libc_cv_as_needed): Remove test.
30581         * configure: Regenerated.
30582         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30583         conditional definition.
30584         [$(have-as-needed) != yes] (no-as-needed): Likewise.
30585         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30586         * config.make.in (have-as-needed): Remove variable.
30588 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30589             Paul Pluzhnikov  <ppluzhnikov@google.com>
30591         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30592         strings correctly.
30594 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
30596         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30597         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30598         * sysdeps/sh/strlen.S: Likewise.
30600 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30602         * sysdeps/unix/fork.S: Remove file.
30603         * sysdeps/unix/i386/fork.S: Likewise.
30604         * sysdeps/unix/sparc/fork.S: Likewise.
30606         * sysdeps/unix/system.c: Remove file.
30607         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30609         * sysdeps/unix/getegid.S: Remove file.
30610         * sysdeps/unix/geteuid.S: Likewise.
30612 2012-04-24  Roland McGrath  <roland@hack.frob.com>
30614         * scripts/check-localplt.awk: New file.
30615         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30616         of diff.
30617         * scripts/data/localplt-generic.data: Add a comment.
30619         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30620         NODE when __dir_mkfile failed.
30621         * sysdeps/mach/hurd/symlinkat.c: Likewise.
30622         Reported by Ludovic Courtès <ludo@gnu.org>.
30624 2012-04-24  Andreas Jaeger  <aj@suse.de>
30626         * Makerules (common-clean): Also remove gen-as-const-headers
30627         files.
30629 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30631         * Makerules (native-compile): Do not change working directory for
30632         build.  Use $(OUTPUT_OPTION) in command.
30633         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30635 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30637         [BZ #13886]
30638         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30639         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30640         * math/libm-test.inc (floor_test): Add more tests.
30641         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30643 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30645         * sysdeps/unix/getdents.c: Remove file.
30646         * sysdeps/unix/sysv/getdents.c: Likewise.
30647         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30649         * sysdeps/unix/syscalls.list (madvise): Add syscall from
30650         sysdeps/unix/mman/syscalls.list.
30651         (mmap): Likewise.
30652         (mprotect): Likewise.
30653         (msync): Likewise.
30654         (munmap): Likewise.
30655         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30656         * sysdeps/unix/mman/syscalls.list: Remove.
30657         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30659         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30660         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30661         * configure: Regenerated.
30662         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30663         $(libgcc_s_suffix).
30664         * config.make.in (libgcc_s_suffix): Remove variable.
30666 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
30668         * sysdeps/unix/sysv/gethostname.c: Move to ...
30669         * sysdeps/posix/gethostname.c: ... here.
30671         * sysdeps/unix/execve.S: Remove file.
30673         * sysdeps/unix/_exit.S: Remove file.
30675 2012-04-23  Andreas Jaeger  <aj@suse.de>
30677         [BZ #13739]
30678         * manual/Makefile: Remove make dist support, there's no
30679         need for a stand-alone documentation tar ball.
30680         (TEXI2DVI): Define always, it's not in Makeconfig.
30681         (dist): Removed.
30682         (tar-it): Removed.
30683         (edition): Removed.
30684         (glibc-doc-$(edition).tar): Removed
30685         (%.Z): Removed.
30686         (%.gz): Removed.
30687         (%.uu): Removed.
30688         (ETAGS): Remove, it's in Makeconfig.
30689         (move-if-change): Remove, it's in Makeconfig.
30691 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
30693         [BZ #13970]
30694         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30695         (strtod, strtof, strtold, strtol, strtoul, strtoq)
30696         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30697         (strtod_l, strtof_l, strtold_l): Remove __wur.
30698         It is not necessarily an error to ignore strtol's return value.
30699         One can reliably look at the stored endptr to decide whether
30700         the number had valid syntax.
30702 2012-04-21  Andreas Jaeger  <aj@suse.de>
30704         [BZ #13739]
30705         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30707 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
30709         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30710         * sysdeps/unix/sysv/Versions: Remove file.
30712 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
30714         [BZ #13927]
30715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30717 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
30719         [BZ #7064]
30720         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30721         version from __vm86.
30723 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
30725         * sysdeps/unix/common/lxstat.c: Remove file.
30726         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30728         * sysdeps/unix/sysv/Makefile: Remove file.
30730         * sysdeps/unix/sysv/direct.h: Remove file.
30732         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30733         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30734         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30735         * sysdeps/unix/sysv/bits/signum.h: Likewise.
30736         * sysdeps/unix/sysv/bits/stat.h: Likewise.
30737         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30738         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30740         * sysdeps/unix/sysv/setrlimit.c: Remove file.
30742         * sysdeps/unix/xmknod.c: Remove file.
30743         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30745         * sysdeps/unix/sysv/settimeofday.c: Remove file.
30747         * sysdeps/unix/sysv/i386/time.S: Remove file.
30749         * sysdeps/unix/fxstat.c: Remove file.
30750         * sysdeps/unix/xstat.c: Likewise.
30751         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30753         * sysdeps/unix/sysv/sigaction.c: Remove file.
30755         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30756         (sysdep_headers): Remove variable.
30757         [termio.h not in sysdep_headers] (generated): Likewise.
30758         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30759         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30760         * sysdeps/unix/sysv/tcdrain.c: Likewise.
30761         * sysdeps/unix/sysv/tcflow.c: Likewise.
30762         * sysdeps/unix/sysv/tcflush.c: Likewise.
30763         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30764         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30765         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30766         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30767         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30769         * sysdeps/unix/siglist.c: Remove file.
30771         * sysdeps/unix/getppid.S: Remove file.
30773         * sysdeps/unix/mkdir.c: Remove file.
30774         * sysdeps/unix/rmdir.c: Likewise.
30776 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
30778         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30779         ERR_MAX value.
30780         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30781         errlist-compat value.
30783 2012-04-18  David S. Miller  <davem@davemloft.net>
30785         * sysdeps/generic/memcopy.h (reg_char): Delete.
30786         * debug/strcat_chk.c: Use char, not reg_char.
30787         * debug/strcpy_chk.c: Likewise.
30788         * debug/strncat_chk.c: Likewise.
30789         * debug/strncpy_chk.c: Likewise.
30790         * string/memchr.c: Likewise.
30791         * string/memrchr.c: Likewise.
30792         * string/rawmemchr.c: Likewise.
30793         * string/strcat.c: Likewise.
30794         * string/strchr.c: Likewise.
30795         * string/strchrnul.c: Likewise.
30796         * string/strcmp.c: Likewise.
30797         * string/strcpy.c: Likewise.
30798         * string/strncat.c: Likewise.
30799         * string/strncmp.c: Likewise.
30800         * string/strncpy.c: Likewise.
30802 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30804         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30805         __builtin_memcopy is called when src and dest ranges are known to not
30806         overlap.
30808 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30810         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30811         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30812         fwd_align_merge macro call.
30813         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30814         bwd_align_merge macro call.
30815         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30817 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30819         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30820         bwd_align_merge macros.
30821         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30822         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30823         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30825 2012-04-18  David S. Miller  <davem@davemloft.net>
30827         * sysdeps/sparc/sparc64/memcopy.h: Delete.
30829 2012-04-18  Andreas Jaeger  <aj@suse.de>
30831         [BZ# 6794]
30832         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30833         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30834         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30836         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30837         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30838         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30840         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30841         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30842         Adjust for changed ldbl-128 files.
30844         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30845         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30846         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30848 2012-04-17  David S. Miller  <davem@davemloft.net>
30850         * sysdeps/sparc/sparc32/memcopy.h: Delete.
30852 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
30854         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30855         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30856         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30857         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30858         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30859         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30861 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30863         [BZ #6794]
30864         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30865         * math/libm-test.inc: Add ilogb errno and exception tests.
30866         * math/w_ilogb.c: New file: ilogb wrapper.
30867         * math/w_ilogbf.c: New file: ilogbf wrapper.
30868         * math/w_ilogbl.c: New file: ilogbl wrapper.
30869         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30870         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30871         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30872         exception being thrown with 0.0 as argument.
30873         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30874         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30875         exception being thrown with 0.0 as argument.
30876         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30877         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30878         exception being thrown with 0.0 as argument.
30879         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30880         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30881         exception being thrown with 0.0 as argument.
30882         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30883         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30884         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30885         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30886         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30887         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30888         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30889         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30890         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30892 2012-04-17  Petr Baudis  <pasky@ucw.cz>
30894         * include/sys/uio.h: Change __vector to __iovec to avoid clash
30895         with altivec.
30897 2012-04-16  Marek Polacek  <polacek@redhat.com>
30899         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30901 2012-04-16  Marek Polacek  <polacek@redhat.com>
30903         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30904         operands of fdivp instruction.
30906 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30908         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30909         * elf/tst-auditmod3b.c: Likewise.
30910         * elf/tst-auditmod4b.c: Likewise.
30911         * elf/tst-auditmod5b.c: Likewise.
30912         * elf/tst-auditmod6b.c: Likewise.
30913         * elf/tst-auditmod6c.c: Likewise.
30914         * elf/tst-auditmod7b.c: Likewise.
30915         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30916         * sysdeps/x86_64/preconfigure.in: Likewise.
30917         * sysdeps/x86_64/preconfigure: Regenerated.
30919 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30921         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30922         __ILP32__.
30924 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
30926         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30927         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30929 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
30931         [BZ #13973]
30932         * locale/iso-639.def: Fix gl language name. Spotted by
30933         Yaron Shahrabani.
30935 2012-04-12  Roland McGrath  <roland@hack.frob.com>
30937         [BZ #2074]
30938         * libio/libio.h (__io_write_fn): Update comment.
30940 2012-04-12  Petr Baudis  <pasky@ucw.cz>
30942         [BZ #2074]
30943         * stdio.texi (Hook Functions): The user provided writer function
30944         is not allowed to return -1.
30946 2012-04-11  David S. Miller  <davem@davemloft.net>
30948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30950 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
30952         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30953         Add a leading slash to rtkaio.
30955 2012-04-11  Jim Meyering  <meyering@redhat.com>
30957         [BZ #11959]
30958         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30959         It is not necessarily an error to ignore fwrite's return
30960         value.  One can reliably use ferror to test for errors after
30961         the fact.
30963 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30965         * bits/types.h (__snseconds_t): New type.
30966         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30968         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30969         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30970         (__SNSECONDS_T_TYPE): Likewise.
30971         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30972         (__SNSECONDS_T_TYPE): Likewise.
30973         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30974         (__SNSECONDS_T_TYPE): Likewise.
30976 2012-04-10  Andreas Jaeger  <aj@suse.de>
30978         [BZ #2636]
30979         * manual/time.texi (Processor Time): Return type of times is
30980         elapsed real time since an arbitrary point in the past.
30981         (CPU Time): Move CLK_TCK from here...
30982         (Processor Time): ...to here.  Correct description.
30983         * manual/conf.texi (Constants for Sysconf): Correct description of
30984         _SC_CLK_TCK.
30986 2012-04-10  David S. Miller  <davem@davemloft.net>
30988         [BZ #13967]
30989         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30990         where the is a gap between DT_REL(A) and DT_JMPREL.
30992 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30994         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30995         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30996         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30998 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31000         * elf/dl-support.c (_dl_inhibit_cache): New variable.
31001         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31002         (dl_main): Handle --inhibit-cache.
31003         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31004         _dl_inhibit_cache.
31005         * elf/dl-load.c (_dl_map_object): Use it.
31006         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31008 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31010         [BZ #13872]
31011         * sysdeps/i386/fpu/e_powl.S (p78): New object.
31012         (__ieee754_powl): Saturate large exponents rather than testing for
31013         overflow of y*log2(x).
31014         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31015         * math/libm-test.inc (pow_test): Do not permit spurious overflow
31016         exceptions.
31018         [BZ #11521]
31019         * math/s_ctan.c: Include <float.h>.
31020         (__ctan): Avoid internal overflow or cancellation in calculating
31021         denominator.
31022         * math/s_ctanf.c: Likewise.
31023         * math/s_ctanl.c: Likewise.
31024         * math/s_ctanh.c: Likewise.
31025         * math/s_ctanhf.c: Likewise.
31026         * math/s_ctanhl.c: Likewise.
31027         * math/libm-test.inc (ctan_test): Add more tests.
31028         (ctanh_test): Likewise.
31029         * sysdeps/i386/fpu/libm-test-ulps: Update.
31030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31032 2012-04-09  Andreas Jaeger  <aj@suse.de>
31034         [BZ #6894]
31035         * manual/filesys.texi (Directory Entries): Mention that d_namlen
31036         is an optional BSD extension.
31038         [BZ #10254]
31039         * manual/stdio.texi (Opening Streams): Document additional fopen
31040         parameters.
31042 2012-04-09  Roland McGrath  <roland@hack.frob.com>
31044         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31045         %eax without telling the compiler.
31047 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
31049         [BZ # 13963]
31050         * manual/install.texi: Use sourceware.org.
31052 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
31054         [BZ #13873]
31055         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31056         (__ieee754_pow): Generate overflow and underflow using huge*huge
31057         and tiny*tiny rather than just returning constant infinity or zero
31058         for large exponents.
31059         * math/libm-test.inc (pow_test): Require overflow exceptions for
31060         applicable cases of large exponents.
31062         [BZ #706]
31063         * sysdeps/i386/fpu/e_pow.S (p10): New object.
31064         (__ieee754_pow): Use iterative multiplication algorithm only for
31065         integer exponents with absolute value below 1024.  Check for odd
31066         integer exponents when using algorithm for real exponents.
31067         * math/libm-test.inc (pow_test): Add more tests.
31068         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31070 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
31072         [BZ #13705]
31073         * math/libm-test.inc (exp_test): Do not allow overflow exception
31074         on underflow test.
31076 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
31078         [BZ #13705]
31079         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31080         instead of __kernel_standard_f.
31082 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
31084         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31085         * sysdeps/x86_64/memset_chk.S: Likewise.
31087 2012-04-08  Andreas Jaeger  <aj@suse.de>
31089         [BZ #10153]
31090         * manual/startup.texi (Environment Access): Describe return value
31091         for putenv and setenv.
31093         [BZ #6895]
31094         * manual/filesys.texi (Directory Entries): Add description for
31095         DT_LNK.
31097         [BZ #6890]
31098         * manual/filesys.texi (Directory Entries): Clarify that it's file
31099         system not operating system in the description of DT_UNKNOWN.
31101         [BZ #6578]
31102         * manual/syslog.texi (closelog): Fix reference, it's openlog.
31104 2012-04-08  Stephen Compall  <s11@member.fsf.org>
31106         [BZ #6649]
31107         * manual/llio.texi (Opening and Closing Files): Add cross
31108         reference to explain mode argument.
31110 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
31112         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31113         * sysdeps/x86_64/memset_chk.S: Likewise.
31115 2012-04-07  David S. Miller  <davem@davemloft.net>
31117         * elf/elf.h (R_SPARC_WDISP10): Define.
31118         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31119         R_SPARC_SIZE32.
31120         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31121         R_SPARC_SIZE64 and R_SPARC_H34.
31123 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
31125         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31126         conditions and remove no longer applicable assertion.
31128 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31130         * bits/byteswap.h: Include <features.h>.
31131         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31132         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31134 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
31136         * bits/byteswap.h (__bswap_16): Removed.
31137         Include <bits/byteswap-16.h> to get __bswap_16.
31138         * sysdeps/i386/bits/byteswap.h: Likewise.
31139         * sysdeps/s390/bits/byteswap.h: Likewise.
31140         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31141         * bits/byteswap-16.h: New file.
31142         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31143         * sysdeps/s390/bits/byteswap-16.h: Likewise.
31144         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31145         * string/Makefile (headers): Add bits/byteswap-16.h.
31147 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31149         [BZ #13895]
31150         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31151         extra indirection.
31152         * nss/Makefile (tests-static, tests): Add tst-nss-static.
31153         * nss/tst-nss-static.c: New.
31155 2012-04-06  Robert Millan  <rmh@gnu.org>
31157         [BZ #6486]
31158         * manual/llio.texi (File Position Primitive): lseek
31159         refers to WHENCE when it really means OFFSET.
31161 2012-04-06  Andreas Jaeger  <aj@suse.de>
31163         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31164         strncmp declarations.
31166         * abilist/libc.abilist: Add __poll and __ppoll.
31168 2012-04-05  David S. Miller  <davem@davemloft.net>
31170         * scripts/check-local-headers.sh: Accept a host triplet in the
31171         path matched by the exclude regexp.
31173         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31174         definition.
31175         * sysdeps/powerpc/powerpc32/dl-machine.h
31176         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31177         * sysdeps/s390/s390-32/dl-machine.h
31178         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31179         * sysdeps/sparc/sparc32/dl-machine.h
31180         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31181         * sysdeps/sparc/sparc64/dl-machine.h
31182         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31184         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31185         lazy binding.
31186         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31187         undefined symbol errors.
31189         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31190         DT_NEEDED entries.
31192 2012-04-05  Michael Matz  <matz@suse.de>
31194         [BZ #13592]
31195         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31197 2012-04-05  Andreas Jaeger  <aj@suse.de>
31199         [BZ #13908]
31200         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31201         comment.
31203 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31205         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31206         which ROUND is no valid rounding mode.
31208 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31210         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31211         read again.
31212         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31214 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31216         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31217         an exception using FPU order intentionally.
31219 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31221         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31222         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31223         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31224         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31226 2012-04-05  Simon Josefsson  <simon@josefsson.org>
31228         [BZ #12340]
31229         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31230         EINVAL when BUFLEN is too smal.
31232 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31234         [BZ #13553]
31235         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31236         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31238 2012-04-03  Andreas Jaeger  <aj@suse.de>
31240         [BZ #13938]
31241         * manual/setjmp.texi (System V contexts): Fix sentence.
31243         [BZ #13926]
31244         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31245         New macro for this case.
31246         [!__GNUC__] (__bswap_64): New inline function for this case.
31247         * sysdeps/x86_64/bits/byteswap.h: Likewise.
31248         * bits/byteswap.h: Likewise.
31249         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31250         ull, guard with __GLIBC_HAVE_LONG_LONG.
31252         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31253         __GLIBC_HAVE_LONG_LONG.
31255         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31256         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31258 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31260         [BZ #13691]
31261         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31262         inptr and inend, rather than using last_ch.
31264 2012-04-02  David S. Miller  <davem@davemloft.net>
31266         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31267         * stdio-common/printf-parse.h (read_int): Change return type to
31268         'int', return -1 on INT_MAX overflow.
31269         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31270         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
31271         overflows INT_MAX.  Check for overflow of in-format-string precision
31272         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
31273         SIZE_MAX not INT_MAX for integer overflow test.
31274         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31275         skip the construct in the format string but do not record anything.
31276         * stdio-common/bug22.c: Adjust to test both width/prevision
31277         INT_MAX overflow as well as total length INT_MAX overflow.  Check
31278         explicitly for proper errno values.
31280 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31282         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31283         CHAR_MAX.
31284         * string/test-strcmp.c [! WIDE]: Likewise.
31285         * time/tst-mktime2.c: Likewise for INT_MAX.
31286         * string/test-string.h: #include <sys/param.h> for MIN.
31288         * csu/init-first.c (__libc_init_first): Call __ctype_init.
31289         * sysdeps/i386/init-first.c (init): Likewise.
31290         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31291         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31292         * sysdeps/sh/init-first.c (init): Likewise.
31294 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
31296         * po/ru.po: Update from translation team.
31297         * po/vi.po: Likewise.
31299 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31301         * resolv/nss_dns/dns-host.c: Merge copyright years.
31303 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31305         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31306         Optimize memcpy with prefetch if
31307         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
31308         src, dst pointers have unequal 16 byte alignments.
31310 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31312         [BZ #13928]
31313         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31314         from a CNAME entry and return the minimum ttl for the query.
31315         (gaih_getanswer_slice): Likewise.
31317 2012-03-30  Jeff Law  <law@redhat.com>
31319         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31320         due to long keys.
31321         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31322         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31324         * resolv/nss_dns/dns-host.c: Update copyright year.
31326 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
31328         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31329         requests to save a system call.  Fix check that all bytes are sent.
31331         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31332         comments for sendmmsg.
31334 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31336         [BZ #13691]
31337         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31338         with only 1 character between 0x0041 and 0x01b0.
31339         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31340         * wcsmbs/tst-mbsnrtowcs.c: New file.
31342 2012-03-29  David S. Miller  <davem@davemloft.net>
31344         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31345         small copies by hand.
31347 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31349         [BZ #13761]
31350         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31351         _nss_compat_initgroups_dyn): Fall back to malloc/free
31352         for large group memberships.
31354 2012-03-28  David S. Miller  <davem@davemloft.net>
31356         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31357         that branches into memcpy.
31358         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31359         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31360         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31361         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31362         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31363         bits.
31364         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31365         implementation too.
31366         * sysdeps/sparc/mempcpy.S: New file.
31368         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31369         the IFUNC routine in the libc case.
31370         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31372         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31373         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31374         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31375         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31376         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31377         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31378         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31379         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31381         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31382         loop to 256 bytes instead of 64 bytes and fix test signedness.
31384         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31385         * sysdeps/sparc/sparc32/Makefile: rather than here...
31386         * sysdeps/sparc/sparc64/Makefile: and here.
31388 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
31390         * malloc/mallocbug.c: Avoid warnings about unused variables.
31392 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31394         [BZ #13760]
31395         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31396         in the right place. Discard and retry query if response is
31397         larger than input buffer size.
31399 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
31401         [BZ #369]
31402         [BZ #2678]
31403         [BZ #3866]
31404         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31405         x for large integer exponent.
31406         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31407         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
31408         sign of result as needed afterwards.
31409         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31410         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31411         result for underflowing pow the same as for overflow.
31412         (__kernel_standard_l): Handle powl overflow and underflow here
31413         rather than calling __kernel_standard.
31414         * math/libm-test.inc (pow_test): Add more tests.
31416         [BZ #3868]
31417         [BZ #13879]
31418         [BZ #13910]
31419         [BZ #13911]
31420         [BZ #13912]
31421         [BZ #13913]
31422         [BZ #13915]
31423         [BZ #13916]
31424         [BZ #13917]
31425         [BZ #13918]
31426         [BZ #13919]
31427         [BZ #13920]
31428         [BZ #13921]
31429         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31430         * sysdeps/ieee754/k_standard.c: Include <float.h>.
31431         (__kernel_standard_l): New function.
31432         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31433         __kernel_standard.
31434         * math/w_acosl.c (__acosl): Likewise.
31435         * math/w_asinl.c (__asinl): Likewise.
31436         * math/w_atan2l.c (__atan2l): Likewise.
31437         * math/w_atanhl.c (__atanhl): Likewise.
31438         * math/w_coshl.c (__coshl): Likewise.
31439         * math/w_exp10l.c (__exp10l): Likewise.
31440         * math/w_exp2l.c (__exp2l): Likewise.
31441         * math/w_fmodl.c (__fmodl): Likewise.
31442         * math/w_hypotl.c (__hypotl): Likewise.
31443         * math/w_j0l.c (__j0l, __y0l): Likewise.
31444         * math/w_j1l.c (__j1l, __y1l): Likewise.
31445         * math/w_jnl.c (__jnl, __ynl): Likewise.
31446         * math/w_lgammal.c (__lgammal): Likewise.
31447         * math/w_log10l.c (__log10l): Likewise.
31448         * math/w_log2l.c (__log2l): Likewise.
31449         * math/w_logl.c (__logl): Likewise.
31450         * math/w_powl.c (__powl): Likewise.
31451         * math/w_remainderl.c (__remainderl): Likewise.
31452         * math/w_scalbl.c (sysv_scalbl): Likewise.
31453         * math/w_sinhl.c (__sinhl): Likewise.
31454         * math/w_sqrtl.c (__sqrtl): Likewise.
31455         * math/w_tgammal.c (__tgammal): Likewise.
31456         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31457         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31458         * math/libm-test.inc (acos_test): Add more tests.
31459         (acosh_test): Likewise.
31460         (asin_test): Likewise.
31461         (atanh_test): Likewise.
31462         (exp_test): Likewise.
31463         (exp10_test): Likewise.
31464         (exp2_test): Likewise.
31465         (expm1_test): Likewise.
31466         (lgamma_test): Likewise.
31467         (log_test): Likewise.
31468         (log10_test): Likewise.
31469         (log1p_test): Likewise.
31470         (log2_test): Likewise.
31471         (pow_test): Do not allow some spurious overflow exceptions.
31472         (sqrt_test): Add more tests.
31473         (tgamma_test): Likewise.
31474         (y0_test): Likewise.
31475         (y1_test): Likewise.
31476         (yn_test): Likewise.
31478 2012-03-27  Anton Blanchard  <anton@samba.org>
31480         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31481         MAP_HUGETLB.
31482         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31483         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31484         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31486 2012-03-27  David S. Miller  <davem@davemloft.net>
31488         * conform/Makefile: Run run-conformtest.sh using $(BASH).
31490         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31491         have-as-vis3 check.
31493 2012-03-27  Andreas Jaeger  <aj@suse.de>
31495         * sysdeps/x86_64/elf/configure.in: Moved to ...
31496         * sysdeps/x86_64/configure.in: ... here.
31497         * sysdeps/x86_64/elf/start.S: Moved to ...
31498         * sysdeps/x86_64/start.S: ... here.
31499         * sysdeps/x86_64/elf/configure: Delete.
31501         * sysdeps/x86_64/configure.in: Merge contents from
31502         sysdeps/i386/configure.in (without i686 check).
31504         * sysdeps/i386/elf/Versions: Merge into ...
31505         * sysdeps/i386/Versions: ... this.
31506         * sysdeps/i386/elf/Versions: Delete file.
31507         * sysdeps/i386/elf/start.S: Moved to ...
31508         * sysdeps/i386/start.S: ...here.
31509         * sysdeps/i386/elf/configure.in: Merge into...
31510         * sysdeps/i386/configure.in: ...here.
31511         * sysdeps/i386/elf/configure.in: Delete file.
31512         * sysdeps/i386/elf/configure: Delete file.
31514         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31515         * debug/backtracesyms.c: ... here.
31516         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31517         * debug/backtracesymsfd.c: ... here.
31518         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31519         * sysdeps/generic/ifunc-sel.h: ... here.
31521         * sysdeps/unix/i386/start.c: Delete file.
31522         * sysdeps/unix/sparc/start.c: Delete file.
31523         * sysdeps/unix/start.c: Delete file.
31525         * sysdeps/sh/elf/configure.in: Moved to ...
31526         * sysdeps/sh/configure.in: ... here.
31527         * sysdeps/sh/elf/start.S: Moved to ...
31528         * sysdeps/sh/start.S: ... here.
31529         * sysdeps/sh/elf/configure: Delete file.
31531         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31532         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31533         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31534         * sysdeps/powerpc/powerpc64/entry.h: ... here.
31535         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31536         * sysdeps/powerpc/powerpc64/start.S: here.
31537         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31538         * sysdeps/powerpc/powerpc64/Makefile: ... this.
31539         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31540         * sysdeps/powerpc/powerpc64/configure.in: ... this.
31541         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31543         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31544         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31545         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31546         * sysdeps/powerpc/powerpc32/start.S: ... here.
31547         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31548         * sysdeps/powerpc/powerpc32/configure.in: ... this.
31549         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31551         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31552         * sysdeps/powerpc/ifunc-sel.h: ... here.
31553         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31554         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31556         * sysdeps/sparc/elf/configure.in: Moved to ...
31557         * sysdeps/sparc/configure.in: ... here.
31558         * sysdeps/sparc/elf/configure: Delete file.
31559         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31560         * sysdeps/sparc/sparc32/start.S: ... here.
31561         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31562         * sysdeps/sparc/sparc64/start.S: ... here.
31563         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31564         * sysdeps/sparc/sparc32/Makefile: ... this.
31565         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31566         * sysdeps/sparc/sparc64/Makefile: ... this.
31568         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31569         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31570         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31571         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31572         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31573         * sysdeps/s390/s390-32/setjmp.S: ... here.
31574         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31575         * sysdeps/s390/s390-32/configure.in: ... here.
31576         * sysdeps/s390/s390-32/elf/configure: Delete file.
31577         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31578         * sysdeps/s390/s390-32/start.S: ... here.
31580         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31581         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31582         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31583         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31584         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31585         * sysdeps/s390/s390-64/setjmp.S: ... here.
31586         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31587         * sysdeps/s390/s390-64/configure.in: ... here
31588         * sysdeps/s390/s390-64/elf/configure: Delete file.
31589         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31590         * sysdeps/s390/s390-64/start.S: ... here.
31591         * sysdeps/s390/s390-64/elf/configure: Delete.
31593         * configure.in: Remove support for elf directories in sysdeps.
31595         * configure: Regenerated.
31596         * sysdeps/i386/configure: Regenerated.
31597         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31598         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31599         * sysdeps/s390/s390-32/configure: Regenerated.
31600         * sysdeps/s390/s390-64/configure: Regenerated.
31601         * sysdeps/sh/configure: Regenerated.
31602         * sysdeps/sparc/configure: Regenerated.
31603         * sysdeps/x86_64/configure: Regenerated.
31605 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
31607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31609         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31610         denormal result into account.
31612 2012-03-25  Roland McGrath  <roland@hack.frob.com>
31614         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31615         Reported by Allan McRae <allan@archlinux.org>.
31617 2012-03-23  Jeff Law  <law@redhat.com>
31619         * nss/getnssent.c (__nss_getent): Fix typo.
31621 2012-03-23  David S. Miller  <davem@davemloft.net>
31623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31625 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
31627         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31628         to pad to uint64_t for each field.
31629         (dl_tls_index): Replace unsigned long with uint64_t.
31631 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
31632         Paul Pluzhnikov  <ppluzhnikov@google.com>
31634         [BZ #6528]
31635         * grp/Makefile (otherlibs): Don't set it.
31636         * inet/Makefile (otherlibs): Likewise.
31637         * login/Makefile (otherlibs): Likewise.
31638         * nscd/Makefile (otherlibs): Likewise.
31639         * posix/Makefile (otherlibs): Likewise.
31640         * pwd/Makefile (otherlibs): Likewise.
31641         * rt/Makefile (otherlibs): Likewise.
31642         * sunrpc/Makefile (otherlibs): Likewise.
31643         * nss/Makefile (otherlibs): Likewise.
31644         Add libnss_files to routines and static-only-routines.
31645         ($(objpfx)getent): Remove rule.
31646         * resolv/Makefile: Add libnss_dns and libresolv to routines and
31647         static-only-routines.
31649 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31651         [BZ #13892]
31652         * math/s_cexp.c: Include <float.h>.
31653         (__cexp): Handle exp result overflowing not necessarily
31654         overflowing both real and imaginary parts of result.
31655         * math/s_cexpf.c: Likewise.
31656         * math/s_cexpl.c: Likewise.
31657         * math/libm-test.inc (cexp_test): Add more tests.
31658         * sysdeps/i386/fpu/libm-test-ulps: Update.
31659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31661 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31663         * include/link.h (ELFW): New macro.
31664         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31665         Replace ELF64_R_TYPE with ELFW(R_TYPE).
31667 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31669         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31670         with uint64_t.
31672 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31674         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31675         declaration.
31676         (struct La_x32_retval): Likewise.
31678 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31680         * sysdeps/x86_64/preconfigure.in: New file.
31681         * sysdeps/x86_64/preconfigure: New generated file.
31683 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31685         [BZ #13824]
31686         * math/e_exp2l.c: Include <float.h>.
31687         (__ieee754_exp2l): Handle overflow and underflow cases
31688         separately.  Only pass fractional part of argument to
31689         __ieee754_expl.
31690         * math/libm-test.inc (exp2_test): Add more tests.
31692         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31693         negating x to take absolute value.
31694         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31695         Likewise.
31696         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31697         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31698         Likewise.
31699         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31700         computing low part if x was negated.
31701         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31703 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31705         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31706         la_x32_gnu_pltexit.
31707         (pltexit): Cast int_retval to ptrdiff_t.
31708         * elf/tst-auditmod3b.c: Likewise.
31709         * elf/tst-auditmod4b.c: Likewise.
31710         * elf/tst-auditmod5b.c: Likewise.
31711         * elf/tst-auditmod6b.c: Likewise.
31712         * elf/tst-auditmod6c.c: Likewise.
31713         * elf/tst-auditmod7b.c: Likewise.
31715         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31716         and x32_gnu_pltexit.
31718         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31719         __ELF_NATIVE_CLASS.
31720         (La_x32_regs): New macro.
31721         (La_x32_retval): Likewise.
31722         (la_x32_gnu_pltenter): New function prototype.
31723         (la_x32_gnu_pltexit): Likewise.
31725 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
31727         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31728         exponent.
31730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31732         * configure.in (libc_cv_cc_nofma): Check for option to disable
31733         generation of FMA instructions.
31734         * configure: Regenerate.
31735         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31736         * sysdeps/ieee754/dbl-64/Makefile: New file.
31737         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31738         Remove brandred-fma4.
31739         (CFLAGS-brandred-fma4.c): Remove.
31740         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31741         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31742         define.
31743         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31744         define.
31746 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31748         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31749         LLONG_MAX != LONG_MAX.
31750         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31751         (_fitoa_word): Likewise.
31752         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31753         LLONG_MAX != LONG_MAX.
31754         * stdio-common/_itowa.h: Include <_itoa.h>.
31755         (_itowa_word): Use _ITOA_WORD_TYPE on value.
31756         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
31757         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
31758         only if not defined.
31759         (_ITOA_WORD_TYPE): Likewise.
31760         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31761         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31763 2012-03-21  David S. Miller  <davem@davemloft.net>
31765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31767 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31769         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31770         of x86_64 when setting libc_cv_slibdir, libdir and
31771         libc_cv_localedir.
31772         * sysdeps/unix/sysv/linux/configure: Regenerated.
31774 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31776         * manual/lang.texi (Old Varargs): Remove section.
31777         (How Variadic): Update menu.
31778         (va_start): Do not mention varargs.h.
31780 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31781             Joseph Myers  <joseph@codesourcery.com>
31783         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31784         link test.
31785         * configure: Regenerated.
31787 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31789         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31790         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31791         conformtest.pl
31793 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31795         * NOTES: Remove.
31796         * Makefile (files-for-dist): Remove NOTES.
31797         (NOTES): Remove rule.
31798         * README: Don't refer to NOTES.
31799         * manual/creature.texi: Don't include macros.texi.
31800         * manual/intro.texi (creature.texi): Remove comment referring to
31801         NOTES.
31803         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31804         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31805         * configure: Regenerated.
31806         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31807         LIBC_TRY_CC_OPTION.
31808         (libc_cv_as_i686): Likewise.
31809         (libc_cv_cc_avx): Likewise.
31810         (libc_cv_cc_sse2avx): Likewise.
31811         (libc_cv_cc_fma4): Likewise.
31812         (libc_cv_cc_novzeroupper): Likewise.
31813         * sysdeps/i386/configure: Regenerated.
31815         [BZ #13883]
31816         * sysdeps/i386/fpu/s_cexp.S: Remove.
31817         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31818         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31819         * math/libm-test.inc (cexp_test): Add more tests.
31820         * sysdeps/i386/fpu/libm-test-ulps: Update.
31821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31823 2012-03-21  Allan McRae  <allan@archlinux.org>
31825         * timezone/Makefile: Do not install iso3166.tab and zone.tab
31827 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31829         [BZ #13871]
31830         * math/w_exp2.c: Do not include <float.h>.
31831         (o_threshold, u_threshold): Remove.
31832         (__exp2): Calculate result before checking finiteness and calling
31833         __kernel_standard.
31834         * math/w_exp2f.c: Likewise.
31835         * math/w_exp2l.c: Likewise.
31836         * math/libm-test.inc (exp2_test): Require overflow exception for
31837         1e6 input.
31839         [BZ #3866]
31840         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31841         range of signed 64-bit integers before using fistpll.  Remove
31842         checks for whether integers fit in mantissa bits.
31843         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31844         the range of signed 32-bit integers before using fistpl.  Remove
31845         checks for whether integers fit in mantissa bits.
31846         * sysdeps/i386/fpu/e_powl.S (p64): New object.
31847         (__ieee754_powl): Test for y outside the range of signed 64-bit
31848         integers before using fistpll.  Reduce 64-bit values to 63-bit
31849         ones as needed.
31850         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31851         divide-by-zero is raised for zero to large negative powers.
31852         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31853         (__ieee754_powl): Test for y outside the range of signed 64-bit
31854         integers before using fistpll.  Reduce 64-bit values to 63-bit
31855         ones as needed.
31856         * math/libm-test.inc (pow_test): Add more tests.
31858 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31860         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31861         <stdio-common/_itoa.h>.
31862         * debug/segfault.c: Likewise.
31863         * elf/dl-cache.c: Likewise.
31864         * elf/dl-minimal.c: Likewise.
31865         * elf/dl-misc.c: Likewise.
31866         * elf/dl-sysdep.c: Likewise.
31867         * elf/dl-version.c: Likewise.
31868         * elf/rtld.c: Likewise.
31869         * hurd/hurdsock.c: Likewise.
31870         * hurd/lookup-retry.c: Likewise.
31871         * malloc/malloc.c: Likewise.
31872         * malloc/mtrace.c: Likewise.
31873         * nscd/nscd_getgr_r.c: Likewise.
31874         * nscd/nscd_getpw_r.c: Likewise.
31875         * nscd/nscd_getserv_r.c: Likewise.
31876         * posix/getopt_init.c: Likewise.
31877         * posix/wordexp.c: Likewise.
31878         * stdio-common/_itoa.c: Likewise.
31879         * stdio-common/printf_fphex.c: Likewise.
31880         * stdio-common/vfprintf.c: Likewise.
31881         * string/_strerror.c: Likewise.
31882         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31883         * sysdeps/i386/i686/hp-timing.h: Likewise.
31884         * sysdeps/mach/_strerror.c: Likewise.
31885         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31886         * sysdeps/mach/hurd/sethostid.c: Likewise.
31887         * sysdeps/mach/hurd/xmknodat.c: Likewise.
31888         * sysdeps/mach/xpg-strerror.c: Likewise.
31889         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31890         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31891         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31892         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31893         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31894         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31895         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31896         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31897         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31898         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31899         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31900         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31901         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31902         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31903         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31904         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31905         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31906         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31907         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31908         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31909         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31911         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31913         * stdio-common/_itoa.h: Moved to ...
31914         * sysdeps/generic/_itoa.h: Here.
31916         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31918         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31919         instead of "_itoa.h" and "_itowa.h".
31920         * stdio-common/vfprintf.: Likewise.
31922 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31924         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31925         <bits/wordsize.h>.
31926         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31927         (__signbit): Likwise.
31928         (llrintf): Likwise.
31929         (llrint): Likwise.
31931 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31933         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31934         __WORDSIZE != 64.
31936 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
31938         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31939         OVERFLOW_EXCEPTION_OK.
31940         * math/libm-test.inc ("Philosophy"): Update comment about
31941         exception testing.
31942         (OVERFLOW_EXCEPTION): Define.
31943         (OVERFLOW_EXCEPTION_OK): Likewise.
31944         (INVALID_EXCEPTION_OK): Renumber.
31945         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31946         (IGNORE_ZERO_INF_SIGN): Likewise.
31947         (test_exceptions): Handle FE_OVERFLOW.
31948         (exp10_test): Expect overflow exceptions.
31949         (exp2_test): Likewise.
31950         (expm1_test): Likewise.
31951         (nextafter_test): Likewise.
31952         (pow_test): Likewise.
31953         (scalbn_test): Likewise.
31954         (scalbln_test): Likewise.
31956 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31958         * sysdeps/x86_64/bits/atomic.h
31959         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31960         64bit integer.
31961         (atomic_exchange_acq): Likewise.
31962         (__arch_exchange_and_add_body): Likewise.
31963         (__arch_add_body): Likewise.
31964         (atomic_add_negative): Likewise.
31965         (atomic_add_zero): Likewise.
31967 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31969         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31970         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31972 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31974         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31975         Check __x86_64__ instead of __WORDSIZE.
31977 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31979         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31981 2012-03-19  David S. Miller  <davem@davemloft.net>
31983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31985         * sysdeps/sparc/fpu/fenv_private.h: New file.
31986         * sysdeps/sparc/fpu/math_private.h: Use it.
31987         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31988         Remove.
31989         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31990         (libc_feholdexcept_setroundl): Remove.
31991         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31992         Remove.
31993         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31994         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31996 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31998         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31999         int64_t instead of long int.
32000         (INSERT_WORDS64): Likwise.
32002 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
32004         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32005         _Unwind_GetCFA return to _Unwind_Ptr first.
32007 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
32009         [BZ #13629]
32010         * math/s_clog.c: Include <float.h>.
32011         (__clog): Scale large or subnormal inputs.
32012         * math/s_clogf.c: Likewise.
32013         * math/s_clogl.c: Likewise.
32014         * math/s_clog10.c: Include <float.h>.
32015         (M_LOG10_2): Define.
32016         (__clog10): Scale large or subnormal inputs.
32017         * math/s_clog10f.c: Likewise.
32018         * math/s_clog10l.c: Likewise.
32019         * math/libm-test.inc (clog_test): Add more tests.
32020         (clog10_test): Likewise.
32021         * sysdeps/i386/fpu/libm-test-ulps: Update.
32022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32024         [BZ #11451]
32025         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32026         x and y.
32027         * math/libm-test.inc (atan2_test): Add another test.
32029         * Makerules (common-objdir-compile): Remove.
32030         * sysdeps/unix/Makefile (config-generated): Do not add
32031         $(unix-generated) to variable.
32032         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32033         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32034         Remove rule.
32035         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32036         Likewise.
32037         [generic bits/local_lim.h] (before-compile): Do not append to
32038         variable.
32039         [generic bits/local_lim.h] (common-generated): Likewise.
32040         [generic sys/param.h] (before-compile): Do not append to variable.
32041         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32042         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32043         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32044         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32045         include.
32046         [generic sys/param.h] (sys/param.h-includes): Remove variable.
32047         [generic sys/param.h] (sys/param.h-includes): Remove rule.
32048         [generic sys/param.h] ($(addprefix
32049         $(common-objpfx),$(sys/param.h-includes))): Likewise.
32050         [generic sys/param.h] (common-generated): Do not append to
32051         variable.
32052         [generic sys/param.h] (sysdep_headers): Likewise.
32053         [generic bits/errno.h] (before-compile): Do not append to
32054         variable.
32055         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32056         rule.
32057         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32058         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32059         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32060         [generic bits/errno.h] (common-generated): Do not append to
32061         variable.
32062         [generic bits/ioctls.h] (before-compile): Do not append to
32063         variable.
32064         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32065         rule.
32066         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32067         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32068         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32069         rule.
32070         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32071         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32072         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32073         [generic bits/ioctls.h] (common-generated): Do not append to
32074         variable.
32075         [generic sys/syscall.h] (syscall.h): Remove variable.
32076         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32077         rule.
32078         [generic sys/syscall.h] (before-compile): Do not append to
32079         variable.
32080         [generic sys/syscall.h] (common-generated): Likewise.
32081         * sysdeps/unix/errnos-tmpl.c: Remove file.
32082         * sysdeps/unix/errnos.awk: Likewise.
32083         * sysdeps/unix/ioctls-tmpl.c: Likewise.
32084         * sysdeps/unix/ioctls.awk: Likewise.
32085         * sysdeps/unix/mk-local_lim.c: Likewise.
32086         * sysdeps/unix/snarf-ioctls: Likewise.
32088 2012-03-19  Richard Henderson  <rth@twiddle.net>
32090         * sysdeps/i386/fpu/fenv_private.h: New file.
32091         * sysdeps/i386/fpu/math_private.h: Use it.
32092         (math_opt_barrier, math_force_eval): Remove.
32093         (libc_feholdexcept_setround_53bit): Remove.
32094         (libc_feupdateenv_53bit): Remove.
32095         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32096         (math_opt_barrier, math_force_eval): Remove.
32097         (libc_feholdexcept): Remove.
32098         (libc_feholdexcept_setround): Remove.
32099         (libc_fetestexcept, libc_fesetenv): Remove.
32100         (libc_feupdateenv_test): Remove.
32101         (libc_feupdateenv, libc_feholdsetround): Remove.
32102         (libc_feresetround): Remove.
32104         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32105         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32107         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32108         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32109         (libc_feupdateenv_testl): New.
32110         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32111         (libc_feupdateenv_testf): New.
32112         (libc_feupdateenv): Use libc_feupdateenv_test.
32113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32114         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32116         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32117         (libc_feholdsetroundf, libc_feholdsetroundl): New.
32118         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32119         (libc_feresetround_noex): New.
32120         (libc_feresetround_noexf): New.
32121         (libc_feresetround_noexl): New.
32122         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32123         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32124         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32125         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32126         SET_RESTORE_ROUND.
32127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32128         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32129         (__cos): Likewise.
32130         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32131         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32132         SET_RESTORE_ROUND_NOEX.
32133         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32134         SET_RESTORE_ROUND_NOEXF.
32135         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32136         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32137         (libc_feholdsetroundf): New.
32138         (libc_feresetround, libc_feresetroundf): New.
32140         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32141         (libc_feholdexcept_setround_53bit): Convert from macro to function.
32142         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
32144         * sysdeps/generic/math_private.h: Include <fenv.h>.
32145         (default_libc_feholdexcept): New.
32146         (default_libc_feholdexcept_setround): New.
32147         (default_libc_fesetenv, default_libc_feupdateenv): New.
32148         (libc_feholdexcept): Only define if undefined.
32149         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32150         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32151         (libc_feholdexcept_setroundl): Likewise.
32152         (libc_feholdexcept_setround_53bit): Likewise.
32153         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32154         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32155         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32156         (libc_feupdateenv_53bit): Likewise.
32157         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32158         (libc_feholdexcept): Convert from macro to inline function.
32159         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32160         (libc_fesetenv, libc_feupdateenv): Likewise.
32162         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32163         not previously defined.
32164         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32165         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32166         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32167         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32168         * sysdeps/ieee754/flt-32/math_private.h: New file.
32169         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32170         math_private.h below SET_FLOAT_WORD.
32171         (__isnan, __isinf_ns, __finite): Remove.
32172         (__isnanf, __isinf_nsf, __finitef): Remove.
32174 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
32176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32178 2012-03-17  David S. Miller  <davem@davemloft.net>
32180         [BZ #6471]
32181         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32182         for 2.16.
32184 2012-03-16  David S. Miller  <davem@davemloft.net>
32186         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32187         warnings.
32189         [BZ #6471]
32190         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32191         properly.
32192         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32193         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32194         sysdep_routines when subdir is sysvipc.
32195         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32196         __getshmlba helper.
32198         * sysdeps/sparc/fpu/libm-test/ulps: Update.
32200 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32202         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32203         [__LP64__].
32205 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32207         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32208         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32209         (__lround): Renamed to ...
32210         (__llround): This.  Replace long int with long long int.
32211         Define lround functions as aliases of llround functions.
32212         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32214 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32216         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32217         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
32218         adresses to uintptr_t.  Replace "long int" and "unsigned long
32219         int" with "greg_t" on va_arg.
32221 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32223         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32224         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32226         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32227         Move e_machine check before EI_CLASS check.  Handle x32
32228         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32229         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32230         SKIP_EM_IA_64 and include
32231         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32233         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32234         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32235         (add_system_dir): New macro.
32237         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32238         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32240 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32242         [BZ #2551]
32243         [BZ #2552]
32244         [BZ #2553]
32245         [BZ #2554]
32246         [BZ #2562]
32247         [BZ #2563]
32248         [BZ #2565]
32249         [BZ #2566]
32250         [BZ #2576]
32251         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32252         (y0): Likewise.
32253         * math/w_j0f.c (j0f): Likewise.
32254         (y0f): Likewise.
32255         * math/w_j0l.c (__j0l): Likewise.
32256         (__y0l): Likewise.
32257         * math/w_j1.c (j1): Likewise.
32258         (y1): Likewise.
32259         * math/w_j1f.c (j1f): Likewise.
32260         (y1f): Likewise.
32261         * math/w_j1l.c (__j1l): Likewise.
32262         (__y1l): Likewise.
32263         * math/w_jn.c (jn): Likewise.
32264         (yn): Likewise.
32265         * math/w_jnf.c (jnf): Likewise.
32266         (ynf): Likewise.
32267         * math/w_jnl.c (__jnl): Likewise.
32268         (__ynl): Likewise.
32269         * math/libm-test.inc (j0_test): Add more tests.
32270         (j1_test): Likewise.
32271         (jn_test): Likewise.  Add trailing semicolon to existing test.
32272         (y0_test): Likewise.
32273         (y1_test): Likewise.
32274         * sysdeps/i386/fpu/libm-test-ulps: Update.
32275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32277         [BZ #13851]
32278         [BZ #13854]
32279         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32280         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32281         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32282         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32283         (__tanl): Set errno for infinite argument.
32284         * sysdeps/i386/fpu/mptan.c: Remove.
32285         * sysdeps/i386/fpu/s_tan.S: Likewise.
32286         * sysdeps/i386/fpu/s_tanl.S: Likewise.
32287         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32288         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32289         * math/libm-test.inc (tan_test): Add more tests and enable more
32290         tests for double and long double.
32291         * sysdeps/i386/fpu/libm-test-ulps: Update.
32292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32294 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
32296         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32297         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32299 2012-03-16  Roland McGrath  <roland@hack.frob.com>
32301         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32302         * configure.in: Use it for both main tree and add-ons.
32303         * configure: Regenerated.
32305 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32307         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32309 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32311         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32312         in comment.
32314         [BZ #13851]
32315         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32316         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32317         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32318         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32319         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32320         infinite argument.
32321         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32322         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32323         != 0 for prec == 2.
32324         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32325         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32326         * sysdeps/i386/fpu/s_cosl.S: Likewise.
32327         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32328         * sysdeps/i386/fpu/s_sinl.S: Likewise.
32329         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32330         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32331         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32332         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32333         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32334         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32335         * math/libm-test.inc (cos_test): Add more tests and enable more
32336         tests for long double.
32337         (sin_test): Likewise.
32338         (sincos_test): Likewise.
32339         * sysdeps/i386/fpu/libm-test-ulps: Update.
32340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32342 2012-03-16  David S. Miller  <davem@davemloft.net>
32344         * sysdeps/sparc/fpu/math_private.h: New file.
32346 2012-03-15  David S. Miller  <davem@davemloft.net>
32348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32349         file.
32350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32352         file.
32353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32354         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32358         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32359         sysdep routines.
32360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32362         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32363         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32365         * sysdeps/sparc/sparc-ifunc.h: New file.
32366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32367         sparc-ifunc.h
32368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32370         Likewise.
32371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32372         Likewise.
32373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32377         Likewise.
32378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32383         Likewise.
32384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32385         Likewise.
32386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32390         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32392         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32393         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32394         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32395         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32397         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32400         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32401         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32402         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32403         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32404         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32405         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32406         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32407         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32408         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32409         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32411 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32413         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32414         scaling.
32415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32417 2012-03-15  Andreas Jaeger  <aj@suse.de>
32419         [BZ #13852]
32420         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32421         ieee754/flt-32 implementation for sin, cos and sincos.
32422         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32423         * sysdeps/i386/fpu/s_cosf.S: Likewise.
32424         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32425         * sysdeps/i386/fpu/s_sinf.S: Likewise.
32426         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32427         ieee754/flt-32 implementation for tan.
32429         * math/libm-test.inc (cos_test): Enable some large input tests for
32430         float as well
32431         (sin_test): Likewise.
32432         (sincos_test): Likewise.
32433         (tan_test): Add tests for large input.
32435         * sysdeps/i386/fpu/libm-test-ulps: Update.
32437 2012-03-15  Andreas Jaeger  <aj@suse.de>
32439         [BZ #13658]
32440         * math/libm-test.inc (cos_test): Add more test cases.
32441         (sin_test): Likewise.
32442         (sincos_test): Likewise.
32444 2012-03-15  Andreas Jaeger  <aj@suse.de>
32446         [BZ #13837]
32447         * math/libm-test.inc (cos_test): Add a test case for large input
32448         value.
32449         (sin_test): Likewise.
32450         (sincos_test): Likewise.
32452 2012-03-15  Andreas Jaeger  <aj@suse.de>,
32453         Joseph Myers  <joseph@codesourcery.com>
32455         [BZ #13658]
32456         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32457         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32458         * sysdeps/i386/fpu/branred.c: Likewise.
32459         * sysdeps/i386/fpu/dosincos.c: Likewise.
32460         * sysdeps/i386/fpu/mpa.c: Likewise.
32461         * sysdeps/i386/fpu/s_cos.S: Likewise.
32462         * sysdeps/i386/fpu/s_sin.S: Likewise.
32463         * sysdeps/i386/fpu/s_sincos.S: Likewise.
32464         * sysdeps/i386/fpu/sincos32.c: Likewise.
32466         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32467         Define.
32468         (libc_feupdateenv_53bit): Define.
32469         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32470         Define.
32471         (libc_feupdateenv_53bit): Define.
32473         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32474         53 bit (without extend i386 double precision).
32476         * math/libm-test.inc (sincos_test): Add tests for large input.
32477         (sin): Likewise.
32478         (cos): Likewise.
32480         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32482 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32486 2012-03-15  David S. Miller  <davem@davemloft.net>
32488         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32489         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32490         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32491         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32499         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32502         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32504         file.
32505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32507         file.
32508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32510         file.
32511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32513         file.
32514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32515         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32516         fmin/fmax sysdep routines.
32517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32519 2012-03-14  David S. Miller  <davem@davemloft.net>
32521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32523         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32524         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32525         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32526         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32527         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32528         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32529         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32530         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32533         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32534         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32535         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32536         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32537         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32538         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32539         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32541         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32542         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32543         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32544         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32545         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32546         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32547         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32548         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32549         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32550         routines.
32551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32552         file.
32553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32555         file.
32556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32558         file.
32559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32561         file.
32562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32564         file.
32565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32567         file.
32568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32569         file.
32570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32571         file.
32572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32573         file.
32574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32575         New file.
32576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32577         file.
32578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32579         file.
32580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32582         file.
32583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32585         file.
32586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32588         file.
32589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32591         VIS3 routines.
32593         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32594         New file.
32596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32598         * sysdeps/sparc/configure.in: New file.
32599         * sysdeps/sparc/configure: Generate.
32600         * configure.in (libc_cv_sparc_as_vis3): Substitute.
32601         * configure: Regenerate.
32602         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32603         * config.make.in (have-as-vis3): New.
32604         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32605         available use -Av9d instead of -Av9a.
32606         * sysdeps/sparc/sparc64/Makefile: Likewise.
32607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32609         New file.
32610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32611         file.
32612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32613         New file.
32614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32615         file.
32616         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32617         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32618         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32619         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32620         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32622         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32623         fzeros/fnegs to load 0x80000000 into a float register instead of
32624         using the stack.
32625         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32627 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32629         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32630         bits/syscall.h.
32631         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32632         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32633         ($(inst_includedir)/bits/syscall.h): Remove rule.
32634         ($(objpfx)bits/syscall.d): Include instead of
32635         $(objpfx)syscall-list.d.
32636         (generated): Change syscall-list.h and syscall-list.d to
32637         bits/syscall.h and bits/syscall.d.
32639 2012-03-14  Roland McGrath  <roland@hack.frob.com>
32641         [BZ #13846]
32642         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32644 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32646         [BZ #13841]
32647         * math/s_csqrt.c: Include <float.h>.
32648         (__csqrt): Scale large or subnormal inputs.
32649         * math/s_csqrtf.c: Likewise.
32650         * math/s_csqrtl.c: Likewise.
32651         * math/libm-test.inc (csqrt_test): Add more tests.
32652         * sysdeps/i386/fpu/libm-test-ulps: Update.
32653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32655         [BZ #13840]
32656         * math/libm-test.inc (hypot_test): Add more tests.
32658 2012-03-13  David S. Miller  <davem@davemloft.net>
32660         [BZ #13840]
32661         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32662         double-precision for the calculation instead of scaling.
32664 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
32666         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32667         manipulate bits before adding and subtracting TWO52[sx].
32668         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32669         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32670         Likewise.
32671         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32673 2012-03-13  David S. Miller  <davem@davemloft.net>
32675         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32676         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32677         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32678         rtld-global-offsets.h
32679         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32681         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32682         large parameters.
32684         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32686         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32687         'err' in the ifdef scope in which it is actually used.
32689         * nss/nss_db/db-init.c: Include string.h
32691 2012-03-12  David S. Miller  <davem@davemloft.net>
32693         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32694         masking out of the most significant byte of random value used.
32695         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32696         Fix coding style in previous change.
32698         * sysdeps/unix/sysv/linux/kernel-features.h
32699         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32700         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32701         expression.
32702         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32703         later.
32705 2012-03-11  David S. Miller  <davem@davemloft.net>
32707         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32708         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32709         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32710         for 'resultvar' otherwise things get truncated on 64-bit.
32712         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32713         Fix masking out of the most significant byte of random value used.
32715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32717 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
32719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32721 2012-03-09  David S. Miller  <davem@davemloft.net>
32723         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32724         variables with appropriate CPP guards.
32725         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32726         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
32727         on resulting framesize and the management of the outregs buffer for pltexit.
32728         Preserve floating point return values across _dl_call_pltexit call.
32729         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32730         framesize and the management of the outregs buffer for pltexit.
32731         Preserve floating point return values across _dl_call_pltexit
32732         call.
32733         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32734         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32735         (print_exit): Fix format string for return register value.
32737 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
32739         * sunrpc/Makefile (others): Add rpcgen.
32740         ($(objpfx)rpcgen): Remove special build rule and dependency on
32741         libc.
32742         * sunrpc/rpcgen.c: New file.
32744 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
32746         [BZ #13673]
32747         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32748         * stdio-common/bug-vfprintf-nargs.c: Likewise.
32749         * sysdeps/i386/crti.S: Likewise.
32750         * sysdeps/i386/crtn.S: Likewise.
32751         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32752         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32753         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32754         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32755         * sysdeps/sh/crti.S: Likewise.
32756         * sysdeps/sh/crtn.S: Likewise.
32757         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32759         [BZ #13673]
32760         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32761         with URL.
32762         * locale/programs/locfile-kw.gperf: Likewise.
32763         * locale/programs/charmap-kw.h: Regenerated.
32764         * locale/programs/locfile-kw.h: Likewise.
32766         [BZ #13673]
32767         * intl/plural.y: Replace FSF snail mail address with URL.
32768         * intl/plural.c: Regenerated.
32770 2012-03-09  Richard Henderson  <rth@twiddle.net>
32772         * include/math_private.h: Remove file.
32773         * math/math_private.h: Move file ...
32774         * sysdeps/generic/math_private.h: ... here.
32776         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32777         * sysdeps/powerpc/fpu/math_private.h: Likewise.
32778         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32780         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32781         and <math_private.h>.
32782         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32783         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32784         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32785         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32786         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32787         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32788         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32789         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32790         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32791         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32792         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32793         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32794         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32795         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32796         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32797         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32798         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32799         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32800         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32801         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32802         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32803         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32804         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32806         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32807         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32808         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32809         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32810         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32811         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32812         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32813         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32814         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32815         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32816         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32817         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32818         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32819         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32820         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32821         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32822         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32823         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32824         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32825         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32826         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32827         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32828         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32829         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32830         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32831         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32832         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32833         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32834         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32835         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32836         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32837         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32838         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32839         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32840         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32841         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32842         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32843         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32844         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32845         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32846         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32847         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32848         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32849         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32850         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32851         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32852         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32853         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32854         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32855         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32856         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32857         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32859         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32860         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32861         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32862         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32863         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32864         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32865         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32866         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32867         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32868         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32869         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32870         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32871         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32872         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32873         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32874         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32875         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32876         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32877         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32878         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32879         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32880         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32881         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32882         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32883         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32884         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32885         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32886         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32887         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32888         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32889         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32890         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32891         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32892         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32893         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32894         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32895         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32896         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32897         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32898         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32899         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32900         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32901         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32902         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32903         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32904         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32905         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32906         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32907         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32908         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32909         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32910         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32911         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32912         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32913         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32914         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32915         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32916         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32917         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32918         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32919         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32920         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32921         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32922         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32923         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32924         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32925         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32926         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32927         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32928         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32929         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32930         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32931         * sysdeps/ieee754/k_standard.c: Likewise.
32932         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32933         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32934         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32935         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32936         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32937         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32938         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32939         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32940         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32941         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32942         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32943         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32944         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32945         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32946         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32947         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32948         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32949         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32950         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32951         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32952         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32953         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32954         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32955         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32956         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32957         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32958         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32959         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32960         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32961         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32962         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32963         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32964         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32965         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32966         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32967         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32968         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32969         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32970         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32971         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32972         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32973         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32974         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32975         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32976         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32977         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32978         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32979         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32980         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32981         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32982         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32983         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32984         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32985         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32986         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32987         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32988         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32989         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32990         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32991         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32992         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32993         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32994         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32995         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32996         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32997         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32998         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32999         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33000         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33001         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33002         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33003         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33004         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33005         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33006         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33007         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33008         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33009         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33010         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33011         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33012         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33013         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33014         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33015         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33016         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33017         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33018         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33019         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33020         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33021         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33022         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33023         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33024         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33025         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33026         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33027         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33028         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33029         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33030         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33031         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33032         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33033         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33034         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33035         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33036         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33037         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33038         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33039         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33040         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33041         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33042         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33043         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33044         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33045         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33046         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33047         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33048         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33049         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33050         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33051         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33052         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33053         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33054         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33055         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33056         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33057         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33058         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33059         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33060         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33061         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33062         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33063         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33064         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33065         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33066         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33067         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33068         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33069         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33070         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33071         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33072         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33073         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33074         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33075         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33076         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33077         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33078         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33079         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33080         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33081         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33082         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33083         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33084         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33085         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33086         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33087         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33088         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33089         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33090         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33091         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33092         * sysdeps/ieee754/s_lib_version.c: Likewise.
33093         * sysdeps/ieee754/s_matherr.c: Likewise.
33094         * sysdeps/ieee754/s_signgam.c: Likewise.
33095         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33096         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33097         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33098         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33099         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33100         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33101         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33102         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33103         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33104         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33105         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33106         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33107         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33108         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33109         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33110         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33111         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33112         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33113         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33114         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33115         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33117 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33119         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33120         * sunrpc/rpc_main.c: Likewise.
33121         * sunrpc/rpc_svcout.c: Likewise.
33123 2012-03-09  David S. Miller  <davem@davemloft.net>
33125         * include/math_private.h: New file.
33127 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
33129         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33130         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33131         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33132         from <bits/socket_type.h>.
33133         (enum __socket_type): Don't define here.
33134         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33135         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33136         bits/socket_type.h.
33138         [BZ #13566]
33139         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33140         checking __USE_GNU.
33142         * Makerules ($(inst_includedir)/%.h): New rule.
33143         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33144         (install-others): Remove variable setting.
33145         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33147 2012-03-08  Richard Henderson  <rth@twiddle.net>
33149         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33150         from macro to inline function; merge with the
33151         !__LIBC_INTERNAL_MATH_INLINES version.
33152         (__ieee754_sqrtf): Likewise.
33154         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33155         to inline function.
33156         (__rintf, __floor, __floorf): Likewise.
33158         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33159         macro to inline function.
33160         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33162         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33163         not <math/math_private.h>.
33165 2012-03-08  David S. Miller  <davem@davemloft.net>
33167         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33168         copyright year.
33169         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33171 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
33173         * resolv/gai_misc.c (handle_requests): Fix struct timespec
33174         normalization.
33175         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33176         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33178 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
33180         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
33181         be defined individually, they must be defined as a block.  Define
33182         S for printing a string instead of hidint the different by using a
33183         macro for adding the 'l'.
33184         * stdio-common/tst-fphex-wide.c: Adjust.
33186 2012-03-07  Marek Polacek  <polacek@redhat.com>
33188         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33190 2012-03-08  Marek Polacek  <polacek@redhat.com>
33192         [BZ #13806]
33193         * stdio-common/Makefile (tests): Add tst-fphex-wide.
33194         * stdio-common/tst-fphex.c: Define a few macros to make the
33195         test reusable.  Use them.
33196         * stdio-common/tst-fphex-wide.c: New file.
33198 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
33200         [BZ #6911]
33201         * manual/macros.texi (gnusystems): New macro.
33202         (nongnusystems): Likewise.
33203         (gnulinuxhurdsystems): Likewise.
33204         (gnuhurdsystems): Likewise..
33205         (gnulinuxsystems): Likewise.
33206         * manual/charset.texi: Use new macros or @theglibc{} to refer to
33207         variants of the GNU system, not "GNU system".
33208         * manual/conf.texi: Likewise.
33209         * manual/errno.texi: Likewise.  Update example of errno macro
33210         expansion.
33211         * manual/filesys.texi: Likewise.
33212         (getumask): Document as specific to GNU/Hurd.
33213         * manual/install.texi: Likewise.  Reword some references to
33214         GNU/Linux.
33215         * manual/intro.texi: Likewise.
33216         * manual/io.texi: Likewise.
33217         (File Name Portability): Detail which constraints are inapplicable
33218         to all GNU systems and which are only inapplicable to GNU/Hurd.
33219         * manual/job.texi: Likewise.
33220         * manual/llio.texi: Likewise.
33221         (O_NOCTTY): Document as present on GNU/Linux.
33222         * manual/maint.texi: Likewise.
33223         * manual/memory.texi: Likewise.
33224         * manual/pattern.texi: Likewise.
33225         * manual/pipe.texi: Likewise.
33226         * manual/process.texi: Likewise.
33227         * manual/resource.texi: Likewise.
33228         (RUSAGE_CHILDREN): Remove statement about specifying a particular
33229         child on GNU/Hurd.
33230         * manual/setjmp.texi: Likewise.
33231         * manual/signal.texi: Likewise.
33232         * manual/startup.texi: Likewise.
33233         * manual/stdio.texi: Likewise.
33234         * manual/terminal.texi: Likewise.
33235         (ONLCR): Document as POSIX.
33236         (OXTABS): Document availability on GNU/Linux as XTABS.
33237         (ONOEOT): Document availability separately from other bits.
33238         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33239         * manual/time.texi: Likewise.
33240         * manual/users.texi: Likewise.
33241         * INSTALL: Regenerated.
33242         * sysdeps/gnu/errlist.c: Regenerated.
33244         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33245         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33246         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
33247         puts.
33248         * configure: Regenerated.
33250 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
33252         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33253         default includes instead of AC_HEADER_CHECK.
33254         * sysdeps/i386/configure: Regenerated.
33256         [BZ #10716]
33257         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33258         * math/s_cacoshf.c (__cacoshf): Likewise.
33259         * math/s_cacoshl.c (__cacoshl): Likewise.
33260         * math/s_casinh.c (__casinh): Set signs of result from argument.
33261         * math/s_casinhf.c (__casinhf): Likewise.
33262         * math/s_casinhl.c (__casinhl): Likewise.
33263         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33264         (casinh_test): Add more tests.
33265         * sysdeps/i386/fpu/libm-test-ulps: Update.
33266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33268 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
33270         * po/zh_TW.po: Update from translation team.
33272         * login/Makefile (distribute): Remove variable.
33273         * catgets/Makefile: Likewise.
33274         * mach/Makefile: Likewise.
33275         * malloc/Makefile: Likewise.
33276         * misc/Makefile: Likewise.
33277         * iconv/Makefile: Likewise.
33278         * nscd/Makefile: Likewise.
33279         * hurd/Makefile: Likewise.
33280         * manual/Makefile: Likewise.
33281         * locale/Makefile: Likewise.
33282         * intl/Makefile: Likewise.
33283         * conform/Makefile: Likewise.
33284         * nss/Makefile: Likewise.
33285         * time/Makefile: Likewise.
33286         * soft-fp/Makefile: Likewise.
33287         * dirent/Makefile: Likewise.
33288         * gmon/Makefile: Likewise.
33289         * po/Makefile: Likewise.
33290         * rt/Makefile: Likewise.
33291         * socket/Makefile: Likewise.
33292         * math/Makefile: Likewise.
33293         * signal/Makefile: Likewise.
33294         * debug/Makefile: Likewise.
33295         * elf/Makefile: Likewise.
33296         * timezone/Makefile: Likewise.
33297         * stdlib/Makefile: Likewise.
33298         * iconvdata/Makefile: Likewise.
33299         * sunrpc/Makefile: Likewise.
33300         * io/Makefile: Likewise.
33301         * argp/Makefile: Likewise.
33302         * inet/Makefile: Likewise.
33303         * hesiod/Makefile: Likewise.
33304         * grp/Makefile: Likewise.
33305         * csu/Makefile: Likewise.
33306         * wctype/Makefile: Likewise.
33307         * crypt/Makefile: Likewise.
33308         * libio/Makefile: Likewise.
33309         * string/Makefile: Likewise.
33310         * nis/Makefile: Likewise.
33311         * resolv/Makefile: Likewise.
33312         * stdio-common/Makefile: Likewise.
33313         * wcsmbs/Makefile: Likewise.
33314         * dlfcn/Makefile: Likewise.
33315         * posix/Makefile: Likewise.
33317         [BZ #6959]
33318         * timezone/Makefile: Don't install timezone files, just the programs
33319         and scripts.
33321 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
33323         * nss/databases.def: Add missing gshadow entry.
33325         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
33327 2012-03-06  Marek Polacek  <polacek@redhat.com>
33329         [BZ #13726]
33330         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33331         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33332         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33333         * stdio-common/tst-long-dbl-fphex.c: New file.
33335 2012-03-06  David S. Miller  <davem@davemloft.net>
33337         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33338         (set_obp_int): New function.
33339         (get_obp_int): New function.
33340         (__get_clockfreq_via_dev_openprom): Likewise.
33341         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33342         Avoid unused variable warnings on 'val' and use builtin_expect.
33343         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33344         __builtin_expect.
33345         (INLINE_CLONE_SYSCALL): Likewise.
33347 2012-03-05  David S. Miller  <davem@davemloft.net>
33349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33351 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
33353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33355         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33356         only for |x| >= 40.
33357         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33359 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33361         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33362         Replace gettimeofday with __vdso_gettimeofday.
33364         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33365         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33366         __vdso_clock_gettime and __vdso_getcpu.
33368         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33369         time with __vdso_time.
33371 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33373         * manual/lang.texi (size_t): Note types to which size_t may be
33374         equivalent with the GNU C Library, but do not describe when
33375         differences between them are significant.
33377 2012-03-05  Andreas Jaeger  <aj@suse.de>
33379         * sysdeps/i386/fpu/libm-test-ulps: Update.
33381 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33383         [BZ #3976]
33384         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33385         (__ieee754_pow): Save and restore rounding mode and use
33386         round-to-nearest for main computations.
33387         * math/libm-test.inc (pow_test_tonearest): New function.
33388         (pow_test_towardzero): Likewise.
33389         (pow_test_downward): Likewise.
33390         (pow_test_upward): Likewise.
33391         (main): Call the new functions.
33392         * sysdeps/i386/fpu/libm-test-ulps: Update.
33393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33395         [BZ #3976]
33396         * math/libm-test.inc (cosh_test_tonearest): New function.
33397         (cosh_test_towardzero): Likewise.
33398         (cosh_test_downward): Likewise.
33399         (cosh_test_upward): Likewise.
33400         (sinh_test_tonearest): Likewise.
33401         (sinh_test_towardzero): Likewise.
33402         (sinh_test_downward): Likewise.
33403         (sinh_test_upward): Likewise.
33404         (main): Call the new functions.
33405         * sysdeps/i386/fpu/libm-test-ulps: Update.
33406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33408 2012-03-05  Tom de Vries  <tom@codesourcery.com>
33410         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33411         default stack guard is set in last bytes.
33412         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33414 2012-03-05  Kees Cook  <keescook@chromium.org>
33416         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33418         [BZ #13656]
33419         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33420         possibly allocate from heap instead of stack.
33421         * stdio-common/bug-vfprintf-nargs.c: New file.
33422         * stdio-common/Makefile (tests): Add nargs overflow test.
33424 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
33426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33428 2012-03-03  Marek Polacek  <polacek@redhat.com>
33430         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33431         * math/math_private.h: Likewise.
33432         * stdlib/tst-strtod.c: Likewise.
33433         * sysdeps/i386/i486/bits/atomic.h: Likewise.
33434         * sysdeps/x86_64/bits/atomic.h: Likewise.
33436 2012-03-02  David S. Miller  <davem@davemloft.net>
33438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33442         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33443         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33444         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33445         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33447 2012-03-02  Roland McGrath  <roland@hack.frob.com>
33449         [BZ #13792]
33450         * manual/examples/README: New file, says the example source files
33451         can be used under GPL>=2.
33452         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33453         line containing just "*/".
33454         * manual/examples/add.c: Add copyright header (GPL>=2).
33455         * manual/examples/argp-ex1.c: Likewise.
33456         * manual/examples/argp-ex2.c: Likewise.
33457         * manual/examples/argp-ex3.c: Likewise.
33458         * manual/examples/argp-ex4.c: Likewise.
33459         * manual/examples/atexit.c: Likewise.
33460         * manual/examples/db.c: Likewise.
33461         * manual/examples/dir.c: Likewise.
33462         * manual/examples/dir2.c: Likewise.
33463         * manual/examples/execinfo.c: Likewise.
33464         * manual/examples/filecli.c: Likewise.
33465         * manual/examples/filesrv.c: Likewise.
33466         * manual/examples/fmtmsgexpl.c: Likewise.
33467         * manual/examples/genpass.c: Likewise.
33468         * manual/examples/inetcli.c: Likewise.
33469         * manual/examples/inetsrv.c: Likewise.
33470         * manual/examples/isockad.c: Likewise.
33471         * manual/examples/longopt.c: Likewise.
33472         * manual/examples/memopen.c: Likewise.
33473         * manual/examples/memstrm.c: Likewise.
33474         * manual/examples/mkfsock.c: Likewise.
33475         * manual/examples/mkisock.c: Likewise.
33476         * manual/examples/mygetpass.c: Likewise.
33477         * manual/examples/pipe.c: Likewise.
33478         * manual/examples/popen.c: Likewise.
33479         * manual/examples/rprintf.c: Likewise.
33480         * manual/examples/search.c: Likewise.
33481         * manual/examples/select.c: Likewise.
33482         * manual/examples/setjmp.c: Likewise.
33483         * manual/examples/sigh1.c: Likewise.
33484         * manual/examples/sigusr.c: Likewise.
33485         * manual/examples/stpcpy.c: Likewise.
33486         * manual/examples/strdupa.c: Likewise.
33487         * manual/examples/strftim.c: Likewise.
33488         * manual/examples/strncat.c: Likewise.
33489         * manual/examples/subopt.c: Likewise.
33490         * manual/examples/swapcontext.c: Likewise.
33491         * manual/examples/termios.c: Likewise.
33492         * manual/examples/testopt.c: Likewise.
33493         * manual/examples/testpass.c: Likewise.
33494         * manual/examples/timeval_subtract.c: Likewise.
33496         [BZ #13792]
33497         * manual/time.texi (Elapsed Time): Move timeval_subtract example
33498         function to ...
33499         * manual/timeval_subtract.c.texi: ... here, new file.
33501 2012-03-02  David S. Miller  <davem@davemloft.net>
33503         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33505 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
33507         [BZ #3976]
33508         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33509         (__sin): Save and restore rounding mode and use round-to-nearest
33510         for all computations.
33511         (__cos): Save and restore rounding mode and use round-to-nearest
33512         for all computations.
33513         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33514         <fenv.h>.
33515         (tan): Save and restore rounding mode and use round-to-nearest for
33516         all computations.
33517         * math/libm-test.inc (cos_test_tonearest): New function.
33518         (cos_test_towardzero): Likewise.
33519         (cos_test_downward): Likewise.
33520         (cos_test_upward): Likewise.
33521         (sin_test_tonearest): Likewise.
33522         (sin_test_towardzero): Likewise.
33523         (sin_test_downward): Likewise.
33524         (sin_test_upward): Likewise.
33525         (tan_test_tonearest): Likewise.
33526         (tan_test_towardzero): Likewise.
33527         (tan_test_downward): Likewise.
33528         (tan_test_upward): Likewise.
33529         (main): Call the new functions.
33530         * sysdeps/i386/fpu/libm-test-ulps: Update.
33531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33533         [BZ #10135]
33534         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33535         small n, then large n, before computing and testing k+n.
33536         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33537         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33538         Likewise.
33539         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33540         Likewise.
33541         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33542         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33543         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33544         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33545         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33546         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33547         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33548         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33549         * math/libm-test.inc (scalbn_test): Add more tests.
33550         (scalbln_test): Likewise.
33552         * manual/filesys.texi (mode_t): Describe constraints on size and
33553         signedness, not exact equivalence to a particular type.
33554         (ino_t): Likewise.
33555         (ino64_t): Likewise.
33556         (dev_t): Likewise.
33557         (nlink_t): Likewise.
33558         (blkcnt_t): Likewise.
33559         (blkcnt64_t): Likewise.
33560         * manual/llio.texi (off_t): Likewise.
33562         [BZ #3976]
33563         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33564         (__ieee754_exp): Save and restore rounding mode and use
33565         round-to-nearest for all computations.
33566         * math/libm-test.inc (exp_test_tonearest): New function.
33567         (exp_test_towardzero): Likewise.
33568         (exp_test_downward): Likewise.
33569         (exp_test_upward): Likewise.
33570         (main): Call the new functions.
33571         * sysdeps/i386/fpu/libm-test-ulps: Update.
33572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33574 2012-03-01  Chris Demetriou  <cgd@google.com>
33576         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33577         have predictable order.
33579 2012-03-01  David S. Miller  <davem@davemloft.net>
33581         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33583         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33584         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33585         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33586         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33588         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33589         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33590         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33592         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33593         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33594         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33595         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33596         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33600         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33601         * sysdeps/sparc/fpu/libm-test-ulps: to here.
33602         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33604         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33605         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33606         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33607         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33608         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33610         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33611         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33612         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33613         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33614         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33615         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33616         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33617         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33618         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33619         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33620         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33621         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33622         * sysdeps/sparc/elf/configure: Regenerated.
33624 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
33626         * configure.in (AS, LD): Require binutils 2.20 or later.
33627         * configure: Regenerated.
33628         * manual/install.texi (Tools for Compilation): Give binutils 2.20
33629         as required minimum version.
33630         * INSTALL: Regenerated.
33632         [BZ #2541]
33633         [BZ #4108]
33634         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33635         before squaring exponent.
33636         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33637         bottom long double and 27 bits of top long double before squaring
33638         exponent.
33639         * math/libm-test.inc (erfc_test): Add more tests.
33640         * sysdeps/i386/fpu/libm-test-ulps: Update.
33641         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33644 2012-03-01  Kai Tietz  <ktietz@redhat.com>
33646         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33647         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33648         containing bit-fields.
33649         * soft-fp/extended.h (_FP_UNION_E): Likewise.
33650         * soft-fp/single.h (_FP_UNION_S): Likewise.
33651         * soft-fp/double.h (_FP_UNION_D): Likewise.
33653 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33655         [BZ #13786]
33656         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33657         not include ../strcmp.S.
33658         [USE_AS_STRNCASECMP_L]: Likewise.
33659         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33660         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33661         * sysdeps/i386/i686/multiarch/strncase_l-c.c
33662         (__strncasecmp_l_ia32): Define as alias to
33663         __strncasecmp_l_nonascii.
33665         [BZ #5794]
33666         * math/libm-test.inc (expm1_test): Add test for bug 5794.
33667         * sysdeps/i386/fpu/libm-test-ulps: Update.
33668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33670         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33673 2012-02-29  Jeff Law  <law@redhat.com>
33675         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33676         out of bounds read.
33678 2012-02-29  Marek Polacek  <polacek@redhat.com>
33680         [BZ #13706]
33681         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33682         * elf/Makefile: Add rules to run tst-unused-dep.out.
33684 2012-02-28  David S. Miller  <davem@davemloft.net>
33686         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33687         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33688         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33689         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33690         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33691         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33693 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33695         * math/libm-test.inc (llround_test): Move one test from
33696         lround_test.  Use TEST_f_L in moved test.
33697         (lround_test): Move misplaced test to llround_test.  Add testcase
33698         from bug 2561.
33700 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
33702         * sysdeps/x86_64/fpu/e_expf.S: New file.
33703         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33705 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
33707         [BZ #13637]
33708         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33709         of remain_len that may cause incomplete multi-byte character and
33710         false match.
33711         * posix/bug-regex33.c: New file.
33712         * posix/Makefile (tests): Add bug-regex33.
33714 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
33716         * manual/macros.texi: New file.
33717         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33718         * manual/libc.texinfo: Include macros.texi.
33719         * manual/creatute.texi: Likewise.
33720         * manual/install.texi: Likewise.
33721         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33722         @glibcadj{} in references to the GNU C Library.
33723         * manual/charset.texi: Likewise.
33724         * manual/conf.texi: Likewise.
33725         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
33726         when not using those macros.
33727         * manual/creature.texi: Likewise.
33728         * manual/crypt.texi: Likewise.
33729         * manual/errno.texi: Likewise.
33730         * manual/filesys.texi: Likewise.
33731         * manual/header.texi: Likewise.
33732         * manual/install.texi: Likewise.
33733         * manual/intro.texi: Likewise.
33734         * manual/io.texi: Likewise.
33735         * manual/job.texi: Likewise.
33736         * manual/lang.texi: Likewise.
33737         * manual/libc.texiinfo: Likewise.
33738         * manual/llio.texi: Likewise.
33739         * manual/locale.texi: Likewise.
33740         * manual/maint.texi: Likewise.
33741         * manual/math.texi: Likewise.
33742         * manual/memory.texi: Likewise.
33743         * manual/message.texi: Likewise.
33744         * manual/nss.texi: Likewise.
33745         * manual/pattern.texi: Likewise.
33746         * manual/process.texi: Likewise.
33747         * manual/resource.texi: Likewise.
33748         * manual/search.texi: Likewise.
33749         * manual/setjmp.texi: Likewise.
33750         * manual/signal.texi: Likewise.
33751         * manual/socket.texi: Likewise.
33752         * manual/startup.texi: Likewise.
33753         * manual/stdio.texi: Likewise.
33754         * manual/string.texi: Likewise.
33755         * manual/sysinfo.texi: Likewise.
33756         * manual/syslog.texi: Likewise.
33757         * manual/terminal.texi: Likewise.
33758         * manual/time.texi: Likewise.
33759         * manual/users.texi: Likewise.
33760         * INSTALL: Regenerated.
33761         * NOTES: Regenerated.
33762         * sysdeps/gnu/errlist.c: Regenerated.
33764 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
33766         * include/dirent.h: Include <dirstream.h> before
33767         <dirent/dirent.h>.
33769 2012-02-28  David S. Miller  <davem@davemloft.net>
33771         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33772         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33773         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33774         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33776 2012-02-27  David S. Miller  <davem@davemloft.net>
33778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33780         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33781         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33784         frame pointer instead of stack pointer relative arg slot.
33785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33786         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33787         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33789 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
33791         [BZ #3992]
33792         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33794 2012-02-27  David S. Miller  <davem@davemloft.net>
33796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33800         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33801         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33802         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33803         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33805 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33807         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33808         later.  Allow versions 5-9.
33809         * configure: Regenerated.
33810         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33811         required minimum version and 4.6 as recommended version.  Do not
33812         mention bugs in GCC 2.7 and 2.8.
33813         * INSTALL: Regenerated.
33815 2012-02-27  David S. Miller  <davem@davemloft.net>
33817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33821         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33822         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33823         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33824         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33826         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33827         manipulate bits before adding and subtracting TWO112[sx].
33828         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33830 2012-02-27  Roland McGrath  <roland@hack.frob.com>
33832         [BZ #13775]
33833         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33834         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33835         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33836         being in POSIX, because they are in 1003.1-2008.
33838         * rt/tst-aio.c: Include <fcntl.h>.
33839         * rt/tst-aio7.c: Likewise.
33840         * rt/tst-aio64.c: Likewise.
33842         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33844 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33846         * manual/install.texi (--with-headers): Describe headers as
33847         interface headers, not private headers.
33848         (Specific advice for GNU/Linux systems): Describe use of headers
33849         from "make headers_install", not private headers from older
33850         kernels.
33851         * INSTALL: Regenerated.
33852         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33853         Change to 2.6.19.
33854         * sysdeps/unix/sysv/linux/configure: Regenerated.
33856         * manual/llio.texi (fclean): Remove documentation.
33858         * manual/Makefile (libc-texi-generated): New variable.  Include
33859         version.texi.
33860         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33861         $(libc-texi-generated), not duplicated list of files.
33862         (version.texi, stamp-version): New rules.
33863         (realclean): Remove $(libc-texi-generated), not individual files
33864         from that list.  Do not remove dir-add.texinfo.
33865         * manual/libc.texinfo: Comment out uses of edition numbers and
33866         references to printed manual.  Remove last-updated dates.
33867         (EDITION): Comment out.
33868         (ISBN): Likewise.
33869         (VERSION, UPDATED): Remove.
33870         (version.texi): Include.
33872 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
33874         * sysdeps/posix/spawni.c: Include <signal.h>.
33875         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33876         * sysdeps/pthread/aio_fsync.c: Likewise.
33878 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
33880         * conform/Makefile (tests): Run only when not cross-compiling and
33881         when fast-check is not defined.
33883         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33884         * conform/data/limits.h-data: Fixes for POSIX2008.
33885         * conform/run-conformtest.sh: Run all tests.
33886         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33887         headers.
33888         * include/bits/dlfcn.h: Likewise.
33889         * include/langinfo.h: Likewise.
33890         * include/monetary.h: Likewise.
33891         * include/sys/poll.h: Likewise.
33893         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33894         for __USE_GNU.
33895         * posix/spawn.h: Define __need_sigset_t.
33896         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33897         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33898         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
33899         to get sigevent_t only.
33900         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33901         only for __USE_GNU.
33902         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33903         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33904         process_vm_writev only for __USE_GNU.
33905         * termios/termios.h: Declare tcgetsid also for POSIX2008.
33907         * conform/Makefile: For now ignore errors from run-conformtest.
33908         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
33909         POSIX to avoid namespace pollution.  Don't prepend headers.
33910         * conform/data/aio.h-data: Fixes for POSIX testing.
33911         * conform/data/fcntl.h-data: Likewise.
33912         * conform/data/glob.h-data: Likewise.
33913         * conform/data/grp.h-data: Likewise.
33914         * conform/data/pthread.h-data: Likewise.
33915         * conform/data/pwd.h-data: Likewise.
33916         * conform/data/signal.h-data: Likewise.
33917         * conform/data/spawn.h-data: Likewise.
33918         * conform/data/stdio.h-data: Likewise.
33919         * conform/data/stdlib.h-data: Likewise.
33920         * conform/data/stropts.h-data: Likewise.
33921         * conform/data/sys/mman.h-data: Likewise.
33922         * conform/data/sys/stat.h-data: Likewise.
33923         * conform/data/sys/types.h-data: Likewise.
33924         * conform/data/sys/wait.h-data: Likewise.
33925         * conform/data/time.h-data: Likewise.
33926         * conform/data/unistd.h-data: Likewise.
33927         * conform/data/utime.h-data: Likewise.
33929         * io/sys/stat.h: fchmod was always in POSIX.
33930         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33931         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33932         * rt/aio.h: Define __need_timespec before including <time.h>.
33933         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33934         struct.  Add forward declaration of pthread_attr_t and use it in
33935         sigevent.
33936         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33937         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33938         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33939         always remove CLK_TCK definition.
33941 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
33943         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33945 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
33947         * conform/run-conformtest.sh: New file.
33948         * conform/Makefile: Run run-conformtest for tests.
33949         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
33950         support.
33952         * conform/data/uchar.h-data: New file.
33953         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33954         * conform/data/arpa/inet.h-data: Likewise.
33955         * conform/data/assert.h-data: Likewise.
33956         * conform/data/complex.h-data: Likewise.
33957         * conform/data/cpio.h-data: Likewise.
33958         * conform/data/ctype.h-data: Likewise.
33959         * conform/data/dirent.h-data: Likewise.
33960         * conform/data/dlfcn.h-data: Likewise.
33961         * conform/data/errno.h-data: Likewise.
33962         * conform/data/fcntl.h-data: Likewise.
33963         * conform/data/float.h-data: Likewise.
33964         * conform/data/fmtmsg.h-data: Likewise.
33965         * conform/data/fnmatch.h-data: Likewise.
33966         * conform/data/ftw.h-data: Likewise.
33967         * conform/data/glob.h-data: Likewise.
33968         * conform/data/grp.h-data: Likewise.
33969         * conform/data/iconv.h-data: Likewise.
33970         * conform/data/inttypes.h-data: Likewise.
33971         * conform/data/langinfo.h-data: Likewise.
33972         * conform/data/libgen.h-data: Likewise.
33973         * conform/data/limits.h-data: Likewise.
33974         * conform/data/locale.h-data: Likewise.
33975         * conform/data/math.h-data: Likewise.
33976         * conform/data/monetary.h-data: Likewise.
33977         * conform/data/mqueue.h-data: Likewise.
33978         * conform/data/ndbm.h-data: Likewise.
33979         * conform/data/net/if.h-data: Likewise.
33980         * conform/data/netdb.h-data: Likewise.
33981         * conform/data/netinet/in.h-data: Likewise.
33982         * conform/data/nl_types.h-data: Likewise.
33983         * conform/data/poll.h-data: Likewise.
33984         * conform/data/pthread.h-data: Likewise.
33985         * conform/data/pwd.h-data: Likewise.
33986         * conform/data/regex.h-data: Likewise.
33987         * conform/data/sched.h-data: Likewise.
33988         * conform/data/search.h-data: Likewise.
33989         * conform/data/semaphore.h-data: Likewise.
33990         * conform/data/setjmp.h-data: Likewise.
33991         * conform/data/signal.h-data: Likewise.
33992         * conform/data/spawn.h-data: Likewise.
33993         * conform/data/stdarg.h-data: Likewise.
33994         * conform/data/stdio.h-data: Likewise.
33995         * conform/data/stdlib.h-data: Likewise.
33996         * conform/data/string.h-data: Likewise.
33997         * conform/data/strings.h-data: Likewise.
33998         * conform/data/stropts.h-data: Likewise.
33999         * conform/data/sys/ipc.h-data: Likewise.
34000         * conform/data/sys/mman.h-data: Likewise.
34001         * conform/data/sys/msg.h-data: Likewise.
34002         * conform/data/sys/resource.h-data: Likewise.
34003         * conform/data/sys/select.h-data: Likewise.
34004         * conform/data/sys/sem.h-data: Likewise.
34005         * conform/data/sys/shm.h-data: Likewise.
34006         * conform/data/sys/socket.h-data: Likewise.
34007         * conform/data/sys/stat.h-data: Likewise.
34008         * conform/data/sys/statvfs.h-data: Likewise.
34009         * conform/data/sys/time.h-data: Likewise.
34010         * conform/data/sys/timeb.h-data: Likewise.
34011         * conform/data/sys/times.h-data: Likewise.
34012         * conform/data/sys/types.h-data: Likewise.
34013         * conform/data/sys/uio.h-data: Likewise.
34014         * conform/data/sys/un.h-data: Likewise.
34015         * conform/data/sys/utsname.h-data: Likewise.
34016         * conform/data/sys/wait.h-data: Likewise.
34017         * conform/data/syslog.h-data: Likewise.
34018         * conform/data/tar.h-data: Likewise.
34019         * conform/data/termios.h-data: Likewise.
34020         * conform/data/utime.h-data: Likewise.
34021         * conform/data/utmpx.h-data: Likewise.
34022         * conform/data/varargs.h-data: Likewise.
34023         * conform/data/wchar.h-data: Likewise.
34024         * conform/data/wctype.h-data: Likewise.
34025         * conform/data/wordexp.h-data: Likewise.
34027         * include/stropts.h: New file.
34028         * include/uchar.h: New file.
34029         * include/aio.h: Changes to allow conformtest.pl to use the headers.
34030         * include/assert.h: Likewise.
34031         * include/ctype.h: Likewise.
34032         * include/dirent.h: Likewise.
34033         * include/dlfcn.h: Likewise.
34034         * include/fcntl.h: Likewise.
34035         * include/fnmatch.h: Likewise.
34036         * include/glob.h: Likewise.
34037         * include/grp.h: Likewise.
34038         * include/libio.h: Likewise.
34039         * include/locale.h: Likewise.
34040         * include/math.h: Likewise.
34041         * include/net/if.h: Likewise.
34042         * include/netdb.h: Likewise.
34043         * include/netinet/in.h: Likewise.
34044         * include/pthread.h: Likewise.
34045         * include/pwd.h: Likewise.
34046         * include/regex.h: Likewise.
34047         * include/sched.h: Likewise.
34048         * include/search.h: Likewise.
34049         * include/setjmp.h: Likewise.
34050         * include/signal.h: Likewise.
34051         * include/stdio.h: Likewise.
34052         * include/stdlib.h: Likewise.
34053         * include/string.h: Likewise.
34054         * include/sys/cdefs.h: Likewise.
34055         * include/sys/mman.h: Likewise.
34056         * include/sys/msg.h: Likewise.
34057         * include/sys/resource.h: Likewise.
34058         * include/sys/select.h: Likewise.
34059         * include/sys/socket.h: Likewise.
34060         * include/sys/stat.h: Likewise.
34061         * include/sys/statvfs.h: Likewise.
34062         * include/sys/time.h: Likewise.
34063         * include/sys/times.h: Likewise.
34064         * include/sys/uio.h: Likewise.
34065         * include/sys/utsname.h: Likewise.
34066         * include/sys/wait.h: Likewise.
34067         * include/termios.h: Likewise.
34068         * include/time.h: Likewise.
34069         * include/ulimit.h: Likewise.
34070         * include/unistd.h: Likewise.
34071         * include/utime.h: Likewise.
34072         * include/wchar.h: Likewise.
34073         * include/wctype.h: Likewise.
34074         * include/wordexp.h: Likewise.
34076         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34078         * time/time.h: TIME_UTC must be a macro.
34079         Make timespec_get available for ISO C11 only as well.
34081 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
34083         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34084         Reported by Peng Haitao <penght@cn.fujitsu.com>.
34086 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34088         * configure.in: Use -o not -a in test for unsupported multi-arch.
34090 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34092         * manual/texinfo.tex: Update to version 2012-01-19.16.
34094 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
34096         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34098 2012-02-24  Roland McGrath  <roland@hack.frob.com>
34100         [BZ #13738]
34101         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34102         * manual/fdl-1.3.texi: New file.
34103         * manual/fdl-1.1.texi: File removed.
34105         [BZ #13738]
34106         * manual/libc.texinfo (FDL_VERSION): New @set.
34107         Use it for mention of FDL in cover text.
34108         (Documentation License): Use it in @include file name.
34110 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34111             Roland McGrath  <roland@hack.frob.com>
34113         [BZ #5461]
34114         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34115         not LONG_LONG_MAX and LONG_LONG_MIN.
34116         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34117         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
34118         name.
34119         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34121 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34123         [BZ #2547]
34124         [BZ #11365]
34125         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34126         manipulate bits before adding and subtracting TWO23[sx].
34127         * math/libm-test.inc (nearbyint_test): Add more tests.
34129 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34131         [BZ #2548]
34132         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34133         bits before adding and subtracting TWO23[sx].
34134         * math/libm-test.inc (rint_test): Add more tests.
34135         (rint_test_tonearest): Likewise.
34136         (rint_test_towardzero): Likewise.
34137         (rint_test_downward): Likewise.
34138         (rint_test_upward: Likewise.
34140 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34142         [BZ #10110]
34143         * include/stdc-predef.h: New file.  Extracted from features.h.
34144         * include/features.h: Include stdc-predef.h.
34145         * Makefile (headers): Add stdc-predef.h.
34146         * CONFORMANCE (Compiler limitations): Update.
34148 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
34150         * manual/libc.texinfo (VERSION, UPDATED): Revert.
34152 2012-02-21  David S. Miller  <davem@davemloft.net>
34154         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34155         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34157 2012-02-20  David S. Miller  <davem@davemloft.net>
34159         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34160         using a normal save/restore sequence, rather than allocating a
34161         dummy stack frame just to store a frame pointer and restore.
34162         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34164 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34166         * manual/install.texi: Fix stray word in line-wrapped comment.
34168 2012-02-20  David S. Miller  <davem@davemloft.net>
34170         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34171         both binutils and gcc support GOTDATA.
34173         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34174         "rd %pc" in the PIC register setup sequences.
34176         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34177         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34178         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34179         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34180         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34181         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34182         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34183         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34184         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34185         (SYSCALL_ERROR_HANDLER): Likewise.
34186         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34187         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34188         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34189         (SYSCALL_ERROR_HANDLER): Likewise.
34191         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34192         (HAVE_GCC_GOTDATA): New.
34193         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34194         relocation support in both binutils and gcc.
34195         * sysdeps/sparc/elf/configure: Regenerate.
34197         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34198         * sysdeps/sparc/sparc32/elf/configure: Delete.
34199         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34200         * sysdeps/sparc/sparc64/elf/configure: Delete.
34201         * sysdeps/sparc/elf/configure.in: New file.
34202         * sysdeps/sparc/elf/configure: Generate.
34204         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34205         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34206         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34207         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34208         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34210 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34212         * manual/install.texi: Do not mention specific glibc version
34213         numbers.
34214         * manual/libc.texinfo (VERSION, UPDATED): Update.
34215         (@copying): Use @copyright{} and range of years.
34217 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
34219         [BZ #13695]
34220         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34221         [crti.S not in sysdirs] (generated): Do not append.
34222         [crti.S not in sysdirs] (omit-deps): Likewise.
34223         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34224         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34225         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34226         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34227         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34228         Likewise.
34229         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34230         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34231         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34232         * csu/defs.awk: Remove file.
34233         * sysdeps/generic/initfini.c: Likewise.
34234         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34235         variable.
34236         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34237         Likewise.
34239 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34241         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34242         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34243         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34244         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34245         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34246         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34247         <bits/epoll.h>.
34248         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34249         (__EPOLL_PACKED): Define to empty if not defined by
34250         <bits/epoll.h>.
34251         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34253         bits/epoll.h.
34255 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34257         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34258         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34259         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34260         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34261         <bits/timerfd.h>.
34262         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34263         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34264         bits/timerfd.h.
34266 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34268         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34269         in C locale.
34270         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34271         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34272         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34275 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
34277         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34278         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34280 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
34282         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34283         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34284         defined.
34285         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34286         Likewise.
34287         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34288         entry for 2.16.
34290 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
34292         * math/w_acos.c: Use non-signaling floating-point comparisons.
34293         * math/w_acosf.c: Likewise.
34294         * math/w_acosh.c: Likewise.
34295         * math/w_acoshf.c: Likewise.
34296         * math/w_acoshl.c: Likewise.
34297         * math/w_acosl.c: Likewise.
34298         * math/w_asin.c: Likewise.
34299         * math/w_asinf.c: Likewise.
34300         * math/w_asinl.c: Likewise.
34301         * math/w_atanh.c: Likewise.
34302         * math/w_atanhf.c: Likewise.
34303         * math/w_atanhl.c: Likewise.
34304         * math/w_exp2.c: Likewise.
34305         * math/w_exp2f.c: Likewise.
34306         * math/w_exp2l.c: Likewise.
34307         * math/w_j0.c: Likewise.
34308         * math/w_j0f.c: Likewise.
34309         * math/w_j0l.c: Likewise.
34310         * math/w_j1.c: Likewise.
34311         * math/w_j1f.c: Likewise.
34312         * math/w_j1l.c: Likewise.
34313         * math/w_jn.c: Likewise.
34314         * math/w_jnf.c: Likewise.
34315         * math/w_log.c: Likewise.
34316         * math/w_log10.c: Likewise.
34317         * math/w_log10f.c: Likewise.
34318         * math/w_log10l.c: Likewise.
34319         * math/w_log2.c: Likewise.
34320         * math/w_log2f.c: Likewise.
34321         * math/w_log2l.c: Likewise.
34322         * math/w_logf.c: Likewise.
34323         * math/w_logl.c: Likewise.
34324         * math/w_sqrt.c: Likewise.
34325         * math/w_sqrtf.c: Likewise.
34326         * math/w_sqrtl.c: Likewise.
34327         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34328         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34329         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34330         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34331         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34333 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34335         [BZ #9739]
34336         * manual/string.texi (strnlen): Use correct parameter name in
34337         equivalent expression.
34339 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34341         [BZ #11174]
34342         * manual/users.texi (seteuid): Consistently use neweuid for
34343         argument name.
34345 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34347         [BZ #13704]
34348         * manual/nss.texi (Services in the NSS configuration): Correct
34349         list of services in example configuration file.
34351 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
34353         [BZ #11322]
34354         * manual/arith.texi: Remove statements about negative zero
34355         behaving identically to zero.
34357 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34359         [BZ #5993]
34360         * manual/install.texi: Do not document upgrading from libc5.
34362 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34364         [BZ #4596]
34365         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34367 2012-02-18  David S. Miller  <davem@davemloft.net>
34369         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34370         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34371         %o7 across the call.
34372         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34373         instead.
34374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34375         SETUP_PIC_REG_LEAF.
34376         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34377         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34378         * sysdeps/sparc/crtn.S: Likewise.
34380 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
34382         * aout/Makefile: Remove.
34384 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
34386         [BZ #13058]
34387         * manual/examples/argp-ex1.c (main): Format definition in GNU
34388         style.
34389         * manual/examples/argp-ex2.c (main): Likewise.
34390         * manual/examples/argp-ex3.c (main): Likewise.
34391         * manual/examples/argp-ex4.c (main): Likewise.
34392         * manual/examples/longopt.c (main): Use new-style prototype
34393         definition.
34394         * manual/examples/strncat.c (main): Specify return type and use
34395         (void) for arguments.
34396         * manual/examples/subopt.c (main): Use char **argv argument.
34398 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34400         [BZ #5077]
34401         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34402         rounding modes.
34404 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
34406         [BZ #6907]
34407         * manual/string.texi (strchr): Change when strchrnul is
34408         recommended.
34410 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
34412         [BZ #174]
34413         * manual/locale.texi (setlocale): Document LOCPATH.
34415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34417         [BZ #10210]
34418         * manual/process.texi (execle): Move @dots{} before last argument.
34420 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
34422         [BZ #12047]
34423         * manual/charset.texi (Generic Charset Conversion): Fix typo
34424         (LC_TYPE -> LC_CTYPE).
34426 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
34428         [BZ #5805]
34429         * manual/arith.texi (scalbn): Use @var{} on parameter names.
34430         (scalbnf): Likewise.
34431         (scalbnl): Likewise.
34432         (scalbln): Likewise.
34433         (scalblnf): Likewise.
34434         (scalblnl): Likewise.
34435         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34436         (vwarnx): Likewise.
34437         (verr): Likewise.
34438         (verrx): Likewise.
34439         * manual/filesys.texi (telldir): Use braces around return type.
34440         * manual/llio.texi (mmap): Add space after comma.
34441         (mmap64): Likewise.
34442         * manual/math.texi (jn): Use @var{} on parameter names.
34443         (jnf): Likewise.
34444         (jnl): Likewise.
34445         (yn): Likewise.
34446         (ynf): Likewise.
34447         (ynl): Likewise.
34448         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34449         line.
34450         * manual/resource.texi (ulimit): Use @dots{} instead of literal
34451         "...".
34452         (sched_get_priority_min): Remove semicolon on @deftypefun line.
34453         (sched_get_priority_max): Likewise.
34454         * manual/signal.texi (sigvec): Add space after comma.
34455         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34456         names.
34457         (if_indextoname): Likewise.
34458         (if_freenameindex): Likewise.
34459         (sendto): Use ',' instead of '.' in prototype.
34460         * manual/startup.texi (syscall): Use @dots{} instead of literal
34461         "...".
34462         * manual/stdio.texi (__fpending): Separate initial words of
34463         paragraph from @deftypefun line.
34464         * manual/syslog.texi (syslog): Use @dots{} instead of literal
34465         "...".
34466         (vsyslog): Use @var{} on parameter names.
34467         * manual/terminal.texi (stty): Use @var{} on parameter names.
34468         * manual/users.texi (getutmp): Use @var{} on parameter names.
34469         (getutmpx): Likewise.
34471 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34473         [BZ #6884]
34474         * manual/stdio.texi (fopen): Fix typos in description of
34475         ",ccs=STRING".
34477 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
34479         [BZ #4026]
34480         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34481         get clock_id definition.
34483 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
34485         [BZ #4822]
34486         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34487         (madvise): Cast every argument to void on its own.
34489 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34491         [BZ #9902]
34492         * manual/startup.texi (Exit Status): Fix typo.
34494 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34496         [BZ #10140]
34497         * manual/examples/argp-ex1.c: Include <stdlib.h>.
34498         * manual/examples/argp-ex2.c: Likewise.
34499         * manual/examples/argp-ex3.c: Likewise.
34501 2012-02-16  Richard Henderson  <rth@redhat.com>
34503         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34504         * sysdeps/s390/s390-32/initfini.c: Remove.
34505         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34506         * sysdeps/s390/s390-64/initfini.c: Remove.
34508 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34510         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34511         compiler output for sysdeps/generic/initfini.c.
34512         * sysdeps/sh/elf/initfini.c: Remove file.
34514 2012-02-16  David S. Miller  <davem@davemloft.net>
34516         [BZ #11494]
34517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34519         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34520         * sysdeps/sparc/crti.S: New file.
34521         * sysdeps/sparc/crtn.S: New file.
34522         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34523         * sysdeps/sparc/sparc64/Makefile: Likewise.
34525 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
34527         [BZ #3335]
34528         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34530 2012-02-15  Roland McGrath  <roland@hack.frob.com>
34532         [BZ #4822]
34533         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34535         * mach/devstream.c (cookie_io_functions_t): Macro removed.
34536         (write, read, close): Likewise.
34537         Patch by Aurelien Jarno <aurelien@aurel32.net>.
34539 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
34541         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34542         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34543         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34544         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34545         <bits/signalfd.h>.
34546         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34547         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34548         bits/signalfd.h.
34550 2012-02-14  Marek Polacek  <polacek@redhat.com>
34552         * sysdeps/x86_64/crti.S: New file.
34553         * sysdeps/x86_64/crtn.S: New file.
34554         * sysdeps/x86_64/elf/initfini.c: Remove file.
34556 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34558         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34559         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34560         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34561         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34562         <bits/inotify.h>.
34563         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34564         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34565         bits/inotify.h.
34567 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34569         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34570         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34571         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34572         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34573         <bits/eventfd.h>.
34574         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34575         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34576         bits/eventfd.h.
34578 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
34580         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34581         __feraiseexcept instead of feraiseexcept.
34583         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34584         nanosleep invocations.
34585         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34586         strings, and add error checking for a nanosleep invocations.
34588 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
34590         Replace FSF snail mail address with URLs, as per GNU coding standards.
34591         Most of the snail mail addresses were wrong anyway, and omitting
34592         them makes the source code easier to maintain.  Almost all of the
34593         changes are to license notices and to locale LC_IDENTIFICATION
34594         addresses, except for this one:
34595         * manual/libc.texinfo: In "Published by", give the FSF's URL,
34596         not its snail mail address.
34598 2012-02-09  Richard Henderson  <rth@twiddle.net>
34600         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34601         of kernel-features.h.
34603         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34605 2012-02-08  Marek Polacek  <polacek@redhat.com>
34607         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34608         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34609         * sysdeps/gnu/_G_config.h: Likewise.
34610         * sysdeps/generic/_G_config.h: Likewise.
34612 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
34614         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34615         tests.
34616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34618         * sysdeps/powerpc/powerpc32/crti.S: New file.
34619         * sysdeps/powerpc/powerpc32/crtn.S: New file.
34620         * sysdeps/powerpc/powerpc64/crti.S: New file.
34621         * sysdeps/powerpc/powerpc64/crtn.S: New file.
34623         * Makeconfig (have-initfini): Don't set.
34624         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34625         * configure.in (nopic_initfini): Don't substitute.
34626         * config.h.in (HAVE_INITFINI): Don't #undef.
34627         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34628         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34630 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
34632         Support crti.S and crtn.S provided directly by architectures.
34633         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34634         [crti.S in sysdirs] (omit-deps): Likewise.
34635         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34636         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34637         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34638         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34639         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34640         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34641         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34642         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34643         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34644         compiler output for sysdeps/generic/initfini.c.
34645         * sysdeps/i386/elf/Makefile: Remove file.
34646         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34648 2012-02-07  Marek Polacek  <polacek@redhat.com>
34650         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34651         * sysdeps/gnu/_G_config.h: Likewise.
34652         * sysdeps/mach/hurd/_G_config.h: Likewise.
34654 2012-02-07  Marek Polacek  <polacek@redhat.com>
34656         * math/Makefile (tests): Add tst-CMPLX2.
34657         * math/tst-CMPLX2.c: New file.
34659 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
34661         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34663         * math/libm-test.inc (jn_test): Add missing L suffix.
34665 2012-02-06  Marek Polacek  <polacek@redhat.com>
34667         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34668         * sysdeps/i386/fpu/e_powf.S: Likewise.
34669         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34670         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34671         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34672         * sysdeps/i386/fpu/e_pow.S: Likewise.
34673         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34674         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34675         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34676         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34677         * sysdeps/i386/fpu/e_log2.S: Likewise.
34678         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34679         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34680         * sysdeps/i386/fpu/e_powl.S: Likewise.
34681         * sysdeps/i386/fpu/s_log1p.S: Likewise.
34682         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34683         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34684         * sysdeps/i386/fpu/e_logl.S: Likewise.
34685         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34686         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34687         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34688         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34689         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34690         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34691         * sysdeps/i386/fpu/e_log.S: Likewise.
34692         * sysdeps/i386/fpu/s_cexp.S: Likewise.
34693         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34694         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34695         * sysdeps/i386/fpu/e_logf.S: Likewise.
34696         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34697         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34698         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34699         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34700         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34701         * sysdeps/i386/fpu/e_log10.S: Likewise.
34702         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34703         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34704         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34705         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34706         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34707         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34708         * sysdeps/i386/asm-syntax.h: Likewise.
34709         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34710         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34711         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34712         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34713         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34714         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34715         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34716         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34717         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34718         * sysdeps/powerpc/sysdep.h: Likewise.
34719         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34720         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34722 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34724         [BZ #411]
34725         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34727 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34729         * sysdeps/i386/sysdep.h: Include <features.h>.
34730         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34731         version.
34733 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
34735         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34736         Define.
34737         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34738         LOAD_PIC_REG_STR.
34740 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34742         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34743         (SETUP_PIC_REG): Use GET_PC_THUNK.
34744         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34745         macro.
34747 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34749         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34750         for non-PIC compilation.
34751         (SETUP_PIC_REG): Add .p2align directive.
34752         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34753         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34754         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34755         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34756         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34757         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34758         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34759         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34760         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34761         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34762         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34763         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34764         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34765         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34766         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34767         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34768         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34769         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34770         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34771         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34772         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34773         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34774         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34775         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34776         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34777         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34778         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34779         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34780         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34781         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34782         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34783         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34784         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34785         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34786         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34787         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34788         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34789         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34790         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34791         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34792         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34794 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34796         * math/tst-CMPLX.c: Include <stdio.h>.
34798 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
34800         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34801         float.
34802         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34803         * sysdeps/sparc/bits/mathdef.h: Likewise.
34805 2012-01-31  Marek Polacek  <polacek@redhat.com>
34807         * libio/libio.h: Don't define _PARAMS.
34808         * locale/programs/config.h: Don't define PARAMS.
34809         * stdlib/strtol_l.c: Likewise.
34810         (__strtol_l): Remove PARAMS from the prototype.
34812 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
34814         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
34815         names.  Just use the correct names.  Remove unnecessary wrapper
34816         functions.
34817         * malloc/arena.c: Likewise.
34818         * malloc/hooks.c: Likewise.
34820         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34821         ARENA_TEST says not to.  Simplify test for creation of a new arena.
34822         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34824 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
34826         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34827         into tail calls.
34828         (update_get_addr): New function.
34829         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34830         GET_ADDR_MODULE parameter.
34832 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34834         * crypt/cert.c: Remove __STDC__ conditionals.
34835         * crypt/crypt-entry.c: Likewise.
34836         * crypt/crypt_util.c: Likewise.
34837         * libio/filedoalloc.c: Likewise.
34838         * libio/fileops.c: Likewise.
34839         * libio/genops.c: Likewise.
34840         * libio/iofclose.c: Likewise.
34841         * libio/iofdopen.c: Likewise.
34842         * libio/iofopen.c: Likewise.
34843         * libio/iofopen64.c: Likewise.
34844         * libio/iogetdelim.c: Likewise.
34845         * libio/iopopen.c: Likewise.
34846         * libio/obprintf.c: Likewise.
34847         * libio/oldfileops.c: Likewise.
34848         * libio/oldiofclose.c: Likewise.
34849         * libio/oldiofdopen.c: Likewise.
34850         * libio/oldiofopen.c: Likewise.
34851         * libio/oldiopopen.c: Likewise.
34852         * libio/wfiledoalloc.c: Likewise.
34853         * libio/wgenops.c: Likewise.
34854         * locale/programs/xmalloc.c: Likewise.
34855         * misc/syslog.c: Likewise.
34856         * stdio-common/xbug.c: Likewise.
34857         * string/memchr.c: Likewise.
34858         * string/memcmp.c: Likewise.
34859         * string/memrchr.c: Likewise.
34860         * string/rawmemchr.c: Likewise.
34861         * sysdeps/posix/getcwd.c: Likewise.
34862         * time/strftime_l.c: Likewise.
34864 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34866         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34867         * config.make.in (config-cflags-sse2avx): Define.
34868         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34869         Fix typo.
34871 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
34873         * scripts/config.guess: Update from upstream config git repository.
34874         * scripts/config.sub: Likewise.
34876 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
34878         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34879         (EM_NUM): Update.
34880         (R_TILEPRO_*, R_TILEGX_*): New macros.
34882         * scripts/firstversions.awk: Fix bug in version range handling.
34884         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34886         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34888         * include/sys/epoll.h: New file.
34889         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34890         libc_hidden_def.
34892 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
34894         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34895         Avoid unnecessary __WORDSIZE == 64 test.
34896         (fmaxf): Use VEX format if possible.
34897         (fmax): Likewise.
34898         (fminf): Likewise.
34899         (fmin): Likewise.
34901         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34902         * math/math_private.h: Remove libc_fegetround* and
34903         libc_fesetround*.
34904         * sysdeps/i386/configure.in: Check for -msse2avx.
34905         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34906         also if SSE2AVX is defined.
34907         Remove libc_fegetround* and libc_fesetround*.
34908         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34909         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
34910         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34911         of HAS_YMM_USABLE.
34912         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34913         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34914         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34915         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34916         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34918         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34920 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34922         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34923         size is not set.
34924         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34926 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
34928         [BZ #13618]
34929         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34930         relocation.
34931         * Makeconfig (libm): Define.
34932         * elf/Makefile: Add rules to build and run tst-relsort1.
34933         * elf/tst-relsort1.c: New file.
34934         * elf/tst-relsort1mod1.c: New file.
34935         * elf/tst-relsort1mod2.c: New file.
34937 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
34939         * math/s_ldexp.c: Remove __STDC__ conditionals.
34940         * math/s_ldexpf.c: Likewise.
34941         * math/s_ldexpl.c: Likewise.
34942         * math/s_nextafter.c: Likewise.
34943         * math/s_nexttowardf.c: Likewise.
34944         * math/s_significand.c: Likewise.
34945         * math/s_significandf.c: Likewise.
34946         * math/s_significandl.c: Likewise.
34947         * math/w_jnl.c: Likewise.
34948         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34949         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34950         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34951         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34952         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34953         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34954         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34955         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34956         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34957         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34958         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34959         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34960         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34961         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34962         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34963         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34964         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34965         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34966         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34967         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34968         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34969         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34970         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34971         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34972         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34973         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34974         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34975         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34976         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34977         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34978         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34979         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34980         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34981         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34982         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34983         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34984         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34985         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34986         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34987         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34988         * sysdeps/ieee754/k_standard.c: Likewise.
34989         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34990         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34991         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34992         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34993         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34994         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34995         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34996         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34997         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34998         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34999         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35000         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35001         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35002         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35003         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35004         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35005         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35006         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35007         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35008         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35009         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35010         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35011         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35012         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35013         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35014         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35015         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35016         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35017         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35018         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35019         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35020         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35021         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35022         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35023         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35024         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35025         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35026         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35027         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35028         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35029         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35030         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35031         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35032         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35033         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35034         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35036         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35037         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35038         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35039         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35040         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35041         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35042         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35043         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35044         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35045         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35046         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35047         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35048         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35049         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35050         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35051         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35052         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35053         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35054         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35055         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35056         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35057         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35058         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35059         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35060         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35061         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35062         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35063         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35064         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35065         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35066         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35067         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35068         * sysdeps/ieee754/s_matherr.c: Likewise.
35069         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35070         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35071         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35072         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35074 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35076         * crypt/md5.h: Remove __STDC__ conditionals.
35077         * libio/libioP.h: Likewise.
35078         * locale/programs/config.h: Likewise.
35079         * sysdeps/generic/sysdep.h: Likewise.
35080         * sysdeps/i386/asm-syntax.h: Likewise.
35081         * sysdeps/s390/asm-syntax.h: Likewise.
35082         * sysdeps/unix/sysdep.h: Likewise.
35083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35086 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
35088         * libio/libio.h: Remove __STDC__ conditionals.
35089         * malloc/obstack.h: Likewise.
35090         * math/complex.h: Likewise.
35091         * math/math.h: Likewise.
35092         * sysdeps/generic/_G_config.h: Likewise.
35093         * sysdeps/gnu/_G_config.h: Likewise.
35094         * sysdeps/mach/hurd/_G_config.h: Likewise.
35095         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35096         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35097         * sysdeps/sparc/bits/mathdef.h: Likewise.
35099 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
35101         [BZ #13583]
35102         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35103         Clean up HAS_* macros.
35104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35105         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35106         possible.
35107         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35108         HAS_AVX.
35109         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35110         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35111         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35112         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35113         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35115 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
35117         * elf/tst-unique3.cc (gets): Remove declaration.
35118         * elf/tst-unique3lib.cc (gets): Likewise.
35119         * elf/tst-unique3lib2.cc (gets): Likewise.
35120         * elf/tst-unique4.cc (gets): Likewise.
35122 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
35124         * include/stdio.h: Add C++ protection.  Add gets declarations and
35125         definitions.
35126         * debug/tst-chk1.c: Don't declare gets here.
35127         * stdio-common/tst-gets.c: Likewise.
35129 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35131         * posix/glob: Remove directory.
35133 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
35135         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35137 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
35139         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35140         of the non-standard EPFNOSUPPORT.
35142 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35144         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35145         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35146         ANYWHERE set to 1 only on KERN_NO_SPACE error.
35148 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
35150         * wcsmbs/uchar.h: Test __STDC_VERSION__.
35152 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
35154         * nscd/aicache.c (addhstaiX): Do not cache negative results of
35155         transient errors.
35156         * nscd/grpcache.c (cache_addgr): Likewise.
35157         * nscd/hstcache.c (cache_addhst): Likewise.
35158         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35159         * nscd/pwdcache.c (cache_addpw): Likewise.
35160         * nscd/servicescache.c (cache_addserv): Likewise.
35162 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
35164         * malloc/malloc.c: Various cleanups.
35165         * malloc/hooks.c: Likewise.
35167         * stdlib/Makefile (tests): Add bug-fmtmsg1.
35168         * stdlib/bug-fmtmsg1.c: New file.
35170         * stdlib/fmtmsg.c (init): Add missing unlock.
35171         Patch by Peng Haitao <penght@cn.fujitsu.com>.
35173 2012-01-12  Marek Polacek  <polacek@redhat.com>
35175         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35176         and _GNU_SOURCE.
35178 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35180         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35181         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35182         macro to ensure uniqueness of label name.
35183         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35184         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35186 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
35188         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35190         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35191         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35192         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35193         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35195 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
35197         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35199         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35200         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35201         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35203         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35205         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35206         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35207         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35208         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35210         * math/bits/math-finite.h: Add ldexp support.
35212 2012-01-10  Marek Polacek  <polacek@redhat.com>
35214         * locale/programs/localedef.h (show_archive_content): Add noreturn
35215         attribute.
35217 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
35219         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35221 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35223         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35225         * io/Makefile (headers): Add bits/poll2.h.
35227 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
35229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35230         typo #include statement.
35232 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35234         * include/sys/cdefs.h: Define __attribute_alloc_size.
35235         * catgets/gencat.c: Add alloc_size attribute and apply consistently
35236         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35237         * elf/pldd.c: Likewise.
35238         * iconv/iconv_charmap.c: Likewise.
35239         * iconv/iconvconfig.c: Likewise.
35240         * iconv/strtab.c: Likewise.
35241         * locale/programs/locale.c: Likewise.
35242         * locale/programs/localedef.h: Likewise.
35243         * locale/programs/simple-hash.c: Likewise.
35244         * nscd/nscd.h: Likewise.
35245         * nss/makedb.c: Likewise.
35246         * sysdeps/generic/ldconfig.h: Likewise.
35247         * locale/programs/localedef.c: Remove xmalloc prototype.
35248         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35250 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35252         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35253         appropriate.
35255 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35257         * math/Makefile (tests): Add tst-CMPLX.
35258         * math/tst-CMPLX.c: New file.
35260         * math/complex.h (CMPLXL): Fix typo.
35262         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35263         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35264         GLIBC_2.16.
35265         * debug/tst-chk1.c: Add poll and ppoll tests.
35266         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35267         * include/sys/poll.h: Add hidden proto for ppoll.
35268         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35269         * sysdeps/mach/hurd/ppoll.c: Likewise.
35270         * io/ppoll.c: Likewise.
35271         * debug/poll_chk.c: New file.
35272         * debug/ppoll_chk.c: New file.
35273         * include/bits/poll2.h: New file.
35274         * io/bits/poll2.h: New file.
35276         [BZ #1350]
35277         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35279         * configure.in: static is always set to yes.  Remove.
35280         * config.make.in: Don't set build-static.
35281         * Makeconfig: Remove use of build-static.
35282         * dlfcn/Makefile: Likewise.
35283         * elf/Makefile: Likewise.
35284         * math/Makefile: Likewise.
35285         * misc/Makefile: Likewise.
35286         * nptl/Makefile: Likewise.
35287         * sysdeps/mach/hurd/Makefile: Likewise.
35289         * configure.in: PWD_P is not used anymore.
35290         * config.make.in: Remove PWD_P entry.
35292         * configure.in: Remove last remnants of RANLIB.
35293         No need to check for signed size_t anymore.
35294         Don't set libc_commonpagesize and libc_relro_required here for Alpha
35295         and IA-64.
35296         Remove __builtin_expect test because we require at least gcc 3.4.
35297         * aclocal.m4: Likewise.
35299         * wcsmbs/mbrtoc16.c: Implement using towc function.
35300         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35301         * wcsmbs/wcsmbsload.c: Likewise.
35302         * iconv/gconv_simple.c: Likewise.
35303         * iconv/gconv_int.h: Likewise.
35304         * iconv/gconv_builtin.h: Likewise.
35305         * iconv/iconv_prog.c: Remove CHAR16 handling.
35307         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35309         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35311         * configure.in: Remove --with-elf and --enable-bounded options.
35312         Dont set base_machine for ia64.  More non-ELF conditions removed.
35313         Remove testing and setting of leading underscore information.
35314         * config.make.in (build-bounded): Set to no.
35315         * config.h.in: Remove NO_UNDERSCORES entry.
35316         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
35317         them.
35318         * csu/start.c: Remove !NO_UNDERSCORE code.
35319         * locale/localeinfo.h: Likewise.
35320         * sysdeps/generic/machine-gmon.h: Likewise.
35321         * sysdeps/generic/sysdep.h: Likewise.
35322         * sysdeps/i386/sysdep.h: Likewise.
35323         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35324         * sysdeps/mach/sysdep.h: Likewise.
35325         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35326         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35327         * sysdeps/sh/sysdep.h: Likewise.
35328         * sysdeps/sparc/sparc32/alloca.S: Likewise.
35329         * sysdeps/unix/i386/sysdep.S: Likewise.
35330         * sysdeps/unix/sparc/start.c: Likewise.
35331         * sysdeps/unix/sparc/sysdep.S: Likewise.
35332         * sysdeps/unix/sparc/sysdep.h: Likewise.
35333         * sysdeps/unix/start.c: Likewise.
35334         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35335         * sysdeps/x86_64/sysdep.h: Likewise.
35337 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
35339         [BZ #13553]
35340         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35341         for non-gcc.
35342         * argp/argp-fmtstream.h: Use const instead __const.
35343         * argp/argp.h: Likewise.
35344         * assert/assert.h: Likewise.
35345         * bits/fenv.h: Likewise.
35346         * bits/sched.h: Likewise.
35347         * bits/sigset.h: Likewise.
35348         * bits/sigthread.h: Likewise.
35349         * catgets/nl_types.h: Likewise.
35350         * conform/data/pthread.h-data: Likewise.
35351         * crypt/crypt-private.h: Likewise.
35352         * crypt/crypt.h: Likewise.
35353         * crypt/crypt_util.c: Likewise.
35354         * ctype/ctype.h: Likewise.
35355         * debug/execinfo.h: Likewise.
35356         * debug/mbsnrtowcs_chk.c: Likewise.
35357         * debug/mbsrtowcs_chk.c: Likewise.
35358         * debug/wcsnrtombs_chk.c: Likewise.
35359         * debug/wcsrtombs_chk.c: Likewise.
35360         * debug/wcstombs_chk.c: Likewise.
35361         * dirent/dirent.h: Likewise.
35362         * dlfcn/dlfcn.h: Likewise.
35363         * elf/neededtest4.c: Likewise.
35364         * grp/grp.h: Likewise.
35365         * gshadow/gshadow.h: Likewise.
35366         * iconv/gconv.h: Likewise.
35367         * iconv/gconv_int.h: Likewise.
35368         * iconv/gconv_simple.c: Likewise.
35369         * iconv/iconv.h: Likewise.
35370         * iconv/loop.c: Likewise.
35371         * iconv/skeleton.c: Likewise.
35372         * include/aio.h: Likewise.
35373         * include/aliases.h: Likewise.
35374         * include/argz.h: Likewise.
35375         * include/arpa/inet.h: Likewise.
35376         * include/assert.h: Likewise.
35377         * include/dirent.h: Likewise.
35378         * include/dlfcn.h: Likewise.
35379         * include/execinfo.h: Likewise.
35380         * include/fcntl.h: Likewise.
35381         * include/fenv.h: Likewise.
35382         * include/glob.h: Likewise.
35383         * include/grp.h: Likewise.
35384         * include/libintl.h: Likewise.
35385         * include/mntent.h: Likewise.
35386         * include/netdb.h: Likewise.
35387         * include/pwd.h: Likewise.
35388         * include/rpc/netdb.h: Likewise.
35389         * include/sched.h: Likewise.
35390         * include/search.h: Likewise.
35391         * include/shadow.h: Likewise.
35392         * include/signal.h: Likewise.
35393         * include/stdio.h: Likewise.
35394         * include/stdlib.h: Likewise.
35395         * include/string.h: Likewise.
35396         * include/sys/socket.h: Likewise.
35397         * include/sys/stat.h: Likewise.
35398         * include/sys/statfs.h: Likewise.
35399         * include/sys/statvfs.h: Likewise.
35400         * include/sys/syslog.h: Likewise.
35401         * include/sys/time.h: Likewise.
35402         * include/sys/uio.h: Likewise.
35403         * include/time.h: Likewise.
35404         * include/unistd.h: Likewise.
35405         * include/utmp.h: Likewise.
35406         * include/wchar.h: Likewise.
35407         * include/wctype.h: Likewise.
35408         * inet/aliases.h: Likewise.
35409         * inet/arpa/inet.h: Likewise.
35410         * inet/netinet/ether.h: Likewise.
35411         * inet/netinet/in.h: Likewise.
35412         * intl/libintl.h: Likewise.
35413         * io/bits/fcntl2.h: Likewise.
35414         * io/fcntl.h: Likewise.
35415         * io/ftw.h: Likewise.
35416         * io/sys/poll.h: Likewise.
35417         * io/sys/stat.h: Likewise.
35418         * io/sys/statfs.h: Likewise.
35419         * io/sys/statvfs.h: Likewise.
35420         * io/utime.h: Likewise.
35421         * libio/bits/stdio.h: Likewise.
35422         * libio/bits/stdio2.h: Likewise.
35423         * libio/libio.h: Likewise.
35424         * libio/libioP.h: Likewise.
35425         * libio/stdio.h: Likewise.
35426         * locale/lc-ctype.c: Likewise.
35427         * locale/locale.h: Likewise.
35428         * login/utmp.h: Likewise.
35429         * malloc/arena.c: Likewise.
35430         * malloc/malloc.c: Likewise.
35431         * malloc/malloc.h: Likewise.
35432         * malloc/mcheck.c: Likewise.
35433         * malloc/mtrace.c: Likewise.
35434         * math/bits/mathcalls.h: Likewise.
35435         * math/fenv.h: Likewise.
35436         * math/math_private.h: Likewise.
35437         * misc/bits/error.h: Likewise.
35438         * misc/bits/syslog.h: Likewise.
35439         * misc/err.h: Likewise.
35440         * misc/error.h: Likewise.
35441         * misc/fstab.h: Likewise.
35442         * misc/mntent.h: Likewise.
35443         * misc/regexp.h: Likewise.
35444         * misc/search.h: Likewise.
35445         * misc/sgtty.h: Likewise.
35446         * misc/sys/mman.h: Likewise.
35447         * misc/sys/syslog.h: Likewise.
35448         * misc/sys/uio.h: Likewise.
35449         * misc/sys/xattr.h: Likewise.
35450         * misc/ttyent.h: Likewise.
35451         * nis/rpcsvc/ypclnt.h: Likewise.
35452         * nss/nss.h: Likewise.
35453         * posix/bits/unistd.h: Likewise.
35454         * posix/fnmatch.h: Likewise.
35455         * posix/glob.h: Likewise.
35456         * posix/sched.h: Likewise.
35457         * posix/spawn.h: Likewise.
35458         * posix/sys/wait.h: Likewise.
35459         * posix/unistd.h: Likewise.
35460         * posix/wordexp.h: Likewise.
35461         * pwd/pwd.h: Likewise.
35462         * resolv/netdb.h: Likewise.
35463         * resource/sys/resource.h: Likewise.
35464         * rt/aio.h: Likewise.
35465         * rt/bits/mqueue2.h: Likewise.
35466         * rt/mqueue.h: Likewise.
35467         * shadow/shadow.h: Likewise.
35468         * signal/signal.h: Likewise.
35469         * socket/send.c: Likewise.
35470         * socket/sendto.c: Likewise.
35471         * socket/sys/socket.h: Likewise.
35472         * stdio-common/printf.h: Likewise.
35473         * stdlib/bits/stdlib.h: Likewise.
35474         * stdlib/fmtmsg.h: Likewise.
35475         * stdlib/monetary.h: Likewise.
35476         * stdlib/stdlib.h: Likewise.
35477         * stdlib/ucontext.h: Likewise.
35478         * streams/stropts.h: Likewise.
35479         * string/argz.h: Likewise.
35480         * string/bits/string2.h: Likewise.
35481         * string/string.h: Likewise.
35482         * string/strings.h: Likewise.
35483         * sunrpc/rpc/auth.h: Likewise.
35484         * sunrpc/rpc/auth_des.h: Likewise.
35485         * sunrpc/rpc/clnt.h: Likewise.
35486         * sunrpc/rpc/netdb.h: Likewise.
35487         * sunrpc/rpc/pmap_clnt.h: Likewise.
35488         * sunrpc/rpc/xdr.h: Likewise.
35489         * sysdeps/generic/inttypes.h: Likewise.
35490         * sysdeps/generic/net/if.h: Likewise.
35491         * sysdeps/generic/sys/swap.h: Likewise.
35492         * sysdeps/gnu/net/if.h: Likewise.
35493         * sysdeps/gnu/utmpx.h: Likewise.
35494         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35495         * sysdeps/i386/i486/bits/string.h: Likewise.
35496         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35497         * sysdeps/s390/bits/string.h: Likewise.
35498         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35499         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35500         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35501         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35502         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35503         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35504         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35505         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35506         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35507         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35508         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35509         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35510         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35511         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35512         * sysdeps/unix/sysv/linux/readv.c: Likewise.
35513         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35514         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35515         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35516         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35517         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35518         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35519         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35520         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35521         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35522         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35523         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35524         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35525         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35526         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35527         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35528         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35529         * sysvipc/sys/ipc.h: Likewise.
35530         * sysvipc/sys/msg.h: Likewise.
35531         * sysvipc/sys/sem.h: Likewise.
35532         * sysvipc/sys/shm.h: Likewise.
35533         * termios/termios.h: Likewise.
35534         * time/sys/time.h: Likewise.
35535         * time/time.h: Likewise.
35536         * wcsmbs/bits/wchar2.h: Likewise.
35537         * wcsmbs/uchar.h: Likewise.
35538         * wcsmbs/wchar.h: Likewise.
35539         * wctype/wctype.h: Likewise.
35541         [BZ #13551]
35542         * Makeconfig: Remove all but ELF support including AIX support.
35543         * Makerules: Likewise.
35544         * config.h.in: Likewise.
35545         * config.make.in: Likewise.
35546         * configure: Likewise.
35547         * configure.in: Likewise.
35548         * csu/Makefile: Likewise.
35549         * csu/version.c: Likewise.
35550         * debug/Makefile: Likewise.
35551         * dlfcn/Makefile: Likewise.
35552         * elf/Makefile: Likewise.
35553         * extra-lib.mk: Likewise.
35554         * iconv/Makefile: Likewise.
35555         * include/libc-symbols.h: Likewise.
35556         * include/shlib-compat.h: Likewise.
35557         * resolv/Makefile: Likewise.
35558         * resolv/res_libc.c: Likewise.
35559         * rt/Makefile: Likewise.
35560         * sysdeps/i386/asm-syntax.h: Likewise.
35561         * sysdeps/i386/sysdep.h: Likewise.
35562         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35563         * sysdeps/mach/sysdep.h: Likewise.
35564         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35565         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35566         * sysdeps/s390/asm-syntax.h: Likewise.
35567         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35568         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35569         * sysdeps/sh/sysdep.h: Likewise.
35570         * sysdeps/unix/sparc/sysdep.h: Likewise.
35571         * sysdeps/wordsize-32/divdi3.c: Likewise.
35572         * sysdeps/x86_64/sysdep.h: Likewise.
35574         * argp/Versions: Remove _argp_unlock_xxx.
35576         [BZ #13559]
35577         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
35578         * abilist/libBrokenLocale.abilist: Likewise.
35579         * abilist/libanl.abilist: Likewise.
35580         * abilist/libc.abilist: Likewise.
35581         * abilist/libcrypt.abilist: Likewise.
35582         * abilist/libdl.abilist: Likewise.
35583         * abilist/libm.abilist: Likewise.
35584         * abilist/libnsl.abilist: Likewise.
35585         * abilist/libpthread.abilist: Likewise.
35586         * abilist/libresolv.abilist: Likewise.
35587         * abilist/librt.abilist: Likewise.
35588         * abilist/libthread_db.abilist: Likewise.
35589         * abilist/libutil.abilist: Likewise.
35590         * abilist/libnss_db.abilist: New file.
35592         * scripts/abilist.awk: Add support for indirect functions.
35594         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35596         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35598         * shlib-versions: Remove entries for ports architectures.
35600         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
35601         files in ports.
35602         * elf/stackguard-macros.h: Remove support for IA-64.
35603         * elf/tst-auditmod1.c: Likewise.
35604         * sysdeps/generic/ldsodefs.h: Likewise.
35606         * sysdeps/unix/sysv/linux/configure.in: Ports should define
35607         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35608         configure files.
35610         [BZ #13552]
35611         * configure.in: Remove --enable-omitfp support.
35612         * FAQ.in: Adjust.
35613         * config.make.in: Likewise.
35614         * Makeconfig: Likewise.
35615         * manual/install.texi: Likewise.
35617         In case anyone cares, the IA-64 architecture could move to ports.
35618         * sysdeps/ia64/*: Removed.
35619         * sysdeps/unix/sysv/linux/ia64/*: Removed.
35620         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35622         [BZ #13555]
35623         * configure.in: Remove entries for unsupported architectures.
35625         [BZ #13533]
35626         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35627         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
35628         routines.
35629         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35630         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35631         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
35632         fall back to using wcrtomb.
35633         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35634         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
35635         renaming.
35636         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35637         * wcsmbs/tst-c16c32-1.c: New file.
35639         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35640         local variable.
35642         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35644         * elf/tst-unique3.cc: Add explicit declaration of gets.
35645         * elf/tst-unique3lib.cc: Likewise.
35646         * elf/tst-unique3lib2.cc: Likewise.
35647         * elf/tst-unique4.cc: Likewise.
35649         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35651 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
35653         [BZ #13566]
35654         * assert/assert.h (static_assert): Don't define for C++.
35655         * libio/stdio.h (gets): Do declare for C++ <= C++11.
35656         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35658 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
35660         * iconv/loop.c (single loop): Fix assertion in storing of
35661         remaining bytes.
35663         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35665 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
35667         * posix/getconf.c: Update copyright year.
35668         * nss/getent.c: Likewise.
35669         * nss/makedb.c: Likewise.
35670         * iconv/iconvconfig.c: Likewise.
35671         * iconv/iconv_prog.c: Likewise.
35672         * elf/ldconfig.c: Likewise.
35673         * elf/pldd.c: Likewise.
35674         * elf/sotruss.ksh: Likewise.
35675         * catgets/gencat.c: Likewise.
35676         * csu/version.c: Likewise.
35677         * elf/ldd.bash.in: Likewise.
35678         * elf/sprof.c (print_version): Likewise.
35679         * locale/programs/locale.c: Likewise.
35680         * locale/programs/localedef.c: Likewise.
35681         * login/programs/pt_chown.c: Likewise.
35682         * nscd/nscd.c (print_version): Likewise.
35683         * debug/xtrace.sh: Likewise.
35684         * malloc/memusage.sh: Likewise.
35685         * malloc/mtrace.pl: Likewise.
35686         * debug/catchsegv.sh: Likewise.
35688 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
35690         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35691         pure attribute.
35693 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
35695         [BZ #13533]
35696         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35697         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35698         transformations.
35699         * iconv/gconv_int.h: Likewise.
35700         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35701         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35702         from libc for GLIBC_2.16.
35703         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35704         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35705         * wcsmbs/uchar.h: Really define mbstate_t.
35706         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35707         * wcsmbs/c16rtomb.c: New file.
35708         * wcsmbs/mbrtoc16.c: New file.
35709         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35710         for C/POSIX locale.
35711         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35712         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35714         * wcsmbs/wchar.h: Add missing __restrict.
35716 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35718         [BZ #13532]
35719         * time/Makefile (routines): Add timespec_get.
35720         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35721         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
35722         timespec for ISO C11.
35723         * time/timespec_get.c: New file.
35724         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35725         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35727         [BZ #13531]
35728         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35729         * stdlib/stdlib.h: Declare aligned_alloc.
35730         * Versions.def: Add GLIBC_2.16 for libc.
35731         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35733         [BZ 13527]
35734         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35735         ISO C11.
35737         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35738         code.
35740         [BZ #13528]
35741         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35743         [BZ #13529]
35744         * assert/assert.h (static_assert): Define.
35746         * version.h: Update for 2.16 development version.
35748         [BZ #13526]
35749         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35750         _ISOC11_SOURCE.
35752         * version.h (RELEASE): Bump for 2.15 release.
35753         * include/features.h (__GLIBC_MINOR__): Bump to 15.
35755         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35756         Patch by Marek Polacek <mpolacek@redhat.com>.
35758         * bits/byteswap.h: Protect long long constants with __extension__.
35759         * sysdeps/i386/bits/byteswap.h: Likewise.
35760         * sysdeps/ia64/bits/byteswap.h: Likewise.
35761         * sysdeps/s390/bits/byteswap.h: Likewise.
35762         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35764 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35766         [BZ #13540]
35767         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35768         destination buffer.
35769         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35771 2011-12-23  Marek Polacek  <polacek@redhat.com>
35773         * elf/dl-addr.c (determine_info): Add inline keyword.
35774         * elf/tst-auditmod4b.c (check_avx): Likewise.
35775         * elf/tst-auditmod6b.c (check_avx): Likewise.
35776         * elf/tst-auditmod6c.c (check_avx): Likewise.
35777         * elf/tst-auditmod7b.c (check_avx): Likewise.
35779 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35781         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35782         !__SSE_MATH__.
35784 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35786         [BZ #13540]
35787         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35788         processing for last bytes.
35790 2011-08-06  Bruno Haible  <bruno@clisp.org>
35792         [BZ #13061]
35793         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35794         U+0385, not to U+1FEE.
35796         [BZ #13062]
35797         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35798         entry for U+00A5 U+0301.
35800 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35802         [BZ #13166]
35803         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35804         buffer for the output is too small.
35806         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35807         optimization.
35809         [BZ #13185]
35810         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35811         SSE flags if possible.
35813 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35815         [BZ #13540]
35816         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35817         processing for last bytes.
35819 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
35821         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35822         (syscall-list-default-options, syscall-list-default-condition)
35823         (syscall-list-includes): Define.
35824         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35825         list of ABIs and options and #if conditions for each ABI.  Do not
35826         handle common syscalls between ABIs specially.
35827         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35828         Remove.
35829         (syscall-list-variants, syscall-list-32bit-options)
35830         (syscall-list-32bit-condition, syscall-list-64bit-options)
35831         (syscall-list-64bit-condition): Define.
35832         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35833         (syscall-list-variants, syscall-list-32bit-options)
35834         (syscall-list-32bit-condition, syscall-list-64bit-options)
35835         (syscall-list-64bit-condition): Define.
35836         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35837         Remove.
35838         (syscall-list-variants, syscall-list-32bit-options)
35839         (syscall-list-32bit-condition, syscall-list-64bit-options)
35840         (syscall-list-64bit-condition): Define.
35841         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35842         Remove.
35843         (syscall-list-variants, syscall-list-32bit-options)
35844         (syscall-list-32bit-condition, syscall-list-64bit-options)
35845         (syscall-list-64bit-condition): Define.
35847 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35849         * locale/iso-639.def: Add brx entry.
35851         [BZ #13328]
35852         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35853         Proposed by Mariusz_Cukr <marcukr@op.pl>.
35855         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35856         __feraiseexcept_renamed.
35858 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35860         [BZ #13538]
35861         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35862         EPOLLET with unsigned values.
35863         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35864         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35866         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35867         to large cancellation.
35868         * math/s_cacoshf.c: Likewise.
35869         * math/s_cacoshl.c: Likewise.
35871 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
35873         [BZ #13305]
35874         [BZ #12786]
35875         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35876         * math/s_cacoshf.c: Likewise.
35877         * math/s_cacoshl.c: Likewise.
35879 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35881         [BZ #13439]
35882         * iconv/gconv.h: Define __GCONV_SWAP.
35883         * iconvdata/unicode.c: The swap bit must be stored in __flags.
35884         * iconvdata/utf-16.c: Likewise.
35885         * iconvdata/utf-32.c: Likewise.
35887 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35889         [BZ #13524]
35890         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35891         numerator after shifting it by one limb.
35893 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
35895         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35896         under [__USE_EXTERN_INLINES].
35898 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35900         [BZ #13446]
35901         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35903 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35905         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35906         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35907         optimized code.
35908         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35909         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35910         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35911         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35912         for strncasecmp/strncasecmp_l compilation.
35913         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35914         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35916 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
35918         [BZ #13484]
35919         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35920         of __asm__.
35922 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35924         [BZ #13506]
35925         * time/tzfile.c (__tzfile_read): Check values from file header.
35927 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35929         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35930         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35931         * powerpc/powerpc32/dl-start.S: Likewise.
35932         * powerpc/powerpc32/elf/start.S: Likewise.
35933         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35934         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35935         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35936         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35937         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35938         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35939         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35940         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35941         * powerpc/powerpc32/fpu/s_round.S: Likewise.
35942         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35943         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35944         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35945         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35946         * powerpc/powerpc32/memset.S: Likewise.
35947         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35948         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35949         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35950         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35951         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35952         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35953         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35954         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35955         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35956         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35957         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35958         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35959         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35961 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35963         * math/libm-test.inc: Added more nearbyint tests.
35964         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35965         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35966         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35967         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35969 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
35971         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35972         FD_CLOEXEC.
35974 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35976         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35977         Add wcscpy-ssse3 wcscpy-c.
35978         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35979         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35980         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35981         * sysdeps/x86_64/wcschr.S: New file.
35982         * sysdeps/x86_64/wcsrchr.S: New file.
35983         * string/test-strcmp.c: Remove checking of wcscmp function for
35984         wrong alignments.
35985         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35986         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35987         wcsrchr-sse2 wcsrchr-c.
35988         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35989         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35990         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35991         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35992         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35993         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35994         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35995         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35996         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35997         * wcsmbc/wcschr.c (WCSCHR): New macro.
35999 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36001         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36002         * wcsmbs/test-wcsrchr.c: New file.
36003         * string/test-strrchr.c: Add wcsrchr support.
36004         (WIDE): New macro.
36005         * wcsmbs/test-wcscpy.c: New file.
36006         * string/test-strcpy.c: Add wcscpy support.
36007         (WIDE): New macro.
36009 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
36011         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36012         the inner loop.
36014 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
36016         [BZ #13472]
36017         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36019 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
36021         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36022         Minor optimizations.
36024         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36025         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36026         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36028 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
36030         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36031         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36032         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36033         for gcc to avoid warnings.
36034         * inet/Makefile (tests): Add tst-checks.
36035         * inet/tst-checks.c: New file.
36037         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36038         warning.
36040         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36041         __wmemcmp_sse2.
36043         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36044         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36046         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36048 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
36050         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36051         problem.
36053         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36055 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
36057         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36058         conditional on GCC version.
36059         (__arch_compare_and_exchange_val_8_acq)
36060         (__arch_compare_and_exchange_val_16_acq)
36061         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36062         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36063         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36065 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
36067         * sysdeps/sh/backtrace.c: New file.
36069 2011-12-02  Andreas Schwab  <schwab@redhat.com>
36071         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
36072         parenthesis.
36074 2011-12-01  Andreas Schwab  <schwab@redhat.com>
36076         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36077         falling back to utime.
36079 2011-11-30  Andreas Schwab  <schwab@redhat.com>
36081         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36082         expectations for float.
36084 2011-11-29  Andreas Schwab  <schwab@redhat.com>
36086         * locale/weight.h (findidx): Add parameter len.
36087         * locale/weightwc.h (findidx): Likewise.
36088         * posix/fnmatch_loop.c (FCT): Adjust caller.
36089         * posix/regcomp.c (build_equiv_class): Likewise.
36090         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36091         * posix/regexec.c (check_node_accept_bytes): Likewise.
36092         * string/strcoll_l.c (STRCOLL): Likewise.
36093         * string/strxfrm_l.c (STRXFRM): Likewise.
36095 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
36097         * Makefile.in: Remove CVSOPT handling.
36098         * configure.in: Remove use of AC_REVISION.
36099         * iconvdata/Makefile (distribute): No need to filter out CVS.
36100         * scripts/list-sources.sh: Remove CVS, subversion and monotone
36101         handling.
36103 2011-11-16  Andreas Schwab  <schwab@redhat.com>
36105         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36106         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36107         [USE_AS_STRNCASECMP_L]: Likewise.
36108         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36109         NO_TLS_DIRECT_SEG_REFS.
36110         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36111         Fix argument offsets for non-PIC.
36112         [USE_AS_STRNCASECMP_L]: Likewise.
36113         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36114         NO_TLS_DIRECT_SEG_REFS.
36116 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36118         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36119         O_CLOEXEC.
36120         * locale/loadlocale.c (_nl_load_locale): Likewise.
36122 2011-11-15  Andreas Schwab  <schwab@redhat.com>
36124         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36125         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36126         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36127         (SYSCALL_GETTIME): Set errno on error.
36129         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36130         count references to noai6ai_cached.
36132 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
36134         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36136         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36137         FD_CLOEXEC for /proc/self/maps.
36139         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36140         FD_CLOEXEC for /proc/meminfo.
36142         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36143         gai.conf.
36145         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
36146         FD_CLOEXEC for given file.
36148         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36150         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36151         FD_CLOEXEC for /etc/hosts.
36152         (_gethtent): Likewise.
36154         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36156         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36157         cancellation and set FD_CLOEXEC for /etc/netgroup.
36159         * nss/nss_files/files-key.c (search): Don't allow cancellation when
36160         reading /etc/publickey.
36162         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36163         allow cancellation when reading /etc/group.
36165         * nss/nss_files/files-alias.c (internal_setent): Don't allow
36166         cancellation.
36167         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
36169         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36170         when using data file.
36172         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36174         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36175         (write_nis_obj): Use "c" and "e" in fopen.
36177         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36179         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36181         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36183         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36185         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36186         locale.alias.
36188         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36190         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36192         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36194         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36195         file parsing and set FD_CLOEXEC.
36197 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36199         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36201 2011-11-14  Andreas Schwab  <schwab@redhat.com>
36203         * malloc/arena.c (arena_get2): Don't call reused_arena when
36204         _int_new_arena failed.
36206 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
36208         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36209         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36210         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36211         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36212         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36213         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36214         to compile strcasecmp and strncasecmp.
36215         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36216         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36218         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36220 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
36222         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36223         locale-defines.sym to gen-as-const-headers.
36224         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36225         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36226         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36227         to compile strcasecmp and strncasecmp.
36228         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36229         strcasecmp_l and strncasecmp_l.
36230         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36231         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36232         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36233         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36234         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36235         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36236         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36237         * sysdeps/i386/i686/multiarch/strncase.S: New file.
36238         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36239         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36240         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36242 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
36244         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36245         result of SYSDEP_GETTIME_CPU to retval.
36246         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36247         parameter list to macro.  Remove trailing semicolon.  Adjust users.
36249         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36250         variable.
36252         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36253         mantissa words.
36254         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36256         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36257         from unused variable.
36259         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36260         DWARF definitions.
36261         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36262         for assembling.
36264         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36265         over namespaces.
36267         * sunrpc/rpc_prot.c (rejected): Fix case value.
36269         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36270         unsigned long long int to avoid warnings in shift.
36272         * posix/regex_internal.c (re_string_reconstruct): Actually use result
36273         of use of trans.
36274         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36275         variable tmp.
36277         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36278         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36279         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36281         * nis/nis_table.c (nis_list): Use variable of correct type for
36282         result of __follow_path call.
36284 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36286         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36287         of math functions ceil, trunc, floor, round, and sqrt, when
36288         avaliable on the platform.
36289         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36290         name clash.
36291         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36292         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36293         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36295 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
36297         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36298         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36300 2011-11-11  Roland McGrath  <roland@hack.frob.com>
36302         * include/unistd.h: Fix __readlink return type.
36303         Reported by Chris Metcalf <cmetcalf@tilera.com>.
36305 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
36307         * stdlib/ucontext.h: Undo last change for makecontext.
36309 2011-11-11  Andreas Schwab  <schwab@redhat.com>
36311         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36313         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36314         * setjmp/setjmp.h: Mark functions as non-leaf.
36315         * setjmp/bits/setjmp2.h: Likewise.
36316         * stdlib/ucontext.h: Likewise.
36318 2011-11-10  Andreas Schwab  <schwab@redhat.com>
36320         * malloc/arena.c (_int_new_arena): Don't increment narenas.
36321         (reused_arena): Don't check arena limit.
36322         (arena_get2): Atomically check arena limit.
36324 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
36326         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36327         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36329         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36330         instructions.
36332 2011-11-07  Andreas Schwab  <schwab@redhat.com>
36334         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36335         handler when locking.
36337         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36338         Fix size of allocated buffer.
36340 2011-11-04  Andreas Schwab  <schwab@redhat.com>
36342         [BZ #10103]
36343         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36344         declarations for long double functions.
36345         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36347         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36349 2011-11-03  Andreas Schwab  <schwab@redhat.com>
36351         * nscd/nscd.c (main): Don't start AVC thread until credentials are
36352         installed.
36354         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36355         is disabled.
36357 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36359         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36361 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36363         * include/alloca.h (stackinfo_alloca_round): Define.
36364         (extend_alloca): Use it.
36365         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36366         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36367         here.
36369         * scripts/check-local-headers.sh: Ignore libaudit.h.
36371         * nscd/Makefile (extra-objs): Make recursively expanded.
36373 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
36375         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36376         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36378         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36379         * posix/tst-rfc3484-2.c: Likewise.
36380         * posix/tst-rfc3484-3.c: Likewise.
36382         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36383         process_vm_writev.
36384         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36385         process_vm_writev.
36386         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36387         process_vm_writev from libc using GLIBC_2.15 version.
36389         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36391 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
36393         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36394         stack usage.
36396 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
36398         [BZ #13367]
36399         * nss/getent.c (initgroups_keys): Show error message in case no group
36400         names are given.
36402         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36403         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36404         __bump_nl_timestamp.
36405         * nscd/connections (nscd_init): When host database is served open
36406         netlink socket and request notification about configuration changes.
36407         (main_loop_poll): Track netlink file descriptor and bump timestamp
36408         in case data becomes available.
36409         (main_loop_epoll): Likewise.
36410         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36411         (database_pers_head): Add extra_data fileds.
36412         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36413         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36414         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36415         Adjust caller.
36416         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36417         in6ai data, call __free_in6ai.
36418         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36419         Add -DHAVE_NETLINK.
36420         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
36421         interface information.  Reuse previous data if netlink timestamp
36422         is not changed.
36423         (__bump_nl_timestamp): New function.
36424         (__free_in6ai): New function.
36426 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
36428         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36429         close_not_cancel_no_status here.
36430         (__check_pf): Reorganize code a bit to not call close twice if OOM.
36432 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36434         [BZ #13276]
36435         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36436         return value.
36438         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36439         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36440         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36442 2011-07-03  Andreas Jaeger  <aj@suse.de>
36444         [BZ #10709]
36445         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36446         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36447         * math/libm-test.inc (sin_test): Add test case.
36449 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36451         [BZ #13337]
36452         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36453         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36455         * elf/chroot_canon.c (chroot_canon): Cleanups.
36457         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36459         [BZ #13335]
36460         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36461         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36463         * string/test-strchr.c: Make usable for strchrnul testing.
36464         * string/test-strchrnul.c: New file.
36465         * string/Makefile (strop-tests): Add strchrnul.
36467         * po/it.po: Update from translation team.
36468         * po/es.po: Likewise.
36470 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
36472         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36473         the three constants needed as parameters.  Drop the others.
36474         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36475         __m128i_strloadu_tolower.
36476         Create and initialize variable zero and use it in all the places
36477         where _mm_setzero_si128 was used.
36479         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36480         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36481         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36482         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36483         anymore.
36484         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36485         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36486         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36487         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36488         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36489         __mpranred, __mptan.
36490         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36491         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36492         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36493         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36494         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36495         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36496         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36497         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36498         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36500 2011-10-28  Andreas Schwab  <schwab@redhat.com>
36502         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36503         redefine if SHARED.
36504         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36506         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36507         wide char related routines to wcsmbs subdir.
36509 2011-10-27  Andreas Schwab  <schwab@redhat.com>
36511         [BZ #13344]
36512         * misc/sys/cdefs.h (__THROWNL): Define.
36513         * posix/unistd.h: Use __THREADNL instead of __THREAD
36514         for memory synchronization functions.
36516 2011-10-26  Roland McGrath  <roland@hack.frob.com>
36518         [BZ #13349]
36519         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36520         doesn't exist.
36521         * manual/stdio.texi (Obstack Streams): Node removed.
36523 2011-10-26  Andreas Schwab  <schwab@redhat.com>
36525         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36526         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36527         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36529         * math/math_private.h (math_force_eval): Allow non-addressable
36530         arguments.
36531         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36533 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36535         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36536         file is not needed.
36538         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36539         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36540         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36541         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36542         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36543         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36544         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36545         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36546         Add AVX variants.
36547         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36548         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36549         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36550         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36551         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36552         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36553         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36554         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36555         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36556         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36557         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36558         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36559         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36560         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36561         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36562         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36563         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36564         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36565         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36567         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36568         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
36570         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36571         place.  Use VEX encoding when compiling for AVX.
36573 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36575         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36576         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36578         * string/test-strchr.c (do_test): Don't generate NUL bytes.
36580 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36582         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36583         useless if() expression.
36584         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36585         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36586         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36587         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36588         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36589         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36590         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36591         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36592         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36593         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36594         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36595         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36596         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36597         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36598         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36599         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36600         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36601         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36602         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36604         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36606 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36608         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36609         condition.
36610         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36612 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36614         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36615         .text section.  Avoid duplicate constants.
36616         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36617         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36618         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36619         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36620         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36621         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36622         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36623         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36624         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36625         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36626         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36627         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36628         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36629         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36630         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36631         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36632         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36633         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36634         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36635         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36636         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36637         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36638         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36639         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36640         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36641         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36642         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36643         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36644         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36645         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36646         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36647         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36648         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36649         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36650         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36651         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36652         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36653         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36654         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36655         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36656         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36657         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36658         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36659         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36660         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36662 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
36664         * sysdeps/x86_64/dla.h: Move to ...
36665         * sysdeps/x86_64/fpu/dla.h: ...here.
36666         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36667         situations.  Use __builtin_fma only for gcc 4.6 and up.
36669         * config.make.in: Add have-mfma4 entry.
36670         * configure.in: Substitute libc_cv_cc_fma4.
36671         * math/Makefile (dbl-only-routines): Add sincostab.
36672         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36673         Use __sincostab not sincos.
36674         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36675         name is a macro.
36676         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36677         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36678         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
36680         using __copysign.
36681         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
36682         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
36683         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36684         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36685         and __inv.
36686         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36687         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36688         __copysign.
36689         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
36690         define aliases when function name is a macro.
36691         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36692         sysdeps/ieee754/dbl-64/sincos.tbl.
36693         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36694         fma4-enabled routines.
36695         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36696         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36697         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36698         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36699         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36700         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36701         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36702         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36703         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36704         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36705         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36706         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36707         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36708         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36709         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36710         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36711         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36712         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36713         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36714         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36715         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36716         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36717         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36718         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36719         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36720         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36721         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36722         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36723         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36724         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36726         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36727         rename.
36728         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36729         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36730         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36731         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36732         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36733         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36735         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36737 2011-10-24  Andreas Schwab  <schwab@redhat.com>
36739         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36741 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36743         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36745         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36746         prediction.
36747         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36749         * string/strnlen.c: Don't define STRNLEN, reverse logic.
36750         Remove unused variable magic_bits.
36751         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36753         * string/strnlen.c: Define and use STRNLEN macro.
36754         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36755         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36757         * wcsmbs/wcslen.c: Define and use WCSLEN.
36758         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36759         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36760         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36761         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36762         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36763         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36764         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36766 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36769         strnlen-sse2-no-bsf.
36770         Rename strlen-no-bsf to strlen-sse2-no-bsf.
36771         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36772         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36773         Add strnlen support.
36774         (USE_AS_STRNLEN): New macro.
36775         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36776         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36777         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36778         * sysdeps/x86_64/wcslen.S: New file.
36780 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
36782         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36783         XMM-moves are used for copying on small sizes.
36785 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36787         * wcsmbs/Makefile (strop-tests): Add wcschr.
36788         * wcsmbs/test-wcschr.c: New file.
36789         * string/test-strchr.c: Update.
36790         Add wcschr support.
36791         (WIDE): New macro.
36793 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36795         * wcsmbs/Makefile (strop-tests): Add wcslen.
36796         * wcsmbs/test-wcslen.c: New file.
36797         * string/test-strlen.c: Update.
36798         Add wcslen support.
36799         (WIDE): New macro.
36801 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36803         * po/it.po: Update from translation team.
36805 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36807         * sysdeps/x86_64/wcscmp.S: Update.
36808         Fix wrong comparison semantics.
36809         wcscmp shall use signed comparison not unsigned.
36810         Don't use substraction to avoid overflow bug.
36811         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36812         * wcsmbc/wcscmp.c: Likewise.
36813         * string/test-strcmp.c: Likewise.
36814         Add new tests to check cases with negative values.
36816 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36818         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36819         * sysdeps/x86_64/dla.h: ...here.  New file.
36820         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36821         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36822         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36823         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36824         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36825         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36826         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36827         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36828         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36830 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
36832         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36833         __ynl_finite aliases.
36835 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36839         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36840         define DLA_FMA.
36841         [DLA_FMA] (EMULV): Use DLA_FMA.
36842         [DLA_FMA] (MUL12): Use EMULV.
36843         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36844         that are not needed.
36845         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36846         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36847         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36848         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36849         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36850         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36851         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36853 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
36855         * math/s_nan.c: Undef __nan.
36856         * math/s_nanf.c: Undef __nanf.
36857         * math/s_nanl.c: Undef __nanl.
36858         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36859         "math_private.h".
36861 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36863         * math/s_catan.c: Add branch predictions.
36864         * math/s_catanf.c: Likewise.
36865         * math/s_catanh.c: Likewise.
36866         * math/s_catanhf.c: Likewise.
36867         * math/s_catanhl.c: Likewise.
36868         * math/s_catanl.c: Likewise.
36869         * math/s_cexp.c: Likewise.
36870         * math/s_cexpf.c: Likewise.
36871         * math/s_cexpl.c: Likewise.
36872         * math/s_clog.c: Likewise.
36873         * math/s_clog10.c: Likewise.
36874         * math/s_clog10f.c: Likewise.
36875         * math/s_clog10l.c: Likewise.
36876         * math/s_clogf.c: Likewise.
36877         * math/s_clogl.c: Likewise.
36878         * math/s_csqrt.c: Likewise.
36879         * math/s_csqrtf.c: Likewise.
36880         * math/s_csqrtl.c: Likewise.
36881         * math/s_ctanf.c: Likewise.
36882         * math/s_ctanh.c: Likewise.
36883         * math/s_ctanhf.c: Likewise.
36884         * math/s_ctanhl.c: Likewise.
36885         * math/s_ctanl.c: Likewise.
36887         * math/math_private.h: Define __nan, __nanf, __nanl.
36888         * math/s_cacosh.c: Include <math_private.h>.
36889         * math/s_cacoshl.c: Likewise.
36890         * math/s_casinh.c: Likewise.
36891         * math/s_casinhf.c: Likewise.
36892         * math/s_casinhl.c: Likewise.
36893         * math/s_ccos.c: Rely entire on ccosh.
36894         * math/s_ccosf.c: Rely entire on ccoshf.
36895         * math/s_ccosl.c: Rely entirely on ccoshl.
36896         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
36897         Remove tests for FE_INVALID.
36898         * math/s_ccoshf.c: Likewise.
36899         * math/s_ccoshl.c: Likewise.
36900         * math/s_csin.c: Likewise.
36901         * math/s_csinf.c: Likewise.
36902         * math/s_csinh.c Likewise.
36903         * math/s_csinhf.c: Likewise.
36904         * math/s_csinhl.c: Likewise.
36905         * math/s_csinl.c: Likewise.
36906         * math/s_ctan.c: Likewise.
36907         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36908         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36909         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36911 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
36913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36914         compilation problems.
36916         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36917         __builtin_expect.
36919 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
36921         * sysdeps/i386/configure.in: Test for -mfma4 option.
36922         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36923         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36924         COMMON_CPUID_INDEX_80000001.
36925         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36926         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36927         use it if FMA3 is not supported.
36928         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36930         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36931         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36933 2011-10-20  Andreas Schwab  <schwab@redhat.com>
36935         [BZ #12892]
36936         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36937         it would create a cycle with a link time dependency.
36939 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
36941         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36942         instruction.
36943         * string/Makefile (strop-tests): Add rawmemchr.
36944         * string/test-rawmemchr.c: New file.
36946         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36947         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
36948         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
36949         when compiling str{,n}casecmp and when AVX is available.  Hook up
36950         new optimized code in initializers.
36952 2011-10-19  Andreas Schwab  <schwab@redhat.com>
36954         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36955         __feraiseexcept instead of feraiseexcept.
36957 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
36959         * math/math_private.h: Define defaults for libc_fetestexcept and
36960         libc_feupdateenv.
36961         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36962         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36963         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36964         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36965         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36966         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36967         libc_fetestexcept and libc_feupdateenv.
36969         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36970         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36971         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36972         * sysdeps/x86_64/fpu/math_private.h: Define special version of
36973         libc_feholdexcept_setround.
36975         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36976         Add s_nearbyint-c and s_nearbyintf-c.
36977         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36978         nearbyintf inlines.
36979         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36980         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36981         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36982         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36984         * math/math_private.h: Define defaults for libc_fegetround,
36985         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36986         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36987         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36988         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36989         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36990         standard functions.
36991         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36992         Remove comments and hacks for old compiler versions.
36993         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36994         libc_fegetround, libc_fesetround, libc_feholdexcept, and
36995         libc_feholdexceptl.
36997 2011-10-18  Andreas Schwab  <schwab@redhat.com>
36999         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37000         (__feraiseexcept_renamed): Add __NTH.
37001         (feraiseexcept): Add __NTH.  Rename local variables to fix
37002         namespace violations.
37004 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
37006         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37008         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37010         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37011         recently added interfaces.
37012         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37014         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37015         about macro parameter expansion.
37017         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37018         __NO_MATH_INLINES is defined.  Cleanups.
37020         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37021         and __floorf is target has SSE4.1.
37022         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37023         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37024         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37025         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37027         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37028         name.
37029         (floorf): Likewise.
37031         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37033 2011-10-17  Andreas Schwab  <schwab@redhat.com>
37035         * misc/sys/cdefs.h: Fix last change.
37037         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37038         database lookup.
37040 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
37042         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37044         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37045         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37046         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37047         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37048         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37049         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37050         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37051         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37052         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37053         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37054         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37055         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37056         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37057         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37058         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37059         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37060         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37061         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37062         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37063         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37064         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37065         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37067         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37068         ceil, ceilf, floor, floorf.
37070         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37071         Perform IRELATIVE relocations last.
37073         * elf/do-rel.h: Add another parameter nrelative, replacing the
37074         local variable with the same name.  Change name of the function
37075         to end in Rel or Rela (uppercase).
37076         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37077         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
37078         elf_dynamic_do_##reloc function.
37080 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37082         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37083         is sufficient, at least on modern CPUs.
37085         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37087         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37088         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37090         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37091         __expl_finite.
37092         * math/bits/math-finite.h: Add entries for exp.
37093         * math/e_expl.c: Add __*_finite alias.
37094         * sysdeps/i386/fpu/e_exp.S: Likewise.
37095         * sysdeps/i386/fpu/e_expf.S: Likewise.
37096         * sysdeps/i386/fpu/e_expl.c: Likewise.
37097         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37098         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37099         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37100         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37101         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37102         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37103         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37105         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37106         is sufficient, at least on modern CPUs.
37108         * ctype/ctype-info.c (__ctype_init): Define.
37109         * include/ctype.h (__ctype_init): Declare.
37110         (__ctype_b_loc): The variable is always initialized.
37111         (__ctype_toupper_loc): Likewise.
37112         (__ctype_tolower_loc): Likewise.
37113         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37114         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37116 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
37118         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37120         * configure.in: Also look in $cxxmachine/include for C++ system
37121         headers.
37123 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37125         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37126         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37127         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37128         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
37129         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37130         (USE_AS_WMEMCMP): New macro.
37131         Fixing indents.
37132         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37133         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37134         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37135         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37137         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37138         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37139         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37140         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37141         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37142         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37143         (USE_AS_WMEMCMP): New macro.
37144         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37145         * sysdeps/string/test-memcmp.c: Update.
37146         Fix simple_wmemcmp.
37147         Add new tests.
37148         * wcsmbs/wmemcmp.c: Update.
37149         (WMEMCMP): New macro.
37150         Fix overflow bug.
37152 2011-10-12  Andreas Jaeger  <aj@suse.de>
37154         [BZ #13268]
37155         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37157 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
37159         * libio/iofwide.c (do_length): Avoid warning.
37161         * ctype/ctype.h (__isctype_f): Add missing __THROW.
37163 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
37165         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37167         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37168         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37169         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37170         * sysdeps/i386/i686/fpu/e_log.S: New file.
37171         * sysdeps/i386/i686/fpu/e_logf.S: New file.
37172         * sysdeps/i386/i686/fpu/e_logl.S: New file.
37174         * ctype/ctype.h: Add support for inlined isXXX functions when
37175         compiling C++ code.
37177 2011-10-14  Andreas Schwab  <schwab@redhat.com>
37179         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37181         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37183 2011-10-13  Roland McGrath  <roland@hack.frob.com>
37185         [BZ #13291]
37186         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37188 2011-10-13  Andreas Schwab  <schwab@redhat.com>
37190         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37191         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37192         feraiseexcept.
37194         * sysdeps/x86_64/memrchr.S: Check for zero size.
37196         * string/stratcliff.c: Add memrchr tests.
37198 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37200         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37201         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37202         rawmemchr-sse2 rawmemchr-sse2-bsf.
37203         * sysdeps/i386/i686/multiarch/memchr.S: New file.
37204         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37205         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37206         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37207         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37208         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37209         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37210         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37211         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37212         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37213         * string/memrchr.c (MEMRCHR): New macro.
37215 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
37217         Add integration with gcc's -ffinite-math-only and optimize wrapper
37218         functions in libm.
37219         * Versions.def: Define GLIBC_2.15 version for libm.
37220         * math/Makefile (headers): Add bits/math-finite.h.
37221         * math/bits/math-finite.h: New file.
37222         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37223         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37224         * math/e_acoshl.c: Add __*_finite alias.
37225         * math/e_acosl.c: Likewise.
37226         * math/e_asinl.c: Likewise.
37227         * math/e_atan2l.c: Likewise.
37228         * math/e_atanhl.c: Likewise.
37229         * math/e_coshl.c: Likewise.
37230         * math/e_exp10.c: Likewise.
37231         * math/e_exp10f.c: Likewise.
37232         * math/e_exp10l.c: Likewise.
37233         * math/e_exp2l.c: Likewise.
37234         * math/e_fmodl.c: Likewise.
37235         * math/e_gammal_r.c: Likewise.
37236         * math/e_hypotl.c: Likewise.
37237         * math/e_j0l.c: Likewise.
37238         * math/e_j1l.c: Likewise.
37239         * math/e_jnl.c: Likewise.
37240         * math/e_lgammal_r.c: Likewise.
37241         * math/e_log10l.c: Likewise.
37242         * math/e_log2l.c: Likewise.
37243         * math/e_logl.c: Likewise.
37244         * math/e_powl.c: Likewise.
37245         * math/e_sinhl.c: Likewise.
37246         * math/e_sqrtl.c: Likewise.
37247         * math/e_scalb.c: Completely rewritten and optimized.
37248         * math/e_scalbf.c: Likewise.
37249         * math/e_scalbl.c: Likewise.
37250         * math/w_acos.c: Likewise.
37251         * math/w_acosf.c: Likewise.
37252         * math/w_acosl.c: Likewise.
37253         * math/w_acosh.c: Likewise.
37254         * math/w_acoshf.c: Likewise.
37255         * math/w_acoshl.c: Likewise.
37256         * math/w_asin.c: Likewise.
37257         * math/w_asinf.c: Likewise.
37258         * math/w_asinl.c: Likewise.
37259         * math/w_atan2.c: Likewise.
37260         * math/w_atan2f.c: Likewise.
37261         * math/w_atan2l.c: Likewise.
37262         * math/w_atanh.c: Likewise.
37263         * math/w_atanhf.c: Likewise.
37264         * math/w_atanhl.c: Likewise.
37265         * math/w_exp10.c: Likewise.
37266         * math/w_exp10f.c: Likewise.
37267         * math/w_exp10l.c: Likewise.
37268         * math/w_fmod.c: Likewise.
37269         * math/w_fmodf.c: Likewise.
37270         * math/w_fmodl.c: Likewise.
37271         * math/w_j0.c: Likewise.
37272         * math/w_j0f.c: Likewise.
37273         * math/w_j0l.c: Likewise.
37274         * math/w_j1.c: Likewise.
37275         * math/w_j1f.c: Likewise.
37276         * math/w_j1l.c: Likewise.
37277         * math/w_jn.c: Likewise.
37278         * math/w_jnf.c: Likewise.
37279         * math/w_log.c: Likewise.
37280         * math/w_logf.c: Likewise.
37281         * math/w_logl.c: Likewise.
37282         * math/w_log10.c: Likewise.
37283         * math/w_log10f.c: Likewise.
37284         * math/w_log10l.c: Likewise.
37285         * math/w_log2.c: Likewise.
37286         * math/w_log2f.c: Likewise.
37287         * math/w_log2l.c: Likewise.
37288         * math/w_pow.c: Likewise.
37289         * math/w_powf.c: Likewise.
37290         * math/w_powl.c: Likewise.
37291         * math/w_remainder.c: Likewise.
37292         * math/w_remainderf.c: Likewise.
37293         * math/w_remainderl.c: Likewise.
37294         * math/w_scalb.c: Likewise.
37295         * math/w_scalbf.c: Likewise.
37296         * math/w_scalbl.c: Likewise.
37297         * math/w_sqrt.c: Likewise.
37298         * math/w_sqrtf.c: Likewise.
37299         * math/w_sqrtl.c: Likewise.
37300         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37301         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
37302         used.
37303         * math/math_private.h: Declare __kernel_standard_f.
37304         * math/w_cosh.c: Remove cruft and optimize a bit.
37305         * math/w_coshf.c: Likewise.
37306         * math/w_coshl.c: Likewise.
37307         * math/w_exp2.c: Likewise.
37308         * math/w_exp2f.c: Likewise.
37309         * math/w_exp2l.c: Likewise.
37310         * math/w_hypot.c: Likewise.
37311         * math/w_hypotf.c: Likewise.
37312         * math/w_hypotl.c: Likewise.
37313         * math/w_lgamma.c: Likewise.
37314         * math/w_lgamma_r.c: Likewise.
37315         * math/w_lgammaf.c: Likewise.
37316         * math/w_lgammaf_r.c: Likewise.
37317         * math/w_lgammal.c: Likewise.
37318         * math/w_lgammal_r.c: Likewise.
37319         * math/w_sinh.c: Likewise.
37320         * math/w_sinhf.c: Likewise.
37321         * math/w_sinhl.c: Likewise.
37322         * math/w_tgamma.c: Likewise.
37323         * math/w_tgammaf.c: Likewise.
37324         * math/w_tgammal.c: Likewise.
37325         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37326         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37327         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37328         Minor optimizations.  Pretty printing.  Remove cruft.
37329         * sysdeps/i386/fpu/e_acosf.S: Likewise.
37330         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37331         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37332         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37333         * sysdeps/i386/fpu/e_acosl.c: Likewise.
37334         * sysdeps/i386/fpu/e_asin.S: Likewise.
37335         * sysdeps/i386/fpu/e_asinf.S: Likewise.
37336         * sysdeps/i386/fpu/e_atan2.S: Likewise.
37337         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37338         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37339         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37340         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37341         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37342         * sysdeps/i386/fpu/e_exp10.S: Likewise.
37343         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37344         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37345         * sysdeps/i386/fpu/e_exp2.S: Likewise.
37346         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37347         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37348         * sysdeps/i386/fpu/e_fmod.S: Likewise.
37349         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37350         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37351         * sysdeps/i386/fpu/e_hypot.S: Likewise.
37352         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37353         * sysdeps/i386/fpu/e_log.S: Likewise.
37354         * sysdeps/i386/fpu/e_log10.S: Likewise.
37355         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37356         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37357         * sysdeps/i386/fpu/e_log2.S: Likewise.
37358         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37359         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37360         * sysdeps/i386/fpu/e_logf.S: Likewise.
37361         * sysdeps/i386/fpu/e_logl.S: Likewise.
37362         * sysdeps/i386/fpu/e_pow.S: Likewise.
37363         * sysdeps/i386/fpu/e_powf.S: Likewise.
37364         * sysdeps/i386/fpu/e_powl.S: Likewise.
37365         * sysdeps/i386/fpu/e_remainder.S: Likewise.
37366         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37367         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37368         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37369         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37370         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37371         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37372         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37373         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37374         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37375         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37376         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37377         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37378         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37379         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37380         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37381         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37382         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37383         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37384         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37385         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37387         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37388         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37390         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37391         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37392         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37393         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37394         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37395         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37396         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37397         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37398         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37399         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37400         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37401         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37402         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37403         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37404         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37405         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37406         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37407         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37408         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37409         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37410         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37411         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37412         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37413         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37414         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37415         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37416         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37417         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37418         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37419         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37420         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37421         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37422         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37423         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37424         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37425         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37426         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37427         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37428         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37429         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37430         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37431         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37432         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37433         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37434         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37435         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37436         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37437         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37438         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37439         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37440         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37441         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37442         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37443         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37444         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37445         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37446         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37447         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37448         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37449         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37450         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37451         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37452         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37453         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37454         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37455         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37456         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37457         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37458         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37459         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37460         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37461         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37462         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37463         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37464         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37465         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37466         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37467         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37468         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37469         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37470         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37471         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37472         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37473         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37474         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37475         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37476         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37477         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37478         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37479         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37480         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37481         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37482         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37483         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37484         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
37485         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37486         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37487         (__isnanf): Likewise.
37488         (__isinf_ns): Likewise.
37489         (__isinf_nsf): Likewise.
37490         (__finite): Likewise.
37491         (__finitef): Likewise.
37492         (__ieee754_sqrt): Define as macro.
37493         (__ieee754_sqrtf): Define as macro.
37494         (__ieee754_sqrtl): Define as macro.
37495         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37496         inlined copy.
37497         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37498         __FINITE_MATH_ONLY__ consistent.
37499         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37501 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
37503         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37504         of rawmemchr.
37506         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37508 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
37510         * po/ja.po: Update from translation team.
37512 2011-10-08  Roland McGrath  <roland@hack.frob.com>
37514         * locale/programs/locarchive.c (prepare_address_space): New function.
37515         (create_archive, enlarge_archive, open_archive): Use it.
37517         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37518         inside [SHARED], where it is used.
37520         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37522         * nss/getent.c (netgroup_keys): Remove unused variable.
37523         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37525 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
37527         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37528         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37529         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37530         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37531         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37532         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37533         * math/Makefile (libm-calls): Add s_isinf_ns.
37534         * math/divtc3.c: Use __isinf_nsl instead of isinf.
37535         * math/multc3.c: Likewise.
37536         * math/s_casin.c: Likewise.
37537         * math/s_casinf.c: Likewise.
37538         * math/s_casinl.c: Likewise.
37539         * math/s_ccos.c: Likewise.
37540         * math/s_ccosf.c: Likewise.
37541         * math/s_ccosl.c: Likewise.
37542         * math/s_ctan.c: Likewise.
37543         * math/s_ctanf.c: Likewise.
37544         * math/s_ctanh.c: Likewise.
37545         * math/s_ctanhf.c: Likewise.
37546         * math/s_ctanhl.c: Likewise.
37547         * math/s_ctanl.c: Likewise.
37548         * math/w_fmod.c: Likewise.
37549         * math/w_fmodf.c: Likewise.
37550         * math/w_fmodl.c: Likewise.
37551         * math/w_remainder.c: Likewise.
37552         * math/w_remainderf.c: Likewise.
37553         * math/w_remainderl.c: Likewise.
37554         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37555         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37556         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37557         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37558         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37559         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37560         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37561         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37563         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37564         of the number.
37565         * stdio-common/printf_fphex.c: Likewise.
37566         * stdio-common/printf_size.c: Likewise.
37568         * math/e_exp10.c: Include math_private.h using <...> not "...".
37569         * math/e_exp10f.c: Likewise.
37570         * math/e_exp10l.c: Likewise.
37571         * math/e_exp2l.c: Likewise.
37572         * math/e_j0l.c: Likewise.
37573         * math/e_j1l.c: Likewise.
37574         * math/e_jnl.c: Likewise.
37575         * math/e_lgammal_r.c: Likewise.
37576         * math/e_rem_pio2l.c: Likewise.
37577         * math/e_scalb.c: Likewise.
37578         * math/e_scalbf.c: Likewise.
37579         * math/e_scalbl.c: Likewise.
37580         * math/k_cosl.c: Likewise.
37581         * math/k_sinl.c: Likewise.
37582         * math/k_tanl.c: Likewise.
37583         * math/s_cacoshf.c: Likewise.
37584         * math/s_catan.c: Likewise.
37585         * math/s_catanf.c: Likewise.
37586         * math/s_catanh.c: Likewise.
37587         * math/s_catanhf.c: Likewise.
37588         * math/s_catanhl.c: Likewise.
37589         * math/s_catanl.c: Likewise.
37590         * math/s_ccosh.c: Likewise.
37591         * math/s_ccoshf.c: Likewise.
37592         * math/s_ccoshl.c: Likewise.
37593         * math/s_cexp.c: Likewise.
37594         * math/s_cexpf.c: Likewise.
37595         * math/s_cexpl.c: Likewise.
37596         * math/s_clog.c: Likewise.
37597         * math/s_clog10.c: Likewise.
37598         * math/s_clog10f.c: Likewise.
37599         * math/s_clog10l.c: Likewise.
37600         * math/s_clogf.c: Likewise.
37601         * math/s_clogl.c: Likewise.
37602         * math/s_csin.c: Likewise.
37603         * math/s_csinf.c: Likewise.
37604         * math/s_csinh.c: Likewise.
37605         * math/s_csinhf.c: Likewise.
37606         * math/s_csinhl.c: Likewise.
37607         * math/s_csinl.c: Likewise.
37608         * math/s_csqrt.c: Likewise.
37609         * math/s_csqrtf.c: Likewise.
37610         * math/s_csqrtl.c: Likewise.
37611         * math/s_ctan.c: Likewise.
37612         * math/s_ctanf.c: Likewise.
37613         * math/s_ctanh.c: Likewise.
37614         * math/s_ctanhf.c: Likewise.
37615         * math/s_ctanhl.c: Likewise.
37616         * math/s_ctanl.c: Likewise.
37617         * math/s_ldexp.c: Likewise.
37618         * math/s_ldexpf.c: Likewise.
37619         * math/s_ldexpl.c: Likewise.
37620         * math/s_significand.c: Likewise.
37621         * math/s_significandf.c: Likewise.
37622         * math/s_significandl.c: Likewise.
37623         * math/w_acos.c: Likewise.
37624         * math/w_acosf.c: Likewise.
37625         * math/w_acosh.c: Likewise.
37626         * math/w_acoshf.c: Likewise.
37627         * math/w_acoshl.c: Likewise.
37628         * math/w_acosl.c: Likewise.
37629         * math/w_asin.c: Likewise.
37630         * math/w_asinf.c: Likewise.
37631         * math/w_asinl.c: Likewise.
37632         * math/w_atan2.c: Likewise.
37633         * math/w_atan2f.c: Likewise.
37634         * math/w_atan2l.c: Likewise.
37635         * math/w_atanh.c: Likewise.
37636         * math/w_atanhf.c: Likewise.
37637         * math/w_atanhl.c: Likewise.
37638         * math/w_cosh.c: Likewise.
37639         * math/w_coshf.c: Likewise.
37640         * math/w_coshl.c: Likewise.
37641         * math/w_dremf.c: Likewise.
37642         * math/w_exp10.c: Likewise.
37643         * math/w_exp10f.c: Likewise.
37644         * math/w_exp10l.c: Likewise.
37645         * math/w_exp2.c: Likewise.
37646         * math/w_exp2f.c: Likewise.
37647         * math/w_fmod.c: Likewise.
37648         * math/w_fmodf.c: Likewise.
37649         * math/w_fmodl.c: Likewise.
37650         * math/w_hypot.c: Likewise.
37651         * math/w_hypotf.c: Likewise.
37652         * math/w_hypotl.c: Likewise.
37653         * math/w_j0.c: Likewise.
37654         * math/w_j0f.c: Likewise.
37655         * math/w_j0l.c: Likewise.
37656         * math/w_j1.c: Likewise.
37657         * math/w_j1f.c: Likewise.
37658         * math/w_j1l.c: Likewise.
37659         * math/w_jn.c: Likewise.
37660         * math/w_jnf.c: Likewise.
37661         * math/w_jnl.c: Likewise.
37662         * math/w_lgamma.c: Likewise.
37663         * math/w_lgamma_r.c: Likewise.
37664         * math/w_lgammaf.c: Likewise.
37665         * math/w_lgammaf_r.c: Likewise.
37666         * math/w_lgammal.c: Likewise.
37667         * math/w_lgammal_r.c: Likewise.
37668         * math/w_log.c: Likewise.
37669         * math/w_log10.c: Likewise.
37670         * math/w_log10f.c: Likewise.
37671         * math/w_log10l.c: Likewise.
37672         * math/w_log2.c: Likewise.
37673         * math/w_log2f.c: Likewise.
37674         * math/w_log2l.c: Likewise.
37675         * math/w_logf.c: Likewise.
37676         * math/w_logl.c: Likewise.
37677         * math/w_pow.c: Likewise.
37678         * math/w_powf.c: Likewise.
37679         * math/w_powl.c: Likewise.
37680         * math/w_remainder.c: Likewise.
37681         * math/w_remainderf.c: Likewise.
37682         * math/w_remainderl.c: Likewise.
37683         * math/w_scalb.c: Likewise.
37684         * math/w_scalbf.c: Likewise.
37685         * math/w_scalbl.c: Likewise.
37686         * math/w_sinh.c: Likewise.
37687         * math/w_sinhf.c: Likewise.
37688         * math/w_sinhl.c: Likewise.
37689         * math/w_sqrt.c: Likewise.
37690         * math/w_sqrtf.c: Likewise.
37691         * math/w_sqrtl.c: Likewise.
37692         * math/w_tgamma.c: Likewise.
37693         * math/w_tgammaf.c: Likewise.
37694         * math/w_tgammal.c: Likewise.
37696         * po/ja.po: Update from translation team.
37698 2011-09-29  Andreas Jaeger  <aj@suse.de>
37700         [BZ #13179]
37701         * sunrpc/netname.c (netname2host): Fix logic.
37703         [BZ #6779]
37704         [BZ #6783]
37705         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37706         correctly.
37707         * math/w_remainder.c (__remainder): Likewise.
37708         * math/w_remainderf.c (__remainderf): Likewise.
37709         * math/libm-test.inc (remainder_test): Add test cases.
37711 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37713         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
37714         sdiv_qrnnd.
37716 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37718         * string/test-memcmp.c: Avoid unncessary #defines.
37719         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37721 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37723         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37724         Use new sse2 version for core i3 - i7 as it's faster
37725         than sse42 version.
37726         (bit_Prefer_PMINUB_for_stringop): New.
37727         * sysdeps/x86_64/rawmemchr.S: Update.
37728         Replace with faster SSE2 version.
37729         * sysdeps/x86_64/memrchr.S: New file.
37730         * sysdeps/x86_64/memchr.S: Update.
37731         Replace with faster SSE2 version.
37733 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
37735         * elf/dl-load.c (lose): Add cast to avoid warning.
37737 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37739         * po/ca.po: Update from translation team.
37741         * inet/getnetgrent_r.c: Hook up nscd.
37742         * nscd/Makefile (routines): Add nscd_netgroup.
37743         (nscd-modules): Add netgroupcache.
37744         (CFLAGS-netgroupcache.c): Define.
37745         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37746         (cache_search): Add const to second parameter.
37747         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37748         INNETGR.
37749         (dbs): Add netgrdb entry.
37750         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37751         (verify_persistent_db): Handle netgrdb.
37752         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37753         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37754         GETFDNETGR.
37755         (netgroup_response_header): Define.
37756         (innetgroup_response_header): Define.
37757         (datahead): Add netgroup_response_header and innetgroup_response_header
37758         elements.
37759         * nscd/nscd.conf: Add entries for netgroup cache.
37760         * nscd/nscd.h (dbtype): Add netgrdb.
37761         (_PATH_NSCD_NETGROUP_DB): Define.
37762         (netgroup_iov_disabled): Declare.
37763         (xmalloc, xcalloc, xrealloc): Move declarations here.
37764         (cache_search): Adjust prototype.
37765         Add netgroup-related prototypes.
37766         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37767         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37768         (__nscd_innetgr): Declare.
37769         * nscd/selinux.c (perms): Use access_vector_t as element type and
37770         add netgroup-related initializers.
37771         * nscd/netgroupcache.c: New file.
37772         * nscd/nscd_netgroup.c: New file.
37773         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37774         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37775         For four parameters use innetgr.
37776         * nss/nss_files/files-init.c: Add definition and callback for netgr.
37777         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37778         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37779         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37781         * nscd/connections.c (register_traced_file): Don't register file
37782         for disabled databases.
37784 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
37786         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37788         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37789         from tree and freeing node.
37791 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
37793         * nss/nsswitch.c (__nss_database_lookup): Handle
37794         nss_parse_service_list out of memory case.
37796 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
37798         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37799         out of memory case.
37801 2011-10-04  Andreas Schwab  <schwab@redhat.com>
37803         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37804         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37805         pass it down.
37806         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37807         elf_machine_rela, elf_machine_lazy_rel.
37808         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37809         (ELF_DYNAMIC_DO_REL): Likewise.
37810         (ELF_DYNAMIC_DO_RELA): Likewise.
37811         (ELF_DYNAMIC_RELOCATE): Likewise.
37812         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37813         to ELF_DYNAMIC_DO_REL.
37814         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37815         (dl_main): In trace mode always set __RTLD_NOIFUNC.
37816         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37817         elf_machine_rela.
37818         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37819         skip_ifunc, don't call ifunc function if non-zero.
37820         (elf_machine_rela): Likewise.
37821         (elf_machine_lazy_rel): Likewise.
37822         (elf_machine_lazy_rela): Likewise.
37823         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37824         (elf_machine_lazy_rel): Likewise.
37825         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37826         Likewise.
37827         (elf_machine_lazy_rel): Likewise.
37828         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37829         Likewise.
37830         (elf_machine_lazy_rel): Likewise.
37831         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37832         (elf_machine_lazy_rel): Likewise.
37833         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37834         (elf_machine_lazy_rel): Likewise.
37835         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37836         (elf_machine_lazy_rel): Likewise.
37837         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37838         (elf_machine_lazy_rel): Likewise.
37839         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37840         (elf_machine_lazy_rel): Likewise.
37841         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37842         (elf_machine_lazy_rel): Likewise.
37844 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
37846         * nss/nss_files/files-init.c (_nss_files_init): Use static
37847         initialization for all the *_traced_file variables.
37849 2011-09-28  Andreas Schwab  <schwab@redhat.com>
37851         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37853 2011-09-27  Roland McGrath  <roland@hack.frob.com>
37855         [BZ #13226]
37856         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37858 2011-09-27  Andreas Schwab  <schwab@redhat.com>
37860         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37861         Reread the line before reparsing it.
37863 2011-09-26  Andreas Schwab  <schwab@redhat.com>
37865         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37867 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
37868             Maxim Kuvyrkov  <maxim@codesourcery.com>
37869             Joseph Myers  <joseph@codesourcery.com>
37871         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37872         if needed for __stack_chk_guard.
37874 2011-09-19  Roland McGrath  <roland@hack.frob.com>
37876         * sysdeps/posix/spawni.c (script_execute): Always define it.
37877         It will be optimized away if unused.
37878         (maybe_script_execute): New function.
37879         (__spawni): Call it.
37881         * Makerules: Don't include tls.make.
37882         (config-tls): Always set to thread.
37883         * tls.make.c: File removed.
37885 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
37887         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37888         * config.make.in (CPPFLAGS-config): New substituted variable.
37890 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37892         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37894         [BZ #13192]
37895         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37896         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37898 2011-09-15  Roland McGrath  <roland@hack.frob.com>
37900         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37901         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37902         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37903         (CALL_FAIL): Likewise.
37904         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37905         (CALL_FAIL): Macro removed.
37906         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37908 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37910         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37911         for __FINITE_MATH_ONLY__ == 1.
37913 2011-09-15  Andreas Schwab  <schwab@redhat.com>
37915         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37916         __ieee754_sqrt instead of sqrt.
37917         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37918         __ieee754_sqrtf instead of sqrtf.
37919         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37920         __floorf instead of floorf.
37921         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37922         __floorf, __truncf instead of floorf, truncf.
37924 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
37926         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37928         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37929         __extern_always_inline.
37930         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37931         32-bit.
37933 2011-09-14  Andreas Schwab  <schwab@redhat.com>
37935         * elf/rtld.c (dl_main): Also relocate in dependency order when
37936         doing symbol dependency testing.
37938 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
37940         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37941         Always define `refsym'.
37943 2011-09-13  Andreas Schwab  <schwab@redhat.com>
37945         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37946         (__FD_ELT): Renamed from __FDELT.
37947         * misc/bits/select2.h (__FD_ELT): Likewise.
37948         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37949         __FD_MASK instead of __FDELT, __FDMASK.
37950         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37951         Likewise.
37952         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37953         Likewise.
37955         * elf/Makefile (gen-ldd): Fix pattern.
37957         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37958         (init_tls): Likewise.
37960 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
37962         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37964 2011-09-12  Andreas Schwab  <schwab@redhat.com>
37966         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37967         `struct cmsghdr *' instead of `void *'.
37968         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37969         Likewise.
37971 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
37973         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37974         if non-absolute.
37975         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37976         ldd_rewrite_script.
37978 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
37980         * configure.in: Remove --with-tls option.
37981         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37982         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37983         out in case it is missing.
37984         * sysdeps/ia64/elf/configure.in: Likewise.
37985         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37986         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37987         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37988         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37989         * sysdeps/sh/elf/configure.in: Likewise.
37990         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37991         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37992         * sysdeps/x86_64/elf/configure.in: Likewise.
37993         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37994         * sysdeps/mach/hurd/tls.h: Likewise.
37996         [BZ #13067]
37997         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37999         [BZ #13090]
38000         * configure.in: Fix use of AC_INIT.
38002         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38004 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
38006         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38007         __set_errno.
38008         * malloc/hooks.c: Likewise.
38010         [BZ #11929]
38011         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
38012         variables statically.
38013         (narenas): Initialize.
38014         (list_lock): Initialize.
38015         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
38016         initializtion of main_arena and list_lock.  Small cleanups.
38017         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38018         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
38019         Add initializers to main_arena and mp_.
38020         (malloc_state): Remove pagesize member.  Change all users to use
38021         GLRO(dl_pagesize).
38023         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38024         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
38025         is always initialized.
38027         * malloc/malloc.c: Removed unused configurations and dead code.
38028         * malloc/arena.c: Likewise.
38029         * malloc/hooks.c: Likewise.
38030         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38032         * include/tls.h: Removed.  USE___THREAD must always be defined.
38033         * bits/libc-tsd.h: Don't handle !USE___THREAD.
38034         * elf/dl-libc.c: Likewise.
38035         * elf/dl-tsd.c: Likewise.
38036         * include/errno.h: Likewise.
38037         * include/netdb.h: Likewise.
38038         * include/resolv.h: Likewise.
38039         * inet/herrno-loc.c: Likewise.
38040         * inet/herrno.c: Likewise.
38041         * malloc/arena.c: Likewise.
38042         * malloc/hooks.c: Likewise.
38043         * malloc/malloc.c: Likewise.
38044         * resolv/res-state.c: Likewise.
38045         * resolv/res_libc.c: Likewise.
38046         * sysdeps/i386/dl-machine.h: Likewise.
38047         * sysdeps/ia64/dl-machine.h: Likewise.
38048         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38049         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38050         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38051         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38052         * sysdeps/sh/dl-machine.h: Likewise.
38053         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38054         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38055         * sysdeps/unix/i386/sysdep.S: Likewise.
38056         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38057         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38058         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38059         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38060         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38062         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38063         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38066         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38067         * sysdeps/x86_64/dl-machine.h: Likewise.
38068         * tls.make.c: Likewise.
38070         * configure.in: Remove --with-__thread option.  Make tests for
38071         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38072         tls_model attribute fail if no support is available.  Remove
38073         USE_IN_LIBIO.
38074         * Makeconfig: Adjust for dropped configure option.  All features are
38075         now mandatory.
38076         * Makerules: Likewise.
38077         * Versions.def: Likewise.
38078         * argp/argp-fmtstream.c: Likewise.
38079         * argp/argp-fmtstream.h: Likewise.
38080         * argp/argp-help.c: Likewise.
38081         * assert/assert.c: Likewise.
38082         * config.h.in: Likewise.
38083         * config.make.in: Likewise.
38084         * configure: Likewise.
38085         * configure.in: Likewise.
38086         * csu/Versions: Likewise.
38087         * csu/init.c: Likewise.
38088         * elf/tst-audit2.c: Likewise.
38089         * elf/tst-tls10.c: Likewise.
38090         * elf/tst-tls10.h: Likewise.
38091         * elf/tst-tls11.c: Likewise.
38092         * elf/tst-tls12.c: Likewise.
38093         * elf/tst-tls14.c: Likewise.
38094         * elf/tst-tlsmod11.c: Likewise.
38095         * elf/tst-tlsmod12.c: Likewise.
38096         * elf/tst-tlsmod13.c: Likewise.
38097         * elf/tst-tlsmod13a.c: Likewise.
38098         * elf/tst-tlsmod14a.c: Likewise.
38099         * elf/tst-tlsmod15b.c: Likewise.
38100         * elf/tst-tlsmod16a.c: Likewise.
38101         * elf/tst-tlsmod16b.c: Likewise.
38102         * elf/tst-tlsmod7.c: Likewise.
38103         * elf/tst-tlsmod8.c: Likewise.
38104         * elf/tst-tlsmod9.c: Likewise.
38105         * gmon/gmon.c: Likewise.
38106         * grp/fgetgrent_r.c: Likewise.
38107         * grp/putgrent.c: Likewise.
38108         * hurd/fopenport.c: Likewise.
38109         * include/libc-symbols.h: Likewise.
38110         * include/tls.h: Likewise.
38111         * intl/gettextP.h: Likewise.
38112         * intl/loadinfo.h: Likewise.
38113         * locale/global-locale.c: Likewise.
38114         * locale/localeinfo.h: Likewise.
38115         * mach/devstream.c: Likewise.
38116         * malloc/arena.c: Likewise.
38117         * malloc/set-freeres.c: Likewise.
38118         * misc/err.c: Likewise.
38119         * misc/getttyent.c: Likewise.
38120         * misc/mntent_r.c: Likewise.
38121         * posix/getopt.c: Likewise.
38122         * posix/wordexp.c: Likewise.
38123         * pwd/fgetpwent_r.c: Likewise.
38124         * resolv/Versions: Likewise.
38125         * resolv/res_hconf.c: Likewise.
38126         * shadow/fgetspent_r.c: Likewise.
38127         * shadow/putspent.c: Likewise.
38128         * stdio-common/printf_fphex.c: Likewise.
38129         * stdio-common/tmpfile.c: Likewise.
38130         * stdlib/abort.c: Likewise.
38131         * stdlib/fmtmsg.c: Likewise.
38132         * sunrpc/auth_unix.c: Likewise.
38133         * sunrpc/clnt_perr.c: Likewise.
38134         * sunrpc/clnt_tcp.c: Likewise.
38135         * sunrpc/clnt_udp.c: Likewise.
38136         * sunrpc/clnt_unix.c: Likewise.
38137         * sunrpc/openchild.c: Likewise.
38138         * sunrpc/svc_simple.c: Likewise.
38139         * sunrpc/svc_tcp.c: Likewise.
38140         * sunrpc/svc_udp.c: Likewise.
38141         * sunrpc/svc_unix.c: Likewise.
38142         * sunrpc/xdr.c: Likewise.
38143         * sunrpc/xdr_array.c: Likewise.
38144         * sunrpc/xdr_rec.c: Likewise.
38145         * sunrpc/xdr_ref.c: Likewise.
38146         * sunrpc/xdr_stdio.c: Likewise.
38148 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38150         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38152 2011-07-03  Andreas Jaeger  <aj@suse.de>
38154         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38155         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38156         regenerate with gen-libm-tests.pl.
38158 2010-05-12  Petr Baudis  <pasky@suse.cz>
38160         [BZ #11589]
38161         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38162         around j0() zero points by switching to j1().
38163         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38164         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38165         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38166         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38168 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38170         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38171         instead of 0.
38172         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38173         instead of 0.
38174         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38175         Patch in part by Pavel Roskin <proski@gnu.org>.
38177         [BZ #13138]
38178         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38179         realloc.
38180         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
38181         Free memory block if necessary.
38183         [BZ #12847]
38184         * libio/genops.c (INTDEF): For string streams the _lock pointer can
38185         be NULL.  Don't lock in this case.
38187 2011-09-09  Roland McGrath  <roland@hack.frob.com>
38189         * elf/elf.h (ELFOSABI_GNU): New macro.
38190         (ELFOSABI_LINUX): Define to that.
38192 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
38194         * string/strncat.c (strncat): Undef the symbol in case it has been
38195         defined in bits/string.h.
38197 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
38199         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38201         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38202         link map.
38204 2011-08-17  Andreas Jaeger  <aj@suse.de>
38206         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38208 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38209             Ian Lance Taylor  <iant@google.com>
38211         * math/libm-test.inc (lround_test): New testcase.
38212         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38214 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
38216         * Makefile: Remove support for automatic cvs check-ins.
38217         * Makerules: Likewise.
38218         * config.make.in: Likewise.
38219         * configure.in: Likewise.
38220         * intl/Makefile: Likewise.
38221         * locale/Makefile: Likewise.
38222         * po/Makefile: Likewise.
38223         * posix/Makefile: Likewise.
38224         * sysdeps/gnu/Makefile: Likewise.
38225         * sysdeps/mach/hurd/Makefile: Likewise.
38226         * sysdeps/sparc/sparc32/Makefile: Likewise.
38228         [BZ #13118]
38229         * posix/Makefile (bug-regex32-ENV): Define.
38230         Patch by John Stanley <jpsinthemix@verizon.net>.
38232         * misc/Makefile (headers): Add bits/select2.h.
38233         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38234         * misc/bits/select2.h: New file.
38235         * include/bits/select2.h: New file.
38236         * debug/Makefile (routines): Add fdelt_chk.
38237         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38238         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38239         FD_ISSET.
38240         * debug/fdelt_chk.c: New file.
38242         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
38243         * wcsmbs/test-wmemcmp.c: Likewise.
38244         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38245         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38247 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38249         * string/Makefile (strop-tests): Add memcmp.
38250         * string/test-wmemcmp.c: New file.
38251         * string/test-memcmp.c: Add wmemcmp support.
38253 2011-09-08  Roland McGrath  <roland@hack.frob.com>
38255         [BZ #13153]
38256         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38257         2011-07-19 change.
38259         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38260         garbage value in a __mach_port_mod_refs call in the cases of the
38261         task-self and thread-self ports.
38263 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38265         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38267 2011-09-08  Andreas Schwab  <schwab@redhat.com>
38269         * elf/dl-load.c (lose): Check for non-null L.
38271 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38273         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38275         * elf/dl-libc.c (dlerror_run): Pass back error code from
38276         dl_catch_error.
38278         [BZ #13123]
38279         * elf/dl-load.c (lose): Free l_origin if it is valid.
38281         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38282         names.
38283         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38284         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38285         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38286         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38287         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38288         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38290 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38292         * sysdeps/powerpc/fpu/e_hypot.c: New file.
38293         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38294         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38295         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38296         * sysdeps/powerpc/fpu/k_cosf.c: New file.
38297         * sysdeps/powerpc/fpu/k_sinf.c: New file.
38298         * sysdeps/powerpc/fpu/s_cosf.c: New file.
38299         * sysdeps/powerpc/fpu/s_sinf.c: New file.
38300         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38301         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38303 2011-08-15  Alan Modra  <amodra@gmail.com>
38305         [BZ #13092]
38306         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38307         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38308         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
38309         ppc_mcount to static-only-routines.
38310         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38311         __mcount_internal.
38312         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38313         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
38315 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
38317         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38318         for finite and infinity parameters.
38320 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38322         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38323         and add nop instructions for throughput optimization.
38324         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38326 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
38328         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38329         aligned copy for power7 with vector-scalar instructions.
38330         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38332 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
38334         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38335         AVX check.
38337 2011-09-07  Andreas Schwab  <schwab@redhat.com>
38339         [BZ #13144]
38340         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38341         last change.
38343 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38345         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38346         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38347         syscall wrapper around clock_gettime in __vdso_clock_gettime.
38348         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38349         clock_gettime.
38351 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38353         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38354         Forgot to demangle the pointer.
38356         * sysdeps/i386/sysdep.h: Define atom_text_section.
38357         * sysdeps/x86_64/sysdep.h: Likewise.
38358         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38359         section with atom_text_section.
38360         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38361         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38362         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38363         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38364         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38366         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38367         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38368         already be defined.  Change to take two parameters and don't assign
38369         result to variable.  Adjust all users.
38370         Define INTERNAL_GETTIME if not already defined.
38371         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38372         call.
38373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38374         HAVE_CLOCK_GETTIME_VSYSCALL.
38375         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38377         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38378         gettimeofday vsyscall, just use time.
38380 2011-09-06  Andreas Schwab  <schwab@redhat.com>
38382         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38383         <errno.h>.
38385 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38387         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38388         syscall on x86-64.
38389         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38390         syscall.
38391         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38392         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38393         syscall if possible.
38395 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38397         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38398         e_ident.  Don't pass to find_mapsXX.
38399         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38401 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38404         strchr-sse2-no-bsf strrchr-sse2-no-bsf
38405         * sysdeps/x86_64/multiarch/strchr.S: Update.
38406         Check bit_slow_BSF bit.
38407         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38408         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38409         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38411 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38413         [BZ #13134]
38414         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38415         before glibc 2.15.
38416         (tryshell): Define.
38417         (__spawni): Change last parameter to be flag.  Test
38418         SPAWN_XFLAGS_USE_PATH flag to use path or not.
38419         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38420         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38421         * posix/spawni.c: Likewise.
38422         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38423         * posix/spawnp.c: Likewise.  Change normal version to use
38424         SPAWN_XFLAGS_USE_PATH.
38425         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38426         SPAWN_XFLAGS_TRY_SHELL.
38428         [BZ #13150]
38429         * posix/glob.h: Remove gcc 1.x support.
38431         [BZ #13068]
38432         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38434 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38436         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38437         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38438         strrchr-sse2-bsf
38439         * sysdeps/i386/i686/multiarch/strchr.S: New file.
38440         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38441         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38442         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38443         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38444         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38446 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38448         * sysdeps/x86_64/wcscmp.S: New file.
38450         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38451         wcscmp-c wcscmp-sse2
38452         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38453         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38454         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38455         * wcsmbs/wcscmp.c: Allow renaming.
38457 2011-09-05  David S. Miller  <davem@davemloft.net>
38459         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38460         stack slot, rather than the struct return pointer slot.
38461         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38462         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38464         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38466 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38468         * po/ja.po: Update from translation team.
38470         [BZ #13144]
38471         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38472         kernel in 64-bit binaries.
38474 2011-09-01  David S. Miller  <davem@davemloft.net>
38476         * elf/elf.h (HWCAP_SPARC_*): Move to..
38477         * sysdeps/sparc/sysdep.h: this new file and add new values.
38478         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38479         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38480         _DL_HWCAP_COUNT to 24.
38481         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38482         entries.
38483         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38484         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38485         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38486         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38487         instead of magic constants.
38488         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38490 2011-08-31  David S. Miller  <davem@davemloft.net>
38492         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38494         Reimplement to do errno handling inline.
38495         (SYSCALL_ERROR_HANDLER): New macro.
38496         (__SYSCALL_STRING): Do not do errno handling in asm.
38497         (__CLONE_SYSCALL_STRING): Delete.
38498         (__INTERNAL_SYSCALL_STRING): Delete.
38499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38500         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38501         (PSEUDO): Reimplement to do errno handling inline.
38502         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38503         (SYSCALL_ERROR_HANDLER): New macro.
38504         (__SYSCALL_STRING): Do not do errno handling in asm.
38505         (__CLONE_SYSCALL_STRING): Delete.
38506         (__INTERNAL_SYSCALL_STRING): Delete.
38507         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38508         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38509         i386.
38510         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38511         (inline_syscall*): Add 'err' argument.
38512         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38513         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38514         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38515         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38517         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38518         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38520 2011-08-30  Andreas Schwab  <schwab@redhat.com>
38522         * elf/rtld.c (dl_main): Relocate objects in dependency order.
38524 2011-08-29  Jiri Olsa <jolsa@redhat.com>
38526         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38527         directive.
38529 2011-08-24  David S. Miller  <davem@davemloft.net>
38531         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38533 2011-08-24  Andreas Schwab  <schwab@redhat.com>
38535         * elf/Makefile: Add rules to build and run unload8 test.
38536         * elf/unload8.c: New file.
38537         * elf/unload8mod1.c: New file.
38538         * elf/unload8mod1x.c: New file.
38539         * elf/unload8mod2.c: New file.
38540         * elf/unload8mod3.c: New file.
38542         * elf/dl-close.c (_dl_close_worker): Reset private search list if
38543         it wasn't used.
38545 2011-08-23  David S. Miller  <davem@davemloft.net>
38547         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38548         subtract stack bias.
38549         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38550         %sp not %fp in calculations.
38551         (_JMPBUF_UNWINDS_ADJ): Likewise.
38553         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38554         (aio_suspend): Call it to force an exception region around the
38555         AIO_MISC_WAIT() invocation.
38557 2011-08-23  Andreas Schwab  <schwab@redhat.com>
38559         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38560         backslash.
38562 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
38564         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38565         protection macro.
38566         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38567         and <dl-machine.h>.
38568         (Elf64_FuncDesc): Remove.
38570 2011-08-22  David S. Miller  <davem@davemloft.net>
38572         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38573         sigaltstack check, add missing cfi directives.
38574         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38575         missing cfi directives, and sigaltstack handling.
38577 2011-08-16  Andreas Schwab  <schwab@redhat.com>
38579         [BZ #11724]
38580         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38581         object is seen twice.
38582         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38584         * elf/Makefile (distribute): Add tst-initorder2.c.
38585         (tests): Add tst-initorder2.
38586         (modules-names): Add tst-initorder2a tst-initorder2b
38587         tst-initorder2c tst-initorder2d.  Add rules to build them.
38588         ($(objpfx)tst-initorder2.out): New rule.
38589         * elf/tst-initorder2.c: New file.
38590         * elf/tst-initorder2.exp: New file.
38592 2011-08-22  Andreas Schwab  <schwab@redhat.com>
38594         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38596         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38597         dependencies back to end of function.
38599         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38600         $(elfobjdir)/ld.so.
38602 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
38604         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38605         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38606         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38607         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38608         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38609         of __vdso_gettimeofday.
38610         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38611         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
38612         attribute_hidden.
38613         (_libc_vdso_platform_setup): Remove initialization of
38614         __vdso_gettimeofday and __vdso_time.
38616 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38618         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38619         and fgetc_unlocked.
38620         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38621         getc_unlocked.
38623         * elf/dl-open.c (add_to_global): Report additions to the global scope
38624         for LD_DEBUG=scopes.
38625         (dl_open_worker): Also print scope of newly loaded dependencies.
38626         (_dl_show_scope): Indicate if there is no scope.
38628         [BZ #13114]
38629         * stdio-common/Makefile (tests): Add bug24.
38630         * stdio-common/bug24.c: New file.
38632 2011-08-19  Andreas Jaeger  <aj@suse.de>
38634         [BZ #13114]
38635         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38636         non-existant file when using close-on-exec mode.
38638 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38641         the very first instruction.
38643         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38644         the CFI state in the end.
38645         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38646         inclusion of dl-trampoline.h.
38647         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38649 2011-08-19  Andreas Schwab  <schwab@redhat.com>
38651         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38652         expectations for long double.
38654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38655         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38657 2011-08-14  David S. Miller  <davem@davemloft.net>
38659         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38660         artificual limit depends upon the system page size.
38662 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38664         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38665         * resolv/Makefile: Define CFLAGS-libresolv.
38667 2011-08-17  Andreas Schwab  <schwab@redhat.com>
38669         * nss/makedb.c (compute_tables): Make variables used in nested
38670         function static.
38672 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38674         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38675         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38676         if buffer was too small.
38678         * elf/pldd.c (main): Attach to all threads in the process.
38679         Rewrite /proc handling to use *at functions.
38681 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
38683         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38684         specifies first scope to show.
38685         (dl_open_worker): Update callers.  Move printing scope of new
38686         object to before the relocation.
38687         * elf/rtld.c (dl_main): Update _dl_show_scope call.
38688         * sysdeps/generic/ldsodefs.h: Update declaration.
38690         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38691         string for the scope number.
38693 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
38695         * nscd/servicescache.c (cache_addserv): Make sure written is always
38696         initialized.
38698 2011-08-14  Roland McGrath  <roland@hack.frob.com>
38700         * sysdeps/i386/i486/bits/atomic.h
38701         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38702         statement expression, so as to suppress "set but not used" warning.
38703         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38705         * string/strncat.c (STRNCAT): Use prototype definition.
38707         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38708         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38709         -Iprograms here.
38710         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38711         (localedef-modules): Add localedef.
38712         (locale-modules): Add locale.
38714         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38715         * elf/rtld.c (dl_main): Invert order of assignment in last change,
38716         to avoid a warning.
38718 2011-08-14  David S. Miller  <davem@davemloft.net>
38720         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38721         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38723 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
38725         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38726         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38727         * elf/rtld.c (dl_main): Set l_name of vDSO.
38728         Call _dl_show_scope when DL_DEBUG_SCOPES.
38729         (process_dl_debug): Recognize scopes flag and also set it for all.
38730         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38731         Declare _dl_show_scope.
38733         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38734         (do_dlopen): Pass caller_dlopen to dl_open.
38735         (__libc_dlopen_mode): Initialize caller_dlopen.
38737         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38738         of libc.  Make tolower call locale-independent.  Optimize a bit by
38739         using isdigit instead of isalnum.
38740         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38742 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
38744         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38745         was a dependency or dynamically loaded.
38747 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
38749         * intl/l10nflist.c: Allow architecture-specific pop function.
38750         * sysdeps/x86_64/l10nflist.c: New file.
38752         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38753         classification.
38755 2011-08-10  Andreas Schwab  <schwab@redhat.com>
38757         * include/dirent.h: Add libc_hidden_proto for scandirat and
38758         scandirat64.  Don't declare __scandirat64.
38759         * dirent/scandirat.c: Add libc_hidden_def.
38760         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38761         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38763 2011-08-10  David S. Miller  <davem@davemloft.net>
38765         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38766         enum.
38767         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38768         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38769         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38771 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
38773         * Versions.def [libc]: Add GLIBC_2.15.
38774         * dirent/Makefile (routines): Add scandirat and scandirat64.
38775         * dirent/Versions [libc]: Export scandirat and scandirat64 for
38776         GLIBC_2.15.
38777         * dirent/dirent.h: Declare scandirat and scandirat64.
38778         * dirent/scandirat.c: New file.
38779         * dirent/scandirat64.c: New file.
38780         * sysdeps/wordsize-64/scandirat.c: New file.
38781         * sysdeps/wordsize-64/scandirat64.c: New file.
38782         * dirent/opendir.c: Define opendirat.
38783         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
38784         using scandirat.
38785         * dirent/scandir64.c: Adjust for scandir.c change.
38786         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
38787         __scandirat64, and __scandir_cancel_handler.
38788         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
38789         additional parameter and use openat instead of open (outside of ld.so).
38790         Add new __opendir as wrapper around __opendirat.
38791         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38792         here without requiring old scandirat implementation.
38794 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
38796         * dirent/scandir.c (cancel_handler): Renamed to
38797         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
38798         defined.  Adjust users.
38799         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38800         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38802 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
38804         * string/test-string.h (IMPL): Use __STRING to expand name and then
38805         stringify it.
38807         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
38808         of cleanups.
38810 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38812         * string/Makefile: Update.
38813         (strop-tests): Append strncat.
38814         * string/test-wcscmp.c: New file.
38815         New comprehensive test for wcscmp.
38816         * string/test-strcmp.c: Update.
38817         (WIDE): New define.
38819 2011-07-22  Andreas Schwab  <schwab@redhat.com>
38821         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38822         line.
38824 2011-07-26  Andreas Schwab  <schwab@redhat.com>
38826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38827         encoding to ACE if AI_IDN.
38829 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
38831         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38832         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38834 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38836         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38837         Fix overflow bug in strncat.
38838         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38840         * string/test-strncat.c: Update.
38841         Add new tests for checking overflow bugs.
38843 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38845         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38846         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38847         * sysdeps/i386/i686/multiarch/strcat.S: New file.
38848         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38849         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38850         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38851         * sysdeps/i386/i686/multiarch/strncat.S: New file.
38852         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38853         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38855         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38856         (USE_AS_STRCAT): Define.
38857         Add strcat and strncat support.
38858         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38860 2011-07-25  Andreas Schwab  <schwab@redhat.com>
38862         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38863         __n bigger than INT_MAX+1.
38864         (__strncmp_g): Likewise.
38866 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
38868         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38869         * libio/stido.h: Likewise.
38871         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38872         (AF_NFC): Define.
38873         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38874         (AF_NFC): Define.
38876         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38877         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38878         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38879         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38880         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38882         [BZ #13021]
38883         * scripts/test-installation.pl: Don't expect libnss_test1 to be
38884         installed.
38886         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38887         typo.
38888         (_dl_x86_64_save_sse): Likewise.
38890 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
38892         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38893         OSXSAVE.
38894         (_dl_x86_64_save_sse): Likewise.
38896         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38898         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38900 2011-07-21  Andreas Schwab  <schwab@redhat.com>
38902         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38903         change.
38904         (_dl_x86_64_save_sse): Use correct AVX check.
38906 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38908         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38909         bug in strncpy/strncat.
38910         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38912 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
38914         * string/tester.c (test_strcat): Add tests for different alignments
38915         of source and destination.
38916         (test_strncat): Likewise.
38918 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38920         [BZ #12852]
38921         * posix/glob.c (glob): Check passed in values before using them in
38922         expressions to avoid some overflows.
38923         (glob_in_dir): Likewise.
38925         [BZ #13007]
38926         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38927         check for AVX enablement so that we don't crash with old kernels and
38928         new hardware.
38929         * elf/tst-audit4.c: Add same checks here.
38930         * elf/tst-audit6.c: Likewise.
38932         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38934 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
38936         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38938 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38940         * po/cs.po: Update from translation team.
38941         * po/bg.po: Likewise.
38943 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
38945         * misc/sys/cdefs.h: Add support for const attribute.
38946         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38947         to gnu_dev_{major,minor,makedev} functions.
38949 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
38951         * intl/dcigettext.c (get_output_charset): Add missing bracket.
38953 2011-07-20  Andreas Schwab  <schwab@redhat.com>
38955         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38956         strlen results.
38958 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38961         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38962         register in order to avoid conflicts with the soft frame pointer
38963         being held in r11 when necessary.
38964         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38965         (INTERNAL_VSYSCALL_NCS): Likewise.
38967 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
38969         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38970         * elf/dl-fini.c (_dl_fini): Adjust caller.
38971         * elf/dl-close.c (_dl_close_worker): Likewise.
38972         * sysdeps/generic/ldsodefs.h: Adjust declaration.
38974 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38976         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38977         "aux_cache->nlibs < 0".
38979         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38980         in the reload-count case.
38982 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38985         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38986         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38987         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38988         * sysdeps/x86_64/multiarch/strcat.S: New file.
38989         * sysdeps/x86_64/multiarch/strncat.S: New file.
38990         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38991         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38992         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38993         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38994         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38995         (USE_AS_STRCAT): Define.
38996         Add strcat and strncat support.
38997         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38998         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38999         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39000         * string/strncat.c: Update.
39001         (USE_AS_STRNCAT): Define.
39002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39003         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39004         and i7.
39005         * sysdeps/x86_64/multiarch/init-arch.h
39006         (bit_Prefer_PMINUB_for_stringop): New.
39007         (index_Prefer_PMINUB_for_stringop): Likewise.
39008         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39009         bit_Prefer_PMINUB_for_stringop.
39011 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39013         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39014         buffer64.
39015         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39016         of casting of buffer.
39017         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39018         buffer32 and buffer64.
39019         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39020         writes instead of casting of buffer.
39021         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39022         buffer32.
39023         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39024         casting of buffer.
39026 2011-07-19  Andreas Schwab  <schwab@redhat.com>
39028         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39030 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
39032         * nscd/nscd.c (termination_handler): Don't do anything for a database
39033         if it has not yet been initialized.
39035 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39037         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39039 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
39041         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39043 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
39045         * po/nl.po: Update from translation team.
39046         * po/sv.po: Likewise.
39048 2011-07-16  Roland McGrath  <roland@hack.frob.com>
39050         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39051         now disallowed by GCC.
39053         * configure.in (use-default-link): Default to yes if a test -shared
39054         link meets our qualifications.
39055         * configure: Regenerated.
39057         * config.make.in (output-format): New variable.
39058         * configure.in: Check for ld --print-output-format support.
39059         * configure: Regenerated.
39060         * Makerules ($(common-objpfx)format.lds)
39061         [$(output-format) != unknown]: Just use $(output-format),
39062         instead of the linker-script munging.
39064 2011-07-14  Roland McGrath  <roland@hack.frob.com>
39066         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39067         of $(common-objpfx)shlib.lds.
39068         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39070         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39071         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39073         * configure.in (-z relro check): Adjust test code to add a large
39074         writable data section after it.
39075         * configure: Regenerated.
39077 2011-07-11  Roland McGrath  <roland@hack.frob.com>
39079         * configure.in (-z relro check): Fix test code to make the variable
39080         truly const.
39081         * configure: Regenerated.
39083 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
39085         * nscd/nscd.h (struct traced_file): Define.
39086         (struct database_dyn): Remove inotify_descr, reset_res, and filename
39087         elements.  Add traced_files.
39088         (inotify_fd): Declare.
39089         (register_traced_file): Declare.
39090         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39091         (inotify_fd): Export.
39092         (resolv_conf_descr): Remove.
39093         (nscd_init): Move inotify descriptor creation to main.
39094         Don't register files for notification here.
39095         (register_traced_file): New function.
39096         (invalidate_cache): Don't use reset_res to determine whether to call
39097         res_init, go through the list of registered files.
39098         (main_loop_poll): The inotify descriptors are now stored in the
39099         structures for the traced files.
39100         (main_loop_epoll): Likewise
39101         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
39102         to __nss_disable_nscd.
39103         * nscd/cache.c (prune_cache): There is no single inotify descriptor
39104         for a database anymore.  Check the records for all the registered
39105         files instead.
39106         * nss/Makefile (libnss_files-routines): Add files-init.
39107         (libnss_db-routines): Add db-init.
39108         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39109         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39110         * nss/nss_db/db-init.c: New file.
39111         * nss/nss_files/files-init.c: New file.
39112         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
39113         __nss_lookup_function.
39114         (__nss_lookup_function): Call nss_load_library.
39115         (nss_load_all_libraries): New function.
39116         (__nss_disable_nscd): Take parameter with callback function for files
39117         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
39118         used for the cached services.
39119         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39120         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39121         options for features to all the files in nscd.
39123         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39125 2011-07-10  Roland McGrath  <roland@hack.frob.com>
39127         * csu/elf-init.c (__libc_csu_init): Comment typo.
39129 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
39131         * po/pl.po: Update from translation team.
39132         * po/ja.po: Likewise.
39133         * po/ru.po: Likewise.
39134         * po/ko.po: Likewise.
39135         * po/fr.po: Likewise.
39137 2011-07-09  Roland McGrath  <roland@hack.frob.com>
39139         * configure.in (.ctors/.dtors header and trailer check):
39140         Use an empirical test on a built program.
39141         * configure: Regenerated.
39143         * configure.in (-z relro check): Use an empirical test on a built DSO.
39144         Detect, but do not require, on ia64.
39145         * configure: Regenerated.
39147         * configure.in (READELF): Find it with AC_CHECK_TOOL.
39148         Update tests that use readelf to use $READELF instead.
39149         * configure: Regenerated.
39151 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
39153         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39154         if the result is not used.
39156 2011-07-05  Andreas Jaeger  <aj@suse.de>
39158         [BZ#9696]
39159         * stdlib/tst-strtod.c: Add testcase.
39161 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
39163         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39164         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39165         The latter has a higher limit.  Take additional parameter to pass to
39166         the new function.
39167         (__pathconf): Pass file to __statfs_link_max.
39168         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39169         __statfs_link_max.
39170         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39171         __statfs_link_max.
39173         [BZ #12868]
39174         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39175         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39176         Handle Lustre.
39177         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39178         (__statfs_filesize_max): Likewise.
39179         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39181 2011-07-05  Andreas Jaeger  <aj@suse.de>
39183         * resolv/res_comp.c (dn_skipname): Remove unused variable.
39185 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
39187         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39188         `status' variable.
39189         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39190         Likewise.
39192 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
39194         * Makefile (strop-tests): Add strncat.
39195         * string/test-strncat.c: New file.
39197 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
39199         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39201 2011-06-21  Andreas Jaeger  <aj@suse.de>
39203         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39204         Copy rule from iconvdata/Makefile.
39206 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39208         [BZ #12922]
39209         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39210         but no long options are defined, just return 'W'.
39212 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
39214         [BZ #9696]
39215         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39217 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
39219         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39220         netgroups to read.
39221         (innetgr): Likewise.
39223 2011-07-05  Roland McGrath  <roland@hack.frob.com>
39225         * config.make.in (install_root): Default to $(DESTDIR).
39227 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
39229         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39231 2011-07-02  Roland McGrath  <roland@hack.frob.com>
39233         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39235         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39236         containing directory rather than embedding absolute directory names.
39238         * scripts/check-local-headers.sh: Rewritten using awk.
39239         Match by word, not by line.  Print error messages for matches.
39240         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39242         * Makerules [shlib-lds-flags empty]:
39243         ($(common-objpfx)libc_pic.opts): New target.
39244         ($(common-objpfx)libc_pic.os.clean): New target.
39245         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39247         * config.make.in (OBJCOPY): New variable.
39248         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39249         * configure: Regenerated.
39251         * config.make.in (use-default-link): New variable.
39252         * configure.in (use_default_link): Grok --with-default-link to set it.
39253         * configure: Regenerated.
39254         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39255         (shlib-lds, shlib-lds-flags): Define to empty.
39257         * Makerules (shlib-lds): New variable.
39258         (shlib-lds-flags): New variable.
39259         (build-shlib, build-moduile, build-module-asneeded): Use it.
39260         ($(common-objpfx)libc.so): Use $(shlib-lds).
39261         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39262         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39264         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39265         DT_FLAGS/DT_FLAGS_1 with zero flags.
39267         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39268         linker script munging.
39270 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
39272         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39273         as 128-bit value.
39274         * crypt/sha512.c (sha512_process_block): Perform total addition using
39275         128-bit if possible.
39276         (__sha512_finish_ctx): Likewise.
39277         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39278         as 64-bit value.
39279         * crypt/sha256.c (SWAP64): Define.
39280         (sha256_process_block): Perform total addition using 64-bit if
39281         possible.
39282         (__sha256_finish_ctx): Likewise.
39284 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
39286         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
39287         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39288         * nscd/hstcache.c (cache_addhst): Likewise.
39289         * nscd/grpcache.c (cache_addgr): Likewise.
39290         * nscd/aicache.c (addhstaiX): Likewise
39291         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39293 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
39295         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39296         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39297         * nscd/hstcache.c (cache_addhst): Likewise.
39298         * nscd/grpcache.c (cache_addgr): Likewise.
39299         * nscd/aicache.c (addhstaiX): Likewise
39301 2011-07-01  Andreas Schwab  <schwab@redhat.com>
39303         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39304         domain only when needed.
39306 2011-06-30  Andreas Schwab  <schwab@redhat.com>
39308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39309         is always restored.
39311 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
39313         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39314         are re-adding the entry.
39315         * nscd/servicescache.c (cache_addserv): Likewise.
39317 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
39319         * sysdeps/generic/dl-irel.h: fix protection against multiple
39320         inclusions.
39321         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39323 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
39325         [BZ #12935]
39326         * malloc/memusage.sh: Fix quoting in message.
39327         * debug/xtrace.sh: Likewise.
39329         * configure.in: Remove support for --experimental-malloc option, make
39330         it the default.
39331         * config.make.in: Likewise.
39332         * malloc/Makefile: Likewise.
39334 2011-06-27  Andreas Schwab  <schwab@redhat.com>
39336         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39337         two-byte characters.
39339 2011-06-27  Roland McGrath  <roland@hack.frob.com>
39341         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39342         AC_CACHE_CHECK invocation.
39343         * configure: Regenerated.
39345         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39347 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
39349         [BZ #12350]
39350         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
39351         bit from old_res_options.
39353         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39355         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39356         value type for setfct.
39358 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
39360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39361         __gettimeofday instead of gettimeofday.
39363 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
39365         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39367 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
39369         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39371         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39372         info.
39374 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39377         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39378         strcpy-sse2-unaligned strncpy-sse2-unaligned
39379         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39380         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39381         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39382         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39383         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39384         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39385         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39386         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39387         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39388         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39389         (STRCPY): Support SSE2 and SSSE3 versions.
39391 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
39393         [BZ #12874]
39394         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39395         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39396         kernels which artificially limit size of requests.
39398 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39401         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39402         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39403         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39404         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39405         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39406         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39407         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39408         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39409         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39410         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39411         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39412         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39413         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39414         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39416         Enable unaligned load optimization for Intel Core i3, i5 and i7
39417         processors.
39418         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39419         Define.
39420         (index_Fast_Unaligned_Load): Define.
39421         (HAS_FAST_UNALIGNED_LOAD): Define.
39423 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
39425         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39427 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39429         [BZ #12907]
39430         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39431         until it is clear that the information is realy needed.
39432         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39434 2011-06-22  Andreas Schwab  <schwab@redhat.com>
39436         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39438 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39440         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39441         /sys/devices/system/cpu/online if it is usable.
39443         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39444         reading the information from the /proc filesystem to once a second.
39446 2011-06-21  Andreas Jaeger  <aj@suse.de>
39448         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39449         NULL after inclusion of kernel headers.
39451 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
39453         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39454         calls to internal_setent.
39456         [BZ #12885]
39457         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39458         addresses using gethostbyname4_r ignore IPv4 addresses.
39460         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39461         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
39463         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39465 2011-06-20  David S. Miller  <davem@davemloft.net>
39467         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39468         inclusions.
39469         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39471         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39472         (elf_irel): Use it.
39473         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39474         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39475         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39476         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39477         * sysdeps/x86_64/dl-irel.h: Likewise.
39479         * elf/dl-runtime.c: Use elf_ifunc_invoke.
39480         * elf/dl-sym.c: Likewise.
39482 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39484         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
39485         need to dereference resplen2.
39487 2011-06-14  Andreas Schwab  <schwab@redhat.com>
39489         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39491 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39493         * Makeconfig: Define vardbdir and inst_vardbdir.
39494         * nss/Makefile: Add rules to install db-Makefile.
39496         * nss/nss_db/db-XXX.c: Cleanup.
39498         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39499         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39500         GLIBC_PRIVATE.
39501         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39502         * nss/makedb.c: Implement -g option to specify that value strings
39503         are generated and should not be added to table iterated over for
39504         get*ent calls.
39505         * nss/nss_db/db-initgroups.c: New file.
39507         * nss/getent.c: Add support for initgroups lookups through getgrouplist
39508         interface.
39510         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39511         (internal_getgrouplist): Adjust to name change.
39512         Update use_initgroups_entry if this is not the first call.
39513         * nss/databases.def: Add initgroups entry.
39515         * nss/makedb.c (compute_tables): Check result of multiple hash table
39516         sizes to minimize maximum chain length.
39518 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
39520         * Versions.def: Add entry for libnss_db.
39521         * shlib-versions: Likewise.
39522         * nss/Makefile: Add rules to build libnss_db.
39523         * nss/Versions: Add libnss_db information.  Organize libnss_files
39524         entries better.
39525         * nss/db-Makefile: Add gshadow support.  Change rules for the new
39526         makedb progra.  Some minor improvements to generate smaller files.
39527         * nss/nss_db/nss_db.h: Move NSS database header data structures to
39528         here from...
39529         * nss/makedb.c: ...here.
39530         Improve database format to be smaller and require less memory at
39531         runtime.
39532         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
39533         db anymore.
39534         * nss/nss_db/db-netgrp.c: Likewise.
39535         * nss/nss_db/db-open.c: Likewise.
39536         * nss/nss_files/flies-XXX.x: Adjust comments.
39537         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39538         * nss/nss_files/files-grp.c: Likewise.
39539         * nss/nss_files/files-hosts.c: Likewise.
39540         * nss/nss_files/files-network.c: Likewise.
39541         * nss/nss_files/files-proto.c: Likewise.
39542         * nss/nss_files/files-pwd.c: Likewise.
39543         * nss/nss_files/files-rpc.c: Likewise.
39544         * nss/nss_files/files-service.c: Likewise.
39545         * nss/nss_files/files-sgrp.c: Likewise.
39546         * nss/nss_files/files-spwd.c: Likewise.
39547         * nss/nss_db/db-alias.c: Removed.
39548         * nss/nss_db/dummy-db.h: Removed.
39550 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
39552         * nss/makedb.c: Rewritten to not use database library.
39553         * nss/Makefile: Update to build new makedb program.
39555 2011-06-14  Andreas Jaeger  <aj@suse.de>
39557         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39558         memset declaration.
39560 2011-06-10  Andreas Schwab  <schwab@redhat.com>
39562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39563         tmpbuf.
39565 2011-06-10  Roland McGrath  <roland@hack.frob.com>
39567         * Makerules (shlib.lds): Fail if the linker script comes out empty.
39568         * elf/Makefile ($(objpfx)ld.so): Likewise.
39570         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39571         Don't list ld.so twice in dependencies.
39573         * posix/bug-regex31.c: Include <stdlib.h>.
39575         * nscd/hstcache.c (cache_addhst): Remove unused variable.
39577         * nis/nss_compat/compat-spwd.c
39578         (getspent_next_nss_netgr): Remove unused variable.
39579         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39581         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39582         nonmembers" output to use the right array.
39584         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39586         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39588         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39589         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39590         * catgets/gencat.c (read_input_file): Likewise.
39591         * locale/programs/locarchive.c (enlarge_archive): Likewise.
39593         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39594         variable definition inside #if's controlling its use.
39596         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39598         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39600         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39602         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39603         unreachable code.
39605         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39607         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39608         * configure: Regenerated.
39610         * Makerules: Revert last change.
39611         * elf/Makefile: Likewise.
39613 2011-06-09  Roland McGrath  <roland@hack.frob.com>
39615         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39616         * elf/Makefile ($(objpfx)librtld.os): Likewise.
39617         (reloc-link): Likewise.
39619 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
39621         * elf/Makefile: Add rules to build pldd.
39622         * elf/pldd.c: New file.
39623         * elf/pldd-xx.c: New file.
39625 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
39627         * version.h: Update for 2.15 development version.
39629 2011-06-07  David S. Miller  <davem@davemloft.net>
39631         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39632         ifuncs.
39633         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39634         elf_machine_lazy_rel): Likewise.
39635         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39636         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39637         elf_machine_lazy_rel): Likewise.
39638         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39639         dl_hwcap via passed in argument.
39640         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39641         Likewise.
39643 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39645         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
39647 2011-06-06  Roland McGrath  <roland@hack.frob.com>
39649         [BZ #12849]
39650         * manual/fdl-1.1.texi: New file, verbatim from:
39651         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39652         * manual/lgpl-2.1.texi: New file, verbatim from:
39653         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39654         * manual/Makefile (licenses): New variable, list those new file names.
39655         (texis): Use it.
39656         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39658         * manual/fdl.texi: File removed.
39659         * manual/lesser.texi: File removed.
39660         * manual/libc.texinfo (Copying, Documentation License):
39661         Use new @include file names, put @appendix directive before @include.
39663 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
39665         [BZ #12841]
39666         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39667         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39668         (mq_open): Add __NTH.
39670 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
39672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39673         Assume Intel Core i3/i5/i7 processor if AVX is available.
39675 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39677         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39678         typo.
39680 2011-05-31  Andreas Schwab  <schwab@redhat.com>
39682         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39683         memory.  Use alloca_account.  Fix memory leak when retrying.
39685 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39687         * version.h (RELEASE): Bump for 2.14 release.
39688         * include/features.h (__GLIBC_MINOR__): Bump to 14.
39690         * config.make.in (RANLIB): Remove entry.
39692 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
39694         * po/Makefile (po-sed-cmd): Add ksh to extensions.
39695         (libc.pot): Work around missing support for .ksh extension in xgettext.
39697         [BZ #12684]
39698         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39699         if both request failed.
39700         (send_dg): In case of server errors clear resplen or *resplen2.
39702         [BZ #12454]
39703         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39704         when there are multiple maps.
39705         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39706         (_dl_fini): Remove test here.
39708         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39710 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
39712         [BZ #12350]
39713         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39714         bit from old_res_options.
39715         (gaih_inet): Likewise.
39717         [BZ #11099]
39718         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39719         as signed.
39721         * resolv/res_init.c (res_setoptions): Make the code more compact.
39723         [BZ #11558]
39724         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39725         set RES_USEVC.
39727         [BZ #11634]
39728         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39730         * malloc/malloc.h: Mark malloc hook variables as deprecated.
39732         [BZ #11781]
39733         * malloc/malloc.h: Declare malloc hook variables as volatile.
39735         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39736         in last patch.
39738         [BZ #11799]
39739         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39740         raise in the comment.
39741         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39742         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39743         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39745 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
39747         [BZ #12811]
39748         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39749         grow the buffers more if it already has to be sufficient.
39750         (build_wcs_upper_buffer): Likewise.
39751         * posix/regexec.c (check_matching): Likewise.
39752         (clean_state_log_if_needed): Likewise.
39753         (extend_buffers): Don't enlarge buffers beyond size of the input
39754         buffer.
39755         Patches mostly by Emil Wojak <emil@wojak.eu>.
39756         * posix/bug-regex32.c: New file.
39757         * posix/Makefile (tests): Add bug-regex32.
39759         * locale/findlocale.c (_nl_find_locale): Return right away if
39760         _nl_explode_name failed.
39761         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39763         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39765         * debug/xtrace.sh: Unify messages.
39766         * malloc/memusage.sh: Likewise.
39768         [BZ #12813]
39769         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39770         time symbol from vDSO.  Substitute with vsyscall if not available.
39771         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39772         __vdso_time.
39774         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39775         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39776         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39777         Add sendmmsg and internal_sendmmsg.
39778         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39779         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39780         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39782         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39783         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39784         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39786 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
39788         [BZ #12813]
39789         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39790         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
39791         available.
39792         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39793         __vdso_getcpu.
39795         [BZ #12814]
39796         * iconvdata/Makefile (tests): Add bug-iconv9.
39797         * iconvdata/bug-iconv9.c: New file.
39799 2011-05-27  Andreas Schwab  <schwab@redhat.com>
39801         [BZ #12814]
39802         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39804 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
39806         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39807         (struct user_regs_struct): Change intcs field back to cs.
39809 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
39811         * po/ja.po: Update from translation team.
39813 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
39815         [BZ #12795]
39816         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39817         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39819 2011-05-20  Andreas Schwab  <schwab@redhat.com>
39821         * stdlib/longlong.h: Update from GCC.
39823 2011-05-23  Andreas Schwab  <schwab@redhat.com>
39825         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39826         parameter name.
39827         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39828         Add parameter name.
39829         (__sysconf): Pass it down.
39831 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
39833         [BZ #12671]
39834         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39835         some situations.
39836         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39837         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39838         add in in __libc_use_alloca calls.  Adjust callers.
39839         (glob): Use malloc in some situations.
39841         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39842         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39843         pltexit.
39845 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
39847         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39848         and CLOCK_BOOTTIME_ALARM.
39850         [BZ #12782]
39851         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39852         is returned.
39854         * string/_strerror.c (__strerror_r): Print negative errors as signed
39855         numbers.
39857         [BZ #12777]
39858         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39859         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39860         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39862         * configure.in: Fix typo in redirection and correct removal of test
39863         files in two cases.
39865         [BZ #12788]
39866         * locale/setlocale.c (new_composite_name): Fix test to check for
39867         identical name of all categories.
39869         [BZ #12792]
39870         * libio/filedoalloc.c (local_isatty): New function.
39871         (_IO_file_doallocate): Use local_isatty.
39872         * stdio-common/perror.c (perror): In case a new stream is used
39873         forward the stream error.
39874         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39875         error flag.
39877 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
39879         [BZ #11869]
39880         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39881         alloca.
39882         * include/alloca.h (extend_alloca_account): Define.
39884         [BZ #11857]
39885         * posix/regex.h: Fix comments with documentation of user-accessible
39886         fields after compilation and describe correct free'ing of pattern
39887         after re_compile_pattern.
39888         Patch by Reuben Thomas <rrt@sc3d.org>.
39890 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
39892         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39893         and -mno-altivec to prevent the compiler from using Altivec and/or
39894         VSX instructions when the corresponding registers are not available.
39896 2011-05-19  Andreas Schwab  <schwab@redhat.com>
39898         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39900 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
39902         * libio/freopen.c (freopen): Use __dup2, not dup2.
39903         * libio/freopen64.c (freopen64): Likewise.
39905 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39907         [BZ #12775]
39908         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39909         * math/Makefile (tests): Add test-powl.
39910         (CFLAGS-test-powl.c): Define.
39911         * math/test-powl.c: New file.
39913 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39915         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39917 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
39919         [BZ #11837]
39920         * iconvdata/gb18030.c: Update to GB18020-2005.
39922 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
39924         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39925         RE_SYNTAX_POSIX_AWK): Update to match recent development.
39926         Patch by Aharon Robbins <arnold@skeeve.com>.
39928         [BZ #11892]
39929         * stdlib/putenv.c (putenv): Don't always create copy of the variable
39930         on the stack.
39932         [BZ #11895]
39933         * misc/pselect.c (__pselect): Handle timeout value errors hidden
39934         through underflows.
39936         [BZ #12766]
39937         * misc/error.c (error_at_line): Ensure file_name and old_file_name
39938         point to strings before performing equality test for error_one_per_line
39939         mode.
39941         [BZ #11697]
39942         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39944         [BZ #11820]
39945         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39946         (struct user_fpregs_struct): Avoid __uint*_t types.
39948         [BZ #6420]
39949         * malloc/mtrace.c (tr_where): Add additional parameter to point to
39950         symbol info.  Use it instead of calling _dl_addr locally.
39951         (lock_and_info): New function.
39952         (tr_freehook): Call lock_and_info and pass symbol info as additional
39953         parameter to tr_where.
39954         (tr_mallochook): Likewise.
39955         (tr_reallochook): Likewise.
39956         (tr_memalignhook): Likewise.
39958         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
39959         used and couldn't be at all thread-safe.
39961 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
39963         * libio/freopen.c (freopen): Don't close old file descriptor
39964         before the new one is opened.  Instead dup the new file descriptor
39965         to the old one after the new stream is created.
39966         * libio/freopen64.c (freopen64): Likewise.
39967         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39968         * libio/fileops.c (_IO_new_file_close_it): Handle new
39969         _IO_FLAGS2_NOCLOSE flag.
39970         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39971         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39972         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39973         _IO_FLAGS2_NOCLOSE flag.
39974         * include/unistd.h: Add hidden_proto for dup3.
39975         Define __have_dup3.
39976         * io/dup3.c: Define hidden symbol.
39977         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39979         [BZ #7101]
39980         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39981         when an incomplete long option is used.
39982         * posix/tst-getopt_long1.c: New file.
39983         * posix/Makefile (tests): Add tst-getopt_long1.
39985         [BZ #10138]
39986         * scripts/config.guess: Update from autoconf-2.68.
39987         * scripts/config.sub: Likewise.
39989         [BZ #10157]
39990         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39991         tests into ...
39992         (has_cpuclock): ...this.  New function.
39993         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39994         macro here based on has_cpuclock code.
39996         [BZ #10149]
39997         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39998         First byte (not low byte) is now always NUL.
39999         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40001         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40002         Use non-cancelable interfaces.
40004         [BZ #9809]
40005         * locale/iso-639.def: Add entry for Sorani.
40007         [BZ #11901]
40008         * include/stdlib.h: Move include protection to the right place.
40009         Define abort_msg_s.  Declare __abort_msg with it.
40010         * stdlib/abort.c (__abort_msg): Adjust type.
40011         * assert/assert.c (__assert_fail_base): New function.  Majority
40012         of code from __assert_fail.  Allocate memory for __abort_msg with
40013         mmap.
40014         (__assert_fail): Now call __assert_fail_base.
40015         * assert/assert-perr.c: Remove bulk of implementation.  Use
40016         __assert_fail_base.
40017         * include/assert.hL Declare __assert_fail_base.
40018         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40019         mmap.
40020         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40022 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
40024         [BZ #11952]
40025         [BZ #12453]
40026         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40027         until all modules are registered in the DTV.
40028         * elf/Makefile: Add rules to build and run tst-tls19.
40029         * elf/tst-tls19.c: New file.
40030         * elf/tst-tls19mod1.c: New file.
40031         * elf/tst-tls19mod2.c: New file.
40032         * elf/tst-tls19mod3.c: New file.
40033         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40035         [BZ #12083]
40036         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40037         correctly.
40039         [BZ #12601]
40040         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40041         two-byte sequence errors.
40042         * iconvdata/Makefile (tests): Add bug-iconv8.
40043         * iconvdata/bug-iconv8.c: New file.
40045         [BZ #12626]
40046         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40047         buf2 definition.
40049         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40051         [BZ #12432]
40052         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40053         (dummy_getcfa): New function.
40054         (init): Get _Unwind_GetCFA address, use dummy if not found.
40055         (backtrace_helper): In recursion check, also check whether CFA changes.
40056         (__backtrace): Completely initialize arg.
40058         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40059         storing incomplete byte sequence in state object.  Avoid testing for
40060         guaranteed too small input if we know there is enough data available.
40062 2011-05-11  Andreas Schwab  <schwab@redhat.com>
40064         * Makeconfig (+link-pie): Indent.
40065         * Rules (binaries-pie): Define if $(have-fpie) and
40066         $(build-shared).
40067         (binaries-shared): Also filter out $(binaries-pie).
40068         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40069         * nscd/Makefile (others-pie): Add nscd.
40070         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40071         ($(objpfx)nscd): Remove command override.
40072         * login/Makefile (others-pie): Add pt_chown.
40073         ($(objpfx)pt_chown): Remove command override.
40074         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40075         remove command overrides.
40077 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
40079         * libio/tst_putwc.c: Fix error messages.
40081         [BZ #12724]
40082         * libio/fileops.c (_IO_new_file_close_it): Always flush when
40083         currently writing and seek to current position when not.
40084         * libio/Makefile (tests): Add bug-fclose1.
40085         * libio/bug-fclose1.c: New file.
40087 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
40089         [BZ #12511]
40090         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40091         don't set DF_1_NODELETE here.
40092         (do_lookup_x): When entering new entry test for copy relocation
40093         and if necessary set DF_1_NODELETE flag.
40094         * elf/tst-unique4.cc: New file.
40095         * elf/tst-unique4.h: New file.
40096         * elf/tst-unique4lib.cc: New file.
40097         * elf/Makefile: Add rules to build and run tst-unique4.
40098         Patch by Piotr Bury <pbury@goahead.com>.
40100 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
40102         [BZ #12052]
40103         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40105         [BZ #12625]
40106         * misc/mntent_r.c (addmntent): Flush the stream after the output
40108         [BZ #12393]
40109         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40110         (is_trusted_path_normalize): Skip initial colon.  Append slash
40111         to empty buffer.  Duplicate is_trusted_path code but allow
40112         constructed patch to be prefix.
40113         (is_dst): Allow $ORIGIN followed by /.
40114         (_dl_dst_substitute): Correct clearing of check_for_trusted.
40115         Correct testing of result of is_trusted_path_normalize
40116         (decompose_rpath): Fix warning.
40118 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
40120         [BZ #11257]
40121         * grp/initgroups.c (internal_getgrouplist): When we found the service
40122         list through the initgroups entry in nsswitch.conf do not always
40123         continue on a successful lookup.  Don't always use the
40124         __nss_group_database value if it is set.
40125         * nss/nsswitch.conf (initgroups): Change action for successful db
40126         lookup to continue for compatibility.
40128 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
40130         [BZ #11532]
40131         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40132         and CP774 modules.
40133         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40134         and CP774 modules.
40135         * iconvdata/tst-tables.sh: Likewise.
40136         * iconvdata/cp770.c: New file.
40137         * iconvdata/cp771.c: New file.
40138         * iconvdata/cp772.c: New file.
40139         * iconvdata/cp773.c: New file.
40140         * iconvdata/cp774.c: New file.
40141         * iconvdata/testdata/CP770: New file.
40142         * iconvdata/testdata/CP770..UTF8: New file.
40143         * iconvdata/testdata/CP771: New file.
40144         * iconvdata/testdata/CP771..UTF8: New file.
40145         * iconvdata/testdata/CP772: New file.
40146         * iconvdata/testdata/CP772..UTF8: New file.
40147         * iconvdata/testdata/CP773: New file.
40148         * iconvdata/testdata/CP773..UTF8: New file.
40149         * iconvdata/testdata/CP774: New file.
40150         * iconvdata/testdata/CP774..UTF8: New file.
40152         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40153         END CHARMAP line.
40154         * iconvdata/gen-8bit-gap.sh: Likewise.
40155         * iconvdata/gen-8bit.sh: Likewise.
40157         * locale/iso-639.def: Add ary entry.
40159         [BZ #11258]
40160         * locale/C-translit.h.in: Add U20A1 transliteration.
40162         [BZ #12178]
40163         * locale/iso-639.def: Add wae entry.
40164         Patch by Kevin Bortis <bortis@translate-wae.ch>.
40166         [BZ #12545]
40167         * locale/programs/localedef.c (construct_output_path): Use ssize_t
40168         for n.
40170         [BZ #12711]
40171         * locale/C-translit.h.in: Add entry for U20B9.
40172         Patch by pravin.d.s@gmail.com.
40174 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
40176         [BZ #12713]
40177         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40178         ENAMETOOLONG use generic getcwd.
40179         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
40180         in rtld.  Use *stat64.
40181         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40182         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40183         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40184         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40185         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40186         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40187         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40188         __fstatat64 macros.
40189         * include/dirent.h: Add libc_hidden_proto for rewinddir.
40190         * dirent/rewinddir.c: Add libc_hidden_def.
40191         * sysdeps/mach/hurd/rewinddir.c: Likewise.
40192         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
40194         * include/dirent.h (__alloc_dir): Add flags parameter.
40195         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40196         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40197         __alloc_dir.
40198         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
40199         from fdopendir if O_CLOEXEC is already set.
40201 2011-03-15  Alan Modra  <amodra@gmail.com>
40203         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40204         l_tls_firstbyte_offset non-zero.  Save padding offset in
40205         l_tls_firstbyte_offset for later use.
40206         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40207         freeing static tls block.
40209 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
40211         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40212         where #ifdef was intended.  The intent is to prevent ARG_MAX from
40213         being defined by the kernel headers.
40215 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
40217         [BZ #12734]
40218         * resolv/resolv.h: Define RES_NOTLDQUERY.
40219         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40220         no-tld-query and set RES_NOTLDQUERY.
40221         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40222         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40223         modern BIND to search name as TLD unless forbidden.
40225 2011-05-07  Petr Baudis  <pasky@suse.cz>
40226             Ulrich Drepper  <drepper@gmail.com>
40228         [BZ #12393]
40229         * elf/dl-load.c (fillin_rpath): Move trusted path check...
40230         (is_trusted_path): ...to here.
40231         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40232         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40233         using is_trusted_path_normalize() in setuid scripts.
40235 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
40237         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40238         __BEGIN/__END_DECLS.
40240 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
40242         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40243         NSS_STATUS_NOTFOUND if no record was found.
40245 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40247         * sunrpc/Makefile (headers): Add rpc/netdb.h.
40248         (headers-not-in-tirpc): Remove rpc/netdb.h
40249         * resolv/netdb.h: Revert last change.
40251 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40253         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40254         circular dependency between libgcc.a and libc.a.
40256 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40258         * resolv/netdb.h: Don't include <rpc/netdb.h>.
40259         * nis/Makefile: Don't install rpcsvc/*.
40260         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40261         instead of <rpc/types.h>.
40262         (MAXHOSTNAMELEN): Define.
40264 2011-05-03  Andreas Schwab  <schwab@redhat.com>
40266         * elf/ldconfig.c (add_dir): Don't crash on empty path.
40268 2011-04-28  Maciej Babinski  <mbabinski@google.com>
40270         [BZ #12714]
40271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40272         gethostbyname4_r when IPv6 results are possible.
40274 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
40276         [BZ #12723]
40277         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40278         _PC_PIPE_BUF handling.
40280 2011-04-30  Bruno Haible  <bruno@clisp.org>
40282         [BZ #12717]
40283         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40284         * resolv/netdb.h (getnameinfo): Change type of flags parameter
40285         to 'int'.
40286         * inet/getnameinfo.c (getnameinfo): Likewise.
40288 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
40290         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40291         to groups setting in database lookup.
40292         * nss/nsswitch.conf: Add initgroups entry.
40294 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
40296         [BZ #12685]
40297         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40298         mode string.
40299         Patch by Eric Blake <eblake@redhat.com>.
40301 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
40303         * sunrpc/Makefile (need-export-routines): Add svc_run.
40304         (routines): Remove svc_run.
40305         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40306         * sunrpc/clnt_perr.c (clnt_perrno): Export.
40307         * sunrpc/svc_run.c (svc_run): Likewise.
40308         * sunrpc/svc_udp.c (svcudp_create): Likewise.
40310 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
40312         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40313         problem in reallocation in last patch.
40315 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
40317         * sunrpc/Makefile: Move inclusion of Rules.
40319 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40321         * nss/nss_files/files-initgroups.c: New file.
40322         * nss/Makefile (libnss_files-routines): Add files-initgroups.
40323         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40324         _nss_files_initgroups_dyn.
40326 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
40328         * elf/elf.h (R_ARM_IRELATIVE): Define.
40330 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40332         * po/ru.po: Update from translation team.
40334 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40336         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40337         dependencies.
40339 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
40341         [BZ #12653]
40342         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40343         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40344         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40345         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40346         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40348 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
40350         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40351         differing bytes.
40352         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40353         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40354         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40356 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40358         [BZ #12420]
40359         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40360         storing it.
40361         * stdlib/bug-getcontext.c: New file.
40362         * stdlib/Makefile: Add rules to build and run bug-getcontext.
40364 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40366         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40367         instructions into .machine "z9-109".
40368         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40369         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40371 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40373         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40374         between environment variables and auxiliary vector.
40376 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
40378         * Makefile: Add rules to build linkobj/libc.so.
40379         * include/libc-symbols.h: Define libc_hidden_nolink.
40380         * include/rpc/auth.h: Mark functions which are to be hidden.
40381         * include/rpc/auth_des.h: Likewise.
40382         * include/rpc/auth_unix.h: Likewise.
40383         * include/rpc/clnt.h: Likewise.
40384         * include/rpc/des_crypt.h: Likewise.
40385         * include/rpc/key_prot.h: Likewise.
40386         * include/rpc/pmap_clnt.h: Likewise.
40387         * include/rpc/pmap_prot.h: Likewise.
40388         * include/rpc/pmap_rmt.h: Likewise.
40389         * include/rpc/rpc_msg.h: Likewise.
40390         * include/rpc/svc.h: Likewise.
40391         * include/rpc/svc_auth.h: Likewise.
40392         * include/rpc/xdr.h: Likewise.
40393         * nis/Makefile: Link all DSOs against linkobj/libc.so.
40394         * nss/Makefile: Likewise.
40395         * sunrpc/Makefile: Don't install headers.  Build library with normal
40396         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
40397         * sunrpc/auth_des.c: Hide exported symbols by default, export some
40398         for the compat linking library.  Remove use of INTDEF/INTUSE.
40399         * sunrpc/auth_none.c: Likewise.
40400         * sunrpc/auth_unix.c: Likewise.
40401         * sunrpc/authdes_prot.c: Likewise.
40402         * sunrpc/authuxprot.c: Likewise.
40403         * sunrpc/clnt_gen.c: Likewise.
40404         * sunrpc/clnt_perr.c: Likewise.
40405         * sunrpc/clnt_raw.c: Likewise.
40406         * sunrpc/clnt_simp.c: Likewise.
40407         * sunrpc/clnt_tcp.c: Likewise.
40408         * sunrpc/clnt_udp.c: Likewise.
40409         * sunrpc/clnt_unix.c: Likewise.
40410         * sunrpc/des_crypt.c: Likewise.
40411         * sunrpc/des_soft.c: Likewise.
40412         * sunrpc/get_myaddr.c: Likewise.
40413         * sunrpc/key_call.c: Likewise.
40414         * sunrpc/key_prot.c: Likewise.
40415         * sunrpc/netname.c: Likewise.
40416         * sunrpc/pm_getmaps.c: Likewise.
40417         * sunrpc/pm_getport.c: Likewise.
40418         * sunrpc/pmap_clnt.c: Likewise.
40419         * sunrpc/pmap_prot.c: Likewise.
40420         * sunrpc/pmap_prot2.c: Likewise.
40421         * sunrpc/pmap_rmt.c: Likewise.
40422         * sunrpc/publickey.c: Likewise.
40423         * sunrpc/rpc_cmsg.c: Likewise.
40424         * sunrpc/rpc_common.c: Likewise.
40425         * sunrpc/rpc_dtable.c: Likewise.
40426         * sunrpc/rpc_prot.c: Likewise.
40427         * sunrpc/rpc_thread.c: Likewise.
40428         * sunrpc/rtime.c: Likewise.
40429         * sunrpc/svc.c: Likewise.
40430         * sunrpc/svc_auth.c: Likewise.
40431         * sunrpc/svc_authux.c: Likewise.
40432         * sunrpc/svc_raw.c: Likewise.
40433         * sunrpc/svc_run.c: Likewise.
40434         * sunrpc/svc_simple.c: Likewise.
40435         * sunrpc/svc_tcp.c: Likewise.
40436         * sunrpc/svc_udp.c: Likewise.
40437         * sunrpc/svc_unix.c: Likewise.
40438         * sunrpc/svcauth_des.c: Likewise.
40439         * sunrpc/xcrypt.c: Likewise.
40440         * sunrpc/xdr.c: Likewise.
40441         * sunrpc/xdr_array.c: Likewise.
40442         * sunrpc/xdr_float.c: Likewise.
40443         * sunrpc/xdr_intXX_t.c: Likewise.
40444         * sunrpc/xdr_mem.c: Likewise.
40445         * sunrpc/xdr_rec.c: Likewise.
40446         * sunrpc/xdr_ref.c: Likewise.
40447         * sunrpc/xdr_sizeof.c: Likewise.
40448         * sunrpc/xdr_stdio.c: Likewise.
40450 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
40452         [BZ #12650]
40453         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40454         * sysdeps/ia64/dl-tls.h: Likewise.
40455         * sysdeps/powerpc/dl-tls.h: Likewise.
40456         * sysdeps/s390/dl-tls.h: Likewise.
40457         * sysdeps/sh/dl-tls.h: Likewise.
40458         * sysdeps/sparc/dl-tls.h: Likewise.
40459         * sysdeps/x86_64/dl-tls.h: Likewise.
40460         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40462 2011-03-14  Andreas Schwab  <schwab@redhat.com>
40464         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40465         rpath element also skip the following colon.
40466         (expand_dynamic_string_token): Add is_path parameter and pass
40467         down to DL_DST_REQUIRED and _dl_dst_substitute.
40468         (decompose_rpath): Call expand_dynamic_string_token with
40469         non-zero is_path.  Ignore empty rpaths.
40470         (_dl_map_object_from_fd): Call expand_dynamic_string_token
40471         with zero is_path.
40473 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
40475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40476         Make cancelable.
40478 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
40480         [BZ #12655]
40481         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40482         Patch by Filipe David Manana <fdmanana@apache.org>.
40484 2011-04-07  Andreas Schwab  <schwab@redhat.com>
40486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40487         Maintain aligned stack.
40488         (CHECK_RSP): Remove unused macro.
40490 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
40492         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40493         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40495 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
40497         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40499         * include/features.h: Mention __USE_XOPEN2K8 in comment.
40501 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
40503         [BZ #12518]
40504         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40505         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40506         * sysdeps/x86_64/memmove.c: New file.
40507         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40508         (memcpy): Renamed to ...
40509         (__new_memcpy): This.
40510         (memcpy): Provide GLIBC_2_14 memcpy.
40511         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40512         (memcpy): Provide GLIBC_2_2_5 memcpy.
40514 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40516         [BZ #12631]
40517         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40519 2011-03-30  Andreas Schwab  <schwab@redhat.com>
40521         * misc/syncfs.c: New file.
40522         * misc/Makefile (routines): Add syncfs.
40523         * posix/unistd.h: Declare syncfs.
40524         * sysdeps/unix/syscalls.list: Add syncfs.
40526 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40528         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40529         open_by_handle_at.
40530         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40531         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40533         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40535         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40536         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40538 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40540         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40541         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40542         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40544         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40545         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40546         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40548         * io/Makefile: Compile fallocate.c, fallocate64.c, and
40549         sync_file_range.c with -fexceptions.
40550         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40551         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40552         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40553         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40554         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40555         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40557         sync_file_range as cancellation point
40558         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
40559         now a wrapper around __call_sync_file_range with cancellation handling.
40560         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40561         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
40562         function name to __call_sync_file_range.
40563         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40564         Add call_sync_file_range.
40566 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40569         bits/timex.h.
40571 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40573         * iconv/iconv.h: Fix typo in comment.
40574         * io/fcntl.h: Likewise.
40575         * libio/stdio.h: Likewise.
40576         * posix/spawn.h: Likewise.
40577         * posix/unistd.h: Likewise.
40578         * stdlib/stdlib.h: Likewise.
40579         * time/time.h: Likewise.
40580         * wcsmbs/wchar.h: Likewise.
40582         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40583         open_by_handle): Add.
40584         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40585         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
40586         Augment a few comments.
40587         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40588         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40589         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40591         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40592         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40593         open_by_handle.
40595         * io/fcntl.h (AT_EMPTY_PATH): Define.
40597 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
40599         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40600         * sysdeps/unix/sysv/linux/bits/time.h: New file.
40601         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40602         to...
40603         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
40604         * Versions.def: Add GLIBC_2.14.
40605         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40606         Export.
40608 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
40610         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40611         round counter.
40612         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40614 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40616         [BZ #12597]
40617         * string/test-strncmp.c (do_page_test): New function.
40618         (check2): Likewise.
40619         (test_main): Call check2.
40620         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40622 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
40624         [BZ #12587]
40625         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40626         Handle cache information in CPU leaf 4.
40627         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40629 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
40631         [BZ #12583]
40632         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40633         character representation.
40634         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40636 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
40638         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40639         END(__isnan) to END(__isnanf) to match function entry point/label
40640         EALIGN(__isnanf,...).
40642 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
40644         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40646 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
40648         [BZ #12510]
40649         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40650         copy from the symbol referenced in the relocation to initialize the
40651         used variable.
40652         Patch by Piotr Bury <pbury@goahead.com>.
40653         * elf/Makefile: Add rules to build and tst-unique3.
40654         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40655         * elf/tst-unique3.cc: New file.
40656         * elf/tst-unique3.h: New file.
40657         * elf/tst-unique3lib.cc: New file.
40658         * elf/tst-unique3lib2.cc: New file.
40660         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40662 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
40664         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40665         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
40666         to _start.
40668 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
40670         * elf/dl-load.c (_dl_map_object): If we are looking for the first
40671         to-be-loaded object along a path to loader is ld.so.
40673 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40674             Ulrich Drepper  <drepper@gmail.com>
40676         * sysdeps/x86_64/memset.S: After aligning destination, code
40677         branches to different locations depending on the value of
40678         misalignment, when multiarch is enabled. Fix this.
40680 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40682         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40683         Set _x86_64_preferred_memory_instruction for AMD processsors.
40684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40685         Set bit_Prefer_SSE_for_memop for AMD processors.
40687 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
40689         * libio/fmemopen.c (fmemopen): Optimize a bit.
40691 2011-03-03  Andreas Schwab  <schwab@redhat.com>
40693         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40695 2011-03-03  Roland McGrath  <roland@redhat.com>
40697         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40699 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
40701         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40702         __bzero_ultra1 instead of __memset_ultra1.
40704 2011-02-23  Andreas Schwab  <schwab@redhat.com>
40705             Ulrich Drepper  <drepper@gmail.com>
40707         [BZ #12509]
40708         * include/link.h (struct link_map): Add l_orig_initfini.
40709         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40710         returning unsuccessfully.
40711         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40712         close of a file loaded at startup, restore the original l_initfini
40713         list.
40714         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40715         list, store the pointer.
40716         * elf/Makefile ($(objpfx)noload-mem): New rule.
40717         (noload-ENV): Define.
40718         (tests): Add $(objpfx)noload-mem.
40719         * elf/noload.c: Include <memcheck.h>.
40720         (main): Call mtrace.  Close all opened handles.
40722 2011-02-17  Andreas Schwab  <schwab@redhat.com>
40724         [BZ #12454]
40725         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40726         dependencies are missing.
40728 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40730         Fix __if_freereq crash: Unlike the generic version which uses free,
40731         Hurd needs munmap.
40732         * sysdeps/mach/hurd/ifreq.h: New file.
40734 2011-01-27  Petr Baudis  <pasky@suse.cz>
40735             Ulrich Drepper  <drepper@gmail.com>
40737         [BZ 12445]#
40738         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40739         to extend_alloca().
40740         * stdio-common/bug23.c: New file.
40741         * stdio-common/Makefile (tests): Add bug23.
40743 2010-09-28  Andreas Schwab  <schwab@redhat.com>
40744             Ulrich Drepper  <drepper@gmail.com>
40746         [BZ #12489]
40747         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40748         before performing relro protection.  At old place add assertion
40749         to make sure nothing changed.
40751 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
40752             Glauber de Oliveira Costa  <glommer@gmail.com>
40754         * elf/elf.h: Add new ARM TLS relocs.
40756 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
40758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40759         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40760         cast from r3.
40761         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
40762         'tests' variable.
40763         * sysdeps/wordsize-64/tst-writev.c: New file.
40765 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
40767         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40768         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40769         insns in _dl_start to prevent a TOC reference before relocs are
40770         resolved.
40772 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
40774         [BZ #12469]
40775         * Makeconfig: Remove RANLIB definition.
40776         * Makerules: Don't use RANLIB.
40777         * aclocal.m4: Remove ranlib test.
40778         * configure.in: No need to check for ranlib.
40779         * elf/rtld-Rules: Don't use RANLIB.
40781 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40783         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40784         protection macro.
40785         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40786         inclusion protection macro.
40788         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40789         SIGRTMIN and SIGRTMAX and print information in that case only when
40790         SIGRTMIN is defined.
40792 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
40794         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40795         arginfo fn returning -1.
40797         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40798         and thousands string is zero terminated.
40800 2011-02-03  Andreas Schwab  <schwab@redhat.com>
40802         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40803         sysdeps/unix/sysv/linux/bits/socket.h.
40805 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40807         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40808         (__CPU_COUNT): Remove old macros.
40809         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40810         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40811         (__CPU_ALLOC, __CPU_FREE): Add macros.
40812         (__sched_cpualloc, __sched_cpufree): Add declarations.
40814 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
40816         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40817         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40818         * nscd/aicache.c (addhstaiX): Return timeout of added value.
40819         (readdhstai): Return value of addhstaiX call.
40820         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40821         (addgrbyX): Return value returned by cache_addgr.
40822         (readdgrbyname): Return value returned by addgrbyX.
40823         (readdgrbygid): Likewise.
40824         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40825         (addpwbyX): Return value returned by cache_addpw.
40826         (readdpwbyname): Return value returned by addhstbyX.
40827         (readdpwbyuid): Likewise.
40828         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40829         (addservbyX): Return value returned by cache_addserv.
40830         (readdservbyname): Return value returned by addservbyX:
40831         (readdservbyport): Likewise.
40832         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40833         (addhstbyX): Return value returned by cache_addhst.
40834         (readdhstbyname): Return value returned by addhstbyX.
40835         (readdhstbyaddr): Likewise.
40836         (readdhstbynamev6): Likewise.
40837         (readdhstbyaddrv6): Likewise.
40838         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40839         (readdinitgroups): Return value returned by addinitgroupsX.
40840         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40841         (prune_cache): Keep track of timeout value of re-added entries.
40842         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40843         * nscd/nscd.h: Adjust prototypes of readd* functions.
40845 2011-02-04  Roland McGrath  <roland@redhat.com>
40847         * nis/nis_server.c (nis_servstate): Use the right name for 0.
40848         (nis_stats): Likewise.
40849         * nis/nis_modify.c (nis_modify): Likewise.
40850         * nis/nis_remove.c (nis_remove): Likewise.
40851         * nis/nis_add.c (nis_add): Likewise.
40853         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40855         * posix/fnmatch_loop.c: Add some consts.
40857         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40859 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
40861         [BZ #12460]
40862         * config.make.in (config-cflags-novzeroupper): Define.
40863         * configure.in: Substitute libc_cv_cc_novzeroupper.
40864         * elf/Makefile (AVX-CFLAGS): Define.
40865         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40866         (CFLAGS-tst-auditmod4a.c): Likewise.
40867         (CFLAGS-tst-auditmod4b.c): Likewise.
40868         (CFLAGS-tst-auditmod6b.c): Likewise.
40869         (CFLAGS-tst-auditmod6c.c): Likewise.
40870         (CFLAGS-tst-auditmod7b.c): Likewise.
40871         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40873 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
40875         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40876         function to the callback.
40877         Patch partly by Jiri Olsa <jolsa@redhat.com>.
40879 2011-02-02  Andreas Schwab  <schwab@redhat.com>
40881         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40882         of errno.
40884 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
40886         [BZ #11724]
40887         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40888         of constructors.
40889         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40890         of destructors.
40891         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40893         [BZ #11724]
40894         * elf/Makefile: Add rules to build and run new test.
40895         * elf/tst-initorder.c: New file.
40896         * elf/tst-initorder.exp: New file.
40897         * elf/tst-initordera1.c: New file.
40898         * elf/tst-initordera2.c: New file.
40899         * elf/tst-initordera3.c: New file.
40900         * elf/tst-initordera4.c: New file.
40901         * elf/tst-initorderb1.c: New file.
40902         * elf/tst-initorderb2.c: New file.
40903         * elf/tst-order-a1.c: New file.
40904         * elf/tst-order-a2.c: New file.
40905         * elf/tst-order-a3.c: New file.
40906         * elf/tst-order-a4.c: New file.
40907         * elf/tst-order-b1.c: New file.
40908         * elf/tst-order-b2.c: New file.
40909         * elf/tst-order-main.c: New file.
40910         New test case by George Gensure <werkt0@gmail.com>.
40912 2010-10-01  Andreas Schwab  <schwab@redhat.com>
40914         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40915         decoding ACE if AI_CANONIDN.
40917 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
40919         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40921 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
40923         * version.h (RELEASE): Bump for 2.13 release.
40924         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40926         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40928         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40929         MADV_NOHUGEPAGE.
40930         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40931         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40932         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40933         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40934         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40935         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40937         * posix/getconf.c: Update copyright year.
40938         * catgets/gencat.c: Likewise.
40939         * csu/version.c: Likewise.
40940         * debug/catchsegv.sh: Likewise.
40941         * debug/xtrace.sh: Likewise.
40942         * elf/ldconfig.c: Likewise.
40943         * elf/ldd.bash.in: Likewise.
40944         * elf/sprof.c (print_version): Likewise.
40945         * iconv/iconv_prog.c: Likewise.
40946         * iconv/iconvconfig.c: Likewise.
40947         * locale/programs/locale.c: Likewise.
40948         * locale/programs/localedef.c: Likewise.
40949         * malloc/memusage.sh: Likewise.
40950         * malloc/mtrace.pl: Likewise.
40951         * nscd/nscd.c (print_version): Likewise.
40952         * nss/getent.c: Likewise.
40954         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40955         PF_CAIF, and PF_ALG.
40956         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40958 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
40960         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40961         (modules-names): Use them.
40962         (ifunc-test-modules, ifunc-pie-tests): Define.
40963         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40964         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40965         (test-extras): Likewise.
40966         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40967         $(compile-command.c).
40968         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40969         (all-built-dso): Define.
40970         (check-textrel.out, check-execstack.out): Depend on it.
40972         * configure.in: Don't override --enable-multi-arch.
40974 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
40976         [BZ #6812]
40977         * nscd/hstcache.c (tryagain): Define.
40978         (cache_addhst): Return tryagain not notfound for temporary errors.
40979         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40980         failed.
40982 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
40984         [BZ #10563]
40985         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40986         to make the syscall.
40987         * sysdeps/unix/sysv/linux/setgroups.c: New file.
40989         [BZ #12378]
40990         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40991         and fall back to matching as normal character if the string ends before
40992         the matching ']' is found.  This is what POSIX requires.
40993         * posix/testfnm.c: Adjust test result.
40994         * posix/globtest.sh: Adjust test result.  Add new test.
40995         * posix/tst-fnmatch.input: Likewise.
40996         * posix/tst-fnmatch2.c: Add new test.
40998 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
41000         * elf/Makefile (check-execstack): Revert last change.  Depend on
41001         check-execstack.h.
41002         (check-execstack.h): New target.
41003         (generated): Add check-execstack.h.
41004         * elf/check-execstack.c: Include "check-execstack.h".
41005         (main): Revert last change.
41006         (handle_file): Return zero if GNU_STACK is absent and
41007         DEFAULT_STACK_PERMS doesn't include PF_X.
41009 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
41011         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41012         in child fails because the descriptor is already closed.
41013         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41014         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41015         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41017         [BZ #12397]
41018         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41019         syscall.
41021         [BZ #10484]
41022         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41023         temporary buffer used to handle multi lookups locally.
41024         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41026 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41028         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41029         loader is ld.so.
41031 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
41033         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41034         alignment for SSE2.
41036 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
41038         [BZ #12394]
41039         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41040         characters.  When rounding increased number of integer digits recompute
41041         number of groups.
41042         * stdio-common/tst-grouping.c: New file.
41043         * stdio-common/Makefile: Add rules to build and run tst-grouping.
41045 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
41047         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41048         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
41050         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41051         void.
41052         * bits/select.h: Likewise.
41054 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
41056         * po/ja.po: Update from translation team.
41058 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
41060         [BZ #11155]
41061         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41062         implementation just like for lxstat, fxstatat, et al.
41064 2010-12-27  Jim Meyering  <meyering@redhat.com>
41066         [BZ #12348]
41067         * posix/regexec.c (build_trtable): Return failure indication upon
41068         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
41070 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
41072         [BZ #12201]
41073         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41074         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41075         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41076         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41078         [BZ #12207]
41079         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41081         [BZ #12204]
41082         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41083         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41085 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
41087         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41088         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41089         script has SORT_BY_INIT_PRIORITY.
41090         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41091         NO_CTORS_DTORS_SECTIONS is defined.
41092         * elf/soinit.c: Likewise.
41093         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41094         NO_CTORS_DTORS_SECTIONS is defined.
41095         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41096         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41097         * sysdeps/sh/init-first.c: Likewise.
41098         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41100 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
41102         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41103         always use the slow path.
41105 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
41107         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41108         similar rule which adds the sysdep directories to the header search in
41109         order to pick up the correct platform stackinfo.h.
41110         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41111         perform test if it is, otherwise return successfully without testing.
41112         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41113         DEFAULT_STACK_PERMS define in stackinfo.h.
41114         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41115         defined in stackinfo.h.
41116         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41117         DEFAULT_STACK_PERMS defined in stackinfo.h.
41118         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41119         * sysdeps/ia64/stackinfo.h: Likewise.
41120         * sysdeps/s390/stackinfo.h: Likewise.
41121         * sysdeps/sh/stackinfo.h: Likewise.
41122         * sysdeps/sparc/stackinfo.h: Likewise.
41123         * sysdeps/x86_64/stackinfo.h: Likewise.
41124         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41125         PF_X for powerpc64.  Retain PF_X for powerpc32.
41127 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
41129         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41130         accurately.
41131         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41132         GETDENTS_64BIT_ALIGNED.
41134 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
41136         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41138 2010-12-10  Andreas Schwab  <schwab@redhat.com>
41140         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41141         _GNU_SOURCE.
41143         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41144         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41145         Remove __restrict.
41146         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41147         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41149 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
41151         [BZ #11655]
41152         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41153         are initialized.
41155 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
41157         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41159 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
41161         * po/it.po: Update from translation team.
41163 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
41165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41166         unused codes.
41168 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
41170         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41172 2010-11-24  Andreas Schwab  <schwab@redhat.com>
41174         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41175         specially.
41176         (gaih_getanswer_slice): Likewise.
41178 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
41180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41182 2010-05-31  Petr Baudis  <pasky@suse.cz>
41184         [BZ #11149]
41185         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41186         silently even in the chroot mode.
41188 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
41190         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41191         last patch a bit.  Pretty printing
41193 2010-05-31  Petr Baudis <pasky@suse.cz>
41195         [BZ #10085]
41196         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41197         initialization of skip_initgroups_dyn.
41199 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
41201         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41202         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41204 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
41206         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41208 2010-11-11  Andreas Schwab  <schwab@redhat.com>
41210         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41211         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41212         (tst-fnmatch-ENV): Set MALLOC_TRACE.
41213         ($(objpfx)tst-fnmatch-mem): New rule.
41214         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41215         * posix/tst-fnmatch.c (main): Call mtrace.
41217 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
41219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41220         Support Intel processor model 6 and model 0x2c.
41222 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
41224         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41225           signed comparison.
41227 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
41229         [BZ #12205]
41230         * string/test-strncasecmp.c (check_result): New function.
41231         (do_one_test): Use it.
41232         (check1): New function.
41233         (test_main): Use it.
41234         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41235         Support strcasecmp and strncasecmp.
41237 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
41239         [BZ #12194]
41240         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41241         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41243 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41245         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41246         IFUNC support.
41247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41248         memset-x86-64.
41249         * sysdeps/x86_64/multiarch/bzero.S: New file.
41250         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41251         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41252         * sysdeps/x86_64/multiarch/memset.S: New file.
41253         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41255         Set bit_Prefer_SSE_for_memop for Intel processors.
41256         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41257         Define.
41258         (index_Prefer_SSE_for_memop): Define.
41259         (HAS_PREFER_SSE_FOR_MEMOP): Define.
41261 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
41263         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41264         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41266 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
41268         [BZ #12191]
41269         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41270         (__x86_64_raw_data_cache_size_half): Likewise.
41271         (__x86_64_raw_shared_cache_size): Likewise.
41272         (__x86_64_raw_shared_cache_size_half): Likewise.
41274         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41275         (__x86_64_raw_data_cache_size_half): Likewise.
41276         (__x86_64_raw_shared_cache_size): Likewise.
41277         (__x86_64_raw_shared_cache_size_half): Likewise.
41278         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41279         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41280         and __x86_64_raw_shared_cache_size_half.  Round
41281         __x86_64_data_cache_size_half, __x86_64_data_cache_size
41282         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41283         to multiple of 256 bytes.
41285 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
41287         [BZ #12167]
41288         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41289         of inacessible symlinks.  Verify result of symlink before returning it.
41290         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41291         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41293 2010-10-28  Erich Ritz  <erichritz@gmail.com>
41295         * math/math.h (isinf): Fix typo in comment.
41297 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
41299         * po/da.po: Update from translation team.
41301 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
41303         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41304         is added to the list.
41306 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41307             Ulrich Drepper  <drepper@gmail.com>
41309         * elf/dl-object.c (_dl_new_object): Don't append the new object to
41310         the global list here.  Move code to...
41311         (_dl_add_to_namespace_list): ...here.  New function.
41312         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41313         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41314         * elf/dl-load.c (lose): Don't remove the element from the list.
41315         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41316         (_dl_map_object): Likewise.
41318 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
41320         [BZ #12159]
41321         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41322         into all bytes of SSE register.
41323         Patch by Richard Li <richardpku@gmail.com>.
41325 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
41327         [BZ #12140]
41328         * malloc/malloc.c (_int_free): Fill correct number of bytes when
41329         perturbing.
41331 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
41333         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41334         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41335         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41336         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41338         submachine.
41339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41341 2010-10-22  Andreas Schwab  <schwab@redhat.com>
41343         * include/dlfcn.h (__RTLD_SECURE): Define.
41344         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
41345         mode & __RTLD_SECURE instead.
41346         (open_path): Rename preloaded parameter to secure.
41347         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41348         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41349         * elf/dl-deps.c (openaux): Likewise.
41350         * elf/rtld.c (struct map_args): Remove is_preloaded.
41351         (map_doit): Don't use it.
41352         (dl_main): Likewise.
41353         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41354         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41356 2010-09-09  Andreas Schwab  <schwab@redhat.com>
41358         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41359         (sysd-rules-targets): Remove duplicates.
41360         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41361         rtld-%.$o dependency.
41363 2010-10-18  Andreas Schwab  <schwab@redhat.com>
41365         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41366         _dl_map_object do it.
41368 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
41370         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41371         fast fma builtins, define the macros in the C99 standard.
41372         (FP_FAST_FMAF): Likewise.
41373         (FP_FAST_FMAL): Likewise.
41374         * sysdeps/x86_64/bits/mathdef.h: Likewise.
41376         * bits/mathdef.h: Update copyright year.
41377         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41379 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
41381         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41382         builtins, define the macros in the C99 standard.
41383         (FP_FAST_FMAF): Likewise.
41384         (FP_FAST_FMAL): Likewise.
41385         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41386         multiply/add.
41387         (FP_FAST_FMAF): Likewise.
41389 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
41391         [BZ #3268]
41392         * math/libm-test.inc (fma_test): Some new testcases.
41393         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41394         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41395         y and infinite z.  Do multiplication by C already in long double.
41396         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41397         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41398         y and infinite z.  Do bitwise or of inexact bit into u.d.
41399         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41400         * sysdeps/i386/fpu/s_fmaf.S: Removed.
41401         * sysdeps/i386/fpu/s_fma.S: Removed.
41402         * sysdeps/i386/fpu/s_fmal.S: Removed.
41404 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
41406         [BZ #3268]
41407         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41408         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41409         computation is not scheduled after fetestexcept.  Fix value
41410         of minimum denormal long double.
41412 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
41414         [BZ #3268]
41415         * math/libm-test.inc (fma_test): Add some more tests.
41416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41417         correctly.
41419 2010-10-15  Andreas Schwab  <schwab@redhat.com>
41421         * scripts/data/localplt-s390-linux-gnu.data: New file.
41422         * scripts/data/localplt-s390x-linux-gnu.data: New file.
41424 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
41426         [BZ #3268]
41427         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41428         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41429         instead of dbl-64.
41430         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41431         inlines.
41432         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41434         if one of x and y is very large and the other is subnormal.
41435         * sysdeps/s390/fpu/s_fmaf.c: New file.
41436         * sysdeps/s390/fpu/s_fma.c: New file.
41437         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41438         * sysdeps/powerpc/fpu/s_fma.S: New file.
41439         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41440         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41441         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41443 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
41445         [BZ #3268]
41446         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41447         fma tests.
41448         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41449         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41450         * sysdeps/i386/i686/multiarch/s_fma.c: Include
41451         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41452         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41453         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41454         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41456 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
41458         [BZ #12078]
41459         * posix/regcomp.c (parse_branch): One more memory leak plugged.
41460         * posix/bug-regex31.input: Add test case.
41462 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41464         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41465         * posix/bug-regex31.input: New file.
41467         [BZ #12078]
41468         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41469         (parse_sub_exp): Fix last change, use postorder.
41471         * posix/bug-regex31.c: New file.
41472         * posix/Makefile: Add rules to build and run bug-regex31.
41474         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41476         [BZ #12078]
41477         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41479         [BZ #12108]
41480         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41481         to have entries in sys_siglist.
41483         [BZ #12093]
41484         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41485         be NULL.
41487 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
41489         [BZ #3268]
41490         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41491         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41492         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41493         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41494         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41495         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41496         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41497         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41498         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41499         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41500         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41501         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41502         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41503         * math/ftestexcept.c (fetestexcept): Likewise.
41504         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41505         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41506         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41507         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41508         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41509         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41510         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41512 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41514         [BZ #12107]
41515         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41516         newline.
41518 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
41520         * string/bug-strstr1.c: New file.
41521         * string/Makefile: Add rules to build and run bug-strstr1.
41523 2010-10-05  Eric Blake  <eblake@redhat.com>
41525         [BZ #12092]
41526         * string/str-two-way.h (two_way_long_needle): Always clear memory
41527         when skipping input due to the shift table.
41529 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
41531         [BZ #12005]
41532         * malloc/mcheck.c: Handle large requests.
41534         [BZ #12077]
41535         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41536         for strncmp and strncasecmp.
41537         * string/stratcliff.c: Add tests for strcmp and strncmp.
41538         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41540 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41542         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41543         __set_fpscr.
41545 2010-09-30  Andreas Jaeger  <aj@suse.de>
41547         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41548         (CGROUP_SUPER_MAGIC): Define.
41549         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41550         Handle btrfs and cgroup file systems.
41551         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41552         Likewise.
41554 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
41556         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41557         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41559 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41561         [BZ #12067]
41562         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41563         trying to locate the ELF header.
41565 2010-09-27  Andreas Schwab  <schwab@redhat.com>
41567         [BZ #11611]
41568         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41569         Mask out sign-bit copies when constructing f_fsid.
41571 2010-09-24  Petr Baudis <pasky@suse.cz>
41573         * debug/stack_chk_fail_local.c: Add missing licence exception.
41574         * debug/warning-nop.c: Likewise.
41576 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
41578         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41579         implementing getdents64 using getdents syscall, set d_type if
41580         __ASSUME_GETDENTS32_D_TYPE.
41582 2010-09-16  Andreas Schwab  <schwab@redhat.com>
41584         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41585         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41587 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
41589         [BZ #12037]
41590         * posix/unistd.h: Undo change of feature selection for ftruncate from
41591         2010-01-11.
41593 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
41595         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41596         detection.
41598 2010-09-20  Andreas Schwab  <schwab@redhat.com>
41600         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41601         fanotify_mark.
41602         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41604 2010-09-14  Andreas Schwab  <schwab@redhat.com>
41606         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41607         variables after CHECK_SP call.
41608         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41610 2010-09-13  Andreas Schwab  <schwab@redhat.com>
41611             Ulrich Drepper  <drepper@redhat.com>
41613         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41614         re-relocationg ld.so.
41615         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41616         _dl_init_paths call.
41617         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
41618         here anymore.
41620 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
41622         * resolv/res_init.c (__res_vinit): Count the default server we added.
41624 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
41625             Ulrich Drepper  <drepper@redhat.com>
41627         [BZ #11968]
41628         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41629         (____longjmp_chk): Use %ebx for saving value across system call.
41630         Add unwind info.
41632 2010-09-06  Andreas Schwab  <schwab@redhat.com>
41634         * manual/Makefile: Don't mix pattern rules with normal rules.
41636 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41638         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41639         operation.
41640         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41641         * libio/iofopncook.c (_IO_cookie_init): Likewise.
41642         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41643         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41645         Likewise.
41647 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
41649         [BZ #11979]
41650         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41651         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41653 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
41655         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41656         * sysdeps/x86_64/addmul_1.S: Likewise.
41657         * sysdeps/x86_64/lshift.S: Likewise.
41658         * sysdeps/x86_64/mul_1.S: Likewise.
41659         * sysdeps/x86_64/rshift.S: Likewise.
41660         * sysdeps/x86_64/sub_n.S: Likewise.
41661         * sysdeps/x86_64/submul_1.S: Likewise.
41663 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41665         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41666         Define __sched_param instead of SCHED_* and sched_param when
41667         <bits/sched.h> is included with __need_schedparam defined.
41668         * bits/sched.h [__need_schedparam]
41669         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41670         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41671         (__defined_schedparam): Define to 1.
41672         (__sched_param): New structure, identical to sched_param.
41673         (__need_schedparam): Undefine.
41675 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
41677         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41678         (epoll_create1): Declare.
41680         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41682 2010-08-31  Andreas Schwab  <schwab@redhat.com>
41684         [BZ #7066]
41685         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41686         shifting retval into place.
41688 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
41690         * nis/rpcsvc/nis.h: Update copyright notice.
41691         * nis/rpcsvc/nis.x: Likewise.
41692         * nis/rpcsvc/nis_callback.h: Likewise.
41693         * nis/rpcsvc/nis_callback.x: Likewise.
41694         * nis/rpcsvc/nis_object.x: Likewise.
41695         * nis/rpcsvc/nis_tags.h: Likewise.
41696         * nis/rpcsvc/yp.h: Likewise.
41697         * nis/rpcsvc/yp.x: Likewise.
41698         * nis/rpcsvc/ypupd.h: Likewise.
41699         * nis/yp_xdr.c: Likewise.
41700         * nis/ypupdate_xdr.c: Likewise.
41702         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
41703         mainly the body of pmap_getport.  Add parameters to specify timeouts.
41704         (pmap_getport): Use __libc_rpc_getport.
41705         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41706         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41707         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41709 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
41711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41712         fanotify_mark.
41714 2010-08-27  Roland McGrath  <roland@redhat.com>
41716         * sysdeps/i386/i686/multiarch/Makefile
41717         (CFLAGS-varshift.c): New variable.
41719 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
41721         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41722         * sysdeps/i386/i686/multiarch/varshift.c: New file.
41724         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41726         * sysdeps/x86_64/strlen.S: Minimal code improvement.
41728 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
41730         * sysdeps/x86_64/strlen.S: Unroll the loop.
41731         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41732         strlen-sse2 strlen-sse2-bsf.
41733         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41734         __strlen_no_bsf if bit_Slow_BSF is set.
41735         (__strlen_sse42): Removed.
41736         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41737         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41739 2010-08-25  Roland McGrath  <roland@redhat.com>
41741         * sysdeps/x86_64/multiarch/varshift.S: File removed.
41742         * sysdeps/x86_64/multiarch/varshift.c: New file.
41743         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41744         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41745         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41746         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41748 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
41750         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41751         strlen-sse2 strlen-sse2-bsf.
41752         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41753         __strlen_sse2_bsf if bit_Slow_BSF is unset.
41754         (__strlen_sse2): Removed.
41755         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41756         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41758         bit_Slow_BSF for Atom.
41759         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41760         (index_Slow_BSF): Define.
41761         (HAS_SLOW_BSF): Define.
41763 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
41765         [BZ #10851]
41766         * resolv/res_init.c (__res_vinit): When no server address at all
41767         is given default to loopback.
41769 2010-08-24  Roland McGrath  <roland@redhat.com>
41771         * configure.in: Remove config-name.h generation.
41772         * configure: Regenerated.
41773         * config-name.in: File removed.
41774         * scripts/config-uname.sh: New file.
41775         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41776         ($(objdir)config-name.h): New target.
41778         * sunrpc/rpc_parse.h: Avoid nested comment.
41780 2010-08-24  Richard Henderson  <rth@redhat.com>
41781             Ulrich Drepper  <drepper@redhat.com>
41782             H.J. Lu  <hongjiu.lu@intel.com>
41784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41786         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41787         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
41788         _mm_alignr_epi8 with _mm_loadu_si128.
41789         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41790         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41791         (__m128i_shift_right): Removed.
41792         * sysdeps/i386/i686/multiarch/varshift.h: New file.
41793         * sysdeps/i386/i686/multiarch/varshift.S: New file.
41794         * sysdeps/x86_64/multiarch/varshift.h: New file.
41795         * sysdeps/x86_64/multiarch/varshift.S: New file.
41797 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
41799         * configure.in: Move assembler checks to before sysdep dir checking.
41801 2010-08-20  Petr Baudis  <pasky@suse.cz>
41803         * LICENSES: Sync the sunrpc license.
41805 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
41807         * sunrpc/auth_des.c: Update copyright notice once again.
41808         * sunrpc/auth_none.c: Likewise.
41809         * sunrpc/auth_unix.c: Likewise.
41810         * sunrpc/authdes_prot.c: Likewise.
41811         * sunrpc/authuxprot.c: Likewise.
41812         * sunrpc/bindrsvprt.c: Likewise.
41813         * sunrpc/clnt_gen.c: Likewise.
41814         * sunrpc/clnt_perr.c: Likewise.
41815         * sunrpc/clnt_raw.c: Likewise.
41816         * sunrpc/clnt_simp.c: Likewise.
41817         * sunrpc/clnt_tcp.c: Likewise.
41818         * sunrpc/clnt_udp.c: Likewise.
41819         * sunrpc/clnt_unix.c: Likewise.
41820         * sunrpc/des_crypt.c: Likewise.
41821         * sunrpc/des_soft.c: Likewise.
41822         * sunrpc/get_myaddr.c: Likewise.
41823         * sunrpc/getrpcport.c: Likewise.
41824         * sunrpc/key_call.c: Likewise.
41825         * sunrpc/key_prot.c: Likewise.
41826         * sunrpc/openchild.c: Likewise.
41827         * sunrpc/pm_getmaps.c: Likewise.
41828         * sunrpc/pm_getport.c: Likewise.
41829         * sunrpc/pmap_clnt.c: Likewise.
41830         * sunrpc/pmap_prot.c: Likewise.
41831         * sunrpc/pmap_prot2.c: Likewise.
41832         * sunrpc/pmap_rmt.c: Likewise.
41833         * sunrpc/rpc/auth.h: Likewise.
41834         * sunrpc/rpc/auth_unix.h: Likewise.
41835         * sunrpc/rpc/clnt.h: Likewise.
41836         * sunrpc/rpc/des_crypt.h: Likewise.
41837         * sunrpc/rpc/key_prot.h: Likewise.
41838         * sunrpc/rpc/netdb.h: Likewise.
41839         * sunrpc/rpc/pmap_clnt.h: Likewise.
41840         * sunrpc/rpc/pmap_prot.h: Likewise.
41841         * sunrpc/rpc/pmap_rmt.h: Likewise.
41842         * sunrpc/rpc/rpc.h: Likewise.
41843         * sunrpc/rpc/rpc_des.h: Likewise.
41844         * sunrpc/rpc/rpc_msg.h: Likewise.
41845         * sunrpc/rpc/svc.h: Likewise.
41846         * sunrpc/rpc/svc_auth.h: Likewise.
41847         * sunrpc/rpc/types.h: Likewise.
41848         * sunrpc/rpc/xdr.h: Likewise.
41849         * sunrpc/rpc_clntout.c: Likewise.
41850         * sunrpc/rpc_cmsg.c: Likewise.
41851         * sunrpc/rpc_common.c: Likewise.
41852         * sunrpc/rpc_cout.c: Likewise.
41853         * sunrpc/rpc_dtable.c: Likewise.
41854         * sunrpc/rpc_hout.c: Likewise.
41855         * sunrpc/rpc_main.c: Likewise.
41856         * sunrpc/rpc_parse.c: Likewise.
41857         * sunrpc/rpc_parse.h: Likewise.
41858         * sunrpc/rpc_prot.c: Likewise.
41859         * sunrpc/rpc_sample.c: Likewise.
41860         * sunrpc/rpc_scan.c: Likewise.
41861         * sunrpc/rpc_scan.h: Likewise.
41862         * sunrpc/rpc_svcout.c: Likewise.
41863         * sunrpc/rpc_tblout.c: Likewise.
41864         * sunrpc/rpc_util.c: Likewise.
41865         * sunrpc/rpc_util.h: Likewise.
41866         * sunrpc/rpcinfo.c: Likewise.
41867         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41868         * sunrpc/rpcsvc/key_prot.x: Likewise.
41869         * sunrpc/rpcsvc/klm_prot.x: Likewise.
41870         * sunrpc/rpcsvc/mount.x: Likewise.
41871         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41872         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41873         * sunrpc/rpcsvc/rex.x: Likewise.
41874         * sunrpc/rpcsvc/rstat.x: Likewise.
41875         * sunrpc/rpcsvc/rusers.x: Likewise.
41876         * sunrpc/rpcsvc/sm_inter.x: Likewise.
41877         * sunrpc/rpcsvc/spray.x: Likewise.
41878         * sunrpc/rpcsvc/yppasswd.x: Likewise.
41879         * sunrpc/rtime.c: Likewise.
41880         * sunrpc/svc.c: Likewise.
41881         * sunrpc/svc_auth.c: Likewise.
41882         * sunrpc/svc_authux.c: Likewise.
41883         * sunrpc/svc_raw.c: Likewise.
41884         * sunrpc/svc_run.c: Likewise.
41885         * sunrpc/svc_simple.c: Likewise.
41886         * sunrpc/svc_tcp.c: Likewise.
41887         * sunrpc/svc_udp.c: Likewise.
41888         * sunrpc/svc_unix.c: Likewise.
41889         * sunrpc/svcauth_des.c: Likewise.
41890         * sunrpc/xcrypt.c: Likewise.
41891         * sunrpc/xdr.c: Likewise.
41892         * sunrpc/xdr_array.c: Likewise.
41893         * sunrpc/xdr_float.c: Likewise.
41894         * sunrpc/xdr_mem.c: Likewise.
41895         * sunrpc/xdr_rec.c: Likewise.
41896         * sunrpc/xdr_ref.c: Likewise.
41897         * sunrpc/xdr_sizeof.c: Likewise.
41898         * sunrpc/xdr_stdio.c: Likewise.
41900         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41901         handling.
41903 2010-08-19  Andreas Schwab  <schwab@redhat.com>
41905         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41907 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
41909         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41910         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41911         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41912         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41913         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41914         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41915         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41916         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41917         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41918         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41919         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41920         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41921         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41922         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41924 2010-07-26  Anton Blanchard  <anton@samba.org>
41926         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41927         * malloc/arena.c (heap_trim): Likewise.
41929 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
41931         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41932         here.  Not...
41933         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41934         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41936 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41938         * sysdeps/i386/elf/Makefile: New file.
41940 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41942         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41943         from fanotify_init.
41944         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41945         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41947 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
41949         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41950         of strncasecmp_l.
41951         * sysdeps/multiarch/strcmp.S: Likewise.
41953 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
41955         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41956         strncase_l-nonascii.
41957         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41958         Add strncase_l-ssse3.
41959         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41960         * sysdeps/x86_64/strcmp.S: Likewise.
41961         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41962         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41963         * sysdeps/x86_64/strncase.S: New file.
41964         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41965         * sysdeps/x86_64/strncase_l.S: New file.
41966         * string/Makefile (strop-tests): Add strncasecmp.
41967         * string/test-strncasecmp.c: New file.
41969         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41970         warning.
41972         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41973         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41975 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41977         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41979 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
41981         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41982         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41983         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41985 2010-05-01  Alan Modra  <amodra@gmail.com>
41987         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41988         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41989         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41990         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41991         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41992         tidying.  Don't tail-call __sigjmp_save for static lib.
41993         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41994         save location.
41995         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41996         (CALL_MCOUNT): Add eh info, and nop after bl.
41997         (TAIL_CALL_SYSCALL_ERROR): New macro.
41998         (PSEUDO_RET): Use it.
41999         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42000         Correct save location of integer regs and cr.
42001         (_dl_profile_resolve): Correct cr save location.  Delete nops
42002         after bl when SHARED.  Reduce cfi size a little by better
42003         placement of cfi directives.
42004         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42005         make a stack frame.  Instead use parm save area as a temp.
42006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42007         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
42008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42009         Don't make a stack frame for parent, use parm save area.
42010         Increase child stack frame to 112 bytes.  Don't save unused reg,
42011         and adjust reg usage.  Set up cfi on error recovery and
42012         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42014         (__makecontext): Add dummy nop after jump to exit.
42015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42016         Use correct parm save area and cr save, reduce stack frame.
42017         Correct cfi for possible PSEUDO_RET frame setup.
42018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42019         Branch to local label emitted by PSEUDO_RET rather than
42020         __syscall_error.
42022 2010-08-12  Andreas Schwab  <schwab@redhat.com>
42024         [BZ #11904]
42025         * locale/programs/locale.c (print_assignment): New function.
42026         (show_locale_vars): Use it.
42028 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
42030         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42031         field.
42032         (struct statfs64): Likewise.
42033         (_STATFS_F_FLAGS): Define.
42034         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42035         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42036         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42037         (ST_VALID): Define locally.
42038         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42039         __statvfs_getflags, use the provided value.
42040         * sysdeps/unix/sysv/linux/kernel-features.h: Define
42041         __ASSUME_STATFS_F_FLAGS.
42043         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42045         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42046         Add sys/fanotify.h.
42047         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42048         fanotify_mask for GLIBC_2.13.
42049         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42050         fanotify_init and fanotify_mark.
42051         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42052         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42054         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42055         Add prlimit.
42056         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42057         prlimit64 for GLIBC_2.13.
42058         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42059         prlimit64.
42060         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42061         syscall.
42062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42063         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42064         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42065         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42066         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
42067         add prlimit alias.
42068         * sysdeps/unix/sysv/linux/prlimit.c: New file.
42070         [BZ #11903]
42071         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42072         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42074         * nss/Makefile: Add rules to build and run tst-nss-test1.
42075         * shlib-versions: Add entry for libnss_test1.
42076         * nss/nss_test1.c: New file.
42077         * nss/tst-nss-test1.c: New file.
42079         * nss/nsswitch.c (__nss_database_custom): Define new variable.
42080         (__nss_configure_lookup): Set appropriate entry in
42081         __nss_configure_lookup to true.
42082         * nss/nsswitch.h: Define enum with indeces of databases in
42083         databases and __nss_database_custom arrays.  Declare
42084         __nss_database_custom.
42085         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42086         to avoid using nscd when custom rules are installed.
42087         * nss/getXXbyYY_r.c: Likewise.
42088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42090         * nss/nss_files/files-parse.c: Whitespace fixes.
42092 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
42094         [BZ #11883]
42095         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42096         * posix/fnmatch_loop.c: Likewise.
42098 2010-07-17  Andi Kleen  <ak@linux.intel.com>
42100         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42101         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42102         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42103         * Versions.def [GLIBC_2.13]: Add.
42105 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
42107         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42108         Also fail if tpwd after pwuid call is NULL.
42110 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42112         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42113         when converting to ms.
42115 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42117         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42118         EOPNOTSUPP errors with ENOTTY.
42119         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42120         EOPNOTSUPP errors with ENOTTY.
42122 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
42124         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42125         Add strcasecmp_l-ssse3.
42126         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42127         strcasecmp.
42128         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42129         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42130         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42132 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
42134         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42136         * string/Makefile (strop-tests): Add strcasecmp.
42137         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42138         strcasecmp_l-nonascii.
42139         (gen-as-const-headers): Add locale-defines.sym.
42140         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42141         * sysdeps/x86_64/strcasecmp.S: New file.
42142         * sysdeps/x86_64/strcasecmp_l.S: New file.
42143         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42144         * sysdeps/x86_64/locale-defines.sym: New file.
42145         * string/test-strcasecmp.c: New file.
42147         * string/test-strcasestr.c: Test both ends of the range of characters.
42148         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42150 2010-07-29  Roland McGrath  <roland@redhat.com>
42152         [BZ #11856]
42153         * manual/locale.texi (Yes-or-No Questions): Fix example code.
42155 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
42157         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42158         for ld.so.
42160 2010-07-27  Andreas Schwab  <schwab@redhat.com>
42162         * manual/memory.texi (Malloc Tunable Parameters): Document
42163         M_PERTURB.
42165 2010-07-26  Roland McGrath  <roland@redhat.com>
42167         [BZ #11840]
42168         * configure.in (-fgnu89-inline check): Set and substitute
42169         gnu89_inline, not libc_cv_gnu89_inline.
42170         * configure: Regenerated.
42171         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42173 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
42175         * string/test-strnlen.c: New file.
42176         * string/Makefile (strop-tests): Add strnlen.
42177         * string/tester.c (test_strnlen): Add a few more test cases.
42178         * string/tst-strlen.c: Better error reporting.
42180         * sysdeps/x86_64/strnlen.S: New file.
42182 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
42184         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42185         lower-latency instructions.
42187 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
42189         * string/test-strcasestr.c: New file.
42190         * string/test-strstr.c: New file.
42191         * string/Makefile (strop-tests): Add strstr and strcasestr.
42192         * string/str-two-way.h: Don't undefine MAX.
42193         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42195 2010-07-21  Andreas Schwab  <schwab@redhat.com>
42197         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42198         strcasestr-nonascii.
42199         (CFLAGS-strcasestr-nonascii.c): Define.
42200         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42201         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42202         Remove unused attribute.
42204 2010-07-20  Roland McGrath  <roland@redhat.com>
42206         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42207         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
42208         ld.so.cache was broken.  With it, there is no way to disable dsocaps
42209         like LD_HWCAP_MASK can disable hwcaps.
42211 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42213         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42215 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
42217         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42218         call in strcasestr.
42219         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42220         __strcasestr_sse42_nonascii.
42221         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42222         strcasestr-nonascii.c.
42223         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42225 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
42227         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42228         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42229         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42230         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42232 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
42234         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42235         fcntl.
42237 2010-07-06  Andreas Schwab  <schwab@redhat.com>
42239         [BZ #11577]
42240         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42241         dl_signal_cerror.
42243 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
42245         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42246         _PC_PIPE_BUF using F_GETPIPE_SZ.
42248 2010-07-05  Roland McGrath  <roland@redhat.com>
42250         * manual/arith.texi (Rounding Functions): Fix rint description
42251         implicit in round description.
42253 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
42255         * elf/Makefile: Fix linking for a few tests to make recent linker
42256         happy.
42258 2010-06-30  Andreas Schwab  <schwab@redhat.com>
42260         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42261         $(common-objpfx)libc_nonshared.a.
42263 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
42265         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42266         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42267         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42268         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42269         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42270         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42271         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42272         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42287         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42288         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42289         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42290         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42291         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42292         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42293         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42294         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42295         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42296         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42297         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42298         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42314 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
42316         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42317         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
42318         * string/memmove.c (memmove): Renamed to ...
42319         (MEMMOVE): ...this.  Default to memmove.
42320         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42321         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42322         (END_CHK): Define.
42323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42324         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42325         mempcpy-ssse3-back memmove-ssse3-back.
42326         * sysdeps/x86_64/multiarch/bcopy.S: New file .
42327         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42328         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42329         * sysdeps/x86_64/multiarch/memcpy.S: New file.
42330         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42331         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42332         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42333         * sysdeps/x86_64/multiarch/memmove.c: New file.
42334         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42335         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42336         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42337         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42338         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42339         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42340         Define.
42341         (index_Fast_Copy_Backward): Define.
42342         (HAS_ARCH_FEATURE): Define.
42343         (HAS_FAST_REP_STRING): Define.
42344         (HAS_FAST_COPY_BACKWARD): Define.
42346 2010-06-21  Andreas Schwab  <schwab@redhat.com>
42348         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42349         Restore proper fallback handling.
42351 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
42353         [BZ #11701]
42354         * posix/group_member.c (__group_member): Correct checking loop.
42356         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42357         OOM in getpwuid_r correctly.  Return error number when the caller
42358         should return, otherwise -1.
42359         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42360         call returning > 0 value.
42361         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42363 2010-06-07  Andreas Schwab  <schwab@redhat.com>
42365         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42366         libc_nonshared.a from targets in modules-names.
42368 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
42370         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42371         requires it.
42373 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
42375         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42376         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42377         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42378         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42380 2010-06-02  Andreas Schwab  <schwab@redhat.com>
42382         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42384 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
42386         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42387         and F_GETPIPE_SZ.
42388         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42389         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42391         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42392         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42393         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42395 2010-06-14  Roland McGrath  <roland@redhat.com>
42397         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42399 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
42401         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42402         __REDIRECT followed by __THROW.
42403         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42404         * posix/getopt.h (getopt): Likewise.
42406 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42408         * hurd/lookup-at.c (__file_name_lookup_at): Accept
42409         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
42410         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42411         in AT_FLAGS.
42412         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42413         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42415 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
42417         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42419 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
42421         [BZ #11640]
42422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42423         Properly check family and model.
42425 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
42427         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42429 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
42431         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42433 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
42435         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42436         symbol reference.
42438 2010-05-19  Andreas Schwab  <schwab@redhat.com>
42440         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42441         symbol reference.
42443 2010-05-21  Andreas Schwab  <schwab@redhat.com>
42445         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42446         and internal_recvmmsg.
42447         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42448         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42449         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42450         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42452         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42453         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42454         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42456 2010-05-20  Andreas Schwab  <schwab@redhat.com>
42458         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42460 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
42462         POWER7 optimizations.
42463         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42464         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42466 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
42468         * version.h: Update for 2.13 development version.
42470 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
42472         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42473         exceptions.  Return 0.
42475 2010-05-07  Roland McGrath  <roland@redhat.com>
42477         * elf/ldconfig.c (main): Add a const.
42479 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
42481         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42482         (args_options): Add no-idn option.
42483         (ahosts_keys_int): Add idn_flags to ai_flags.
42484         (parse_option): Handle 'i' option to clear idn_flags.
42486         * malloc/malloc.c (_int_free): Possible race in the most recently
42487         added check.  Only act on the data if no current modification
42488         happened.
42490 See ChangeLog.17 for earlier changes.